Duplicate entries for KOrganizer in Sofware Center

Bug #948078 reported by Jorge Antonio Dias Romero
8
This bug affects 2 people
Affects Status Importance Assigned to Milestone
app-install-data-ubuntu (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

I searched for a organizer in software center, and the entries for the software KOrganizer are duplicated.

I attached a screenshot that shows that, after click in Install, the progress bar appears for both entries.

Although it's not a major issue, took a while to realize that the entries are duplicated. The duplicated progress bar may be misleading for non-techical users, who can think that are two installations going on.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: software-center 5.0.4
ProcVersionSignature: Ubuntu 3.0.0-16.28-generic 3.0.17
Uname: Linux 3.0.0-16-generic i686
NonfreeKernelModules: wl
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Tue Mar 6 11:48:46 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
PackageArchitecture: all
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jorge Antonio Dias Romero (jorgepoa10-deactivatedaccount) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Kiwinote (kiwinote) wrote :

looks like app-install-data is giving us both desktop/korganizer:kde4__korganizer.desktop and desktop/korganizer:kde4__korganizer-import.desktop

affects: software-center (Ubuntu) → app-install-data-ubuntu (Ubuntu)
Changed in app-install-data-ubuntu (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
Jorge Antonio Dias Romero (jorgepoa10-deactivatedaccount) wrote :

Following the Kiwinote tip, I realize that Kleopatra also have a duplicate.

I compared korganizer:kde4__korganizer.desktop and korganizer:kde4__korganizer-import.desktop files and saw that the files are almost the same, the only relevant difference is in the "Exec" line

The Exec line for korganizer:kde4__korganizer.desktop is "Exec=korganizer %U"
But the Exec line for korganizer:kde4__korganizer-import.desktop is "Exec=korganizer --import %U"

The file korganizer:kde4__korganizer-import.desktop is marked with "NoDisplay=true", so, it's not intented to appear to end-user.

The same thing happens with kleopatra:kde4__kleopatra.desktop and kleopatra:kde4__kleopatra_import.desktop.

I tried mark the import files with "Hidden=true", but did'nt work (they still appeared on software center.)

The .desktop file specifications (availabe in http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html) says that mark the file as Hidden "[i]t's strictly equivalent to the .desktop file not existing at all, as far as that user is concerned".

Considering all this, i think it's completely safe just remove korganizer:kde4__korganizer-import.desktop and kleopatra:kde4__kleopatra_import.desktop from app-install-data-ubuntu.

I tested this solution with no issues, and the bug was fixed for me with the attached patch.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch.debdiff" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. 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 team 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
Michael Vogt (mvo) wrote :

Thanks, I commited that to the lp:~mvo/archive-index/app-install-mvo and it will be part of the next upload of the app-install-data.

Changed in app-install-data-ubuntu (Ubuntu):
status: Triaged → Fix Committed
Changed in app-install-data-ubuntu (Ubuntu):
status: Fix Committed → 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.