tile-gaps icon indicating copy to clipboard operation
tile-gaps copied to clipboard

Emacs window not having gaps at the edges

Open ghost opened this issue 3 years ago • 5 comments

First of all, thank you for releasing the new update. I have this odd bug, which only happens with Emacs, where the window slowly resizes itself after being tiled. I have attached both the video and my current settings.

https://user-images.githubusercontent.com/69988160/174459332-a1df4dc2-5c8d-478f-b2e0-4d2c3b19b384.mp4

ss

ghost avatar Jun 18 '22 22:06 ghost

Update: it seems to happen with to multiple apps that are tiled on the right side with Emacs on the left, for example dolphin.

ghost avatar Jun 18 '22 23:06 ghost

Another thing visible in the video is that Emacs does not seem to respect the tiling gap, the window ends up touching the bottom screen border. This might just be a GTK3 issue, I had a similar issue on gnome with a gap extension on GNOME where old GTK apps did not respect the gap, or showed odd behavior.

ghost avatar Jun 18 '22 23:06 ghost

I just released an update; please test whether this fixes the problem.

nclarius avatar Jun 22 '22 23:06 nclarius

Fixed. Still have emacs borders touching the edges of the screen but I think this may just be a GTK bug

ghost avatar Jun 23 '22 22:06 ghost

It should work regardless of which application. To help me debug this, could you please run the following:

kwriteconfig5 --file kwinrc --group Script-tilegaps --key debugMode true
kwriteconfig5 --file kwinrc --group Script-tilegaps --key fullDebugMode true
export QT_LOGGING_RULES='kwin*.debug=true'
qdbus org.kde.KWin /KWin reconfigure
journalctl -g "test" -f 2>&1 | tee tilegaps.log

Then trigger the bug, see if you get any output and if yes, post the contents of the file ~/tilegaps.log here. Thanks.

nclarius avatar Jul 19 '22 13:07 nclarius