** Description changed:

- In the Startup Applications tool, selecting one item deselects others.
- ~/.config/autostart was empty until manually populated.
+ [ Impact ]
+ 
+ Opening the settings page for an application overrides the "Autostart"
+ setting for the previously seen app.
+ 
+ For example, if you load the page for app A and enabling autostart, then
+ go back and load the page for app B which had autostart disabled by
+ default, app A was now inadvertently reset back to autostart disabled.
+ 
+ [ Test Plan ]
+ 
+ 1. Launch Settings
+ 2. Navigate to Apps
+ 3. Select an app
+ 4. Enable Autostart
+ 5. Select another app, that you know has autostart currently disabled
+ 6. Navigate back to the first app
+ 7. Verify that the Autostart setting is still enabled
+ 
+ [ Where problems could occur ]
+ 
+ The patch simply unsets the "current app" while populating the initial
+ widget list so that setting the widget state doesn't also trigger the
+ logic to actually modify the settings as a callback to widget state
+ changes.
+ 
+ If some piece of logic expected the "current app" to be set while 
constructing the widgets, then some functionality in the app page may stop 
working.
+ However if that was the case, then such logic would have already been 
incorrect since the "current app" would be pointing to either NULL or the 
previous app at this point.
+ 
+ [ Other info ]
  
  ProblemType: Bug
  DistroRelease: Ubuntu 26.04
  Package: gnome-control-center 1:50.0-0ubuntu6
  ProcVersionSignature: Ubuntu 7.0.0-15.15-generic 7.0.0
  Uname: Linux 7.0.0-15-generic x86_64
  ApportVersion: 2.34.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Tue May  5 16:55:49 2026
  InstallationDate: Installed on 2026-05-05 (0 days ago)
  InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 
(20260423.1)
  ProcEnviron:
-  LANG=en_US.UTF-8
-  PATH=(custom, no user)
-  SHELL=/bin/bash
-  TERM=xterm-256color
-  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=xterm-256color
+  XDG_RUNTIME_DIR=<set>
  SourcePackage: gnome-control-center
  UpgradeStatus: No upgrade log present (probably fresh install)

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

Title:
  Autostart in setting broken

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


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

Reply via email to