Skip to content
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

Clicking on plug while authentication dialog open results in persistent "Not responding" warning #204

Closed
jeremypw opened this issue Aug 13, 2022 · 3 comments · Fixed by #214

Comments

@jeremypw
Copy link
Collaborator

jeremypw commented Aug 13, 2022

What Happened?

Affects Power and Locale plugs (at least).

Some plugs require authentication before certain operations are carried out. If while the polkit authentication dialog is open the original plug window is focused (by clicking or Alt-Tab) then after a few seconds a "System Settings Not responding" warning window appears. If the "Wait" button is pressed and the authentication dialog closed then the "Not responding" window keeps reappearing even though the plug is in fact responding normally. It also keeps reappearing if you navigate back to the start. Only closing Switchboard altogether stops it.

Steps to Reproduce

  1. Open the Locale plug
  2. Click on "Set System Language" - the authentication dialog opens
  3. Click on the plug window and wait
  4. The "Not responding" window appears and cannot be stopped reappearing except by quitting Switchboard

Expected Behavior

It should not be possible to interact with the plug while the authentication dialog is open. When the app is responding the "Not responding" dialog should not reappear.

OS Version

7.x (Early Access)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

@jeremypw
Copy link
Collaborator Author

It appears that the "Not responding" dialog originates in Gala so it is possible that this is a Gala issue, at least to the extent that the dialog keeps appearing even when the app is, in fact, responding.

@danirabbit
Copy link
Member

Fixed for Power. We had to make everything async. Transferring to locale for triage. We'll need to make sure any time we call for permission we use async methods

@danirabbit danirabbit transferred this issue from elementary/switchboard May 1, 2024
@ryonakano
Copy link
Contributor

Leaving a note that this does no longer occurs with "Set System Language" button thanks to #205. However, it still occurs when trying to installing/removing the language.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants