Opened 11 years ago
Closed 10 years ago
#243 closed defect (fixed)
Unity specific menu options from .desktop files being prioritised over defaults
Reported by: | madmonk | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | trivial | Milestone: | 0.12 |
Component: | Server | Keywords: | |
Cc: |
Description
The Win Switch menu appears to offer the last choice in the .desktop file these typically appear to be the unity specific options which would normally be ignored / hidden in other environments. The files can of course be copied and modified which clears up the problem. It would of course be nice if the relevant parser could be adjusted to take the 1st option in the file (which is the default option AFAIK).
e.g.
Exert from the firefox.desktop file...
From the beginning of the file
[Desktop Entry] Version=1.0 Name=Firefox Web Browser .... Exec=firefox %u
The Win Switch menu shows the last option however....
From the end of the file
[Desktop Action NewPrivateWindow] Name=Open a New Private Window ... Exec=firefox -private-window OnlyShowIn=Unity;
Attachments (1)
Change History (4)
comment:1 Changed 11 years ago by
Component: | Client → Server |
---|---|
Milestone: | → 0.12 |
Owner: | set to Antoine Martin |
Status: | new → accepted |
comment:2 Changed 11 years ago by
Short of writing a full parser the attached is a quick fix which seems to do the trick.
comment:3 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
I believe this has been dealt with in #268 with an almost identical change.
Feel free to re-open if you still have problems.
Yes, that's a bug! (I wrote the xdg file parser before I found out about python-xdg..)
Thanks for reporting it.