PolKit Agent: does not react on 'RET' without password
Issue has been identified as part of openSUSE's contrinuous testing using openQA https://openqa.opensuse.org/tests/1122192#step/gnome_music/11
Change happens since the upgrade to gnome-shell 3.34.2, which contains this change:
- polkitAgent: Use dialog as confirmation when the user has no password
The test runs from a live image, without any user passwords defined (hence that change does apply to the condition)
As can be seen in the openQA tests, the dialog pops up, but then, when openQA tries to acknowledge it by pressing RET, the system is 'hanging' ('Authenticate' button becomes inactive, so 'something' happened) - but auth is not being granted.
If the 'Authenticate' button is clicked using a mouse, everything works as expected
The journal contains an entry for this event:
JS Warning: [resource:///org/gnome/shell/ui/components/polkitAgent.js 211]: reference to undefined property "_session"