Skip to content

Comments

Bug/androidcrash#1447

Open
SalmaneKhalili wants to merge 10 commits intoprocessing:mainfrom
SalmaneKhalili:bug/androidcrash
Open

Bug/androidcrash#1447
SalmaneKhalili wants to merge 10 commits intoprocessing:mainfrom
SalmaneKhalili:bug/androidcrash

Conversation

@SalmaneKhalili
Copy link
Contributor

Issue

#1410

Solution

Conditional using isDisplayable().

SalmaneKhalili and others added 9 commits February 15, 2026 22:27
to put the test in the appropriate directory, id have to java files to
grade build configs, because it currently only checks for kotlin tests.
create a temp zip file > create a destination that is a file not a
directory (guaranteed exception) -> unzip throws ioexception because it
expects a directory not a file -> catch it -> check if the zip file is
still open -> if true == leak.
Ive also removed the test since its OS specific, and new code is
supposed to be in kotlin.
@SalmaneKhalili
Copy link
Contributor Author

Still pending work, just realized that i tradedoff the crash with the window not being undecorated, so ill be looking more into this.

Moved the undecorated setup to the very beginning of the Editor
constructor before any operations that could make the frame displayable
happened.
@SalmaneKhalili
Copy link
Contributor Author

Still pending work, just realized that i tradedoff the crash with the window not being undecorated, so ill be looking more into this.

The fix apparently was as simple as moving the linux check to the beginning of the constructor. it is now back to being properly undecorated + not crashing.

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