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

Toggle Tiling on a per-monitor basis #145

Open
rileyaft opened this issue Apr 6, 2024 · 9 comments
Open

Toggle Tiling on a per-monitor basis #145

rileyaft opened this issue Apr 6, 2024 · 9 comments
Labels
bug Something isn't working needs log I assume you forgot?

Comments

@rileyaft
Copy link

rileyaft commented Apr 6, 2024

Is your feature request related to a problem? Please describe.
When using a 1080p and 4k monitor, fully maximized windows on the 4k monitor can become difficult to read, especially if scaling is set close to 100%. This can lead to lots of deadspace while a smaller window would be easier to read.

Screenshot_20240405_194119 Not fun!

Describe the solution you'd like
a) Using kwin's floating tile functionality when tiling (is this even possible due to polonium's implementation?)
or
b) Having a toggle functionality to disable tiling on different monitors

Describe alternatives you've considered
Removing windows from tiling using the keybind (Meta+Shift+Space) is nice, but is annoying to do every time a new window is opened.

2
Much more readable.

Otherwise fully disabling polonium when a second monitor is connected works well enough.

Additional context
Thats it!

@rileyaft rileyaft added the enhancement New feature or request label Apr 6, 2024
@zeroxoneafour
Copy link
Owner

Have you tried the kwin layout?

@rileyaft
Copy link
Author

rileyaft commented Apr 6, 2024

Have you tried the kwin layout?

I have, but when opening new windows, it immediately gets overridden by polonium's tiling.

@zeroxoneafour
Copy link
Owner

Strange, can you upload a log?

@zeroxoneafour zeroxoneafour added bug Something isn't working needs log I assume you forgot? and removed enhancement New feature or request labels Apr 6, 2024
@rileyaft
Copy link
Author

rileyaft commented Apr 6, 2024

Sure, here you go:
Apr 05 19:18:54 [REDACTED]-81sx sudo[5035]: [REDACTED] : TTY=pts/0 ; PWD=/home/[REDACTED] ; USER=root ; COMMAND=/usr/bin/pacman -S --config /etc/pacman.conf -- chaotic-aur/kwin-polonium Apr 05 19:18:56 [REDACTED]-81sx sudo[5079]: [REDACTED] : TTY=pts/0 ; PWD=/home/[REDACTED] ; USER=root ; COMMAND=/usr/bin/pacman -D -q --asexplicit --config /etc/pacman.conf -- kwin-polonium Apr 05 19:25:10 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(2112, 108, 1152, 540) not registered Apr 05 19:25:11 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3089, 549, 1152, 540) not registered Apr 05 19:25:11 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3247, 667, 1152, 540) not registered Apr 05 19:25:11 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3248, 667, 1152, 540) not registered Apr 05 19:25:12 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3253, 669, 1152, 540) not registered Apr 05 19:25:12 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3254, 669, 1152, 540) not registered Apr 05 19:25:12 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3140, 542, 1152, 540) not registered Apr 05 19:25:14 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3140, 542, 1152, 715) not registered Apr 05 19:25:15 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(2234, 850, 1152, 715) not registered Apr 05 19:25:28 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 3840, 2160) not registered Apr 05 19:25:28 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 3840, 2160) not registered Apr 05 19:27:09 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:09 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:11 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:11 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:12 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:12 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:13 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:13 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:13 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:13 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:13 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:13 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:18 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:18 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:19 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:19 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:19 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:19 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:19 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:19 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:20 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:20 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:20 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:20 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:20 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:20 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:20 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:20 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:20 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:20 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:21 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:21 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:21 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:21 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:21 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:21 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:21 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:21 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:22 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:22 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:22 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:22 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:22 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:22 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:22 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:22 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:24 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:24 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:24 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:24 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:24 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:24 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:24 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:24 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:25 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:25 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:25 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:25 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:25 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 1920, 2160) not registered Apr 05 19:27:25 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(3840, 0, 1920, 2160) not registered Apr 05 19:27:39 [REDACTED]-81sx kwin_wayland[934]: qml: Polonium ERR: Tile QRectF(1920, 0, 3840, 2160) not registered Apr 06 11:39:15 [REDACTED]-81sx kwin_wayland[934]: file:///home/[REDACTED]/.local/share/kwin/scripts/polonium/contents/code/main.mjs:1731: TypeError: Value is undefined and could not be converted to an object Apr 06 11:39:15 [REDACTED]-81sx kwin_wayland[934]: file:///home/[REDACTED]/.local/share/kwin/scripts/polonium/contents/code/main.mjs:1686: TypeError: Value is undefined and could not be converted to an object Apr 06 11:39:15 [REDACTED]-81sx kwin_wayland[934]: file:///home/[REDACTED]/.local/share/kwin/scripts/polonium/contents/code/main.mjs:1686: TypeError: Value is undefined and could not be converted to an object Apr 06 11:39:15 [REDACTED]-81sx kwin_wayland[934]: file:///home/[REDACTED]/.local/share/kwin/scripts/polonium/contents/code/main.mjs:1686: TypeError: Value is undefined and could not be converted to an object Apr 06 11:39:15 [REDACTED]-81sx kwin_wayland[934]: file:///home/[REDACTED]/.local/share/kwin/scripts/polonium/contents/code/main.mjs:1686: TypeError: Value is undefined and could not be converted to an object Apr 06 11:39:15 [REDACTED]-81sx kwin_wayland[934]: file:///home/[REDACTED]/.local/share/kwin/scripts/polonium/contents/code/main.mjs:1686: TypeError: Value is undefined and could not be converted to an object Apr 06 11:39:15 [REDACTED]-81sx kwin_wayland[934]: file:///home/[REDACTED]/.local/share/kwin/scripts/polonium/contents/code/main.mjs:1686: TypeError: Value is undefined and could not be converted to an object

@zeroxoneafour
Copy link
Owner

Enable debug mode and get another log

@rileyaft
Copy link
Author

rileyaft commented Apr 6, 2024

the output of journalctl --user --no-pager -e | grep -i "polonium" remains the same after the toggle, do you want me to try to reproduce the issue?

@zeroxoneafour
Copy link
Owner

https://zeroxoneafour.github.io/polonium/usage.html#getting-a-log

Enable debug mode, log out, log back in, reproduce the issue, run the commad

@rileyaft
Copy link
Author

rileyaft commented Apr 6, 2024

Here's one video:
https://github.com/zeroxoneafour/polonium/assets/115379744/f4023bf3-15ad-44b1-b96a-045fd1a53ea3

And, here's the logs:
https://pastebin.com/2fbJ4nfJ
(just under 1000 lines, insane)

@zeroxoneafour
Copy link
Owner

It would appear that you are not in fact using the latest build, as there are resizing layout messages appearing when the debug message for that has been removed for a few weeks now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs log I assume you forgot?
Projects
None yet
Development

No branches or pull requests

2 participants