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

Launchpad Bug Tracker 2065294 at bugs.launchpad.net
Wed Aug 14 16:04:48 UTC 2024


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: Use sshd socket
  * Refresh patches
  * Remove the obsolete accent color patches
  * Temporarily disable 2 keyboard patches
  * Update Whoopsie patch to fix build with gcc-14

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

  * New upstream release
  * Refresh patches
  * Bump minimum GTK4, libadwaita, gnome-online-accounts, &
    gsettings-desktop-schemas

 -- Jeremy BĂ­cha <jbicha at ubuntu.com>  Wed, 14 Aug 2024 07:17:09 -0400

** Changed in: gnome-control-center (Ubuntu)
       Status: Fix Committed => Fix Released

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2023-5616

-- 
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:
  Triaged
Status in gnome-control-center source package in Jammy:
  Confirmed
Status in whoopsie-preferences source package in Jammy:
  New
Status in gnome-control-center source package in Noble:
  Confirmed
Status in whoopsie-preferences source package in Noble:
  New

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