Bug 427540 - Lock screen "Show media controls" not visible
Summary: Lock screen "Show media controls" not visible
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_screenlocker (show other bugs)
Version: 5.19.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-11 11:55 UTC by medin
Modified: 2020-11-17 18:31 UTC (History)
2 users (show)

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


Attachments
Show media controls 1 (63.39 KB, image/png)
2020-10-11 11:55 UTC, medin
Details
Show media controls 2 (52.41 KB, image/png)
2020-10-11 11:56 UTC, medin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description medin 2020-10-11 11:55:22 UTC
Created attachment 132272 [details]
Show media controls 1

In Lock screen settings there is no way to disable "Show media controls". See attached images for more info.

Operating System: Manjaro Linux
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1
Kernel Version: 5.4.67-1-MANJARO
OS Type: 64-bit
Comment 1 medin 2020-10-11 11:56:12 UTC
Created attachment 132273 [details]
Show media controls 2
Comment 2 Fonic 2020-10-24 08:46:12 UTC
Same here on Gentoo Linux (amd64 stable, details below).

This has happened before in Plasma 5.12. I'd say this is either a regression or never got fixed at all. See this bug and its comments for details:
https://bugs.kde.org/show_bug.cgi?id=389483#c3
https://bugs.kde.org/show_bug.cgi?id=389483#c17

Good overview of the issue, related bugs and possible workaround:
https://askubuntu.com/a/1127475/1123807

Adding these lines to '~/.config/kscreenlockerrc' worked back then and still works:
[Greeter][LnF][General]
showMediaControls=false

--

Operating System: Gentoo Linux
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1
Kernel Version: 5.4.66-gentoo
OS Type: 64-bit
Comment 3 medin 2020-10-24 10:57:34 UTC
(In reply to Fonic from comment #2)

Yeah you are right, I tried adding to kscreenlockerrc file the following lines :

[Greeter][LnF][General]
showMediaControls=false

and it seems for now it hides correctly the media controls.
Comment 4 Patrick Silva 2020-11-17 14:02:18 UTC
humm, on my system an option to disable media controls is available if I click on "Configure..." button of Screen Locking KCM.

Operating System: Arch Linux
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1
Comment 5 medin 2020-11-17 18:27:32 UTC
(In reply to Patrick Silva from comment #4)
> humm, on my system an option to disable media controls is available if I
> click on "Configure..." button of Screen Locking KCM.
> 
> Operating System: Arch Linux
> KDE Plasma Version: 5.20.3
> KDE Frameworks Version: 5.76.0
> Qt Version: 5.15.1

Sorry for not updating this report, after upgrading from 5.19 to 5.20 the media controls appear again, so it works perfectly for now on 5.20.2.
Comment 6 medin 2020-11-17 18:31:14 UTC
When I disable the media controls and click apply the following settings 

[Greeter][LnF][General]
showMediaControls=false

are added to /home/med/.config/kscreenlockerrc