GNOME Do is starting at login, but "Start GNOME Do at login" checkbox is unmarked

Bug #398303 reported by Manuel Muradás
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-do (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: gnome-do

Description:
After installing GNOME Do in Ubuntu 9.10, the "Start GNOME do at login" preference is unchecked but Gnome Do starts at login anyway.

This is caused because when you run Gnome Do after the installation, there is no "gnome-do.desktop" file at "~/.config/autostart/". Gnome Do will check for that file to set the "Start GNOME do at login" preference. Given that there is no file, the check box will remain unchecked, but Gnome Do will start at login anyway because of the desktop file in "/etc/xdg/autostart" deployed during the installation by our package.

Steps to reproduce:
 * Close gnome-do
   * ~$ killall gnome-do
 * Remove the autostart file (if any)
   * ~$ rm ~/.config/autostart/gnome-do.desktop
 * Open "Startup Applications" utility
   * ~$ gnome-session-properties &
 * Open "GNOME Do"
   * ~$ gnome-do &
 * Open "GNOME Do Preferences" window

Expected Behavior:
 * In "Startup Applications" window, "GNOME Do" is listed as an additional startup program. This is caused because "GNOME Do" package creates an startup file in the system-wide autostart in "/etc/xdg/autostart".
 * "Start GNOME DO at login" check is checked, because "GNOME Do" will start at login as described above.

Observed Behavior:
 * In "Startup Applications" window, "GNOME Do" is listed as an additional startup program.
 * "Start GNOME DO at login" check is UNCHECKED, even if "GNOME Do" is started at login as described above.

ProblemType: Bug
Architecture: i386
Date: Sat Jul 11 20:36:07 2009
DistroRelease: Ubuntu 9.10
Package: gnome-do 0.8.1.3+dfsg-1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-2.17-generic
SourcePackage: gnome-do
Uname: Linux 2.6.31-2-generic i686

Revision history for this message
Manuel Muradás (dieresys) wrote :
description: updated
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thank you for your bug report. The desktop file in /etc/xdg/autostart is not an issue, as the one in ~/.config/autostart will override that one. When you uncheck the "Start GNOME do at login" preference, you should see a "Hidden=true" field in ~/.config/autostart/gnome-do.desktop.

Is that no happening?

Changed in gnome-do (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Manuel Muradás (dieresys) wrote :

Sorry if I wasn't clear enough.

The first time you run Gnome Do, there is no "gnome-do.desktop" file at "~/.config/autostart/". Gnome Do will check for that file to set the "Start GNOME do at login" preference. Given that there is no file, the check box will remain unchecked, but Gnome Do will start at login anyway because of the desktop file in "/etc/xdg/autostart".

It you want to disable the execution of Gnome Do at login, first you have to check "Start GNOME do at login" preference (a desktop file will be added in "~/.config/autostart/" with a "Hidden=false" field) and then you have to uncheck it (the "Hidden" field in "gnome-do.desktop" will be set to true).

I think Gnome Do should also check for a desktop file in "/etc/xdg/autostart" (or whatever is set in $XDG_CONFIG_DIRS) to set the "Start GNOME do at login" preference.

Revision history for this message
Manuel Muradás (dieresys) wrote :

I don't think this is a duplicate of #288172. In #288172 the problem was that if you uncheck the "Start GNOME Do at login" option, gnome-do was starting anyway. In this bug, checking and then unchecking "Start GNOME Do at login" is the only way to avoid starting GNOME Do when the user logs in.

I will try to clarify the problem by modifying the bug description.

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-do - 0.8.3.1+dfsg-1

---------------
gnome-do (0.8.3.1+dfsg-1) unstable; urgency=low

  * New upstream bugfix release: (Closes: 561271)
    + Fixes for network status detection (Closes: #543517, #543778)
      (LP: #422461)
    + Fixes misleading "Start GNOME Do at login" checkbox (LP: #398303)
    + Fixes a number of crash bugs in the Trash docklet (LP: #439731)
      (Closes: #552239)
    + Fixes problems with the naming of the default theme, leading to crashes.
      (LP: #475871, #448094)
    + Fixes startup problems when run by users with usernames > 9 characters
      long. (LP: #439949)
  * debian/patches/02_use_cli_for_wrapper:
    + Refresh for new upstream changes
  * debian/patches/11_fix_autostart_when_directory_does_not_exist:
    + Drop; included upstream.
  * debian/control
    + Add Breaks on gnome-do-plugins < 0.8.2. Do now handles plugins
      slightly differently. This prevents users being surprised about
      missing plugins on upgrade. (Closes: #541708)
    + Bump Build-Dep on mono-devel to (>= 2.4.2.3) for mono-csc.
    + Transition to -cil-dev packages for Build-Dependends.
    + Bump Standards-Version to 3.8.3; no changes needed.
  * debian/rules:
    + Use mono-csc instead of csc for MCS
    + Pass -f -i to autoreconf to keep the buildsystem's libtool in sync
      with Debian's. Fixes libtool-related FTBFS (Closes: #560645)
    + Apply ltmain-add-as-needed.patch after autoreconf-ing for --as-needed
      magic.
    + Pass --as-needed to the linker to eliminate dependencies on unneeded
      libs.
  * debian/README.source:
    + Add to really comply with policy; we've got a patch system!
  * debian/ltmain-add-as-needed.patch:
    + Patch to add --as-needed magic to ltmain.sh
 -- Ubuntu Archive Auto-Sync <email address hidden> Mon, 01 Feb 2010 23:58:19 +0000

Changed in gnome-do (Ubuntu):
status: Incomplete → Fix Released
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.