[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2024-06-20 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #31 from Andrew Udvare --- I rebuilt Kwin 6.0.90 with normal flags. Running in Wayland. Cannot reproduce. -- You are receiving this mail because: You are watching all bug changes.

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2024-06-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460572 dofficialg...@gmail.com changed: What|Removed |Added CC||dofficialg...@gmail.com Ever confi

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2024-01-27 Thread Gabriel Ravier
https://bugs.kde.org/show_bug.cgi?id=460572 Gabriel Ravier changed: What|Removed |Added CC||gabrav...@gmail.com -- You are receiving this

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-06-14 Thread Sam James
https://bugs.kde.org/show_bug.cgi?id=460572 Sam James changed: What|Removed |Added See Also||https://bugs.kde.org/show_b |

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-03-26 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #29 from Andrew Udvare --- I tried every single -mno-avx512* option until I had all of them set. When all were set the issue was gone. So really, *any* AVX512 feature in use will cause this bug. I also tried with Clang and got the same resul

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-02-26 Thread Sam James
https://bugs.kde.org/show_bug.cgi?id=460572 Sam James changed: What|Removed |Added Status|NEEDSINFO |REPORTED Ever confirmed|1

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-02-24 Thread Sam James
https://bugs.kde.org/show_bug.cgi?id=460572 Sam James changed: What|Removed |Added CC||s...@gentoo.org --- Comment #28 from Sam James ---

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-02-24 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #27 from Andrew Udvare --- The UBSAN/ASAN output is probably not related. -fno-tree-vectorize does not resolve the issue with -march=native (or x86-64-v4) which is suprising. For the last test these were the flags: CXXFLAGS="-O2 -ggdb -mar

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-02-24 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #26 from Andrew Udvare --- (In reply to Andreas Sturmlechner from comment #24) > This is the moment where you provide upstream with more information about > your toolchain and optimisation flags. More details: # gcc -v Using built-in specs

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-02-23 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=460572 Nate Graham changed: What|Removed |Added Status|REOPENED|NEEDSINFO Resolution|---

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-02-23 Thread Andreas Sturmlechner
https://bugs.kde.org/show_bug.cgi?id=460572 Andreas Sturmlechner changed: What|Removed |Added See Also||https://bugs.gentoo.org/sho

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-02-23 Thread Andreas Sturmlechner
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #24 from Andreas Sturmlechner --- This is the moment where you provide upstream with more information about your toolchain and optimisation flags. -- You are receiving this mail because: You are watching all bug changes.

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-02-22 Thread Andreas Sturmlechner
https://bugs.kde.org/show_bug.cgi?id=460572 Andreas Sturmlechner changed: What|Removed |Added Ever confirmed|0 |1 Status|RESOLVED

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-02-22 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #23 from Andrew Udvare --- This bug is actually caused by using --march=native to GCC. Maybe it's specific to my CPU or how my GCC is built. Regardless, it would seem the code path in question is sensitive to CPU optimisations. I can compile

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-02-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=460572 Nate Graham changed: What|Removed |Added Status|NEEDSINFO |RESOLVED Resolution|WAITINGFORINFO

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-02-21 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #22 from Andrew Udvare --- Built Kwin from source (tag v5.27.0) and ran with --replace. The issue does not appear in that build. The Gentoo build environment must be to blame. -- You are receiving this mail because: You are watching all bu

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-02-21 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #21 from Andrew Udvare --- I tried to reproduce this in the developer version of KDE Neon in VirtualBox and was not able to, even after matching up my settings as much as possible. I also tried building without -ftree-vectorize but this did

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-02-20 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #20 from Andrew Udvare --- (In reply to Vlad Zahorodnii from comment #18) > Can you check whether the issue is reproducible in 5.27? Still happening in 5.27. I rebooted after fully updating my system to ensure there are no conflicting old s

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-02-20 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=460572 Vlad Zahorodnii changed: What|Removed |Added Resolution|--- |WAITINGFORINFO Status|REPORTED

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-02-20 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #18 from Vlad Zahorodnii --- Can you check whether the issue is reproducible in 5.27? -- You are receiving this mail because: You are watching all bug changes.

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-02-15 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #17 from Andrew Udvare --- Worst offender is Chrome. I cannot reliably trigger this issue with Dolphin, pavucontrol, etc. When compositing is enabled, after snapping Chrome wants to use the shadow of the window instead of the real edge of t

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-01-17 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #16 from Andrew Udvare --- It seems only *some* Gtk+ apps get affected. I was able to reproduce the same issue with dconf-editor but not Filezilla or GIMP. It seems some windows may have a particular way of drawing that triggers the bug? --

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-01-17 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #15 from Andrew Udvare --- I am not positive the lines are relevant to this bug because they appear after resize when the window is not snapped to the left edge of the screen. -- You are receiving this mail because: You are watching all bu

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-01-17 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #14 from Andrew Udvare --- (In reply to Vlad Zahorodnii from comment #13) > > These lines mostly came when resizing Chrome on the right side while it was > > snapped to the left side of the screen, with compositing enabled. > > Do you see

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-01-17 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #13 from Vlad Zahorodnii --- > These lines mostly came when resizing Chrome on the right side while it was > snapped to the left side of the screen, with compositing enabled. Do you see them after you've finished resizing chrome? -- You

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-01-16 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #12 from Andrew Udvare --- The bug seems to be that the theme shadow is being used to figure out where to have the right-side (E) resize grabber trigger instead of the window edge. This seems to only happen when snapping the window to the le

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-01-16 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #11 from Andrew Udvare --- Created attachment 155349 --> https://bugs.kde.org/attachment.cgi?id=155349&action=edit Kwin debug log kwin_core: Failed to create window pixmap for window 0x10a (mismatched geometry) These lines mostly cam

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-01-16 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #10 from Andrew Udvare --- Adding to my previous comment: This does not fully fix the window. It fixes Chrome it seems (somewhat), but everything else still thinks it's wider than it is after snapping to the left even without compositing.

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-01-16 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #9 from Vlad Zahorodnii --- Can you run kwin with env QT_LOGGING_RULES="kwin*.debug=true" envvar and attach kwin's output to this bug report please? -- You are receiving this mail because: You are watching all bug changes.

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-01-16 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #8 from Andrew Udvare --- (In reply to Vlad Zahorodnii from comment #7) > What if you toggle compositing? Does the window "fix" itself? Yes. The window moves to the right a few pixels, to the correct position. -- You are receiving this ma

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-01-16 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #7 from Vlad Zahorodnii --- What if you toggle compositing? Does the window "fix" itself? -- You are receiving this mail because: You are watching all bug changes.

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2023-01-14 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #6 from Andrew Udvare --- Any thoughts on where I can look to possilbly fix the bug? Kwin source? -- You are receiving this mail because: You are watching all bug changes.

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2022-10-31 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #5 from Andrew Udvare --- I made a new profile to test against just to make sure it's not a configuration issue. I was able to reproduce the issue in X11 as with my current profile. I was not able to reproduce the issue in Wayland. -- You

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2022-10-31 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #4 from Andrew Udvare --- (In reply to Nate Graham from comment #3) > Cannot reproduce with Chromium (in either CSD or SSD mode). > > Do you have any 3rd-party KWin scripts or effects active? No KWin scripts enabled. Effects: Accessibilit

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2022-10-31 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #3 from Nate Graham --- Cannot reproduce with Chromium (in either CSD or SSD mode). Do you have any 3rd-party KWin scripts or effects active? -- You are receiving this mail because: You are watching all bug changes.

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2022-10-31 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 --- Comment #2 from Andrew Udvare --- Recently updated and I am still getting the bug. Two demonstration videos: https://youtu.be/Qup9ifJSCnc https://youtu.be/vwKTbOtpEkI Note where the mouse cursor is vs the window edges after the window is snapped.

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2022-10-18 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=460572 Nate Graham changed: What|Removed |Added CC||n...@kde.org --- Comment #1 from Nate Graham ---

[kwin] [Bug 460572] Windows snapped to screen edges display correctly but content is shifted to the right virtually

2022-10-17 Thread Andrew Udvare
https://bugs.kde.org/show_bug.cgi?id=460572 Andrew Udvare changed: What|Removed |Added Summary|Snapped windows to screen |Windows snapped to screen |ed