Skip to content

Don't bypass focus stealing prevention #633

@mcatanzaro

Description

@mcatanzaro

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions