Hi Christian,
nice to hear from you again
Hi devs,
one company I know has an issue with when having a lot of files for
merging with application items. For example in projectmanager if you
right-click onto a project and choose “Insert in document” … the
context menu gets ugly at a specific point when too many selectable
documents appear.
There’s already some code improving that situation: If you have only a
couple of merge-files (<= 14), they are in one menu. If you got more,
they are placed in sub-menus by type (Word, Excel, Text files, …).
We have a few attempts to solve this problem, maybe one or all of them
in combination will do the trick:
- the splitting of boxes with the “more” item for the context menu is
limited, so what if we remove this and instead make a scrollable menu of it:
etemplate/inc/class.nextmatch_widget.inc.php
- const DEFAULT_MAX_MENU_LENGTH = 14;
- const DEFAULT_MAX_MENU_LENGTH = 9999;
phpgwapi/js/egw_action/egw_menu_dhtmlx.js
this.dhtmlxmenu.setSkin(“egw”);
- this.dhtmlxmenu.setOverflowHeight(26);
So a scrollbar instead of sub-menus. Probably nice with a wheel-mouse,
not so sure about a trackpad. Need to try …
- Group subfolders. Selecting a file in the context menu then could
look like this: “Insert in document” -> “Plain Text” -> “myfolder” ->
“subfolder” -> “mydocument.txt”
That would give admins the ability to create/influence the structure of
context menu. That’s something I support right away. If admin does
nothing, current automatic sub-menus would be used (or scrollbar you
suggested).
- Add a “revert way”. For example, while browsing a file in filemanager
-> context menu -> “Merge with item …”. Then a popup appears which
lets you select an application and search for a term. Then the search
result gets displayed and can be chosen to be merged.
I’ve two problems with that:
- Performance, at least at the moment, context menu is generated static
independent of viewed data, but that could be changed …
- Just that there is eg. a Word file, does not mean it generates
anything useful when merging with a contact
- A popup same as 3, but directly out of the application’s context menu
box, e.g.: Projectmanager -> context menu -> “Insert in document” ->
“Search…” -> (Search popup appears)
Not sure how useful. Same argument, merge-able files need to have a
special format.
What do you think?
- I need to give a try with something else then a wheel-mouse
- makes most sense to me
Ralf
Ralf Becker
Director Software Development
Stylite AG
Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30
Email: rb@stylite.de
www.stylite.de | www.egroupware.org
Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer
VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany
Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers