Bug 490667

Summary: xfreerdp multi monitors act weirdly under wayland session but not under x11
Product: [Plasma] kwin Reporter: LongueBarche <dearburn>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: equeim, gtiborcz, kdedev, natalie_clarius, sephiroth_pk
Priority: NOR Keywords: multiscreen
Version: 6.1.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: dual-monitors-display

Description LongueBarche 2024-07-22 20:31:23 UTC
Created attachment 171905 [details]
dual-monitors-display

SUMMARY
Under a x11 session, it works flawlessly. But as soon as I enter a Wayland session, I can no longer use a multi monitors session.
When connecting to a remote Windows computer using xfreerdp and with a multi monitor setup, the RDP window opens in full screen on both monitors. First monitor will display correctly the windows while the second monitor will "dynamically scale down" to fit the dual RDP window. I can see my cursor moving on both screen although the second monitor is unusable.
If I move the cursor on the second monitor and hover on a window, it will instantly display the correct RDP window but the first monitor will then show both RDP windows scaled down to the monitor's size (like the second monitor did just before I moved the cursor).
Moving the cursor across the monitors will simply move the weird display around.

I already opened a case to xfreerdp : https://github.com/FreeRDP/FreeRDP/issues/10098

STEPS TO REPRODUCE
1. Have a multi monitors configuration.
2. Connect to a Windows computer using either remmina or xfreerdp

OBSERVED RESULT
One monitor displays the correct remote desktop while second monitor displays a scaled down version of a dual remote desktop.

EXPECTED RESULT
All monitors display their respective remote desktop.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux Plasma 6
(available in About System)
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Kernel : 6.6.40-rt36-x64v-rt-1-xanmod1 (64-bit)
AMD Radeon RX 6650 XT
Mesa 24.1.4-arch1.2

xfreerdp command line : xfreerdp3 /d:adomain.org /u:johndoe /p:pass /cert:ignore /v:127.0.0.1 /audio-mode:2 /multimon /gfx:AVC444
Comment 1 David Edmundson 2024-09-25 12:50:23 UTC
*** Bug 429678 has been marked as a duplicate of this bug. ***
Comment 2 David Edmundson 2024-09-25 12:50:42 UTC
*** Bug 485274 has been marked as a duplicate of this bug. ***
Comment 3 David Edmundson 2024-09-25 12:50:55 UTC
*** Bug 489461 has been marked as a duplicate of this bug. ***
Comment 4 dumber 2024-09-28 19:39:46 UTC
(In reply to David Edmundson from comment #1)
> *** A 429678-as hiba a hiba másolataként lett megjelölve. ***

I thing 2 bugs are not same.
Comment 5 dumber 2024-09-28 19:41:22 UTC
(In reply to dumber from comment #4)
> (In reply to David Edmundson from comment #1)
> > *** A 429678-as hiba a hiba másolataként lett megjelölve. ***
> 
> I think 2 bugs are not same.