Bug 10016

Summary: Missing plasma-krunner-powerdevil package mess up kde4 Activities
Product: Mageia Reporter: jcl darkc <jcldc13>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: balcaen.john, lmenut, mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: plasma-krunner-powerdevil-4.10.2-1.mga3.x86_64 CVE:
Status comment:

Description jcl darkc 2013-05-07 19:53:13 CEST
Description of problem:

If package plasma-krunner-powerdevil is missing, it mess up completely
kde4 desktop regarding to Activities (behavior/management).

Version-Release number of selected component (if applicable):

plasma-krunner-powerdevil-4.10.2-1.mga3.x86_64

How reproducible:

 I installed latest Mageia3 RC on a **desktop** machine. Installation +
 updates + setup, everything went fine. Kde4 worked perfectly. 

At some point, I ran the the following command to clean up my system :

urpme --auto-orphans


This command  delete quite a lot of "useless"  packages.

BUT at the next reboot, my kde4 user session was completely messed up. My
activities was disappeared or missing, and all my desktop background
was changed.... Then  when I created new activities, I was not able to
see "Activities" entry from the contextual menu of a window
application (you get this menu by clicking on the right mouse button
from the windows application title bar).

 It take me a while to understand WHY !!! 

 It was due to the missing package "plasma-krunner-powerdevil" which was deleted by "urpme --auto-orphans". 

It makes sense to delete this package on a desktop
 machine which does not have battery. But when this package is
 missing, kde4 starts not correctly. Precisely, when this package is
 present, the process "/usr/bin/kactivitymanagerd" is started BEFORE
 process "kwin" and everything goes fine for activity management. BUt
 when it's missing, kwin starts before kactivitymanagerd, and kde4
 session does not manage correctly user activities. It sounds crazy
 but it's true. 

 I can imagine that most of the users/testers have tested mga3 from a
 laptop or they don't have run "urpme --auto-orphans" command from their desktop, therefore  they don't have encounter this bug.

 It's also possible to reproduce this bug, on a laptop,
 by explicitly remove package plasma-krunner-powerdevil using the command :

urpme plasma-krunner-powerdevil
(it will remove also plasma-applet-battery )

 Then reboot and you will see that your activities and their backround
 will be vanished....

 To check pid order of kwin and kactivitymanagered, use the following
 command :

ps -eaf|grep -E "kwin|kactivity"

  Do it before removing the package, the reboot and do it after, you
  will see that pid ordering differ.

 I don't know if it is a kde4 related  bug or a bug introduce by mga3
 team, but it's a really serious one.

 Please try to reproduce.


Steps to Reproduce:
1. install mga3 rc on a desktop machine
2. urpme --auto-orphans (or urpme plasma-krunner-powerdevil on a laptop)
3. reboot and open your kde4 session


Reproducible: 

Steps to Reproduce:
claire robinson 2013-05-07 23:14:55 CEST

CC: (none) => balcaen.john, lmenut, nicolas.lecureuil

Comment 1 Nicolas Lécureuil 2013-05-07 23:24:49 CEST
this package is now part of minimal kde install and can't be uninstalled.

thank you for your bugreport.

Status: NEW => RESOLVED
Resolution: (none) => FIXED