Bug 28287 - new plasma workspace does not allow unlocking of widgets when upgrading from older version
Summary: new plasma workspace does not allow unlocking of widgets when upgrading from ...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords: IN_ERRATA8
Depends on:
Blocks:
 
Reported: 2021-02-03 07:43 CET by Parag Shah
Modified: 2023-09-29 22:11 CEST (History)
2 users (show)

See Also:
Source RPM: plasma-workspace-5.20.4-5.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Parag Shah 2021-02-03 07:43:24 CET
Description of problem:
plasma5 desktop and panel widgets are left locked and no way to unlock and reposition if a user upgrades and has widget locked in pervious version. 

Version-Release number of selected component (if applicable):
plasma-workspace-5.20.4-5.mga8

How reproducible:
upgrade plasma workspace

Steps to Reproduce:
1. on fresh install log out of plsama and copy over old .config/plasma-org.kde.plasma.desktop-appletsrc from text console.
2. Login to plasma and see the widgets cant be unlocked. 

Fix found from googling:
user has to run a command 
"qdbus org.kde.plasmashell /PlasmaShell evaluateScript "lockCorona(false)"
Comment 1 Lewis Smith 2021-02-03 14:25:36 CET
Thank you for the report - and the obscure remedy.
Unsure what you mean by 'upgrade'. Are you talking about upgrading from Mageia 7 to 8? Or just applying the most recent M8 update to plasma-workspace?
 plasma-workspace-5.20.4-5.mga8
I will adjust the title accordingly.

In case this cannot be fixed before M8 is released, I am marking this for inclusion in ERRATA. If it *does* get fixed in time, that can be removed.

Assigning to KDE team.

Assignee: bugsquad => kde
Keywords: (none) => FOR_ERRATA8
CC: (none) => lewyssmith

Comment 2 Parag Shah 2021-02-04 06:08:40 CET
After searching on web it appears that the widget lock/unlock bug (or feature removal) is from plasma version 5.18 onwards. 
Only way to unlock is by the command 

"qdbus org.kde.plasmashell /PlasmaShell evaluateScript "lockCorona(false)"

and to lock:

"qdbus org.kde.plasmashell /PlasmaShell evaluateScript "lockCorona(false)"

I guess it cant be fixed by Mageia KDE team and it has to go into ERRATA. It will affect all mageia 7 to 8 upgrades.
Comment 3 Lewis Smith 2021-02-04 11:53:06 CET
> widget lock/unlock feature removal is from plasma version 5.18 onwards
Thank you for your research & the solution. That should help future sufferers.
Would it be sensible to say in ERRATA:

Plasma5 desktop and panel widgets cannot be locked/unlocked in Plasma version 5.18 onwards. This means that any such widgets locked before the upgrade cannot be unlocked after. So *before* doing a Plasma upgrade, be sure to UNlock all such widgets.
If you do find locked widgets after upgrading, this will unlock them:
 $ qdbus org.kde.plasmashell /PlasmaShell evaluateScript "lockCorona(false)"
Comment 4 Morgan Leijström 2021-02-06 13:05:55 CET
Entered in Errata, almost verbatim by suggestion, thanks

CC: (none) => fri
Keywords: FOR_ERRATA8 => IN_ERRATA8

Comment 5 sturmvogel 2023-03-07 21:24:17 CET
As this bug was for the upgrade path MGA7->MGA8 this should now be no longer applicable for MGA8->MGA9.

Is this also valid in MGA9 or why did this land in MGA9 Errata?
Comment 6 sturmvogel 2023-09-29 22:11:37 CEST
No longer applicable for MGA9. As MGA8 is going EOL in 3 month and the upgrade path from MGA7-MGA8 is covered by the Errata entry for MGA8, closing this OLD.

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


Note You need to log in before you can comment on or make changes to this bug.