gala icon indicating copy to clipboard operation
gala copied to clipboard

Unfocused "Application has crashed"

Open teamcons opened this issue 1 year ago • 5 comments

What Happened?

Whenever an application is unresponsible, the "Application has crashed"

very often while trying to get a response out of the app, so the dialog gets focused out immediately, leaving a frozen window that does nothing

Steps to Reproduce

have an app that crashes, click literally anywhere else

Typing a password after confirming a list of actions on a device on Gnome Disks cause an consecutive endless stream of crash dialogs, you can try there

Expected Behavior

Crash dialog stays on top of frozen app no matter what

OS Version

8.x (Early Access)

Session Type

Secure Session (Wayland)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

teamcons avatar Oct 06 '24 17:10 teamcons

I don't quite understand what you mean and I can't reproduce anything similar. Could you maybe provide a screen recording?

Also are you running elementary OS or did you install the desktop on some other distro e.g. nix or arch?

leolost2605 avatar Oct 06 '24 17:10 leolost2605

I don't quite understand what you mean and I can't reproduce anything similar. Could you maybe provide a screen recording?

Also are you running elementary OS or did you install the desktop on some other distro e.g. nix or arch?

eOS 8, the dialog that appears when an application is frozen slips behind the application window it should be in front of the frozen app window

i do not know how i can formulate it differently.

teamcons avatar Oct 06 '24 18:10 teamcons

Ah alright it sounded like there was something more going on :)

Just noting for reference: this is probably an elementary portals bug but I don't wanna transfer yet because I'm not 100% sure

leolost2605 avatar Oct 06 '24 18:10 leolost2605

On wayland, gala doesn't send a window handle to the portal. So, it cannot set the correct parenting relation on the dialog.

I believe this would need that gala has the ability to set the parenting relation itself.

Marukesu avatar Oct 06 '24 18:10 Marukesu

Yeah but on wayland the dialog should just stay above everything if it doesn't get a parent :shrug:

leolost2605 avatar Oct 07 '24 10:10 leolost2605