Bug 211

Summary: Wine Programs Menu and Shortcuts Are Not Created.
Product: Mageia Reporter: Jiang Yike <webmaster>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: ftg
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: wine CVE:
Status comment:

Description Jiang Yike 2011-02-27 00:06:16 CET
Description of problem:

In Mandriva, if you install a Windows program via Wine, the program will create its shortcuts to a menu named "Programs" and if choosing it can create a shortcut on the desktop. But in Mageia Alpha 1, Wine programs can't create menu and shortcuts.


Version-Release number of selected component (if applicable):

Mageia Alpha 1 64bit, Wine32 1.3.14 

How reproducible:

Installing a Windows program via Wine.

Steps to Reproduce:
1. Install Wine;
2. Install a Windows program;
3. Look the menu, and there are not a new Programs menu and programs' shortcuts.


Reproducible: 

Steps to Reproduce:
Comment 1 Ahmad Samir 2011-02-27 03:43:02 CET
I tested installing notetab, and the menu entries were created correctly AFAICS.

Keywords: (none) => NEEDINFO

Comment 2 Jiang Yike 2011-02-27 08:55:54 CET
(In reply to comment #1)
> I tested installing notetab, and the menu entries were created correctly
> AFAICS.


My computer's Mageia system was a new installation, not an upgrade from Mandriva Linux. And I didn't modify any content of the menu. The folder ~/.local/share/applications has no menu entries.
Comment 3 Jiang Yike 2011-02-27 09:26:08 CET
I use Wine32 in a 64bit Mageia system.
Comment 4 Ahmad Samir 2011-02-27 16:37:54 CET
I had tested with a clean installation, updated as of yesterday; same thing here too wine32 on a 64bit installation, and it works... 

Could you test in a new user account?
Ahmad Samir 2011-02-27 16:38:01 CET

Source RPM: Wine32 => wine

Comment 5 Jiang Yike 2011-02-28 00:34:37 CET
(In reply to comment #4)
> I had tested with a clean installation, updated as of yesterday; same thing
> here too wine32 on a 64bit installation, and it works... 
> 
> Could you test in a new user account?

I installed Wine32 via a Mageia 32bit packages' mirror, so the dependencies are all 32bit. Is it the cause?

I will test in a new user account later. But it is strange. If it works, why my can't my account create menu entries?
Comment 6 Jiang Yike 2011-02-28 11:11:52 CET
I didn't test in a new user account, but solved the problem by removing the folder .wine and the folder .config/menus/applications-merged.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 7 Ahmad Samir 2011-02-28 18:03:45 CET
(In reply to comment #5)
> (In reply to comment #4)
> > I had tested with a clean installation, updated as of yesterday; same thing
> > here too wine32 on a 64bit installation, and it works... 
> > 
> > Could you test in a new user account?
> 
> I installed Wine32 via a Mageia 32bit packages' mirror, so the dependencies are
> all 32bit. Is it the cause?
> 

No, it's not (as you saw). I had an identical setup. :)

Keywords: NEEDINFO => (none)

Comment 8 Jiang Yike 2011-03-01 00:22:32 CET
The reason is that there is something wrong with the folder .wine and the folder .config/menus/applications-merged was created with root permissions.
Comment 9 Ahmad Samir 2011-03-01 01:37:04 CET
Ideally that shouldn't happen; Did you run an app as root (using su, or sudo or kdesu)? e.g. winecfg? (note that you can get a bigger list of which apps you executed that would cause this by examining the file names in .config/menus/applications-merged ).
Comment 10 Jiang Yike 2011-03-01 10:41:09 CET
(In reply to comment #9)
> Ideally that shouldn't happen; Did you run an app as root (using su, or sudo or
> kdesu)? e.g. winecfg? (note that you can get a bigger list of which apps you
> executed that would cause this by examining the file names in
> .config/menus/applications-merged ).

I have removed the wrongly created folder .config/menus/applications-merge, so I don't know what it includes. Perhaps the folder .config/menus/applications-merge is wrongly created during the installation of Adobe Reader, because I found that both of .mozilla/plugins/nppdf.so and ./local/share/applications/defaults.list are created with root permissions and they are related to Adobe Reader.
Comment 11 Frank Griffin 2011-03-02 18:52:03 CET
This might be another variation of https://qa.mandriva.com/show_bug.cgi?id=62245

CC: (none) => ftg

Comment 12 Ahmad Samir 2011-03-02 18:57:20 CET
(In reply to comment #10)
> (In reply to comment #9)
> > Ideally that shouldn't happen; Did you run an app as root (using su, or sudo or
> > kdesu)? e.g. winecfg? (note that you can get a bigger list of which apps you
> > executed that would cause this by examining the file names in
> > .config/menus/applications-merged ).
> 
> I have removed the wrongly created folder .config/menus/applications-merge, so
> I don't know what it includes. Perhaps the folder
> .config/menus/applications-merge is wrongly created during the installation of
> Adobe Reader, because I found that both of .mozilla/plugins/nppdf.so and
> ./local/share/applications/defaults.list are created with root permissions and
> they are related to Adobe Reader.

Yeah, you're probably right.
Comment 13 Ahmad Samir 2011-03-02 19:04:36 CET
(In reply to comment #11)
> This might be another variation of
> https://qa.mandriva.com/show_bug.cgi?id=62245

I think it's a different issue (IMBW, though).