Review Request 120355: [OS X] prevent a crash when opening konqueror's Help menu

René J.V. Bertin rjvbertin at
Fri Sep 26 18:28:54 BST 2014

This is an automatically generated e-mail. To reply, visit:

(Updated Sept. 26, 2014, 7:28 p.m.)

Review request for KDE Base Apps, KDE Software on Mac OS X, kdelibs, and Qt KDE.


Indeed, adding a simple check against q->parentWidget() in QWidgetPrivate::setGeometry_sys_helper helps prevent the application crash when the `KMenu::addTitle` is called. That's good and well, but the end result is that the added title doesn't appear at all. Compare the 1st screenshot with the 2nd (in which the addTitle emulation under review here is active).

Repository: kde-baseapps


Mac OS X cannot handle the formatting used for title menu items when it applies to items in the toplevel menu bar. An application calling KMenu::addTitle on such a menu item will crash immediately, somewhere deep in Qt.

This patch works around that crash by emulating the addTitle effect.

Curiously, the addTitle call that causes the crash when clicking on the Help menu concerns a submenu of an item of the Tools menu...


  konq-plugins/uachanger/uachangerplugin.cpp 5e2d094 



OS X 10.6.8 with kdelibs 4.14.1

File Attachments (updated)

patch for
with the Qt patch
with the addTitle emulation patch


René J.V. Bertin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list