-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
(CurrentPage, AnyScreen) calculation slightly too generous. (Regression cf. fvwm2.) #443
Comments
When calculating if a window is on a page, ensure its position is less than the overall height/width of the screen, and not equal to it. This would otherwise mean that maximized windows would be taken into account when in fact they're on a separate page entirely. Fixes #443
Hey @taobert Hmm. Can you check |
Looks good. |
Somewhat as an aside, i see in
Will |
Hi @taobert No -- that's just some ideas, and I forget now why I mentioned it. |
When calculating if a window is on a page, ensure its position is less than the overall height/width of the screen, and not equal to it. This would otherwise mean that maximized windows would be taken into account when in fact they're on a separate page entirely. Fixes #443
Hi @taobert I forgot to mention, your |
Thanks for reporting your bug here! The following template will help with
giving as much information as possible so that it's easier to diagnose and
fix.
Upfront Information
Please provide the following information by running the command and providing
the output.
fvwm3 --version
)Current git master:
Debian Sid
uname -sp
)Expected Behaviour
Prev (CurrentPage, AnyScreen) Focus
should cycle between windows on any screen of the current page,but not focus any windows on other pages.
Actual Behaviour
Prev (CurrentPage, AnyScreen) Focus
will include maximised windows on adjacent pages in it's focusing.Prev (CurrentPage) Focus
does not include any windows on adjacent pages.Windows which are 1px away from the page border do not become focused (see comments in attached config.mwe.txt),
so "maximizing" a window to less than the full screen size seems to work around this inappropriate focusing.
Enabling logging
I've attached a log file, but it doesn't correspond precisely to the reproduction steps below.
If you need one which matches better, i'll try.
As an aside, clicking on the file
Attach files
bar and navigating to a file (i haven't tried other methods)doesn't allow me to upload the logfile without renaming (as
.log
is an unsupported suffix).Steps to Reproduce
How can the problem be reproduced? For this, the following is helpful:
I've attached a MWE config file. After starting with this file,
Alt-Enter
while focused)Alt-Tab
to switch between xterms, and get drawn back to the lower page's xterm.No.
Does Fvwm3 crash?
No.
Extra Information
config.mwe.txt
fvwm3-output.log.txt
The text was updated successfully, but these errors were encountered: