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

--- Comment #36 from Chris Holland <zrenf...@gmail.com> ---
Ooops. I wasn't testing kwin's Plasma/5.19 branch properly. `m_cornerOffset` is
fixed in Plasma 5.19.2:

*
https://invent.kde.org/plasma/kwin/commit/bc2df9f84be7ff12ab7e67ee7931eae1f5aeacce
* https://bugs.kde.org/show_bug.cgi?id=422816

Now that I think of it, this bug is titled "1px dead zone", not "bottom-left
fitt's law is broken". The 1px dead zone still exists on the left-center edge
of the screen, so I guess that's why this bug is still open.

I was testing by running `./build/bin/kwin_x11`. However to properly test
`X11Output` and `X11StandalonePlatform` we need to install it to
`org.kde.kwin.platforms/KWinX11Platform.so`. Doing so will crash kwin, but it
should auto-restart.

    cd /usr/lib/qt/plugins/org.kde.kwin.platforms
    sudo cp ./KWinX11Platform.so ./KWinX11Platform.so.bak
    sudo cp ~/Code/kde/kwin/build/org.kde.kwin.platforms/KWinX11Platform.so ./

When testing it shows:

    kwin.test: X11StandalonePlatform::doUpdateOutputs()
    kwin.test:     new X11Output KWin::X11Output(0x562e35e96600)
    kwin.test:     outputInfo[ 0 ] KWin::X11Output(0x562e35e96600)
    kwin.test:         name "DVI-I-0"
    kwin.test:         mm_width 477
    kwin.test:         mm_height 268
    kwin.test:         physicalSize QSize(477, 268)

    kwin.test: Screens::physicalDpiX size(screen) QSize(1920, 1080)

    kwin.test: OutputScreens::physicalSize output
KWin::X11Output(0x562e35e96600)
    kwin.test: OutputScreens::physicalSize return output->physicalSize()
QSize(477, 268)
    kwin.test: X11Output::physicalSize QSize(477, 268)

    kwin.test: ScreenEdges Screens::self()->physicalDpiX(0) 102
    kwin.test: ScreenEdges Screens::self()->physicalDpiY(0) 102
    kwin.test: ScreenEdges m_cornerOffset 34

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

Reply via email to