Bug 424457 - Cannot edit taskbar with locked widgets - only unlockable by the Tool Box
Summary: Cannot edit taskbar with locked widgets - only unlockable by the Tool Box
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: 5.19.3
Platform: Other Other
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-20 11:02 UTC by postix
Modified: 2020-07-23 20:41 UTC (History)
2 users (show)

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


Attachments
Screenshot: Desktop Configuration (139.15 KB, image/png)
2020-07-23 20:07 UTC, postix
Details
Screenshot: Config icon (152.24 KB, image/png)
2020-07-23 20:22 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2020-07-20 11:02:22 UTC
SUMMARY

Once the taskbar's widgets are locked, I can no longer edit the taskbar. Right click on any space of the taskbar only offers to edit the widget's setting but nothing else.

I found one workaround though:
Right click on the desktop -> Configure Desktop -> Tweaks -> Show the desktop toolbox -> Unlock Widgets

IIRC one was offered to unlock the widgets within the context menu opened by any right click on the taskbar.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.72.0
Qt Version: 5.15.0
Comment 1 postix 2020-07-20 13:41:08 UTC
Found it: Right click on the desktop -> Customize Layout then right click on the panel -> edit panel.
Comment 2 postix 2020-07-20 13:43:00 UTC
I closed it too quickly. After locking the widgets, customize layout is grayed out and besides adding the Tool Box I do not see any way to unlock them again. :-(
Comment 3 Nate Graham 2020-07-23 19:08:49 UTC
You're not supposed to manually lock and unlock widgets anymore in Plasma 5.18 and beyond. This is now a hidden feature intended for sysadmins and automated deployments, for the most part.

When widgets are locked, you can't customize the layout at all (because they're locked). This is now intentional. Thankfully there's no longer a need to keep the widgets locked at all! :)
Comment 4 postix 2020-07-23 20:07:06 UTC
Created attachment 130344 [details]
Screenshot: Desktop Configuration

Weird, now the Tweaks section is gone in Configure Desktop, please see the screenshot. How do I get the Toolbox back now? 

Because I wanted to post a screenshot of the "customize" symbol, which popups next to the clock when widgets are unlocked. Is it supposed to be there all the time now? :-/
Comment 5 Nate Graham 2020-07-23 20:13:59 UTC
You can't get the toolbox back now (assuming you're talking about the hamburger menu that used to appear in the top-right corner). It's gone for good.

What's the problem you're having? I'm having difficulty understanding, sorry.
Comment 6 postix 2020-07-23 20:17:28 UTC
(In reply to Nate Graham from comment #5)
> You can't get the toolbox back now (assuming you're talking about the
> hamburger menu that used to appear in the top-right corner). It's gone for
> good.
> 
> What's the problem you're having? I'm having difficulty understanding, sorry.

My problem is that widgets are locked and I have no clue how to unlock them now. 
When I created this bug report I could still display the toolbox  on the desktop (via configure desktop -> tweaks -> show toolbox) and use it to unlock the widgets.

Clear now? :-)
Comment 7 Nate Graham 2020-07-23 20:19:22 UTC
You can run this in a terminal window to unlock them:

qdbus org.kde.plasmashell /PlasmaShell evaluateScript "lockCorona(false)"
Comment 8 postix 2020-07-23 20:22:25 UTC
Created attachment 130347 [details]
Screenshot: Config icon

(In reply to Nate Graham from comment #7)
> You can run this in a terminal window to unlock them:
> 
> qdbus org.kde.plasmashell /PlasmaShell evaluateScript "lockCorona(false)"

Thank you, this has worked and no annoying icon is displayed!! :)

Before I was talking about the icon in the top right corner, which can be seen in the attachment. As this seems to be obsolete by now, it might have confused you.
Comment 9 postix 2020-07-23 20:23:41 UTC
Never mind, this only popups, when one is editing the panel. Sorry and thank you again!
Comment 10 Nate Graham 2020-07-23 20:41:28 UTC
You're welcome!