gnome-terminal does not honor new gnome session protocol

Bug #333603 reported by pakraticus
24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNOME Terminal
Fix Released
Medium
gnome-terminal (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-terminal

This is almost certainly an upstream bug.
This is not a duplicate of 249373.

However, this was found while checking to see if 249373 still appeared in jaunty alpha 4.
When Gnome moved to their new session protocol for the version of gnome shipped in intrepid, it was to be expected that applications such as gnome-terminal and nautilus would be delayed in actually making use of the new session protocol.
However, at this point in time that is not the case.
On a fresh install of jaunty alpha 4
1) Open gnome-terminal
2) run gnome-session-save
3) Logout
4) Log back in again
does not produce the expected result that the gnome-terminal window is opened on the next login.
A retry of
1) Open gnome-terminal
2) Open places->Home Folder
3) System->Preferences->Sessions->Options
3.1) Click automatically remember running applications when logging out
3.2) Click on remember currently running applications.
4) Close
5) Restart
6) Log in again
also does not produce the expected results of the gnome-terminal and nautilus window being open upon the next login.

This bug is to note that gnome-terminal and nautilus do not abide by the new gnome session management protocol.

It would be appreciated if this upstream bug would be noted in the Known Issues section of
http://www.ubuntu.com/testing/jaunty/alpha4 as issues with fglrx and xorg are noted.

gnome-terminal is 2.25.5-0ubuntu2
nautilus is 2.25.4-0ubuntu1
Thanks,
Chris Dukes

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thank you for your bug report, but why do you think that this is not a duplicate of bug 249373? This functionality has not been ported to the new gnome-session codebase yet, so bug 249373 still applies to Jaunty. To me, this problem looks like bug 249373, unless you can explain why you think it isn't

Changed in gnome-terminal:
status: New → Incomplete
Revision history for this message
pakraticus (pakraticus) wrote : Re: [Bug 333603] Re: gnome-terminal does not honor new gnome session protocol

On Tue, Feb 24, 2009 at 12:23:26AM -0000, Chris Coulson wrote:
> Thank you for your bug report, but why do you think that this is not a
> duplicate of bug 249373? This functionality has not been ported to the
> new gnome-session codebase yet, so bug 249373 still applies to Jaunty.
> To me, this problem looks like bug 249373, unless you can explain why
> you think it isn't

The underlying cause is that the two application still speak the
old session management protocol.
However, as they are two prominent gnome applications and at the same
version as gnome-session, they should be speaking the same session
management protocol.
Until they do, it should be documented as a known issue for any
distribution that ships gnome 2.24 or later.
By documenting it as a known issue I and other users can
evaluate whether to stay with ubuntu 8.04, migrate to KDE, or
migrate back to 1990 vintange .xinitrc and .xsession files.

With non-gnome applications that use the old session management protocol (IE
KDE apps, firefox), I would fully expect for a bug report to be flagged
as a defect.

Until the developers of gnome-terminal and nautilus either eat the
gnome 2.24 session management dogfood, or publicly declare that
they won't eat the current session management dogfood, it is a
technical defect in those applications.
In the meantime, it would help that the separate issues

1) Current gnome-session does not support the legacy protocol.
2) Current gnome applications do not support the current session-protocol.

If #2 is successfully addressed, there is the opportunity for the
new session protocol to become the standard making #1 a non-issue.
--
Chris Dukes
"In cynicism she's about 35" -- Terry Pratchett's "Hog Father"

Revision history for this message
pakraticus (pakraticus) wrote :

On Tue, Feb 24, 2009 at 12:23:26AM -0000, Chris Coulson wrote:
> Thank you for your bug report, but why do you think that this is not a
> duplicate of bug 249373? This functionality has not been ported to the
> new gnome-session codebase yet, so bug 249373 still applies to Jaunty.
> To me, this problem looks like bug 249373, unless you can explain why
> you think it isn't

Furthermore,
upstream thinks it's a defect with gnome-terminal

http://bugzilla.gnome.org/show_bug.cgi?id=575308

--
Chris Dukes
"In cynicism she's about 35" -- Terry Pratchett's "Hog Father"

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

gnome-session in Jaunty has preliminary support for session saving again now (using the patch linked from that upstream report), so this is clearly a limitation in gnome-terminal now.

I'll link the upstream report to this. Thanks for finding that.

Changed in gnome-terminal (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
Changed in gnome-terminal:
status: Unknown → Confirmed
Revision history for this message
pakraticus (pakraticus) wrote :

On Sun, Mar 15, 2009 at 07:13:13PM -0000, Chris Coulson wrote:
> gnome-session in Jaunty has preliminary support for session saving again
> now (using the patch linked from that upstream report), so this is
> clearly a limitation in gnome-terminal now.

http://bugzilla.gnome.org/show_bug.cgi?id=575307
for gedit.
Let me know if you want me to open another one, or wait until there is a
final status on 552387.

There's also a bug with metacity not saving window position that
Vincent Untz is aware of, but there doesn't seem to be a number for it yet.
I'd go digging for it, but going through window manager bugs tends to
raise my blood pressure a bit much.

--
Chris Dukes
"In cynicism she's about 35" -- Terry Pratchett's "Hog Father"

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thanks, but there's no need to open a bug on Launchpad for the gedit issue if it is already reported upstream.

Changed in gnome-terminal (Ubuntu):
assignee: nobody → desktop-bugs
Changed in gnome-terminal:
status: Confirmed → Fix Released
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

This is fixed upstream in 2.26.1 now

Changed in gnome-terminal (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
JS (j5) wrote :

Is there any workaround available?

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

This bug was fixed in the package gnome-terminal - 2.26.1-0ubuntu1

---------------
gnome-terminal (2.26.1-0ubuntu1) karmic; urgency=low

  * New upstream release: (LP: #361053)
    - Make gnome-terminal session loading work (LP: #333603)
    - Missing translator comment
    - gnome terminal treats pixelsized fonts point sized
    - Use of uninitialized variables
    - gnome-terminal crashed with SIGSEGV in gtk_ui_manager_remove_ui()
    - Update to GNOME Help Centre OMF Files
    - Translation update
    - 'Close this terminal' warning labels button as 'Close Window'
      (LP: #331295)
  * debian/control.in:
    - bump libgtk2.0-dev to 2.14.0
    - bump libvte-dev to 0.20.0
    - re-generate debian/control
  * remove debian/patches/30_honour_point_pixel_sizes.patch, the change
    is in the tarball
  * re-generate debian/patches/99_autoreconf.patch

 -- Didier Roche <email address hidden> Tue, 28 Apr 2009 12:07:18 +0200

Changed in gnome-terminal (Ubuntu):
status: Fix Committed → Fix Released
Changed in gnome-terminal:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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