Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows width expanding outside of screen #20

Open
mrhll opened this issue Nov 9, 2022 · 13 comments
Open

Windows width expanding outside of screen #20

mrhll opened this issue Nov 9, 2022 · 13 comments
Labels
type:bug Something isn't working

Comments

@mrhll
Copy link

mrhll commented Nov 9, 2022

On the v7.1, applying gaps on all sides + maximazed windows makes the windows having incorrect width and expanding outside of the screen on right edge (height is OK), this for maximized and tiled windows.
Installed v6.14 znd works as expected.
Plasma 5.26.3 on Arch

@nclarius
Copy link
Owner

nclarius commented Nov 27, 2022

Thanks for the report. The most recent update should fix this problem. If not, please let me know.

@nclarius nclarius added type:bug Something isn't working status:resolved This issue has been successfully resolved labels Nov 27, 2022
@mrhll
Copy link
Author

mrhll commented Nov 28, 2022

sorry, this fix has fully broken the gaps completely :)
No more gaps, anywhere ...

@nclarius nclarius removed the status:resolved This issue has been successfully resolved label Nov 28, 2022
@nclarius
Copy link
Owner

Could you please post the output of

journalctl -b | grep "tilegaps" | head  

@nclarius nclarius reopened this Nov 28, 2022
@nclarius
Copy link
Owner

... after running

kwriteconfig5 --file kwinrc --group Script-tilegaps --key debugMode true
kwriteconfig5 --file kwinrc --group Script-tilegaps --key fullDebugMode true
qdbus org.kde.KWin /KWin reconfigure

and possibly logging out and in again before trying to get the debug output.

@nclarius nclarius added the status:needsinfo This issue requires more information to be resolved label Nov 28, 2022
@mrhll
Copy link
Author

mrhll commented Nov 28, 2022

Hi, ensured script enabled and reset to defaults, rebooted, updated the debug flags given, played with tiling few bits, still no gaps, running journalctl cmd outputs nothing ...

@nclarius
Copy link
Owner

nclarius commented Nov 28, 2022

If you're not getting any output, try adding

export QT_LOGGING_RULES="kwin_*.debug=true"

to your ~/.bash_profile or /etc/environent and relogin.

If you're on Wayland, it will also be necessary to have Plasma systemd boot enabled (this is the default since Plasma 5.25).

Sorry about the complications - I'm using the same distro and Plasma version and tested with different gap sizes and it all works fine on my setup, so it's going to be hard to find out what's wrong without debug information.

@mrhll
Copy link
Author

mrhll commented Nov 28, 2022

Actually using zsh and emptty login manager, mesa drivers, will check this later on and getback soon, thank you for your help :)

@mrhll
Copy link
Author

mrhll commented Nov 28, 2022

Systemd boot is enabled, using wayland added QT_LOGGING_RULES to /etc/environment ...
Still nothing in journalctl :(

@nclarius
Copy link
Owner

nclarius commented Nov 28, 2022

Hm, that's strange. I asked in the KWin development chat group what else we could try.

Meanwhile, could you delete ~/.local/share/kwin/scripts/tilegaps/, reinstall the script, and verify that the version is 8.0 with the info button in the entry in KWin scripts system settings. The recent version also included a change in the metadata format, maybe your system is still somehow stuck on an old version of the package that's causing problems.

@nclarius
Copy link
Owner

Another user reported that the newest version works fine on their system, so it's not the case that the uploaded package is completely broken.

@mrhll
Copy link
Author

mrhll commented Nov 28, 2022

created a fresh new user and installed the script ... works on X but not on wayland

@nclarius
Copy link
Owner

Well that's a start. Unfortunately it seems logging is broken on Wayland, so debugging it is going to be hard. But I'll see what I can do. Thanks for your help in getting this sorted out so far.

@nclarius
Copy link
Owner

Can confirm neither the log output nor the script works for me on Wayland. I'll look into it.

@nclarius nclarius removed the status:needsinfo This issue requires more information to be resolved label Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants