-
Notifications
You must be signed in to change notification settings - Fork 40
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
Don't bypass focus stealing prevention #633
Comments
libreport/src/gui-wizard-gtk/wizard.c Line 1507 in 14dfa7f
Seems not. |
Maybe you present the main window, then run the dialog? The behavior I describe is really happening, so something must be causing it. :) |
I’m trying to reproduce the issue, but I’m struggling. Are you on an X or a Wayland session? Which version of Fedora? F32 with X results in no thievery here as far as I can see. |
There are 0 calls to |
gnome-abrt does call |
And my familiarity with gnome-shell and mutter is limited, so trying to find a candidate for this will be through brute force. |
Weird. :S
F32 with Wayland, though the bug has been around for at least a couple previous Fedoras. |
After ABRT uploads data to the retrace server, then retrace server processing fails because the retrace server has been broken for a past year, then ABRT will prompt you "do you want to install debuginfo locally?" This prompt steals focus from whatever else I was doing. Half the time, I hit the spacebar because I am typing something else in another window, ABRT steals the focus to its prompt, and spacebar means "Yes go ahead!" So I've accidentally submitted the prompt before I ever had a chance to read it.
Guess: ABRT is using gtk_get_current_event_time() -- or similar -- and then gtk_window_present_with_time() to raise the window? To fix this, you can use the time of the last user action, rather than the current time.
The text was updated successfully, but these errors were encountered: