Bug 316188 - multiple partition managers installed
Summary: multiple partition managers installed
Status: RESOLVED DOWNSTREAM
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Volker Lanz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-05 20:02 UTC by illumilore
Modified: 2013-03-08 20:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description illumilore 2013-03-05 20:02:02 UTC
in kubuntu 12.04, when opening the app menu and then typing in partition, two partition managers are shown in the results. They both have the same icon, but one is called "kde partition manager" while the other just " partition manager". They are the same except for slightly different UIs. There is no reason to have two PMs installed by default because it is redundant.
Comment 1 Christoph Feck 2013-03-05 22:28:08 UTC
It is up to the distribution to select default installed applications. Please report this issue directly to the bug tracker of your distribution via https://bugs.launchpad.net/
Comment 2 Harald Sitter 2013-03-06 17:48:34 UTC
Yeah, except the problem is that by default two desktop files are installed, one for the KCM and one for an application menu entry. To that extent it would perhaps make sense to simply not show the application menu entry inside kde workspaces. At any rate not a downstream issue.
Comment 3 Christoph Feck 2013-03-06 18:04:54 UTC
Excuse me, what KCM? Upstream partitionmanager does not install a KCM.
Comment 4 Harald Sitter 2013-03-06 18:14:11 UTC
wget http://downloads.sourceforge.net/project/partitionman/partitionmanager/1.0.3/partitionmanager-1.0.3.tar.bz2 && tar -xf partitionmanager-1.0.3.tar.bz2 && ls -lah partitionmanager-1.0.3/src/kcm
Comment 5 Christoph Feck 2013-03-06 18:41:47 UTC
The KCM was removed 3 years ago:

http://websvn.kde.org/?revision=1095115&view=revision
Comment 6 Volker Lanz 2013-03-07 15:14:01 UTC
The KCM is still present in the current 1.0.x series but is neither built nor installed by default (see src/CMakeLists.txt). I was excpecting to find a patch in the Kubuntu source package modifying this, but that does not appear to be the case.

Still, I too have the KCM installed on Kubuntu 12.04 (and I agree with illumilore that the KCM is unnecessary and redundant; it's also giving a wrong impression of what KDE Partition Manager can do because its UI is dumbed down).

Harald, why is this? What am I missing?
Comment 7 Harald Sitter 2013-03-07 15:52:35 UTC
Oo
Curious, will have a look.
Comment 8 Harald Sitter 2013-03-07 16:03:17 UTC
DEB_CMAKE_CUSTOM_FLAGS := -DPARTMAN_KCM=ON

From what I understand it was disabled by debian in 1.0rc1

"  * Disable building the partitionmanager kcm, as it
    is requires systemsettings to be running as root and
    it ends up being just confusing and not useful at all."

and got enabled by ubuntu when 1.0.0 was imported from debian

"    - Build the partitionmanager KCM since we can handle root KCMs"

and apparently for 1.0.1 it got changed to not build by default

http://websvn.kde.org/trunk/extragear/sysadmin/partitionmanager/src/CMakeLists.txt?r1=1014082&r2=1014083&pathrev=1043288&

which apparently no one noticed in ubuntu so that it remained enabled even though it would be disabled by default.

Rather silly chain of events there. As upstream, what will you have me do? Disable it? (i.e. ubuntu has no actual preference ^^)
Comment 9 Volker Lanz 2013-03-08 08:58:32 UTC
Thanks for looking into this, Harald. Please disable it, it's not useful above the application itself and the reportes is right about it being confusing.
Comment 10 Harald Sitter 2013-03-08 20:17:50 UTC
The KCM is no longer part of Kubuntu 13.04.