Currently, the usage hint in the cropper window is centered in the window instead of the currently active screen. This should be changed so it only appears on the active screen and does not span multiple physical displays.
Steps to Reproduce:
1. Use the “rectangular region” capture mode on a system with a virtual desktop spanning multiple physical displays
Message is centered on the virtual desktop, potentially spanning multiple physical displays.
Message is centered on the physical display that corresponds to the active screen.
*** Bug 369287 has been marked as a duplicate of this bug. ***
*** Bug 403959 has been marked as a duplicate of this bug. ***
*** Bug 404213 has been marked as a duplicate of this bug. ***
Git commit 7e7476619dfc0cb69daa3f075d2ddaed8288433a by Nate Graham, on behalf of Nils Rother.
Committed on 04/03/2019 at 16:47.
Pushed by ngraham into branch 'master'.
Fix recangle-selection help-text positioning
When taking a screenshot with the rectangle selection tool in spectacle,
the overlaid help-text is put in the center of the entire desktop,
instead of the center of a single display. This can cause readability
issues when it is placed on the bezel of two physical displays.
This patch horizontally centers the help-text overlay on the primary display.
This affects both the "Click anywhere to start" dialogue and the hotkey help-text.
Reviewers: #spectacle, #vdg, ngraham
Reviewed By: #spectacle, #vdg, ngraham
Subscribers: abetts, ngraham
Differential Revision: https://phabricator.kde.org/D19515
M +4 -3 src/QuickEditor/QuickEditor.cpp
M +3 -0 src/QuickEditor/QuickEditor.h