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

Fix window state handling #63

Open
10 tasks
alexiynew opened this issue Sep 1, 2022 · 0 comments
Open
10 tasks

Fix window state handling #63

alexiynew opened this issue Sep 1, 2022 · 0 comments
Assignees
Labels
Milestone

Comments

@alexiynew
Copy link
Owner

alexiynew commented Sep 1, 2022

  • Detect state changing by system:
    - switch to fullscreen by button in window title
    - switch to maximized by clicking on window title, and by button in title
    - iconify by button in window title
    - restore from iconified state does not handle properly
  • When window is not resizable, switching to fullscreen do not update window graphic context, MacOS.
  • Update grubbed cursor position when switch in\out fullscreen\maximized state. For now cursor stays in old position and first mouse move cause large position diff.
  • When cursor is grabbed, dragging window title should not move cursor in the center of the window.
  • When toggle cursor grabbed state, need correctly update cursor visibility. Sometimes it steel can be visible until first mouse move.
  • When switching window state, need correctly update cursor visibility, when cursor goes in\out of the window.
  • Iconified state sometimes does not release grabbed cursor
  • Iconified state sometimes does not show cursor if it was hidden
  • Fix cursor grabbing on linux
  • Fix state tests on linux
@alexiynew alexiynew self-assigned this Sep 1, 2022
@alexiynew alexiynew added the bug label Sep 1, 2022
@alexiynew alexiynew added this to the Version 0.0.4 milestone Sep 15, 2022
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

1 participant