Created attachment 134819 [details] Screen recording on the secondary monitor. SUMMARY I use a multi monitor set up. When I tile Xournal++ (v1.1.0-dev, AUR) to left or right side and save the file: 1) it does not jump around at all on the primary monitor 2) it jumps a little bit downwards on the secondary monitor Please see the screen recording. I am not sure if this is an issue of Kwin or rather of the app itself. SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.20.4 KDE Frameworks Version: 5.77.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION Scaling 2.0 X11
Created attachment 134820 [details] Screenshot of KScreen KCM: Monitor Arrangement
How odd. No idea whether this is the fault of KWin or Xournal.
Did you install any third party scripts?
Created attachment 134830 [details] Screen recording on the secondary monitor: Panel on top, height 100 (In reply to Vlad Zahorodnii from comment #3) > Did you install any third party scripts? I had installed a few but none third party scripts are active currently. I somehow got the feeling that it could have to do with the panel position though and indeed it does: In the screen recording above, the panel was on the primary screen on the top edge with a height of 26. I changed the panel height to 100 to see what happens: Now the Xournal++ window shrinks vertically and leaves an empty bottom area. Please see the screen recordings. I then tested all the other edges (left/right/bottom) on the primary monitor as locations for the panel: The Xournal++ window still flickers when saving a file, but it doesn't jump around or changes its geometry.
Created attachment 134831 [details] kwinrc
Can you get the xprop output for the panel? Just run xprop in terminal and click any area on the panel.
Created attachment 134832 [details] xprop.txt (In reply to Vlad Zahorodnii from comment #6) > Can you get the xprop output for the panel? Just run xprop in terminal and > click any area on the panel. Done (for the panel on top with height 26).
_NET_WM_STRUT_PARTIAL seems fine _NET_WM_STRUT_PARTIAL 0 (left), 0(right), 52(top), 0(bottom), 0(left_start_y), 0(left_end_y), 0(right_start_y), 0(right_end_y), 0(top_start_x), 2558(top_end_x), 0(bottom_start_x), 0(bottom_end_x) I wonder if window snapping has anything to do with it.
(In reply to Vlad Zahorodnii from comment #8) > I wonder if window snapping has anything to do with it. Is that something I could test? I also measured the height of the offsets (distance between the Xournal++ window edge and the adjacent parallel screen edge): It's exactly the panel height of the primary screen as one could have guessed. Also, on Wayland I do not observe this effect (besides the flickering).
Yes, you can disable window snapping by setting snap zones to 0 in system settings (window management/window behavior/movement tab) Re: flickering. Please file a bug report regarding the flickering issue.
(In reply to Vlad Zahorodnii from comment #10) > Yes, you can disable window snapping by setting snap zones to 0 in system > settings (window management/window behavior/movement tab) Darn, I disabled all snap zones but the issue persists. > Re: flickering. Please file a bug report regarding the flickering issue. Will do! :)
(In reply to postix from comment #11) > Darn, I disabled all snap zones but the issue persists. Hmm, I see. One more thing, can you reproduce this bug with other apps, e.g. kate or konsole?
Just to clarify: When I now dragged the Xournal++ window after the issue happened, I could observe, that it does not simply jump downwards, but it actually shrinks in height (by the height of the panel). (In reply to Vlad Zahorodnii from comment #12) > (In reply to postix from comment #11) > > Darn, I disabled all snap zones but the issue persists. > > Hmm, I see. One more thing, can you reproduce this bug with other apps, e.g. > kate or konsole? Xournal++ is the only app where I have observed it so far. I could not reproduce it with kate or konsole.
> Xournal++ is the only app where I have observed it so far. I could not reproduce it with kate or konsole. > flickering. Please file a bug report regarding the flickering issue. Same goes for the flickering. Xournal++ must somehow trigger something weird and unusual. :)
Created attachment 134840 [details] xprop.txt of Xournal++ (after saving, ie with bug) Just for completeness, I attach the xprop of the Xournal++ window here plus the difference between the tiled state and the its state after saving: diff xpropr_before xprop_after < _NET_WM_OPAQUE_REGION(CARDINAL) = 0, 0, 1910, 2100 --- > _NET_WM_OPAQUE_REGION(CARDINAL) = 0, 0, 1910, 2046
The above post was for a panel height of 26 2100 - 2046 = 54 54 / 2 = 27 = panel height + 1 I did the same for the panel with height 80: 2100 - 1938 = 162 162 / 2 = 81 = panel height + 1
I found another app for which it happens: VLC 3.0.11.1 1) Open VLC 2) Activate the minimal view by * Ctrl + H * View -> Minimal View Same effect. :)
I continued testing: If the screen arrangement is not like I had posted in #1, i.e. the screens are not aligned at the top edges (let the primary be eg at (0,300)), I can no longer observe this bug (except for the flickering). Instead I start experiencing #431488.
Also happens for Okular when loading a PDF (File->Open) but not when saving.