Skip to content

update ileappGUI to better handle monitor space on macOS#1509

Open
JamesHabben wants to merge 1 commit into
abrignoni:mainfrom
JamesHabben:bug/gui-macos
Open

update ileappGUI to better handle monitor space on macOS#1509
JamesHabben wants to merge 1 commit into
abrignoni:mainfrom
JamesHabben:bug/gui-macos

Conversation

@JamesHabben
Copy link
Copy Markdown
Collaborator

  • center case data modal window to the main ileappGUI window (all OS)
  • detect screen and open ileappGUI on detected screen where multiple monitors exist (macOS)
    • previously it was opening in unexpected positions with part of window off screen (macOS)
  • use grab_set_global() to better capture focus on case data modal (macOS)
    • tk docs say global is not safe to use on windows or linux
  • add macOS height for case data window (macOS)

- center case data modal window to the main ileappGUI window (all OS)
- detect screen and open ileappGUI on detected screen where multiple monitors exist (macOS)
  - previously it was opening in unexpected positions with part of window off screen (macOS)
- use `grab_set_global()` to better capture focus on case data modal (macOS)
  - tk docs say global is not safe to use on windows or linux
- add macOS height for case data window (macOS)
@JamesHabben
Copy link
Copy Markdown
Collaborator Author

I have tested this on Mac and windows. have not tested on linux, but not much code should impact running there.

also, specifically avoided linter error fixes to keep this diff clean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant