Automatic mention of shortcuts in tooltips
I've just added code to automatically add the shortcut key to tooltips of verbs. If you find any problems with tooltips (it lists something strange, a tooltip doesn't show anymore, the shortcut is listed double, whatever) you know where to look first.
The main change is that the shortcut is now made part of the tooltip as reported by the verb and that we now use a gtk function to derive the shortcut label instead of our own function (the result seems to be the same). I've tried to check for situations where this would lead to double or unwanted listing of the shortcut, but so far it seems fine.
On 9/6/10, Jasper van de Gronde wrote:
I've just added code to automatically add the shortcut key to tooltips of verbs. If you find any problems with tooltips (it lists something strange, a tooltip doesn't show anymore, the shortcut is listed double, whatever) you know where to look first.
You are hero of this day :) Many thanks!
Alexandre Prokoudine http://libregraphicsworld.org
I think he's the hero of many days ;)
JF
On 09-06-10 5:19 PM, Alexandre Prokoudine wrote:
On 9/6/10, Jasper van de Gronde wrote:
I've just added code to automatically add the shortcut key to tooltips of verbs. If you find any problems with tooltips (it lists something strange, a tooltip doesn't show anymore, the shortcut is listed double, whatever) you know where to look first.
You are hero of this day :) Many thanks!
Alexandre Prokoudine http://libregraphicsworld.org
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On 6/9/10 19:33, Jasper van de Gronde wrote:
I've just added code to automatically add the shortcut key to tooltips of verbs. If you find any problems with tooltips (it lists something strange, a tooltip doesn't show anymore, the shortcut is listed double, whatever) you know where to look first.
The main change is that the shortcut is now made part of the tooltip as reported by the verb and that we now use a gtk function to derive the shortcut label instead of our own function (the result seems to be the same). I've tried to check for situations where this would lead to double or unwanted listing of the shortcut, but so far it seems fine.
Issue has been tracked in Bug #407851 “keyboard shortcuts missing in Toolbox tooltips”: https://bugs.launchpad.net/inkscape/+bug/407851
First tests with Inkscape 0.48+devel r9745 (en) on OS X 10.5.8 work flawlessly - thx alot! The missing shortcuts in the tooltips of the all tools (toolbox) have been noticed by many users, but no query ever revealed why they suddenly disappeared in 0.47 ;)
One shortcut I noticed to be missing so far: 'Enable snapping', the first icon in the snapping toolbar, is toggled with the same shortcut key as 'View > Snap' (%), but the shortcut is not shown in the tooltip of the toolbar button.
thanks again, ~suv
On 2010-09-06 23:37, ~suv wrote:
... One shortcut I noticed to be missing so far: 'Enable snapping', the first icon in the snapping toolbar, is toggled with the same shortcut key as 'View> Snap' (%), but the shortcut is not shown in the tooltip of the toolbar button.
Now fixed (and also for "edit next path parameter"), but in the long run we should really unify these toolbar buttons with verbs (my current fix just gets the id/name/tip information from the corresponding verb, but it should really just say "put a button here that corresponds to this verb").
Also, I encountered the ObjectEditClipPath and ObjectEditMask verbs which sound like they correspond to certain toolbar toggles, except that they don't actually seem to do anything (anymore, they call some code which is commented out). Is it time to remove them? (if no one complains I will)
participants (4)
-
Alexandre Prokoudine
-
Jasper van de Gronde
-
Joshua Facemyer
-
~suv