** Description changed:

+ [ Impact ]
+ 
+ In GNOME Settings' Diagnostics page, the switch to control automatic bug
+ reporting to Canonical automatically flips to "Never" after 1 minute of
+ the page being open without interaction
+ 
+ The bug triggered because the DBus service that manages the 
automatic-bug-reporting configuration ("whoopsie-preferences") quits after 1 
minute of inactivity, and GNOME Settings receives an "invalidation" signal when 
that happens.
+ We are fixing the issue by detecting that the service has quit in which case 
we should not refresh the state of the setting.
+ 
+ A further change should be applied to the whoopsie-preferences service
+ to avoid quitting when there are clients still listening for potential
+ settings changes.
+ 
+ [ Test Plan ]
+ 
+  * Open GNOME Settings -> Privacy & Security -> Diagnostics
+ 
+  * You should see `Send error reports to Canonical` set to `Manual` by 
default.
+    > If instead it is set to Never, change it now to another option.
+ 
+  * Stay on the settings page for more than 60 seconds
+ 
+  * The setting should have remained the same and *not* have
+ automatically changed to `Never`.
+ 
+ [ Where problems could occur ]
+ 
+ This patch also tries to re-start the "whoopsie-preferences" daemon when
+ it automatically stops after 60 seconds, because GNOME Settings should
+ keep listening for settings changes from external factors. This should
+ not present any issues, but it's the most "intrusive" part of the patch.
+ 
+ 
+ [ Original Description ]
  steps to reproduce.
  1. Open Gnome Settings
  2. Go to Privacy -> Diagnostics
  3. You should see `Send error reports to Canonical` set to Manual by default.
  4. Stay on the settings page for some time (maybe <2 mins), the setting will 
slip to Never.
  
  You could also try to change the settings to Automatic and stay on the
  page, it will also flip to Never within a couple of minutes.
  
  I noticed this on Jammy, Mantic, and Noble.

** Also affects: whoopsie-preferences (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: whoopsie-preferences (Ubuntu)
     Assignee: (unassigned) => Alessandro Astone (aleasto)

** Changed in: whoopsie-preferences (Ubuntu)
       Status: New => Triaged

** Changed in: gnome-control-center (Ubuntu Jammy)
       Status: New => Confirmed

** Changed in: gnome-control-center (Ubuntu Noble)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2065294

Title:
  Diagnostics settings flips to Never without any user action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/2065294/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to