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

--- Comment #8 from sashok724 <bugs...@sashok724.net> ---
I think i figured out a solution for this problem.

I just replaced this line in QuickEditor.cpp(625):

resize(mScreensRect.width(), mScreensRect.height());

with:

resize(qRound(mScreensRect.width() / devicePixelRatio),
qRound(mScreensRect.height() / devicePixelRatio));

So region selector window is created with correct size.

But, it was not the only problem. In region selector, leftmost screen contents
was duplicated to central screen. I fixed it by also removing this line from
QuickEditor.cpp(662), as width and height of rect appears to be already scaled,
unlike X and Y, i do not know why:

rectToDraw.setSize(rectToDraw.size() * devicePixelRatio);

If what i done is correct solution, i can create pull request.

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

Reply via email to