Created attachment 154483 [details] The actual effect Is a bit hard to describe accurately so I am attaching a photo I took with my phone. To reproduce this, you have to be on Wayland session, although I think it also happens with certain X11 workarounds to achieve a similar effect. To do that, you change the scaling factor away from 100%. In my case, it is on 70%. From what I understood here, the actual desktop is under that "photo" and you can actually snap a retangular region there and will be accurate, meaning that the smaller photo is only a bit misleading in this context. The way I expect this to be is that this small photo actually takes the whole screen instead of only part of it
Spectacle was largely rewritten for the 23.04 release, so the code governing this has changes sufficiently that it's possible the issue has been fixed, or worsened. I can't reproduce the issue with a multimonitor multi-scale setup on Wayland, so it does seem to be fixed, hopefully. Feel free to re-open this bug report if you find that it's not fixed for you once you upgrade to the 23.04 version in a few months.
This happened with the rewrite. It was actually after I read about the rewrite that I wanted to test it. I would have replied if it still happens on my end but spectacle is crashing on my end and I can't get a backtrace for some reson. DrKonqi doesn't launch with the crash and trying to backtrace with gdb also doesn't return anything. Guess I'll have to wait until the next KDE Gear is released
Created attachment 155457 [details] A photo showing what is happening I can confirm it is still happening in my case and it is the rewrite. Granted, it is the KDE Unstable Repos for Tumbleweed so I didn't compile it myself but the package version is as follows: 22.11.70git.20230119T021936~7d04f7c-ku.38.1 I think that means it was compiled and packaged yesterday (January 19th, 2023) with the 7d04f7c commit (I think). Same result as before.
OK, thanks!
Has there been any progress in figuring out or fixing this? I'm on the version 23.03.90 of Spectacle through KDE Repos for openSUSE and situation looks exactly the same?
(In reply to ryu.ketsueki from comment #5) > Has there been any progress in figuring out or fixing this? I'm on the > version 23.03.90 of Spectacle through KDE Repos for openSUSE and situation > looks exactly the same? I couldn't reproduce this.
I tried to test this on a setup using 2 monitors. One 1920x1080@1x screen, one 3840x2160@2x screen.
(In reply to Noah Davis from comment #7) > I tried to test this on a setup using 2 monitors. One 1920x1080@1x screen, > one 3840x2160@2x screen. Try setting to 70% on Wayland. It's my current setting
(In reply to ryu.ketsueki from comment #8) > (In reply to Noah Davis from comment #7) > > I tried to test this on a setup using 2 monitors. One 1920x1080@1x screen, > > one 3840x2160@2x screen. > > Try setting to 70% on Wayland. It's my current setting OK, it seem that the fractional scale factors are the cause, not the screen layout.
(In reply to Noah Davis from comment #9) > OK, it seem that the fractional scale factors are the cause, not the screen > layout. Also not scaling different from 100% in general. Integer scale factors work fine.
*** Bug 467855 has been marked as a duplicate of this bug. ***
(In reply to Noah Davis from comment #9) > OK, it seem that the fractional scale factors are the cause, not the screen > layout. That makes sense. I use KWin Wayland fractional scaling on my laptop because the elements are too big on a 1366x768 resolution display. It's one of the reasons I moved away from X11. Hopefully this can be fixed before next release
Faced the same issue: X window system and two monitors with fractional (125%) scale.
This should be fixed in commit a85343658e25cc64d09d00b485c5855be9c7c57a now, which should be in the 23.04 release version.
Actually, I just remembered it's only partly fixed. I may have mistakenly thought 2 separate issues were one. This issue: There is a smaller image overlaid on top of the real image that shouldn't be there. The other issue that was actually fixed: Exports from multi-monitor setups with scaling had weird gaps between screens and wrong selected areas.
(In reply to Noah Davis from comment #15) > This issue: There is a smaller image overlaid on top of the real image that > shouldn't be there. I think I need to wake up. I misspoke, It's actually that the image isn't sized/positioned correctly, as Ryu and I said previously.
A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/228
Git commit d0886c85445fad227b256152a549cb33bd97b776 by Noah Davis. Committed on 17/04/2023 at 12:18. Pushed by ndavis into branch 'master'. Fix wrong image position in rectangle capture mode with scaling M +1 -1 src/Gui/Annotations/AnnotationDocument.cpp https://invent.kde.org/graphics/spectacle/commit/d0886c85445fad227b256152a549cb33bd97b776
*** Bug 468785 has been marked as a duplicate of this bug. ***
*** Bug 468912 has been marked as a duplicate of this bug. ***
Yeah, this fix didn't come with 23.04.0, apparently. But I also couldn't test the fix itself to see if it is truly fixed on my end.
Right, the "Version fixed in" field says "23.04.1"
*** Bug 469021 has been marked as a duplicate of this bug. ***
*** Bug 469262 has been marked as a duplicate of this bug. ***
Thanks for the fix. Unfortunately the fix seems to not work for my monitor configuration. In my case the problem is still identical. - I am using spectacle 23.04.1-1 from the Archlinux repository. - My left monitor is 2560x1440px with a scaling factor of 150% - My center monitor is 3840x2160px with a scaling factor of 200% - The artifact can be seen on the center monitor as screenshotted in a duplicate bug report of me: https://bugs.kde.org/show_bug.cgi?id=468912
The issue is also still affecting me with Spectacle 23.04.1. My left-most display is 150% scaled, my other three displays are all unscaled 1080p displays. The issue I am experiencing is slightly different to the attachment on this issue, Bug 468785 has a screenshot (horizontal alignment is correct but vertical alignment is not). In my case as well, I have my displays with three along the bottom and one at the top in the center. This has caused numerous issues with Plasma (pretty much all of which have since been fixed fwiw) so I am mentioning it in case this may also be relevant.
(In reply to indecisiveautomator from comment #26) > The issue is also still affecting me with Spectacle 23.04.1. > > My left-most display is 150% scaled, my other three displays are all > unscaled 1080p displays. The issue I am experiencing is slightly different > to the attachment on this issue, Bug 468785 has a screenshot (horizontal > alignment is correct but vertical alignment is not). > > In my case as well, I have my displays with three along the bottom and one > at the top in the center. This has caused numerous issues with Plasma > (pretty much all of which have since been fixed fwiw) so I am mentioning it > in case this may also be relevant. Can confirm. Issue still occurs with me. Just updated to 23.04.1 and the problem still remains.
(In reply to Hexagon from comment #25) > Thanks for the fix. Unfortunately the fix seems to not work for my monitor > configuration. In my case the problem is still identical. > - I am using spectacle 23.04.1-1 from the Archlinux repository. > - My left monitor is 2560x1440px with a scaling factor of 150% > - My center monitor is 3840x2160px with a scaling factor of 200% > - The artifact can be seen on the center monitor as screenshotted in a > duplicate bug report of me: https://bugs.kde.org/show_bug.cgi?id=468912 I can't test your exact configuration since one of my screens only goes up to 1920x1080. Can you try setting the left screen to 1920x1080 at 150%? I was unable to reproduce the bug using 1920x1080 at 150% and 3840x2160 at 200%.
(In reply to Noah Davis from comment #28) > I can't test your exact configuration since one of my screens only goes up > to 1920x1080. Can you try setting the left screen to 1920x1080 at 150%? I > was unable to reproduce the bug using 1920x1080 at 150% and 3840x2160 at > 200%. By the way, scaling up is not the only thing that causes this bug. Scaling down also does it, at least for my case. The way I did it was that I have a 1366x768 display on my laptop. It's the max resolution possible with it. Things look too large here so I set the scaling to 70%. It works and the elements are smaller. In fact, they look closer to how they would be if this were a 1920x1080 display. But then I get that Spectacle bug. Also no NVIDIA graphics here either. It's only an Intel UHD Graphics 620.
(In reply to Noah Davis from comment #28) > (In reply to Hexagon from comment #25) > > Thanks for the fix. Unfortunately the fix seems to not work for my monitor > > configuration. In my case the problem is still identical. > > - I am using spectacle 23.04.1-1 from the Archlinux repository. > > - My left monitor is 2560x1440px with a scaling factor of 150% > > - My center monitor is 3840x2160px with a scaling factor of 200% > > - The artifact can be seen on the center monitor as screenshotted in a > > duplicate bug report of me: https://bugs.kde.org/show_bug.cgi?id=468912 > > I can't test your exact configuration since one of my screens only goes up > to 1920x1080. Can you try setting the left screen to 1920x1080 at 150%? I > was unable to reproduce the bug using 1920x1080 at 150% and 3840x2160 at > 200%. Unfortunately Plasma does not let me set my monitor to 1920x1080. Although xrandr lists it as a supported option. On Windows I can set the monitor to 1920x1080. There seems to be a EDID problem. But I tried other combinations: - Middle monitor always 3840x2160 at 200% - Left monitor at 2560x1440 at 100% --> ok - Left monitor at 2560x1440 at 125% --> ok - Left monitor at 2560x1440 at 150%, 175% and 200% --> all of them problematic - Left monitor at 1280x720 at 100%, 125%, 150%, 175% and 200% --> all of them problematic - Left monitor at 800x600 at 100%, 125%, 150%, 175% and 200% --> all of them problematic - Left monitor at 640x480 at 100%, 125%, 150%, 175% and 200% --> all of them problematic So right now it seems almost all combinations are broken and only some are working.
(In reply to Hexagon from comment #30) > (In reply to Noah Davis from comment #28) > > (In reply to Hexagon from comment #25) > > > Thanks for the fix. Unfortunately the fix seems to not work for my monitor > > > configuration. In my case the problem is still identical. > > > - I am using spectacle 23.04.1-1 from the Archlinux repository. > > > - My left monitor is 2560x1440px with a scaling factor of 150% > > > - My center monitor is 3840x2160px with a scaling factor of 200% > > > - The artifact can be seen on the center monitor as screenshotted in a > > > duplicate bug report of me: https://bugs.kde.org/show_bug.cgi?id=468912 > > > > I can't test your exact configuration since one of my screens only goes up > > to 1920x1080. Can you try setting the left screen to 1920x1080 at 150%? I > > was unable to reproduce the bug using 1920x1080 at 150% and 3840x2160 at > > 200%. > > Unfortunately Plasma does not let me set my monitor to 1920x1080. Although > xrandr lists it as a supported option. On Windows I can set the monitor to > 1920x1080. There seems to be a EDID problem. But I tried other combinations: > > - Middle monitor always 3840x2160 at 200% > - Left monitor at 2560x1440 at 100% --> ok > - Left monitor at 2560x1440 at 125% --> ok > - Left monitor at 2560x1440 at 150%, 175% and 200% --> all of them > problematic > - Left monitor at 1280x720 at 100%, 125%, 150%, 175% and 200% --> all of > them problematic > - Left monitor at 800x600 at 100%, 125%, 150%, 175% and 200% --> all of them > problematic > - Left monitor at 640x480 at 100%, 125%, 150%, 175% and 200% --> all of them > problematic > > So right now it seems almost all combinations are broken and only some are > working. I was not able to test 1280x720 (screen just went black until the reset timer put the resolution back at the previous setting), but I could not reproduce the bug with 800x600 or 640x480 on my left screen. My right screen was still at 3840x2160 at 200%.
Created attachment 159006 [details] Spectacle scaling problem 800x600 at 150% I just took this picture. Spectacle version "spectacle 23.04.1-1" in the Arch repository. Left monitor with 800x600 at 150%. Right with 3840x2160 at 200%. As one can see the overlap of the screen differs with different resolutions and scaling factors.
Created attachment 159008 [details] 800x600@150%, 3840x2160@200% for ndavis This is how the same settings look for me.
Hmm. Weird. I have no idea why it is working on your machine. Some more info: I am using an AMD GPU. Connected via Display Port. Using the Mesa driver.
(In reply to Hexagon from comment #34) > Hmm. Weird. I have no idea why it is working on your machine. Some more > info: I am using an AMD GPU. Connected via Display Port. Using the Mesa > driver. I am also using an AMD GPU (integrated Renoir) with the Mesa driver, but I am using HDMI for the right screen. I don't have a way to test DisplayPort with my laptop.