New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customizable context menus (JSON file) #65
Comments
|
It may make sense, especially if list of actions of context menu of tab bar could be configured (it was already planned for content context menu). |
|
With customization will be easier, I think... |
|
For what I knew, the Otter GUI (toolbars, menu, etc...) will rely on something like the old good .ini files (and they will support all old customization, custom commands, etc...), so this Issue is quite useless to me. If we have that kind of system then we can ship Otter with any menu setup we want and user can change it as he want without problem. Just to say that I'm viewing here too much minor request that simply waste time that could be better used in "core issues" .... IMHO :) |
|
Hi about custom menus I was wondering if you can accept these ideas for a very good enhancement of them. After many years developing custom menus for Opera I noticed how much limited I was sometimes because of lack of support for some small but very powerful and smart features. So here there is a full list (very simple as you can see) of stuff I'd like (really really like) to see implemented in Otter (for what I know QT5 should let us implement them without problems): 1 - normal item: the standard command that execute an action 2 - submenu: the standard menu voice that opens a submenu 3 - item + submenu: here there is the first addition. It consists in the combination of a clickable item plus an arrow to the right margin that will open a submenu (as you can find for example in Firefox): http://i.imgur.com/t4rU7Xg.png 4 - label + buttons: this is instead a very awesome feature that we can see in Chromium browsers, Maxthon, etc... http://i.imgur.com/W4GmQiy.png : As you can see in the attached image this feature is used here for cut/copy/paste buttons (the "Modifica" text is only a label without any action), and characters zoom, but if I could use it for my custom menu I've lot of idea about good exploitation :D (just for example: copy link (link URL; text label); copy text (plain text, formatted text), etc ... the limit is only in our imagination :) 5 - support for powerful main menu a là FF Australis and Maxthon: this is less important but still very interesting: as you can see in the image about Maxthon menu ( http://i.imgur.com/1Ne1n8p.png ), it support even more stuff than Chrome ... for example the first row is used for BIG buttons with label text, the Proxy item is a combination of point 3 and 4 , etc Hope that these ideas (at least 3 and 4) could find their way in Otter because they're a big step forward in menu customization to me (and against the need of extensions) Thanks in advance :) |
|
@lollox, ability to define submenus was planned from beginning. ;-)
|
|
well, don't look at the "look" of the menus but at the "under the hood" stuff ;) ... about your questions I'm not sure about your numbered list :P , so taking current Otter as example, look at the view menu as reference to explain what I mean in each point:
|
|
Oh well, I can only make feature request but what to implement or not it's up to you :P I can only say that when I build something like a menu.ini I always use all the tools available in my toolbox, so the more the better ;) |
|
@lollox, sure, but I would like to know if such solution would be good enough replacement. ;-) |
|
can you explain better (or with some example, if already available in some software) what do you mean? I didn't understand what it should be PS |
|
@lollox, by combining this: Basically action (or label, if it does nothing) would be able to have both these "subactions" (this how I call these buttons / widgets shown on the right in some entries) and submenu. About that issue with cursor, I cannot reproduce that. |
|
About the menu, yes it could be a good addiction to me ;) For the cursor, I'm not sure (it doesn't happen everytime but random) but maybe it happens on Disquis too ... I don't recall if even normal text fileds (no javascript at all) have this issue ... So I will open a new ticket when I'll identify the problem with more accuracy |
|
@lollox, OK, it's most probably upstream issue (especially if it will be confirmed using other line edits) but separate ticket is always better to link in report send upstream. ;-) |
|
@Emdek: How submenu with action difers from submenu with subactions? Isn't it just a special case? |
|
@Chocimier, I'm using "subactions " to refer to these actions that are drawn on parent entry, like zoom actions here: |
|
Is the point 4 in my list, isn't it? ... because I understood so |
|
@lollox, yes, but also allowing submenu. |
|
@Emdek: Take a look please: Why is 1. bad and 2. is good? |
|
@Chocimier, submenus should be consistent, all should be shown on hover, without need to click something. |
|
Sorry about yet another duplicate :) In Opera they were all normal menus which I saw as an advantage. For example IE and FF et al. have made the effort to make the items in bookmarks menu right-clickable, aand Otter has the same thing now too. For me, the right-click properly belonged to bookmarks manager and bookmarks toolbar, not to bookmarks menu. The problem is consistency - if one menu, such as bookmarks menu, is right-clickable, why not other menus, such as Tabs menu or History list or any other menu item? |
On the flipside, I don't think any of them allow you to use modifiers like Shift and Ctrl on the menu while Opera does. Otter merely adds an extra way of accessing that functionality. |
|
@ersi-dnd, need for yet another special case for alternate stylesheets menu was the last straw, it motivated me to take care of #42. ;-) The only missing part is nice way to generate entire menus using that concept, trying to combine power of C++ and flexibility of JS without defining everything in JS (which would be bad bad, especially in our case). Anyway, we already try to take modifiers and button into account everywhere where it makes sense right now, see: BTW, hints (as set of flags instead of few, inconsistent and non-flexible bool variables) are based on idea by @bajasoft. |
|
During implementing this function I've changed custom main and button menu location. |
|
Also note that subactions are still planned, probably they will get own ticket later. |
As in Opera12, right-click on anywhere on a page and you can access 'Copy Address'. I always thought that this item was misplaced, and would be more appropriate if included in the context menu that you access when doing right-click on that tab.
What do you think?
The text was updated successfully, but these errors were encountered: