Application launcher places wine programs in Lost & Found after update to kubuntu 15.04

Bug #1460784 reported by Daniel Savi
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Fix Released
Medium
Unassigned
plasma-desktop (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I've updated my Kubuntu from 14.10(?) to 15.04 lately. The transition to KDE4 went really smooth. Great respect to all devs who made this possible.
I've found just one problem. After the update, the wine menu is no longer present in the application launcher. I'm also unable to create one on top level with the menu editor. All wine programs are now listed in the "Lost & Found" menu.

The wine program shortcuts are located here on my hard disk:
~/.config/menus/applications-merged/

If I search for "wine", there appears also an icon titled "run wine" but I haven't been able to locate it in the menus so far.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: plasma-desktop 4:5.2.2-0ubuntu4
ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6
Uname: Linux 3.19.0-18-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Jun 1 20:57:12 2015
InstallationDate: Installed on 2013-11-29 (548 days ago)
InstallationMedia: Kubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
SourcePackage: plasma-desktop
UpgradeStatus: Upgraded to vivid on 2015-05-25 (7 days ago)

Revision history for this message
Daniel Savi (gaess) wrote :
Revision history for this message
Daniel Savi (gaess) wrote :

OK, adding a wine menu was actually easy. I've had to create a submenu anywhere and then move it to top level.
The "gerbv" package is also affected by this bug. It is also placed in the lost & found submenu. Even when removing and reinstalling by using sudo apt-get remove gerbv, sudo apt-get install gerbv.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in plasma-desktop (Ubuntu):
status: New → Confirmed
Changed in plasma-desktop (Ubuntu):
importance: Undecided → Medium
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Sergio Callegari (callegar) wrote :

To me, creating a submenu and moving it to the top level does not work. In fact, the KF5 menu editor seems to be quite badly broken. Submenus created with the menu editor do not appear at all in the menus, to say one. When menus are renamed, they retain the old name.directory filename, so that it is a mess to look for them. When menus are removed, the menu.directory file stays in place, so that along time one accumulates an amount of cruft that is unbelivable. The system seems to get confused with capitalization. It is impossible to add icons to submenus... and more.

Revision history for this message
Curtis Gedak (gedakc) wrote :

The problem still exists on Kubuntu 16.04.

With a fresh install of Kubuntu 16.04, I proceeded to install wine with:

  sudo apt-get install wine

After this completed, I noticed in the Application Menu that all of the wine apps were listed under "Lost & Found" instead of "Wine" as they should have been.

The wine apps are:

  Browse C: Drive
  Configure Wine
  Notepad
  Uninstall Wine Software
  Winetricks

When I install a windows application using wine, such as Adobe Digital Editions, the new menu entries also show up under "Lost & Found".

I also tried pre-creating a "Wine" submenu at the top level with a "Programs" submenu beneath it before installing wine, but this made no difference.

Revision history for this message
Curtis Gedak (gedakc) wrote :

I just found a workaround for this issue, and it works in kubuntu 16.04.

The workaround steps are:

1. Edit /etc/xdg/menus/kf5-applications.menu

2. After <DefaultMergeDirs/> add the following line:

   <MergeDir>applications-merged</MergeDir>

3. Save the file, and you might need to reboot to see the updated menus.

This problem was reported in KDE in the following upstream report.

kde doesn't merge ~/.config/menus/applications-merged to the menu
https://bugs.kde.org/show_bug.cgi?id=213972

Revision history for this message
Mike E. (melkevizth) wrote :

I can confirm the workaround by Curtis works for me in 16.04.

Revision history for this message
Paul White (paulw2u) wrote (last edit ):

The upstream bug report suggests that this was fixed some time ago.

Changed in hundredpapercuts:
status: Confirmed → Incomplete
Changed in plasma-desktop (Ubuntu):
status: Confirmed → Incomplete
Changed in hundredpapercuts:
status: Incomplete → Fix Released
Changed in plasma-desktop (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.