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

android studio: emulator window not moveable - stays in the way - Crash when you minimize these windows #139

Closed
fflorey opened this issue May 1, 2021 · 4 comments
Labels
bug Something isn't working fixinbound

Comments

@fflorey
Copy link

fflorey commented May 1, 2021

Examples of behavior:
If your start Android Studio and Open the Configure Dialog OR
you start the Android Emulator you get the
in both cases you get an XWindow without any "decorations" (window frames etc.) so it is not possibility to move this around. This can make the usage of some programms (like Emulator) nearly impossible.
Hint: If you MINIMIZE the windows by clicking on the "-" of the Emulator Settings Windows - the Emulator always crashes. Once i got the message, that the X-Server itself crashed.
I used the xdotool to move the window - this also not possible. I tried:
xdotool windowmove --sync --relative $(xdotool selectwindow)
Screenshot 2021-05-01 114926

In the screenshot, i surrounded the mentioned xwindow with the red line.

Anyhow - thanks for your great work so far!!! Almost perfect!

@fflorey fflorey changed the title Window not moveable - stays in the way - Crash when you minimise such windows Window not moveable - stays in the way - Crash when you minimize such windows May 1, 2021
@fflorey fflorey changed the title Window not moveable - stays in the way - Crash when you minimize such windows Window not moveable - stays in the way - Crash when you minimize these windows May 1, 2021
@fflorey
Copy link
Author

fflorey commented May 1, 2021

When you minimize the window, i see a crash and restart of the X-Server:

Waiting for data... (interrupt to abort)X connection to :0 broken (explicit kill or server shutdown).
Date: 2021-05-01 CEST
[12:00:54.106] weston 9.0.0

@spronovo spronovo added the bug Something isn't working label May 2, 2021
@hideyukn88
Copy link
Member

@fflorey , thanks for reporting this, and I am able to locally reproduce the issue using emulator window. Btw, I'm not able to find a way to "Open the Configure Dialog", would you please describe more this? I'm using android studio version 4.2.

image

I do have a fix for crash with minimize locally and am still investigating it's not movable. it looks related to the window has "override_redirect" property, which is usually not movable. Thanks!

@hideyukn88 hideyukn88 changed the title Window not moveable - stays in the way - Crash when you minimize these windows android studio: emulator window not moveable - stays in the way - Crash when you minimize these windows May 11, 2021
@fflorey
Copy link
Author

fflorey commented May 17, 2021

@fflorey , thanks for reporting this, and I am able to locally reproduce the issue using emulator window. Btw, I'm not able to find a way to "Open the Configure Dialog", would you please describe more this? I'm using android studio version 4.2.

image

I do have a fix for crash with minimize locally and am still investigating it's not movable. it looks related to the window has "override_redirect" property, which is usually not movable. Thanks!

You can start it like that:
Start Android Studio (here Version 4.1.3)
Then use the "configure" Button on the bottom. Use see a window, also not connected to the Android-Studio 4.1.3 window.

@hideyukn88
Copy link
Member

Fixed in 1.0.23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixinbound
Projects
None yet
Development

No branches or pull requests

3 participants