Bug 455415

Summary: Dragging the Firefox window between screens with mixed DPI makes the window flicker on releasing it
Product: [Plasma] kwin Reporter: postix <postix>
Component: effects-overviewAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: nate, postix
Priority: NOR Keywords: multiscreen, wayland
Version: 5.27.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screen recording
kWin Support Info
Screen recording: Moving Firefox, OBS and Kate in normal mode

Description postix 2022-06-16 14:26:54 UTC
Created attachment 149802 [details]
Screen recording

SUMMARY

Moving the Firefox window between screens by drag and drop makes the Firefox window flicker annoyingly. 

STEPS TO REPRODUCE
Please see the screen recording.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220613
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.2
Kernel Version: 5.18.2-1-default (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 580 Series
Comment 1 postix 2022-06-16 14:27:08 UTC
Created attachment 149803 [details]
kWin Support Info
Comment 2 Vlad Zahorodnii 2022-06-17 06:56:40 UTC
You have a mixed dpi setup and firefox moves between outputs with different scale factors. Are there visible visual changes when firefox moves between outputs in normal mode, i.e. when not running overview? If so, this needs to be fixed in firefox. Also, does it happen with other apps?
Comment 3 postix 2022-06-17 09:25:23 UTC
Created attachment 149847 [details]
Screen recording: Moving Firefox, OBS and Kate in normal mode

(In reply to Vlad Zahorodnii from comment #2)
> You have a mixed dpi setup and firefox moves between outputs with different
> scale factors. Are there visible visual changes when firefox moves between
> outputs in normal mode, i.e. when not running overview? If so, this needs to
> be fixed in firefox. Also, does it happen with other apps?

Yes, there are visual issues when moving Firefox and OBS between the mixed DPI screens, all other apps I use/tested were fine though. (Which does not mean that there are more). Please see the screen recording.

I do not however see this issue with OBS in the overview effect when moving its window.
Comment 4 postix 2022-07-14 13:45:48 UTC
Interestingly I made the exact same observation for this issue, which I made in [1]

left    A: 1920x1080 screen 
right B: 3840x2160 screen (primary) 
on Plasma 5.25.2 Wayland

Scaling of A / B:
100 / 200: issue appears
125 / 200: fine
150 / 200: fine
175 / 200: fine
200 / 200: fine
225 / 200: issue appears
250 / 200: issue appears
275 / 200: issue appears
300 / 200: issue appears

[1] https://bugs.kde.org/show_bug.cgi?id=432264#c27
Comment 5 postix 2023-04-10 15:48:03 UTC
Still flickers, yet it looks little bit different and only occurs when dragging from the 4k@200% (primary, right) to the 2k@100% screen.