! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Resizing region after moving selection caputures the incorrect region.
Status:
RESOLVED: FIXED
Product:
Xfce4-screenshooter
Component:
General

Comments

Description Ganga Varatharajan 2019-05-17 14:11:52 CEST
1) Select a rectangle.
2) Press ctrl and move the rectangle
3) Release ctrl and resize
4) release mouse to capture

The image is captured with the final size, but from the original position.

It works fine when the image is not resized after moving.
Comment 1 Andre Miranda editbugs 2019-05-17 17:02:36 CEST
Thanks for the report, I did notice this issue before but was never able to reproduce it consistently, the trick is to resize after releasing ctrl.
Comment 2 Git Bot editbugs 2019-05-19 19:48:42 CEST
Andre Miranda referenced this bugreport in commit 1200add10730b07618dbf4ed0f43a99b51c60d60

Do not use root coordinates for region capture (Bug #15406)

https://git.xfce.org/apps/xfce4-screenshooter/commit?id=1200add10730b07618dbf4ed0f43a99b51c60d60
Comment 3 Andre Miranda editbugs 2019-05-19 19:55:51 CEST
I don't remember why root coordinates were used, now it doesn't make any sense.
This change may introduce regressions, but I hope not, I tested screenshooter with multiple monitors and in many ways I can think of.
Before closing this bug, please if you are able to build from git master let me know if everything still works as before.
Comment 4 Andre Miranda editbugs 2019-05-20 17:08:04 CEST
I have used it in many ways and on different machines, working as expected, please reopen if you notice any regression.

Bug #15406

Reported by:
Ganga Varatharajan
Reported on: 2019-05-17
Last modified on: 2019-05-20

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Attachments

Additional information