Bug 17371

Summary: Missing dependencies in plasma-workspace or task-plasma5 causing incorrect plasma5 behavior
Product: Mageia Reporter: Piotr Mierzwinski <piotr.mierzwinski>
Component: RPM PackagesAssignee: Rémi Verschelde <rverschelde>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: animtim, jyri2000, mageia, marja11, rverschelde
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: qtbase5-5.6.0-0.beta.6.mga6 CVE:
Status comment:

Description Piotr Mierzwinski 2015-12-19 23:59:32 CET
Description of problem:
Couple days ago I installed Plasma 5 using package: task-plasma5. Testing new Plasma I met some annoying desktop behavior - reported as bug here: https://bugs.kde.org/show_bug.cgi?id=356843
I struggled with them couple of days, thinking plasma crashes. Finally I did some investigation and discovered that in my Plasma5 installation is missing couple required by plasmshell packages - logs of plasmashell pointed on them. There were following bugs:
 KActivities: Database is not open:  "kactivities_db_resources_140710727112512_readwrite" "" QSqlError("", "Driver not loaded", "Driver not loaded")

KActivities: FATAL ERROR: Failed to contact the activity manager daemon

And missing packages were following:
(to fix first bug)
  lib64qt5-database-plugin-sqlite-5.6.0-0.beta.1.mga6
(to fix second bug)
  plasma-applet-activity-manager-0.5-5.mga5

When I installed missing (in my opinion) packages, I don't observe behavior described in mentioned bug report. I installed also qt in version 5.6.0-beta1, but I suspect that mentioned missing packages caused the problem.

Version-Release number of selected component (if applicable):
plasma-workspace-5.5.1-2.mga6, task-plasma5-5.3.2-2.mga6

How reproducible:
Everytime.

Steps to Reproduce:
1. Install plasma5 using package task-plasma5
2. Follow to instruction in https://bugs.kde.org/show_bug.cgi?id=356843
3.


Reproducible: 

Steps to Reproduce:
Piotr Mierzwinski 2015-12-19 23:59:57 CET

Hardware: i586 => x86_64

Comment 1 Jüri Ivask 2015-12-22 12:42:18 CET
Hmm, I do not have these packages installed (32bit versions here) and Alt+F2 seems to work OK...

CC: (none) => jyri2000

Comment 2 Piotr Mierzwinski 2015-12-22 20:30:35 CET
@Jüri
I'm not sure if 32bit version is matter here.

Did you meet all conditions which I described in my bug report (skipping hardware)? If not then please install again "on fresh" Mageia 6 and try to repeat the steps described in my report.
My installation of Mageia 6 I've done couple of days before reported bug onto bugs.kde.org, just after Plasma 5.5.1 was released 
(in Mageia). Using task-plasma to installation.

Do you have searching files turned on? This option is default checked in new installation, as far as I know. And it might be related with sqlite driver.

Did you check if you have any errors in plasmashell logs (.xsession-errors)?
I had such, and after installation mentioned packages they disappeared.

I don't know how it's possible, that you don't have installed it and don't meet issue described in my kde bug report!

Reported onto bugs.kde.org bug is fixed by installation lib64qt5-database-plugin-sqlite package. To be sure I've made some experiment. On the second machine, where I have a bit older Mageia 6 64bit installation, which is up-to-date I removed mentioned package (I had to also remove qttools5-assistant because dependency). After that I created test user (to have clean environment) and tried to log in on it. Unfortunately first login showed me black screen. Using Ctrl+Alt+Backspace (pressed twice) I killed X and logged in again. Now I got pretty default desktop of plasma5. Now I applied the steps from kde bug report, so I changed wallpaper and invoked Alt+F2 where in edit box I put "k". Of course I observed bad effect like sliding desktop and my pretty new wallpaper disappeared. OK. I expected such behavior.
So now time to try with installed above packages (lib64qt5-database-plugin-sqlite and qttools5-assistant). I killed X and cleaned all caches and configurations (like I described in my kde bug report) referring to test user. Time to log in. As was first time I got black screen. After second log in I got desktop. I repeated the steps mentioned above and surprise wallpaper didn't disappear.
As I told on top this post. I don't think that in 32 bit it works different than in 64 bit system.

If you want you can follow my instruction and try to repeat the issue.
And please try to find again mentioned package, for example running following command: rpm -qa | grep sqlit | grep qt

@Mageia Bug Squad
As I observed in this moment lib64qt5-database-plugin-sqlite is related with qttools5-assistant, so if last one will be installed then first one also will be, but I'm not sure if qttools5-assistant is in this moment related with task-plasma. If it's true then great.
David Walser 2015-12-22 22:29:26 CET

Assignee: bugsquad => mageia

Comment 3 Timothée Giet 2016-01-08 22:17:43 CET
Hi,

I also had a bug since several days, I had plasma crash after entering a few keys in the launcher search bar or in alt+f2 bar.

I found this thread, so I installed lib64qt5-database-plugin-sqlite-5.6.0-0.beta.6.mga6, which required to uninstall qt5-database-plugin-sqlite-5.5.something.. , which I did, and it instantly fixed the issue, no way to reproduce the crash.

CC: (none) => animtim

Comment 4 Rémi Verschelde 2016-01-16 22:40:16 CET
*** Bug 17511 has been marked as a duplicate of this bug. ***

CC: (none) => rverschelde

Comment 5 Rémi Verschelde 2016-01-16 22:40:59 CET
*** Bug 17450 has been marked as a duplicate of this bug. ***
Comment 6 Rémi Verschelde 2016-01-16 23:13:21 CET
I just pushed qtbase5-5.6.0-0.beta.7.mga6 that hopefully fixes this bug by properly obsoleting the older packages from Mageia 5.

If someone still has an older cauldron (pre qt5 5.6.0-beta) or a mga5 VM ready for an upgrade, it would be nice to confirm the fix.

Source RPM: plasma-workspace-5.5.1-2.mga6, task-plasma5-5.3.2-2.mga6 => qtbase5-5.6.0-0.beta.6.mga6

Rémi Verschelde 2016-01-16 23:13:51 CET

Assignee: mageia => rverschelde

Rémi Verschelde 2016-01-16 23:14:26 CET

CC: (none) => mageia

Comment 7 Rémi Verschelde 2016-01-17 10:42:01 CET
*** Bug 17512 has been marked as a duplicate of this bug. ***

CC: (none) => marja11

Comment 8 Rémi Verschelde 2016-01-17 12:53:12 CET
Marking as fixed as per bug 17512 comment 5, it looks like the obsoletes work fine to replace the older packages.

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