[Bug 283579] Every new app is hidden
Gard Spreemann
gspreemann at gmail.com
Mon Oct 31 10:21:02 GMT 2011
https://bugs.kde.org/show_bug.cgi?id=283579
--- Comment #9 from Gard Spreemann <gspreemann gmail com> 2011-10-31 10:21:02 ---
(In reply to comment #8)
> confirm.
> i guess this is due new .desktop files get a whole bunch of settings including
>
> OnlyShowIn=
>
> if "only for KDE" is NOT checked of course.
> removing the line via editor will let kbuildsycoca4 generate the correct entry
> in the menu.
>
> i found a patch/diff https://git.reviewboard.kde.org/r/102713/diff/ which seems
> wrong to me. if i read it correctly (no CPP guru here) line 458-462 would
> suggest that OnlyShowIn gets written even if its empty but if i interpret the
> freedesktop docs correctly this would be wrong.
Interesting. I agree with your interpretation: If a .desktop file has an
OnlyShowIn=KDE field and the only show in KDE box is not checked in KMenuEdit,
then it will write an *empty* OnlyShowIn field. If I read the Freedesktop
specification [1] correctly, this means the entry described by the .desktop
file should *not be shown by any* desktop environment. Thus KDE's menu
(correctly) does not show it.
[1] http://standards.freedesktop.org/menu-spec/latest/ar01s03.html
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list