Bug 470035

Summary: Lattedock ignore "lock widgets" toggle.
Product: [Unmaintained] lattedock Reporter: makirill
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: REPORTED ---    
Severity: normal CC: makirill
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description makirill 2023-05-20 11:53:09 UTC
SUMMARY

Plasma 5.18 and above has hidden toggle to "lock widgets". To enable this mode, run the following command:

$ qdbus org.kde.plasmashell /PlasmaShell evaluateScript 'lockCorona(true)'

After running this command, all options like "Add Widgets..." or "Add Panel..." will be hidden in the right-click context menu. However, Latte Dock will still have options to edit and modify the dock.

STEPS TO REPRODUCE
1. Run the qdbus org.kde.plasmashell /PlasmaShell evaluateScript 'lockCorona(true)' command from terminal.
2. 
3. 

OBSERVED RESULT
Right click on the Latte Dock shows "Add Widgets...", "Add Dock/Panel", "Edit Dock..." menu options.

EXPECTED RESULT
The "Add Widgets...", "Add Dock/Panel", "Edit Dock..." menu options should be hidden.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 38
KDE Plasma Version:  5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9