Skip to content

remember main window position#109

Merged
sproctor merged 1 commit into
sproctor:masterfrom
OSXLich-Doug:remember-main-window-position-main
May 25, 2026
Merged

remember main window position#109
sproctor merged 1 commit into
sproctor:masterfrom
OSXLich-Doug:remember-main-window-position-main

Conversation

@OSXLich-Doug
Copy link
Copy Markdown
Contributor

@OSXLich-Doug OSXLich-Doug commented May 25, 2026

Summary

  • save the main Warlock window X/Y/width/height per connected character
  • restore saved bounds after the connected character is known
  • keep the existing global width/height startup fallback

Tested

  • ./gradlew :desktopApp:compileKotlin -PiosSkip=true -PlintSkip=true
  • ./gradlew :core:ktlintCommonMainSourceSetCheck :desktopApp:ktlintMainSourceSetCheck -PiosSkip=true -PlintSkip=true
  • manually verified two characters remember different main window positions

Note: no android environment available

@OSXLich-Doug
Copy link
Copy Markdown
Contributor Author

OSXLich-Doug commented May 25, 2026

Quick note - did not execute full ./gradlew tests. I don't keep an android environment installed here. So only focused testing occurred.

@sproctor sproctor merged commit 2c26437 into sproctor:master May 25, 2026
1 check passed
@sproctor
Copy link
Copy Markdown
Owner

Thanks!

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.

2 participants