https://bugs.kde.org/show_bug.cgi?id=419814

Stefan Brüns <stefan.bru...@rwth-aachen.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/netw
                   |                            |ork/krfb/commit/933169b4c0e
                   |                            |3ea9796783f70eca2f0aae29dea
                   |                            |2f
             Status|CONFIRMED                   |RESOLVED

--- Comment #5 from Stefan Brüns <stefan.bru...@rwth-aachen.de> ---
Git commit 933169b4c0e3ea9796783f70eca2f0aae29dea2f by Stefan Brüns.
Committed on 28/08/2020 at 02:08.
Pushed by bruns into branch 'master'.

Compensate for global scale factor when using xcb fb plugin

The screen geometry is reported in device independent pixels, so it has
to be multiplied by the devicePixelRatio to get the size of the underlying
framebuffer. Otherwise, only the top left of the screen will be captured.

This matches the behavior of QScreen::grabWindow(...), which also
returns a QPixmap of the given size scaled by devicePixelRatio.

M  +5    -1    framebuffers/xcb/xcb_framebuffer.cpp

https://invent.kde.org/network/krfb/commit/933169b4c0e3ea9796783f70eca2f0aae29dea2f

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to