UI doesn't take focus when already open

Bug #1279798 reported by Rhys Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Moonshot ID Selector
Fix Released
High
Dan Breslau

Bug Description

If the UI is currently open and an authentication request is made, this happens in the UI window that would be in the background, and the user may not know that the system is waiting for their input.

The options here that I can think of are:
* the UI window should pop to the front when it wants input
* the UI window should be modal so it cannot be in the background
* a new instance of the UI should pop up
* ???

Revision history for this message
Sam Hartman (hartmans) wrote : Re: [Bug 1279798] [NEW] UI doesn't take focus when already open

Can you have system modal application windows on a modern OS?
That seems horrible if permitted.

Having the window pop to the front doesn't seem bad.

Changed in moonshot-ui:
status: New → Confirmed
importance: Undecided → High
Dan Breslau (dbreslau)
Changed in moonshot-ui:
assignee: nobody → Dan Breslau (dbreslau)
Revision history for this message
Dan Breslau (dbreslau) wrote :

The problem was that simply calling Window.show() doesn't mean that the window is brought to the foreground. Actually, there is nothing that guarantees this, because the user's settings and choice of window manager may affect the behavior. However, research and experimentation show that calling these two Gtk.Window methods:

        set_urgency_hint(true);
        present();

actually doesn't bring the window to the foreground either, but does at least cause
the user to be notified that the window wants attention, much like the way
Windows may make a taskbar icon flash orange.

Changed in moonshot-ui:
status: Confirmed → Fix Committed
Changed in moonshot-ui:
milestone: none → 0.9.6.1
Manfred Hampl (m-hampl)
Changed in moonshot-ui:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.