Bug 163713 - with bigger font size the menus are a mess
Summary: with bigger font size the menus are a mess
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 190711 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-10 16:52 UTC by Maciej Pilichowski
Modified: 2009-04-27 02:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Bug in Menus with Oxygen and 20px font size. (129.40 KB, image/jpeg)
2008-12-26 21:03 UTC, Dario Andres
Details
Bug in Menus with Plastique and 20px font size. (122.28 KB, image/jpeg)
2008-12-26 21:04 UTC, Dario Andres
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Pilichowski 2008-06-10 16:52:42 UTC
Version:            (using KDE 4.0.4)
Installed from:    SuSE RPMs

Increase font size to 20 and observe what is happening, in KMEnu items cut in half, in Konq. text menu and shortcuts overlap, complete mess.

If user wants big font, adjust the menu width accordingly.
Comment 1 Pino Toscano 2008-06-10 16:58:15 UTC
Try to change style, eg Plastique, and see whether the problems are still there.
Comment 2 Maciej Pilichowski 2008-06-10 17:18:30 UTC
Visually it is not the same (*), but the problem still exists.

(*) the shortcuts for example do not overlap, they are out of the menu completely.
Comment 3 Dario Andres 2008-12-26 21:03:54 UTC
Created attachment 29648 [details]
Bug in Menus with Oxygen and 20px font size.

Here using:

Qt: 4.4.3 + qt-copy-patches-889120
KDE: 4.1.86 (KDE 4.1.86 (KDE 4.2 >= 20081221))
kdelibs svn rev. 901624 / kdebase svn rev. 901624
on ArchLinux x86_64 - Kernel 2.6.27.10
Comment 4 Dario Andres 2008-12-26 21:04:21 UTC
Created attachment 29649 [details]
Bug in Menus with Plastique and 20px font size.
Comment 5 Christoph Feck 2009-04-27 01:47:27 UTC
*** Bug 190711 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2009-04-27 02:24:30 UTC
SVN commit 959736 by cfeck:

Fix broken menu layout with large menu fonts

The AccelSpace was not set to a sane value, this was the reason
for the believed metrics error. Also use the contents width to
determine text width, since the font in the miOpt will not be
font used for the item.

BUG: 163713


 M  +3 -9      kstyle.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=959736
Comment 7 Christoph Feck 2009-04-27 02:27:53 UTC
SVN commit 959737 by cfeck:

Fix broken menu layout with large menu fonts (backport r959736)

Will be in 4.2.3

CCBUG: 163713


 M  +3 -9      kstyle.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=959737