Bug 485094

Summary: When click Scale button image disappears
Product: [Applications] krdc Reporter: linux.admin
Component: generalAssignee: Urs Wolfer <uwolfer>
Status: REPORTED ---    
Severity: major CC: akselmo, chemobejk, stevenf6502
Priority: NOR    
Version: 24.02.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description linux.admin 2024-04-05 16:27:36 UTC
Hi. Clean install of plasma 6 on Arch with wayland. Krdc connects and show image, when clicking Scale - image disappears. Unusable
Comment 1 Stefan Becker 2024-05-05 18:00:54 UTC
When krdc is running in "window mode", i.e. not full screen, there is only the "Scale" button. When you click that, the (VNC) session output is scaled down to 1x1, i.e. it "disappears".

I happened to switch the session to full screen mode and hold and behold: **there is a SLIDER right of the scale button!** It shows the wrong setting, i.e. 0%, but once you move the slider, the session output is correctly scaled.

And the best part is: now krdc remembers the chosen scale value for the session, i.e. when you next time open krdc and open the session it remembers the values correctly and the session is scaled. Now I can use my VNC session again on a high resolution display.

Fedora 40 x86_64
krdc 24.02.2 (with deadlock fix for VNC plugin applied)
KDE Frameworks 
Version 6.1.0
Qt 
Version 6.7.0 (built against 6.7.0)
The wayland windowing system
Comment 2 Akseli Lahtinen 2024-05-20 09:02:43 UTC
FWIW, can't reproduce this with the RDP connection
Comment 3 Steven Frank 2024-07-26 22:55:41 UTC
Just commenting to add that I also experience this behavior on a VNC connection, exactly as Stefan describes.  Can also confirm that going into full screen and moving the scale slider by any amount fixes the problem.

I believe this is the same issue as #488049.