http://bugzilla.opensuse.org/show_bug.cgi?id=1166496 http://bugzilla.opensuse.org/show_bug.cgi?id=1166496#c4 --- Comment #4 from Wolfgang Bauer <wbauer@tmo.at> --- (In reply to Josef Wolf from comment #3)
PS: I meanwhile found https://bugs.kde.org/show_bug.cgi?id=369137, which seems to be about the same problem.
Yes, it seems to be about the same problem. But it suggests that the problem appears only whe using kodi, which is not true. It says that it happens with kodi running, but not that it *only* happens with kodi.
Feel free to add a comment to make it clear that it also happens without kodi running. But I think that is understood, the comments don't refer to kodi at all.
According to the comments, this cannot be fixed from the KDE/Plasma side on X11 (and seems to work fine on Wayland).
Yes. But I fail to understand that. As I mentioned, the problem does not occur wit e.g. gdm. Thus, there must be a way to do it properly. You mean, it does not occur with GNOME + gdm I suppose. (or does it not happen with Plasma as well if using gdm? then you'd have a workaround at least)
They integrated the screenlocker in gdm AFAIK, at least screen locking will not work at all in GNOME if you use a different login manager than gdm IIANM. The problem here is that the running Plasma session is basically frozen when you switch to a different VT, so it cannot actually lock the screen until you switch back (and then the 5 seconds grace period starts, but that is configurable). You'll notice something similar if you e.g. play some music in the session, as somebody mentioned in your mailing list thread. If you press Ctrl+Alt+Fx, the music stops until you switch back. And this does not only happen with Plasma, but also IceWM e.g., so it's definitely not something that Plasma does.
The recommendation is to use Plasma's "Switch User" functionality to switch to a different session (which should lock the screen immediately) instead of Ctrl+Alt+Fx.
The "switch user" functionality suffers from the same problem. So this is not a workaround. I cannot confirm that here. The screen is locked immediately after choosing "Switch User" from the menu, before the selection is actually possible. I'm not sure at the moment how it behaved in Plasma 5.12 though, that is shipped with Leap 15.1.
In any way, this is no packaging problem in openSUSE. As I already wrote, if something is to be changed on the KDE side, it needs to be done upstream. But apparently it would need changes on a lower level, that's why I reassigned it to Basesystem and did not just close it as upstream. And that's all *I* can say on the topic. -- You are receiving this mail because: You are on the CC list for the bug.