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

            Bug ID: 446035
           Summary: Incorrect behavior on scaled monitors
           Product: yakuake
           Version: 21.08.3
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: h...@kde.org
          Reporter: stijn...@hotmail.com
  Target Milestone: ---

SUMMARY
***
My setup consists of 3 4k monitors scaled by 1.5x. When opening yakuake it
opens on the left monitor fine, but when opening it on the middle monitor it
opens on the left one but alligned to the right. When opening on the right most
monitor it opens on the middle one alligned to the right. When manually
selecting the monitor it should be on, it only works when selecting the left
most one and upon selecting one of the other 2 it automatically goes back to
the left most one.

I have managed to fix this myself but probably not in a way that doesnt break
the program for other setups.
What I have found to be the issues:

In mainwindow.cpp:1489 I removed the part where it divides by devicePixelRatio
(which is 1.5 in my case).

This managed to fix the window not openeing properly on the middle screen but
it still didnt work on the right most screen.

What I did to fix that:
In mainwindow.cpp:1556 I simply return screenGeometry instead of the return val
of workArea() 

I don't know what the purpose of this function and the part where the windows
are checked is but for the right most screen it returned an area with 0x0
dimensions.
***

SOFTWARE/OS VERSIONS
Linux: 5.15.4-arch1-1
(available in About System)
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2

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

Reply via email to