mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: Firefox starts unmanaged until move it with komorebi #238
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Carl-Robert on GitHub (Sep 5, 2023).
Describe the bug
Firefox remembers window size and position and always opens up to that part of the screen. Moving Firefox around with komorebi (make it main or shuffle it around) makes it tile properly. Simply re-tiling with komorebi isn't enough to fix it.
Note: Firefox seems to do this also on HashTWM, so Firefox might be to blame here.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Firefox should tile immediately like other programs, no matter what size/position it had saved.
Operating System
komorebic checkOutputProvide the output of
komorebic checkFor example:
For some reason I get that error even though komorebi is started with a configuration file (no gaps modified), so this shouldn't be relevant to this issue. The configuration file is "C:\Users\User\komorebi.json" so it is a little weird komorebic check claims it isn't found in that folder.
@LGUG2Z commented on GitHub (Sep 5, 2023):
This is indeed a bug with Firefox not sending the right signals on launch; you can see some comments in the code related to special handling for Firefox here (without which, this behaviour would be even worse):
d8892f3ff2/komorebi/src/window_manager_event.rs (L126)I recommend opening a bug on the Firefox tracker. 🤞
@Carl-Robert commented on GitHub (Sep 7, 2023):
FYI enabling Windows titlebar on Firefox makes it work perfectly with komorebi. But yes, the fact by default it doesn't is a Firefox bug. The titlebar workaround could be written somewhere, since this is a popular application.