GNOME Bugzilla – Bug 97292
Menuitem mnemonics underlining affects the menulabel vertical position
Last modified: 2014-04-15 01:26:50 UTC
I have set LANG=fi_FI and LC_CTYPE=fi_FI.ISO-8859-1. In the Finnish translation, the Tools menu is called Työkalut, with a short-cut key "y". The short-cut key is indicated with an underscore that is placed about two pixels below the letter "y". In the menu font Galeon uses on my system, the lower-case letters g, j, p, q, y (maybe others) extend below the baseline. As Galeon aligns the underscores vertically, the "Työkalut" menu text appears a few pixels above other menu bar entries. Also, in the File (Tiedosto) menu, the menu entry "Lopeta ja tallenna istunto" Shift+Ctl+Q appears a few pixels too high, since its short cut is "j". I think that Galeon should always align the baseline of the text. It is irritating that the lines with short-cut keys g, j, p, q, y appear higher than other lines.
Created attachment 11932 [details] fraction of Finnish menu bar: Bookmarks Tools Help
Somebody confirmed that this is still the case with gtk2
I have a strong feeling this is a duplicate, but I can't find the original. Fixing it would mean make all menus items 1 pixel bigger, though it's possible we could work around that by reducing padding.
FWIW I cant find it either
*** Bug 127052 has been marked as a duplicate of this bug. ***
Possibly the best way to fix this is to have widgets report a baseline when height-for-width is added.
Adding keynav keyword.
Doesn't really affect keynav as such, removing keyword again.
Owen and I came up with a plan for this which should also fix the "italic overshoot" problem of labels: 1) don't include underline in the logical rectangle 2) size request based on the ink rectangle 3) center in size allocate based on the logical rectangle
closing out ancient bugs