kevinlekiller / kwin-effect-shaders

Desktop effect for KDE Plasma to apply GLSL shaders. Alternative to vkBasalt or ReShade when they are unsupported.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The UI always starts in the middle on Wayland.

kevinlekiller opened this issue · comments

After a few hours of trying to figure out a solution, I give up on this one for now.

I've tried storing and using the window geometry using one of the 3 QWidget available ways ( pos() + move() / rect() + setGeometry() / saveGeometry() + restoreGeometry() ).

When show() is called the first time, it works (only if it's done AFTER show(), not before, like they say to do it), subsequent times it goes back to the middle of the screen.

They mention how X11 has an issue where the window goes to the bottom right of the screen : https://doc.qt.io/qt-5/restoring-geometry.html

It's probably the same issue, but it goes to the middle on Wayland.