http://bugs.winehq.org/show_bug.cgi?id=16279
Summary: Menu shortcuts are created in the wrong place and desktop shortcuts are missing Product: Wine Version: 1.1.9 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: thesource@mail.ru
I have Fedora 10 x86_64 with wine 1.1.9. When I install an app, main menu entries are created in "Misc" instead of "Wine\Programs" and on the desktop only .lnk files are created, not .desktop ones. My locale is ru_RU.UTF-8
http://bugs.winehq.org/show_bug.cgi?id=16279
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=16279
--- Comment #1 from Lei Zhang thestig@google.com 2008-12-02 18:34:04 --- A specific application, or any application?
http://bugs.winehq.org/show_bug.cgi?id=16279
--- Comment #2 from The Source thesource@mail.ru 2008-12-02 22:09:57 --- Tested so far with QIP and Steam. Holds true for both.
http://bugs.winehq.org/show_bug.cgi?id=16279
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kennybobs@o2.co.uk
--- Comment #3 from Ken Sharp kennybobs@o2.co.uk 2009-04-07 02:56:24 --- Shortcuts for CNC3 and RA3 appear in my "Other" menu under Ubuntu 8.10.
Not sure if this is the same though as the .desktop files are created on the desktop (along with .lnk - bug open for that), but nothing is created in the Wine menu, where it should be.
http://bugs.winehq.org/show_bug.cgi?id=16279
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com
--- Comment #4 from Damjan Jovanovic damjan.jov@gmail.com 2009-04-07 07:10:56 --- Please test with the latest version of Wine, this used to be a problem in earlier versions but I fixed it.
http://bugs.winehq.org/show_bug.cgi?id=16279
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2009-04-07 08:57:01 --- Is your /tmp on a different file system then /home?
http://bugs.winehq.org/show_bug.cgi?id=16279
--- Comment #6 from Ken Sharp kennybobs@o2.co.uk 2009-04-07 10:46:39 --- I'm using Wine 1.1.18.
Just the one Linux partition on ext3.
http://bugs.winehq.org/show_bug.cgi?id=16279
--- Comment #7 from The Source thesource@mail.ru 2009-04-07 10:50:47 --- I don't have this problem anymore in 1.1.15. Have you tried clean install?
http://bugs.winehq.org/show_bug.cgi?id=16279
--- Comment #8 from Ken Sharp kennybobs@o2.co.uk 2009-04-07 10:54:58 --- Yes, as always. Ubuntu 8.10
http://bugs.winehq.org/show_bug.cgi?id=16279
Scott Ritchie scott@open-vote.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |scott@open-vote.org
--- Comment #9 from Scott Ritchie scott@open-vote.org 2009-07-16 04:28:05 --- Ken are you using the Ubuntu packages? Do you have an applications->wine folder at all? Have you ever manually edited the menu?
What does ls /home/scott/.local/share/desktop-directories/ give you? If those files got corrupted somehow then there would still be an issue even after a "clean" install.
http://bugs.winehq.org/show_bug.cgi?id=16279
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.redalert3.com/po | |rtal/site/cnc/article/detai | |l?contentId=985adb4badbcd11 | |0VgnVCM100000100d2c0aRCRD Platform|PC-x86-64 |Other
--- Comment #10 from Ken Sharp kennybobs@o2.co.uk 2009-07-30 11:18:06 --- Hi Scott,
(In reply to comment #9)
Ken are you using the Ubuntu packages?
I'm still on Ubuntu 8.10 but using the WineHQ repos, so I've just tested again on 1.1.25.
Do you have an applications->wine folder at all?
Yep, that's there. Other shortcuts have been created ok.
Have you ever manually edited the menu?
Oh yes, all the time.
What does ls /home/scott/.local/share/desktop-directories/ give you? If those files got corrupted somehow then there would still be an issue even after a "clean" install.
Loads of shortcuts I didn't know existed. Deleted them and tried again. The correct shortcuts are created in /home/test/.local/share/applications/wine/Programs but they are not shown in Applications-->Wine, and still appear in "Other". The .desktop files are also recreated in /home/test/.local/share/desktop-directories/.
I can't see how this is a Wine bug, as it seems to be doing what it is supposed to, and it's likely to be something in Ubuntu or the WM.
Would anyone be able to confirm one way or another?
http://bugs.winehq.org/show_bug.cgi?id=16279
--- Comment #11 from Damjan Jovanovic damjan.jov@gmail.com 2009-07-30 11:37:35 --- Menus don't come from ~/.local/share/desktop-directories. Files under ~/.config/menus/applications-merged/wine-*.menu link in ~/.local/share/desktop-directories/* and .desktop files from ~/.local/share/applications/wine/*. Check all those exist.
Also post the value of your ${XDG_CONFIG_HOME} environment variable, if any.
If all of those seem ok, please find some app you know install these broken menus, and post the output of: WINEDEBUG="+menubuilder" wine <installer.exe>
What's the locale set to?
What desktop environment is this?
http://bugs.winehq.org/show_bug.cgi?id=16279
--- Comment #12 from Ken Sharp kennybobs@o2.co.uk 2009-08-01 10:05:45 --- Created an attachment (id=22760) --> (http://bugs.winehq.org/attachment.cgi?id=22760) Wine 1.1.25 +menubuilder
(In reply to comment #11)
Menus don't come from ~/.local/share/desktop-directories. Files under ~/.config/menus/applications-merged/wine-*.menu link in ~/.local/share/desktop-directories/* and .desktop files from ~/.local/share/applications/wine/*. Check all those exist.
They do. I've emptied them of all files and started from scratch.
$ ls -aRl /home/test/.local/share/desktop-directories /home/test/.local/share/desktop-directories: total 40 drwxr-xr-x 2 test test 20480 2009-08-01 15:57 . drwx------ 11 test test 4096 2009-04-04 07:48 .. -rw-r--r-- 1 test test 57 2009-08-01 15:57 wine-Programs.directory -rw-r--r-- 1 test test 89 2009-08-01 15:57 wine-Programs-Electronic Arts-Command & Conquer™ Red Alert™ 3 Demo.directory -rw-r--r-- 1 test test 64 2009-08-01 15:57 wine-Programs-Electronic Arts.directory -rw-r--r-- 1 test test 51 2009-08-01 15:57 wine-wine.directory
$ ls -aRl /home/test/.config/menus/applications-merged /home/test/.config/menus/applications-merged: total 84 drwxr-xr-x 2 test test 61440 2009-08-01 15:57 . drwxr-xr-x 3 test test 4096 2009-07-30 17:22 .. -rw------- 1 test test 881 2009-08-01 15:57 wine-Programs-Electronic Arts-Command & Conquer™ Red Alert™ 3 Demo-Command & Conquer™ Red Alert™ 3 Demo.menu -rw------- 1 test test 848 2009-08-01 15:57 wine-Programs-Electronic Arts-Command & Conquer™ Red Alert™ 3 Demo-Read Me.menu -rw------- 1 test test 867 2009-08-01 15:57 wine-Programs-Electronic Arts-Command & Conquer™ Red Alert™ 3 Demo-Red Alert 3 Control Center.menu -rw------- 1 test test 858 2009-08-01 15:57 wine-Programs-Electronic Arts-Command & Conquer™ Red Alert™ 3 Demo-Technical Support.menu
$ ls -aRl /home/test/.local/share/applications/wine /home/test/.local/share/applications/wine: total 20 drwxr-xr-x 3 test test 4096 2009-08-01 15:57 . drwxr-xr-x 3 test test 12288 2009-08-01 15:57 .. drwxr-xr-x 3 test test 4096 2009-08-01 15:57 Programs
/home/test/.local/share/applications/wine/Programs: total 12 drwxr-xr-x 3 test test 4096 2009-08-01 15:57 . drwxr-xr-x 3 test test 4096 2009-08-01 15:57 .. drwxr-xr-x 3 test test 4096 2009-08-01 15:57 Electronic Arts
/home/test/.local/share/applications/wine/Programs/Electronic Arts: total 12 drwxr-xr-x 3 test test 4096 2009-08-01 15:57 . drwxr-xr-x 3 test test 4096 2009-08-01 15:57 .. drwxr-xr-x 2 test test 4096 2009-08-01 15:57 Command & Conquer™ Red Alert™ 3 Demo
/home/test/.local/share/applications/wine/Programs/Electronic Arts/Command & Conquer™ Red Alert™ 3 Demo: total 24 drwxr-xr-x 2 test test 4096 2009-08-01 15:57 . drwxr-xr-x 3 test test 4096 2009-08-01 15:57 .. -rw-r--r-- 1 test test 343 2009-08-01 15:57 Command & Conquer™ Red Alert™ 3 Demo.desktop -rw-r--r-- 1 test test 273 2009-08-01 15:57 Read Me.desktop -rw-r--r-- 1 test test 332 2009-08-01 15:57 Red Alert 3 Control Center.desktop -rw-r--r-- 1 test test 319 2009-08-01 15:57 Technical Support.desktop
Also post the value of your ${XDG_CONFIG_HOME} environment variable, if any.
This is not set.
If all of those seem ok, please find some app you know install these broken menus, and post the output of: WINEDEBUG="+menubuilder" wine <installer.exe>
Attached. Used the RA3 demo.
What's the locale set to?
GDM_LANG="en_GB.UTF-8" LANG="en_GB.UTF-8"
What desktop environment is this?
GDM/Gnome (Ubuntu 8.10)
Following install, the shortcuts appear under Applications-->Other, not Applications-->Wine-->Programs.
http://bugs.winehq.org/show_bug.cgi?id=16279
--- Comment #13 from Damjan Jovanovic damjan.jov@gmail.com 2009-08-01 10:32:55 --- That looks okay. I'd have the check the contents of the .menu and .directory files to make sure it's not a Wine bug, but a download of the 1.8 GB demo is not going to happen. Can you please attach those instead?
http://bugs.winehq.org/show_bug.cgi?id=16279
--- Comment #14 from Ken Sharp kennybobs@o2.co.uk 2009-08-01 11:08:29 --- Created an attachment (id=22762) --> (http://bugs.winehq.org/attachment.cgi?id=22762) Shortcuts
All attached. Also attached a very suspect looking file that I found at /home/test/.config/menus/applications.menu
http://bugs.winehq.org/show_bug.cgi?id=16279
--- Comment #15 from Ken Sharp kennybobs@o2.co.uk 2009-08-04 12:07:00 --- Created an attachment (id=22801) --> (http://bugs.winehq.org/attachment.cgi?id=22801) Screenshots of menus
OK, I cleared all the shortcuts out of /home/test/.local/share/applications, then I installed WinZip 12.1 (it doesn't actually matter what I choose to install) and /home/test/.local/share/applications then looks like this:
$ ls -al /home/test/.local/share/applications total 64 drwxr-xr-x 3 test test 12288 2009-08-04 18:00 . drwx------ 11 test test 4096 2009-04-04 07:48 .. -rw-r--r-- 1 test test 1335 2009-07-13 19:32 mimeapps.list -rw-r--r-- 1 test test 417 2009-08-04 18:00 mimeinfo.cache drwxr-xr-x 3 test test 4096 2009-08-01 15:57 wine -rw-r--r-- 1 test test 142 2009-08-04 18:00 wine-extension-chm.desktop -rw-r--r-- 1 test test 162 2009-08-04 18:00 wine-extension-hlp.desktop -rw-r--r-- 1 test test 143 2009-08-04 18:00 wine-extension-htm.desktop -rw-r--r-- 1 test test 143 2009-08-04 18:00 wine-extension-html.desktop -rw-r--r-- 1 test test 161 2009-08-04 18:00 wine-extension-ini.desktop -rw-r--r-- 1 test test 144 2009-08-04 18:00 wine-extension-rtf.desktop -rw-r--r-- 1 test test 139 2009-08-04 18:00 wine-extension-txt.desktop -rw-r--r-- 1 test test 150 2009-08-04 18:00 wine-extension-wri.desktop -rw-r--r-- 1 test test 148 2009-08-04 18:00 wine-extension-xml.desktop
Now, if you look at the attached screenshots, this creates shortcuts in Applications-->Other. I don't think they should be there somehow.
http://bugs.winehq.org/show_bug.cgi?id=16279
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |integration Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #16 from Damjan Jovanovic damjan.jov@gmail.com 2009-08-10 05:21:43 --- Confirming.
The ampersand (&) is not valid in XML documents and needs to be escaped (into &). We don't do any escaping in winemenubuilder.
A few other characters like <, >, and " would also need escaping.
http://bugs.winehq.org/show_bug.cgi?id=16279
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #17 from Ken Sharp kennybobs@o2.co.uk 2009-08-10 18:42:30 --- In that case, duplicate.
*** This bug has been marked as a duplicate of bug 13963 ***
http://bugs.winehq.org/show_bug.cgi?id=16279
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Ken Sharp kennybobs@o2.co.uk 2009-08-10 18:43:43 --- Closing.