Discussion:
[Spectacle] [Bug 385885] New: Rectangular Region Selection doesn't work w/ scaling on multiple monitors
Add Reply
Wyatt Childers
2017-10-18 00:56:03 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=385885

Bug ID: 385885
Summary: Rectangular Region Selection doesn't work w/ scaling
on multiple monitors
Product: Spectacle
Version: unspecified
Platform: Neon Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: General
Assignee: ***@BaloneyGeek.com
Reporter: ***@nearce.com
Target Milestone: ---

This may be a duplicate of: https://bugs.kde.org/show_bug.cgi?id=357022.

However, it seemed different enough, I figured it warranted a report.

Reproduction Steps:
1. Set DPI Scaling to 2x on a multi monitor system
2. Relogin
3. Take a screen shot using Rectangular Region mode

Actual result:
The secondary monitor goes white.

Expected result:
The rectangular region tool works the same with and without scaling.


Reproduced on KDE 5.11.1 using both native 4k and HD resolution hardware.
--
You are receiving this mail because:
You are watching all bug changes.
Nate Graham
2017-10-18 16:31:56 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=385885

Nate Graham <***@zoho.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@zoho.com
--
You are receiving this mail because:
You are watching all bug changes.
Nate Graham
2017-10-18 17:01:59 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=385885

--- Comment #1 from Nate Graham <***@zoho.com> ---
Also sounds a bit like https://bugs.kde.org/show_bug.cgi?id=381528
--
You are receiving this mail because:
You are watching all bug changes.
Clemens Eisserer
2018-03-16 12:16:27 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=385885

Clemens Eisserer <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #2 from Clemens Eisserer <***@gmail.com> ---
I can reproduce this issue with Spectacle 17.12.1, same setting as the original
reporter: 4k main display + FullHD and some scaling factor applied (1.4 in my
case)

However, contrary to the duplicate suggestion (Bug 381528), the cursor
correctly apperas and I can perform a sepection - it is just the selection area
doesn't correctly show both monitors. Please see the following video:


So I think this bug is valid for its own and reproduceable.
--
You are receiving this mail because:
You are watching all bug changes.
Clemens Eisserer
2018-03-16 12:16:34 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=385885

Clemens Eisserer <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |CONFIRMED
Ever confirmed|0 |1
--
You are receiving this mail because:
You are watching all bug changes.
Henrik Fehlauer
2018-03-17 07:27:43 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=385885

Henrik Fehlauer <***@lab12.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@lab12.net

--- Comment #3 from Henrik Fehlauer <***@lab12.net> ---
Thanks for the video Clemens, that goes a long way in understanding what "The
secondary monitor goes white." from the original report actually means.

I can reproduce the issue in a VM. Preliminary findings:
- Does not depend on compositing vs. non-compositing code path.
- Actual resolution of the monitors is irrelevant, you just need at least two.
- "QT_SCALE_FACTOR=1.4 spectacle -rb" is enough, no need for session scaling.
- Other methods of capturing are fine.
- For 2.1x scaling or different resolutions, the white area can sometimes
appear at the bottom.
- The displacement depends on the scaling factor.
- The displacement depends on the amount of overlap of both displays in
"kcmshell5 kcm_kscreen".

Thus the issue is probably somewhere in the UI of the rectangular region
picker, perhaps only some scaling factor or a term in some calculation missing.

Let us know if you want to try to come up with a patch, we can get you started.
--
You are receiving this mail because:
You are watching all bug changes.
Dennis
2018-05-02 06:48:38 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=385885

Dennis <***@dennis-irrgang.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@dennis-irrgang.com

--- Comment #4 from Dennis <***@dennis-irrgang.com> ---
Created attachment 112369
--> https://bugs.kde.org/attachment.cgi?id=112369&action=edit
Incorrect display of screenshot to be cropped

Same issue here.

I'd wager a guess that it's caused by using two monitors in combination with
(uneven) scaling (1.5).

Screen 0: minimum 320 x 200, current 4480 x 1440, maximum 8192 x 8192
eDP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y
axis) 309mm x 174mm
2560x1440 60.00*+ 59.99 59.99 59.96 59.95
1920x1440 60.00
1856x1392 60.01
1792x1344 60.01
2048x1152 59.99 59.98 59.90 59.91
1920x1200 59.88 59.95
1920x1080 60.01 59.97 59.96 59.93
1600x1200 60.00
1680x1050 59.95 59.88
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 60.02
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1280x800 59.99 59.97 59.81 59.91
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
700x525 59.98
800x450 59.95 59.82
640x512 60.02
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
640x400 59.88 59.98
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
DP-1 connected 1920x1200+2560+0 (normal left inverted right x axis y axis)
518mm x 324mm
1920x1200 59.95*+
1920x1080 60.00
1600x1200 60.00
1680x1050 59.95
1280x1024 60.02
1280x960 60.00
1024x768 60.00
800x600 60.32
640x480 59.94
720x400 70.08

Two different resolutions to boot.

Trying to select a region to take a screenshot of results in the screen I've
attached a photo of. The program seems to take a screenshot that you then
select the part you want to crop, however the screenshot taken is not aligned
with the actual monitors, so I'm unable to select about half of the screen to
the left.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-05-06 15:44:03 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=385885

***@gmail.com changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are watching all bug changes.
Michael Reiher
2018-08-24 12:17:37 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=385885

Michael Reiher <***@gmx.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmx.de

--- Comment #5 from Michael Reiher <***@gmx.de> ---
Same here. 2 Screens 3840x2160, side by side, scaled 1.5. When promting for
selection the image of the captured screens is moved to the left by half a
screen, the remaining half on the other end is filled with white. It's
impossible to do a rectangular selection on the left half of the left screen.

KDE 5.12.6
--
You are receiving this mail because:
You are watching all bug changes.
Nate Graham
2018-08-24 17:26:28 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=385885

Nate Graham <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #6 from Nate Graham <***@kde.org> ---
*** Bug 397815 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-11-10 19:45:23 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=385885

***@outlook.com changed:

What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.kde.org/show_b
| |ug.cgi?id=400921
--
You are receiving this mail because:
You are watching all bug changes.
rplanchuelo@gmail.com
2018-11-13 15:25:35 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=385885

--- Comment #7 from ***@gmail.com <***@gmail.com> ---
There is a bug in a flameshot app, it is the same that this.

https://github.com/lupoDharkael/flameshot/issues/227

Maybe is the bug in Qt?
--
You are receiving this mail because:
You are watching all bug changes.
Nate Graham
2018-11-14 22:27:15 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=385885

Nate Graham <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|Rectangular Region |Multi-monitor HiDPI screens
|Selection doesn't work w/ |with scaling: Rectangular
|scaling on multiple |Region mode causes
|monitors |graphical corruption on one
| |of the screens
--
You are receiving this mail because:
You are watching all bug changes.
Nate Graham
2018-11-14 22:27:31 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=385885

Nate Graham <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #8 from Nate Graham <***@kde.org> ---
*** Bug 400903 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-11-21 19:21:14 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=385885

***@yahoo.com changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@yahoo.com
--
You are receiving this mail because:
You are watching all bug changes.
fhess
2018-12-07 08:33:30 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=385885

fhess <***@frankhess.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@frankhess.de
--
You are receiving this mail because:
You are watching all bug changes.
Loading...