-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Windows change geometry when fvwm3 starts #677
Comments
This isn't a bug in fvwm. Can you post your config somewhere, and I'll take a look. |
Sure, I am experiencing this with the bundled default config (as I mentioned in the steps to reproduce above) - see https://github.com/fvwmorg/fvwm3/blob/master/default-config/config . |
Hey @dumblob Strange. I cannot reproduce this at all given your steps -- for me, unparented windows retain their geometry when fvwm3 starts, and they certainly aren't changing their geometry. Perhaps though I'm still missing something -- would a short video of the problem be possible for me to see what's happening? |
Upfront Information
fvwm3 --version
)fvwm3 1.0.5 (1.0.4-128-gc7b41a03)
with support for: ReadLine, XPM, PNG, SVG, Shape, XShm, SM, Bidi text, XRandR, XRender, XCursor, XFT, NLS
Arch Linux
uname -sp
)Linux 5.15.53-1-lts #1 SMP Fri, 08 Jul 2022 12:38:20 +0000 x86_64 GNU/Linux
Expected Behaviour
When starting fvwm3 e.g. from
xterm
I expect my windows to stay where they are and keep their dimensions if possible.E.g.
fvwm3 -v -o - -f "$XDG_CONFIG_HOME/fvwm-global/init.conf"
Actual Behaviour
Windows move by the thickness of the frame and title height offsets in
x
andy
axes respectively. But they do not shrink therefore effectively crossing page boundaries for larger or maximized windows causing issues with focus, overlaps, and all kinds of nasty behavior and bad look 😉.Enabling logging
This is the only entry I get in the log. I get it always when I switch pages (I do not know the origin of this message, but I do have a hook when switching pages which just calls a function which counts all windows on the page I switched to but does nothing else).
Steps to Reproduce
fvwm3
in the terminal emulator with fvwm configuration which has non-zero borders and/or title (e.g. the default bundled configuration)Yes.
Does Fvwm3 crash?
No.
Extra Information
A different behavior can be observed when replacing an existing window manager (incl. if it is fvwm3). If replacing an existing wm which added frames/title, windows first lose the frame/title and then move to the x,y position of the original window with frame/title. Therefore if fvwm3 then re-adds the frame/title and by coincidence the frame/title have the same thickness/height, then the behavior described in this bug does "cancel out" with the unexpected "move" after loosing the frame/title.
IMHO either X or some window managers (notably fvwm3) do the "move" after loosing its parent window on purpose but only sometimes. E.g. if I
kill -9
fvwm3, then this "move" does not happen. But if I quit fvwm3 normally using theQuit
command, then the "move" does happen.The text was updated successfully, but these errors were encountered: