elementary / switchboard-plug-applications

Switchboard Applications Plug
https://elementary.io
GNU General Public License v3.0
14 stars 12 forks source link

Switching settings really fast causes bad settings writes #228

Open danirabbit opened 7 months ago

danirabbit commented 7 months ago

What Happened?

If you switch between app settings really fast it can cause the wrong settings to be written to the wrong apps

Steps to Reproduce

  1. Switch between apps really fast for example using the keyboard in the sidebar
  2. Notice that some apps have permissions that don't make sense for that app or have been overridden by a neighbor app

Screenshot from 2024-03-29 10 29 07

Expected Behavior

We probably need to set up a cancellable and make sure we don't try to return values when the page changes

OS Version

8.x (Early Access)

Software Version

Compiled from git

Log Output

No response

Hardware Info

No response

zeebok commented 6 months ago

For me, with a fresh install I grabbed Nimbus and granted it location access. I don't even have to change applications quickly for it to also show location access in Music and Document Viewer (the two apps above it). Though strangely apps below it do not show it as is expected.

Additionally, but potentially unrelated, I just allowed location access to Web and it isn't showing that permission option?