[Bug 2065294] Re: Diagnostics settings flips to Never without any user action

Timo Aaltonen 2065294 at bugs.launchpad.net
Sat Sep 28 08:26:33 UTC 2024


Hello Ravi, or anyone else affected,

Accepted gnome-control-center into noble-proposed. The package will
build now and be available at
https://launchpad.net/ubuntu/+source/gnome-control-
center/1:46.4-0ubuntu0.24.04.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Tags added: verification-needed verification-needed-noble

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

Title:
  Diagnostics settings flips to Never without any user action

Status in gnome-control-center package in Ubuntu:
  Fix Released
Status in whoopsie-preferences package in Ubuntu:
  Invalid
Status in gnome-control-center source package in Jammy:
  Fix Committed
Status in whoopsie-preferences source package in Jammy:
  Invalid
Status in gnome-control-center source package in Noble:
  Fix Committed
Status in whoopsie-preferences source package in Noble:
  Invalid

Bug description:
  [ 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.

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




More information about the foundations-bugs mailing list