Bug 188110 - Missing Crossover Win App menu in KDE
Summary: Missing Crossover Win App menu in KDE
Status: RESOLVED DUPLICATE of bug 331598
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: KDE (show other bugs)
Version: Final
Hardware: x86 SuSE Linux 10.1
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Stephan Binner
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-24 13:52 UTC by Lubos Klokner
Modified: 2007-10-07 12:25 UTC (History)
3 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Menu example using FreeDesktop standard (2.90 KB, application/x-bzip2)
2006-11-23 21:04 UTC, Forgotten User vyyEcrzqUM
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lubos Klokner 2006-06-24 13:52:14 UTC
Hi,

I'm using Crossover Office 5.0.1. The problem is that there is missing "Windows Applications" sub-menu in KDE menu. It is strange, because I can see "Windows Applications" sub-menu in programs:/ in konqueror and also in Menu Editor.

Best regards,
Lubos Klokner
Comment 1 Marcus Meissner 2006-06-24 19:58:25 UTC
this is fixed in crossover 5.0.3 I think.
Comment 2 Stephan Binner 2006-07-10 12:33:18 UTC
Can you try 5.0.3 to confirm?
Comment 3 Lubos Klokner 2006-07-10 12:59:45 UTC
Now I have cxoffice 5.0.3, but I'm still missing Win apps menu :-( I have also entered this problem into cx support.

Comment 4 Stephan Binner 2006-07-10 14:30:31 UTC
I don't have Crossover Office to test, playing with Wine's wineshelllink I don't see a problem. Dunno how Crossover tries to install applications.

What do ~/.kde/share/applnk/ , ~/.kde/share/applications/, ~/.local/share/applications/ and ~/.local/share/desktop-directories/ contain?
Comment 5 Lubos Klokner 2006-07-10 14:37:09 UTC
[erkac@diablo]-[~]$ ll ~/.kde/share/applnk/
total 0
[erkac@diablo]-[~]$ ll ~/.kde/share/applications/
/bin/ls: /home/erkac/.kde/share/applications/: No such file or directory
[erkac@diablo]-[~]$ ll ~/.local/share/applications/
total 20
-rw-r--r-- 1 erkac users 473 2006-06-23 11:08 cxassoc-cxoffice-871dcc24-62af-4ccd-93fc-f59202b54e9a:application_msword.desktop
-rw-r--r-- 1 erkac users 488 2006-06-23 11:08 cxassoc-cxoffice-871dcc24-62af-4ccd-93fc-f59202b54e9a:application_vnd.ms-excel.desktop
-rw-r--r-- 1 erkac users 452 2006-06-23 11:08 cxassoc-cxoffice-871dcc24-62af-4ccd-93fc-f59202b54e9a:application_vnd.ms-powerpoint.desktop
-rw-r--r-- 1 erkac users 443 2006-06-23 11:08 cxassoc-cxoffice-871dcc24-62af-4ccd-93fc-f59202b54e9a:application_x-crossover-dochtml.desktop
-rw-r--r-- 1 erkac users 909 2006-06-23 11:08 defaults.list
[erkac@diablo]-[~]$ ll ~/.local/share/desktop-directories/
/bin/ls: /home/erkac/.local/share/desktop-directories/: No such file or directory
[erkac@diablo]-[~]$
Comment 6 Stephan Binner 2006-07-10 14:58:26 UTC
Can you please attach one or more of the .desktop files in ~/.local/share/applications/ directory? :-)
Comment 7 Lubos Klokner 2006-07-10 15:11:22 UTC
[erkac@diablo]-[~]$ cat /home/erkac/.local/share/applications/cxassoc-cxoffice-871dcc24-62af-4ccd-93fc-f59202b54e9a:application_msword.desktop
[Desktop Entry]
Encoding=UTF-8
Type=Application
X-Created-By=cxoffice-871dcc24-62af-4ccd-93fc-f59202b54e9a
NoDisplay=true
Icon=/home/erkac/.cxoffice/win2000/windata/Associations/word.document.8.xpm
Name=Open with Microsoft Office Word
GenericName=Windows Association (CrossOver)
Exec="/home/erkac/.cxoffice/win2000/desktopdata/cxassoc/Scripts/cxoffice-871dcc24-62af-4ccd-93fc-f59202b54e9a"
Terminal=false
MimeType=application/msword;application/rtf;application/vnd.ms-word
[erkac@diablo]-[~]$ 
Comment 8 Stephan Binner 2006-07-10 15:27:47 UTC
> NoDisplay=true

Sigh, those are for sure not the definitions you see in applications:/ or the menu editor. No idea atm where else it could be read from...
Comment 9 Forgotten User vyyEcrzqUM 2006-11-23 21:04:42 UTC
Created attachment 106778 [details]
Menu example using FreeDesktop standard

This example should add "Wine->Programs" submenu with "Wine/Programs/Steam".
It is shown properly in kmenuedit. And this example properly works with vanilla KDE. However under SuSE 10.1 I see none of the submenus nor Steam link.

Tested with stock KDE 3.5.1-69.32
and latest available KDE 3.5.5-89.1

Relevant bug on KDE: http://bugs.kde.org/show_bug.cgi?id=134174
Comment 10 Forgotten User vyyEcrzqUM 2006-11-24 20:00:09 UTC
Additional investigation lead to a work-around:

Adding following setting to ~/.kde/share/config/kickerrc and restarting kicker with `dcop kicker kicker restart` makes menu(s) appear.

[menus]
ReduceMenuDepth=false

So the bug somewhere in custom code that SuSE has to flatten menus with only one entry. It seems it does not descend into children submenus to check if they are empty or not.
Comment 11 Stephan Binner 2007-10-07 12:25:12 UTC

*** This bug has been marked as a duplicate of bug 331598 ***