Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.6.0, 4.6.1
-
None
Description
When a menu is torn-off, the menu items are using too much space for the text which causes the shortcut to be beyond the window's rectangle. Compare attached images of a torn-off menu.
The change which appears to have caused this behavior is:
commit baf3ec81ca5d5cd38b54dc853c12109956a98cb9
Author: Thierry Bastian <thierry.bastian@nokia.com>
Date: Tue Aug 4 11:16:01 2009 +0200
QMenu now takes minimum width into account for the action rects
The action now try to take advantage of the space given by a minimum
width. Patch proposed initially by Aron Seigo and improved later on.
Reviewed-by: Trustme
src/gui/widgets/qmenu.cpp | 11 ++++++-----
tests/auto/qmenu/tst_qmenu.cpp | 12 ++++++++++++
2 files changed, 18 insertions, 5 deletions
The parent commit (549736341a2268e33159949e076e0629abeb838a) does not appear to have the problem.