Bug 475313

Summary: KRDC- screen resolution set to "current krdc size" does not resize on window resize
Product: [Applications] krdc Reporter: johnathan <testing1237a-c>
Component: RDPAssignee: Urs Wolfer <uwolfer>
Status: RESOLVED FIXED    
Severity: normal CC: aacid, ctrlaltca
Priority: NOR    
Version First Reported In: 23.08.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 25.04
Sentry Crash Report:
Attachments: initial display resolution
screen on maximize. see black bars

Description johnathan 2023-10-07 10:49:19 UTC
Created attachment 162138 [details]
initial display resolution

SUMMARY


i have attached screenshots. the first one is the window is the default "current screen resolution". this works fine but if i resize it maximize the window, the old resolution remains active and there are black bars.
it should adjust to current screen resolution at all times and not just for first time.
STEPS TO REPRODUCE
1.  RDP connection using current KRDC size"  over wayland session
2.  window shows up. try to maximize the same.
3. try to reduce window size, the original resolution is retained, it just moves the viewport. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 johnathan 2023-10-07 10:49:59 UTC
Created attachment 162139 [details]
screen on maximize. see black bars
Comment 2 johnathan 2023-10-07 10:50:17 UTC
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.2.0-34-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx
Memory: 5.7 GiB of RAM
Graphics Processor: AMD Radeon Vega 3 Graphics
Manufacturer: LENOVO
Product Name: 81UT
System Version: Lenovo IdeaPad S145-15API