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

Reset layout #112

Open
pjhfggij opened this issue Mar 3, 2024 · 10 comments
Open

Reset layout #112

pjhfggij opened this issue Mar 3, 2024 · 10 comments
Labels
bug Something isn't working needs log I assume you forgot?

Comments

@pjhfggij
Copy link

pjhfggij commented Mar 3, 2024

Is your feature request related to a problem? Please describe.
Layouts break frequently - empty "gaps" appear where a window should be. Windows start floating and can't be tiled back. Happens every day in different ways.

Describe the solution you'd like
Reset layout in a virtual desktop - clean whatever state is kept for a virtual desktop and retile windows, possibly as close to their current locations as possible.

Describe alternatives you've considered
Toggling untile/retile a window doesn't work. I don't know how to approach this.

Additional context
This has been happening since the beginning - since switching from bismuth to polonium. I just don't have other alternatives and can't switch to hyprland yet due to lack of displaylink support.

@pjhfggij pjhfggij added the enhancement New feature or request label Mar 3, 2024
@zeroxoneafour zeroxoneafour added bug Something isn't working needs log I assume you forgot? and removed enhancement New feature or request labels Mar 3, 2024
@zeroxoneafour
Copy link
Owner

Make sure you're running v1.0 from master and give me a log

@pjhfggij
Copy link
Author

pjhfggij commented Mar 4, 2024

Sorry, as mentioned in #113 I've tried 1.0, but had to rollback the system. I'm not sure where to find the logs, but they may be saved as I've only rollbacked home subvolume and logs may have been saved by journald.

@zeroxoneafour
Copy link
Owner

journalctl --user -e --no-pager | grep -i "polonium"

@CarlosEkisde
Copy link

CarlosEkisde commented Mar 28, 2024

Right now if the layout on a desktop somehow breaks, you can set the kwin layout and then return to the layout you were using. This will basically reset the layout to a clean state. But retiling must be do manually.

@zeroxoneafour
Copy link
Owner

Is there still any breakage of the layouts that you are experiencing? I don't want to add a bandaid fix for larger tiling issues. Can you create a bug report if you find any issues with layouts breaking with the latest commits?

@zeroxoneafour zeroxoneafour closed this as not planned Won't fix, can't repro, duplicate, stale Apr 3, 2024
@pjhfggij
Copy link
Author

These breakages still occur, but not as frequently. Some windows like emacs (which I believe uses XWayland) and fullscreening windows can still break layouts once every 4 days or so - create empty spots or refuse to switch focus correctly. However, it's better than it was before.

@pjhfggij
Copy link
Author

pjhfggij commented Apr 14, 2024

you can set the kwin layout and then return to the layout you were using

I'm not quite sure what you mean. If a "breakage" happens it tends to linger on virtual desktop indefinitely. I couldn't find any way to reset it and resorted to moving windows to another virtual desktop.

@pjhfggij
Copy link
Author

pjhfggij commented May 13, 2024

many breakages:
image
image
image

@zeroxoneafour
Copy link
Owner

So there are no logs still. I guess screenshot proof means I can reopen...? If you've moved to Khronkite, I don't think anyone else is experiencing this level of issues so maybe this is just a "works on my machine" moment.

@zeroxoneafour zeroxoneafour reopened this May 14, 2024
@pjhfggij
Copy link
Author

pjhfggij commented May 15, 2024

So there are no logs still.

Sorry, I don't know why I haven't sent them. journalctl --user -e --no-pager | grep -i "polonium" results in:

May 13 22:13:27 host3 kwin_wayland[2044]: file:///usr/share/kwin/scripts/polonium/contents/code/main.mjs:2746: TypeError: Value is undefined and could not be converted to an object

which repeats about every 10 minutes. Is this of any help? Let me know what else might give us some clues.

If you've moved to Khronkite

I saw you mention Kronkite working on KDE6, but I've just checked the repo and it didn't have any activity for the past 2 years or so? Are you saying that KDE6 has brought some compatibility with older APIs?

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

3 participants