Diagnostics settings flips to Never without any user action

Bug #2065294 reported by Ravi Kant Sharma
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Fix Released
Low
Alessandro Astone
Jammy
Confirmed
Undecided
Unassigned
Noble
Confirmed
Undecided
Unassigned
whoopsie-preferences (Ubuntu)
Triaged
Undecided
Alessandro Astone
Jammy
Triaged
Undecided
Unassigned
Noble
Triaged
Undecided
Unassigned

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.

description: updated
tags: added: rls-nn-incoming
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, it's a visual issue and probably not worth a rls target but still we will put into our backlog

Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Alessandro Astone (aleasto)
tags: added: udeng-3668
tags: added: rls-oo-incoming
removed: rls-nn-incoming
Revision history for this message
Sebastien Bacher (seb128) wrote :

I'm tagging as rls-oo-wontfix because we are not going to track it as a rls issue but we still intend to fix the problem

tags: added: rls-oo-wontfix
removed: rls-oo-incoming
Changed in gnome-control-center (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Benjamin Drung (bdrung) wrote :
description: updated
Changed in whoopsie-preferences (Ubuntu):
assignee: nobody → Alessandro Astone (aleasto)
status: New → Triaged
Changed in gnome-control-center (Ubuntu Jammy):
status: New → Confirmed
Changed in gnome-control-center (Ubuntu Noble):
status: New → Confirmed
Changed in whoopsie-preferences (Ubuntu Jammy):
status: New → Triaged
Changed in whoopsie-preferences (Ubuntu Noble):
status: New → Triaged
status: Triaged → New
Changed in whoopsie-preferences (Ubuntu Jammy):
status: Triaged → New
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.6 KiB)

This bug was fixed in the package gnome-control-center - 1:47~beta-2ubuntu1

---------------
gnome-control-center (1:47~beta-2ubuntu1) oracular; urgency=medium

  * Merge with Debian (LP: #2064762). Remaining changes:
    + Add gnome-control-center-faces package to share with unity-control-center
    + Install apport hook
    + debian/control:
      - Build-Depend on libwhoopsie-preferences-dev
      - Depend on language-selector-gnome & whoopsie-preferences
      - Depend on libgtk-4-media-gstreamer for Mouse & Touchpad art
        (LP: #2011849)
      - Don't depend on desktop-base
      - Recommend ibus
      - Don't recommend malcontent-gui
      - Don't recommend libnss-myhostname since we use systemd-resolved
      - Suggest instead of recommend gnome-user-share & realmd
      - Suggest instead of depend on libjxl-gdk-pixbuf
    + debian/gnome-control-center-data.install:
      - Don't install gnome-control-center.pkla since we use
        policykit-desktop-privileges instead
      - Install additional assets used by unity-control-center
    * debian/ubuntu-logo-icon.png, debian/source/include-binaries,
      debian/gnome-control-center-data.install: Include an Ubuntu logo
    * debian/gnome-control-center-data.links:
      - Link audio-speaker-center* to audio-speaker-mono* so that an
        icon is shown in the test speaker panel. (LP: #1704002)
    + debian/rules: Enable whoospie integration
    + debian/rules: set SSHD_SOCKET=ssh.socket via CPPFLAGS in debian/rules.
    + debian/rules: Enable malcontent support
    + Add patches:
      - keyboard-For-xkb-options-have-Layout-default-toggle-and-N.patch
      - keyboard-Avoid-modifying-xkb-options-when-user-changes-n.patch
      - u/keyboard-Add-launch-terminal-shortcut.patch
      - u/sound-Allow-volume-to-be-set-above-100.patch
      - u/Allow-tweaking-some-settings-for-Ubuntu-Dock.patch
      - u/background-Allow-configuring-the-ubuntu-accent-color.patch
      - u/multitasking-panel-Sync-workspace-and-monitor-isolation-d.patch
      - u/multitasking-panel-Sync-workspace-isolation-setting-on-ti.patch
      - u/Modify-Mulitasking-assets-for-accent-colors.patch
      - u/lock-Add-Lock-Screen-on-Suspend-option.patch
      - u/region-Add-Language-Selector-button.patch
      - u/Adapts-the-region-capplet-and-the-language-chooser-in-the.patch
      - u/shell-Change-the-default-height-so-all-category-are-on-sc.patch
      - u/connectivity-add-network-connectivity-checking-toggle.patch
      - u/diagnostics-Add-Whoopsie-support.patch
      - u/online-accounts-Hide-window-after-adding-an-online-accoun.patch
      - u/online-accounts-sort.patch
      - u/display-Support-UI-scaled-logical-monitor-mode.patch
      - u/Disable-non-working-camera-microphones-panels.patch
      - u/info-overview-Show-updates-in-software-propeties-instead-.patch
      - u/sound-Add-a-button-to-select-the-default-theme.patch
      - u/applications-Launch-snap-store-if-it-is-installed.patch
      - u/display-Allow-fractional-scaling-to-be-enabled.patch
      - u/mouse-Add-animations-following-the-accent-colors.patch
      - panels-mouse-Do-not-bind-sensitivity-to-touch-pad-setting.patch
      - CVE-2023-5616.patch: U...

Read more...

Changed in gnome-control-center (Ubuntu):
status: Fix Committed → Fix Released
Changed in whoopsie-preferences (Ubuntu Jammy):
status: New → Triaged
Changed in whoopsie-preferences (Ubuntu Noble):
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.