Bug 477642 - Full-screen toolbar disappears when system in Screen Lock with Energy Saving
Summary: Full-screen toolbar disappears when system in Screen Lock with Energy Saving
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: general (show other bugs)
Version: 23.08.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-27 22:33 UTC by Dave92f1
Modified: 2025-03-11 10:35 UTC (History)
1 user (show)

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


Attachments
Screenshot illustrating the toolbar I'm referring to (42.85 KB, image/png)
2023-11-27 22:33 UTC, Dave92f1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave92f1 2023-11-27 22:33:07 UTC
Created attachment 163554 [details]
Screenshot illustrating the toolbar I'm referring to

SUMMARY

If krdc is accessing a remote RDP host (a Windows box) in full-screen mode when the local system (running krdc) goes into Screen Lock and Energy Saving simultaneously, when the user logs back into the local system later, krdc will still be accessing the host, but the toolbar at the top of the full-screen window is gone.

There doesn't seem to be any way to get it back short of disconnecting the krdc session from the host side (there's no way to disconnect from the local side that I know of, since you can't access the toolbar).

STEPS TO REPRODUCE (in KDE Neon)
1. systemsettings>Workspace Behavior>Screen Locking>Lock screen automatically after 1 minutes
2. systemsettings>Power Management>Energy Saving>Screen Enterg Saving Switch off after 1 minutes
3. Run krdc, connect to remote Windows host via RDP, go into full-screen mode.
4. Leave local system alone in full-screen mode (no keyboard/mouse action) for 2 minutes
5. Click a keyboard key, log back into system with password

OBSERVED RESULT

Toolbar is gone.

EXPECTED RESULT

Toolbar should still be visible and usable.

SOFTWARE/OS VERSIONS
Windows: 10 x64 (remote session)
Linux/KDE Plasma: 

Linux MONOLITH 6.2.0-37-generic #38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov  2 18:01:13 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Neon
Description:    KDE neon 5.27
Release:        22.04
Codename:       jammy

KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version:  5.15.11

ADDITIONAL INFORMATION

In attached screenshot, arrow points at the toolbar I'm talking about (I'm not 100% sure that's what it's called).

Problem occurs only when local systems is BOTH in Screen Lock *and* Energy Saving mode simultaneously. Either one alone doesn't cause the problem.
Comment 1 Bug Janitor Service 2025-03-07 18:50:05 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/krdc/-/merge_requests/171
Comment 2 Fabio 2025-03-08 20:55:39 UTC
Git commit 95538a93a71b82c445c0ca7af1b062c4f22c98fa by Fabio Bas.
Committed on 08/03/2025 at 20:09.
Pushed by ctrlaltca into branch 'master'.

Rework fullscreen mode to fix bugs related to window appearing on wrong screen and floating bar disappearing in various occasions
Related: bug 501187, bug 488656, bug 420655, bug 421313

M  +45   -69   mainwindow.cpp
M  +10   -2    mainwindow.h

https://invent.kde.org/network/krdc/-/commit/95538a93a71b82c445c0ca7af1b062c4f22c98fa
Comment 3 Fabio 2025-03-11 10:35:12 UTC
Git commit 1290c078cdbe3f930574c661dfe469df1a904803 by Fabio Bas.
Committed on 11/03/2025 at 10:34.
Pushed by ctrlaltca into branch 'release/25.04'.

Rework fullscreen mode to fix bugs related to window appearing on wrong screen and floating bar disappearing in various occasions
Related: bug 501187, bug 488656, bug 420655, bug 421313


(cherry picked from commit 95538a93a71b82c445c0ca7af1b062c4f22c98fa)

Co-authored-by: Fabio Bas <ctrlaltca@gmail.com>

M  +45   -69   mainwindow.cpp
M  +10   -2    mainwindow.h

https://invent.kde.org/network/krdc/-/commit/1290c078cdbe3f930574c661dfe469df1a904803