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

--- Comment #8 from JasonM <jmanc...@gmail.com> ---
When I print out the values of KWindowSystem::workArea(offScreenWindow) it's
clear that width value is broken.  It says 1774 with the parameter, and 9600
without a parameter or -1 as the default parameter.  My desktop is 9600 wide
(3840+3840+1920).  Also the x value is wrong.  When I move the KDE taskbar to a
horizontal edge, then the values are good BUT there is also an offscreenWindow.

I think the solution might be:

if (offscreenWindows.isEmpty())
  return KWindowSystem::workArea().intersected(screenGeometry);
return KWindowSystem::workArea(offscreenWindows).intersected(screenGeometry);

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

Reply via email to