https://bugs.kde.org/show_bug.cgi?id=506909
Waqar Ahmed <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/fram | |eworks/ktexteditor/-/commit | |/a8304647e3b76abf8be28308a0 | |1574e5caef4780 --- Comment #2 from Waqar Ahmed <[email protected]> --- Git commit a8304647e3b76abf8be28308a01574e5caef4780 by Waqar Ahmed. Committed on 14/07/2025 at 19:27. Pushed by cullmann into branch 'master'. Properly center the screenshot pixmap Otherwise we have to do weird hacks because the pixmap occupies the full width. Use the m_screenshot->geometry() to get the grab rectangle. QWidget::geometry() returns the correct dpr divided geometry which is needed when calling QWidget::grab() as it scales the given rectangle's size by dpr again. M +7 -10 src/view/screenshotdialog.cpp https://invent.kde.org/frameworks/ktexteditor/-/commit/a8304647e3b76abf8be28308a01574e5caef4780 -- You are receiving this mail because: You are watching all bug changes.
