! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Xfdesktop does not respect .desktop OnlyShowIn=KDE
Status:
RESOLVED: INVALID
Product:
Xfdesktop
Component:
General

Comments

Description Dotan Kamber 2007-05-26 22:15:36 CEST
After choosing to show File/Launcher icons in xfdesktop I see .desktop entries that have OnlyShowIn=KDE parameter.
To reproduce 
1. generate a test.desktop file in your ~/Desktop folder with the following content
[Desktop Entry]
Comment=test for OnlyShowIn
Name=OnlyShowIn
OnlyShowIn=KDE
2. kill the running xfdesktop
3. launch xfdesktop and choose to show File/Launcer icons (using xfce-setting-show -> Desktop)

If you see the OnlyShowIn titles icon on your desktop you have reproduced the bug
Comment 1 Brian J. Tarricone (not reading bugmail) 2007-05-26 22:57:22 CEST
The OnlyShowIn key is defined as an extension in the menu specification[1] (though it's referenced in the desktop entry spec as well, and specifically points to the menu spec), which implies (to me, anyway), that it only applies to menu generation, not shortcuts placed in arbitrary locations.

[1] http://standards.freedesktop.org/menu-spec/menu-spec-latest.html#desktop-entry-extensions
Comment 2 Brian J. Tarricone (not reading bugmail) 2007-05-26 22:58:32 CEST
(BTW, that's not a valid .desktop file; it should read "OnlyShowIn=KDE;".  Note the trailing semicolon.)
Comment 3 Dotan Kamber 2007-05-27 13:11:57 CEST
The Desktop Entry reference point to the Menu Specs "for possible values".
Moreover http://portland.freedesktop.org/wiki/TaskDesktop indicate this property has -
Task Description
Install an application launcher / icon on the desktop

and states-
Known Problems
    *Support for the OnlyShowIn keyword is not available in older desktop versions.

I'll try to come up with a patch in case you'll regard this issue to be a bug after all 
Comment 4 galynda 2008-05-18 16:34:57 CEST
I have the same problem with the XFCE desktop, with no end in sight, and no workaround or anything.

I'm on Mandriva 2008.1, XFCE4.

Full description and details can be found at the Mandriva Club forum:

http://forum.mandriva.com/viewtopic.php?t=87094

Please re-open this bug, and let me know what the fix or workaround is for this. I have no idea what to do.

Thank you!

Bug #3289

Reported by:
Dotan Kamber
Reported on: 2007-05-26
Last modified on: 2009-07-14

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
1 user

Version

Attachments

Additional information