[Bug 356553] Creating New KMenu Submenu Makes Single Sub-Menu Items Invisible in K-Menu and Kickoff
https://bugzilla.novell.com/show_bug.cgi?id=356553 https://bugzilla.novell.com/show_bug.cgi?id=356553#c31 --- Comment #31 from Wolfgang Bauer <wbauer@tmo.at> 2013-02-08 14:39:02 UTC --- Well, it seems I was a bit too pessimistic... I was able to fix this, I think! ;-) In the end this bug boils down to the fact that kmenuedit doesn't write a "<Merge type="files"/>" line to applications-kmenuedit.menu when there are no "files" entries in a menu. If you manually create such an entry (like by moving Konversation up one level as in comment#8) this line _is_ written and everything continues to work. (When you move Konversation back to the "Chat"-submenu, the merge line is removed since there are no real entries left anymore, and the collapsed menu entries disappear) I fixed this by always adding ":F" (the internal equivalent to "<Merge type="files"/>") to the sortOrder list if "reduce menu depth" is activated. This makes sure that those collapsed menu entries are always shown. Packages are available here: KDE:Distro:Factory: http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Dis... KDE:Release:49: http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Rel... 11.4: http://download.opensuse.org/repositories/home:/wolfi323:/branches:/openSUSE... 12.1: http://download.opensuse.org/repositories/home:/wolfi323:/branches:/openSUSE... 12.2: http://download.opensuse.org/repositories/home:/wolfi323:/branches:/openSUSE... Please note that you _have_ to install both libkdecore4 _and_ kdebase4-workspace from there. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com