After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 765510 - Password field loss focus and '|' cursor when a new app is run when the password dialog is alread active.
Password field loss focus and '|' cursor when a new app is run when the passw...
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2016-04-25 00:40 UTC by Mohammed Sadiq
Modified: 2021-07-05 14:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
clutter-stage-x11: Ignore focus events while grabbed (1.83 KB, patch)
2016-04-27 19:17 UTC, Rui Matos
none Details | Review

Description Mohammed Sadiq 2016-04-25 00:40:42 UTC
The password dialog fails to get focus when another app is launched while the password dialog is already open.

How to reproduce:

in terminal delay run an app, eg: sleep 10 && gnome-todo

now do something that requires authorization, say mounting a drive.
wait until the other app launches. You can see that the the focus of password
dialog is lost.

This bug was noticed when I was playing with sysprof where the debug app launches
just after the password dialog is shown.
Comment 1 Rui Matos 2016-04-27 19:17:22 UTC
Created attachment 326890 [details] [review]
clutter-stage-x11: Ignore focus events while grabbed

Getting a FocusOut with mode NotifyWhileGrabbed means we still have
input focus so don't deactivate the stage in that case. Note that the
server will still send us a new FocusOut if we then drop the grab.

Likewise, getting a FocusIn with mode NotifyWhileGrabbed means we
don't really have focus yet. We'll get another FocusIn if the grab
is released and we are still supposed to have focus.
Comment 2 GNOME Infrastructure Team 2021-07-05 14:38:13 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.