kmenuedit does not correctly handle the OnlyShowIn field

Bug #885124 reported by Gard Spreemann
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KDE Base Workspace
Fix Released
Medium
kde-workspace (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

A KDE bug (#283579 [1]) makes it impossible to add new menu entries to the application launcher due to kmenuedit incorrectly handling the .desktop field OnlyShowIn [2]. I submitted a patch to the KDE bug tracker, but I guess it'll take time for someone to pick it up. Since it's a small and non-invasive patch that restores a pretty important feature (adding to the launcher menu), perhaps it can be considered for inclusion into an upcoming Ubuntu version of kde-workspace?

The KDE bug's comments 8, 14 and 15 in particular explain the bug and the patch.

The patch was made against kde-workspace-4:4.7.2-0ubuntu1.

[1] https://bugs.kde.org/show_bug.cgi?id=283579
[2] http://standards.freedesktop.org/menu-spec/1.1/ar01s03.html

Tags: patch
Revision history for this message
Gard Spreemann (gspreemann) wrote :
description: updated
description: updated
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "If an entry has a present and empty OnlyShowIn field, we don't touch it unless the "only show in KDE" field is selected. Else, if we empty out an OnlyShowIn field, then we delete it from the .desktop file." of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Alessandro Menti (elgaton) wrote :
Changed in kde-workspace (Ubuntu):
status: New → Confirmed
Revision history for this message
Philip Muškovac (yofel) wrote :

Setting medium on alessandro's request.

Changed in kde-workspace (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Changed in kdebase-workspace:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Philip Muškovac (yofel) wrote :

This seems fixed in 4.7.3 (available in ppa:kubuntu-ppa/ppa) can the people affected by this confirm it?
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Changed in kdebase-workspace:
status: Confirmed → Invalid
Revision history for this message
Alessandro Menti (elgaton) wrote :

Moved from KDE bug #283579 to KDE bug #283658 as the first report was a duplicate of the last one.

Changed in kdebase-workspace:
importance: Medium → Unknown
status: Invalid → Unknown
Changed in kdebase-workspace:
importance: Unknown → Medium
status: Unknown → Fix Released
Changed in kde-workspace (Ubuntu):
status: Triaged → 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.