Bug 474954 - When using multiple monitors, box-select screenshotting alters the underlying display in the click-and-drag interface
Summary: When using multiple monitors, box-select screenshotting alters the underlying...
Status: RESOLVED DUPLICATE of bug 462860
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 23.08.1
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-27 22:02 UTC by wonn
Modified: 2023-09-29 17:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
display settings leading to this bug (92.67 KB, image/png)
2023-09-28 19:39 UTC, wonn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wonn 2023-09-27 22:02:36 UTC
SUMMARY
**
Spectacle's box-select tool is designed to show you the underlying display so that you can select a region of it to save or copy to the clipboard. In my current setup, this interface is bugged, such that on my primary monitor about the left one-third of the underlying display is shown correctly, but the same image is repeated starting about one-third of the way across the screen. This results in two copies of the left one-third of the underlying display visible simultaneously: when in the box-select tool, the left one-third of the screen or so is the left one-third of the underlying display, the middle one-third is the left one-third of the underlying display repeated again, and the right one-third is the middle one-third of the underlying display.

Notably, this bug does not affect the image that is taken by the tool; if I select an area of the bugged offset two-thirds, the resulting image is the correct area of the underlying display. This means that taking screenshots is incredibly unwieldy unless they're entirely within the correct left one-third of the display - in order to select the correct area to produce the image I want, I have to estimate where on the screen is the correct position based on whatever cues I can gather from what is displayed - using the correct left one-third and/or mentally correcting for the shifted duplicated screen area.

This seems to be the result of my multiple-monitor setup; when I have one monitor connected, Spectacle behaves correctly. My current setup involves a TV set up as placed to the left of my primary monitor, and notably Spectacle *also* behaves correctly on the TV when the TV is on and connected. The bug only occurs on my primary monitor when the secondary display is also connected.
***


STEPS TO REPRODUCE
1. Connect two monitors to your system, such that the right of the pair is considered primary
2. Open the box-select tool via either the hotkey or the button in Spectacle's dedicated UI
3. Observe that, on the primary right-side monitor, suddenly the right two thirds of the underlying display are hidden behind a duplicate of the left two thirds
4. Take a screenshot of anywhere in the duplicated area, observing that the resulting screenshot is not of the duplicate that was visible when you took it, but instead correctly represents the area of the unmodified display you selected

OBSERVED RESULT
On the primary monitor, the box-select tool shows an incorrect representation of the display area you're trying to select from

EXPECTED RESULT
The box-select tool's interface should simply reproduce the underlying display exactly on all displays

SOFTWARE/OS VERSIONS
Manjaro kernel version: 6.1.53-1-MANJARO (64 bit)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-09-28 19:35:18 UTC
Are you using the X11 session or the Wayland session?

Can you provide the resolutions of your screens, and take a screenshot of their arrangement?

If you're using any scaling, please mention the global or [per-screen scale factor(s) you're using.

Thanks a lot!
Comment 2 wonn 2023-09-28 19:38:52 UTC
(In reply to Nate Graham from comment #1)
> Are you using the X11 session or the Wayland session?
> 
> Can you provide the resolutions of your screens, and take a screenshot of
> their arrangement?
> 
> If you're using any scaling, please mention the global or [per-screen scale
> factor(s) you're using.
> 
> Thanks a lot!

X11, and yes, I can provide all that information in an attachment!
Comment 3 wonn 2023-09-28 19:39:29 UTC
Created attachment 161934 [details]
display settings leading to this bug
Comment 4 Nate Graham 2023-09-29 17:31:10 UTC
Ok, fractional scaling on X11, thanks. That means this issue is the same as Bug 462860, which is already fixed for the next release of Spectacle, due early next year.

*** This bug has been marked as a duplicate of bug 462860 ***