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

Floating windows have vertical axis coordinates remembered incorrectly #619

Closed
i3bot opened this issue Jan 19, 2012 · 1 comment
Closed
Assignees
Labels

Comments

@i3bot
Copy link

i3bot commented Jan 19, 2012

[Originally reported by B-Con <brad@…>]
(Some floating windows have their last position remembered and, the next time they are drawn in floating mode, are positioned where their last floating position was.

However, when these floating windows are positioned for the first time after being killed, the X-axis (horizontal) is correctly aligned but the Y-axis (vertical) is not. The floating windows are consistently drawn such that the top of the window's title bar is at the bottom of where it's title bar was last time. For me, that's a total of about about 20px.

Example 1:

  1. Open Geany.
  2. Switch to floating mode.
  3. Move it to a desired position.
  4. Quit Geany.
  5. Open Geany.
  6. Switch to floating mode.
  7. Note that Geany is now positioned lower than it was when it was exited in step (4).

Example 2:

  1. Open the connection settings window in Firefox (Preferences > Advanced > Network > Settings). It's window type is floating by default.
  2. Exit the window 9 ("cancel" is fine).
  3. Re-open the window, note that it's positioned lower than last time.

This isn't a big deal, but it gets annoying for windows that are frequently killed and then brought back into floating mode. For example, on Firefox I bring the "Connection Settings" window up often and every 10 or so times (about every week) the window migrates low enough that it's off the bottom of the screen back up to the top. I think this also applies to certain JavaScript dialog boxes.

@stapelberg
Copy link
Member

Fixed in cb4c9b9, thanks.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants