Restoring firefox in dwm causes resize issue
Categories
(Firefox :: Session Restore, defect)
Tracking
()
People
(Reporter: uberushaximus, Unassigned)
Details
Attachments
(1 file)
|
175.19 KB,
image/png
|
Details |
| Reporter | ||
Updated•12 years ago
|
| Reporter | ||
Updated•12 years ago
|
Comment 3•5 years ago
|
||
I also have this problem on fresh installs of both Arch Linux and Artix, using dwm and Firefox 82.0.2.
When closing an active Firefox session and reopening Firefox, if "Restore previous session" is checked in preferences, the window will not resize to fit the tile properly and will appear distorted (as pictured by uberushaximus above). I believe (as a lay person) that this has something to do with Firefox trying to save the window's size that it was last time and restore that same size, which would be fine in any other type of window manager but doesn't make sense in a tiling window manager as the window will always open as a set sized tile. To be clear, as soon as you open another window in dwm and thereby resize Firefox's tile, it displays properly and will continue to display properly afterwards, so any action that manually tries to resize Firefox after that initial boot seems to fix the issue. Also to be clear, this issue is not occuring for me with "Restore previous session" unchecked in preferences. And, when "Restore previous session" is enabled, if you open Firefox into a tile that's exactly the same size as the tile that Firefox was in when it was closed (for example, if it's the only tile both when you close Firefox and reopen it again), Firefox will open into a window size which is exactly the same, and will appear totally fine and function perfectly (though I suspect the bug is still happening, it's just that the size Firefox is trying to be when it glitches out happens to be the same size Firefox actually is, suppressing any symptoms).
I use the "Restore previous session" feature religiously in Firefox and this drastically reduces my quality of life, especially considering that this is occurring in a window manager that's entirely designed for minimalism not just in resources but also in keypresses. Having to open and close for example a terminal window every time I open Firefox is pretty frustrating, especially when using Firefox as your primary browser to do most
Comment 4•5 years ago
|
||
If it helps, this bug does not occur in the Waterfox fork with the same settings.
Comment 5•4 years ago
|
||
I experienced a similar issue on dwm.
What resolved the problem for me was to comment out / remove the following line containing firefox in config.h
/* class instance title tags m
{ "Gimp", NULL, NULL, 0,
/* { "Firefox", NULL, NULL, 1 < focus on the fullscreen window */
Let me know if it helped.
Updated•3 years ago
|
Description
•