Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300319 - mail-client/mozilla-thunderbird-3.0-r1 will save thunderbird-bin to KDE session
Summary: mail-client/mozilla-thunderbird-3.0-r1 will save thunderbird-bin to KDE session
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL: https://bugzilla.mozilla.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-09 19:00 UTC by Martin von Gagern
Modified: 2011-06-12 11:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2010-01-09 19:00:59 UTC
When saving a KDE session, thunderbird will store "thunderbird-bin", which will cause mozilla-thunderbird-bin to be started instead of mozilla-thunderbird.

Reproducible: Always

Steps to Reproduce:
1. emerge -1 =mozilla-thunderbird-3.0-r1 =mozilla-thunderbird-bin-2.0.0.23
2. Start KDE 4 session
3. K-Menu / Computer / System Settings / Advanced / Session Management /
   On Login / Restore manually saved session
4. Start thunderbird 3
5. K-Menu / Leave / Save Session
6. K-Menu / Leave / Log Out
7. Start KDE 4 session
8. grep thunderbird ~/.kde4/share/config/ksmserverrc
Actual Results:  
7. mozilla-thunderbird-bin-2.0.0.23 started
8. program13=thunderbird-bin
   restartCommand13=thunderbird-bin,--sm-config-prefix,
     /thunderbird-bin-######/,--sm-client-id,
     #####################################,--screen,0
   [linewraps added, alphanumeric ids replaced by # for privacy reasons]


Expected Results:  
7. mozilla-thunderbird-3.0-r1 started
8. program13=thunderbird


The /usr/bin/thunderbird script actually starts /usr/lib64/mozilla-thunderbird/thunderbird-bin, which is probably the reason that KDE thinks it should start thunderbird-bin (i.e. /usr/bin/thunderbird-bin) instead of /usr/bin/thunderbird.

Mozilla has bug 508986 about this issue. There is even a patch. Will compile my TB one of these days to see if it fixes the issue as expected.
Comment 1 Martin von Gagern 2010-01-11 20:24:44 UTC
Patched my TB sources with upstream patch [1], but file saved in ksmserverrc is still thunderbird-bin. Don't know if the cause if a problem with that patch, or something specific to the way TB is launched on Gentoo.

[1] https://bug508986.bugzilla.mozilla.org/attachment.cgi?id=420707
Comment 2 Martin von Gagern 2010-01-12 18:01:08 UTC
(In reply to comment #1)
> Don't know if the cause if a problem with that patch, or
> something specific to the way TB is launched on Gentoo.

It's because I saved the session manually, not at shutdown.
See https://bugzilla.mozilla.org/show_bug.cgi?id=508986#c10
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2010-07-07 18:25:28 UTC
Is this still happening with current versions (3.0.5 or 3.1)?
Comment 4 Jory A. Pratt gentoo-dev 2010-08-01 17:03:41 UTC
The fix was landed before we released 3.1.1, closing as fixed if problem resurfaces please feel free to reopen and update bug.
Comment 5 Laurent G. 2011-06-12 11:37:04 UTC
Hi
I still (more than two years now ... don't remember other than it's been a long time) have thunderbird that is not restarted at KDE4 session start.
I looked at ~/.kde4/share/config/ksmserverrc and the line with thunderbird has still thunderbird-bin written where firefox has full path. Although thunderbird is not the only one to not have the full path (kwin and gkrell have too), it has not the same scheme as firefox, what I would have bet on at first.

program12=firefox
program13=thunderbird-bin

restartCommand12=/usr/lib/firefox/firefox,--sm-config-prefix,/firefox-XXXXXX/,--sm-client-id,xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,--screen,0
restartCommand13=thunderbird-bin,--sm-config-prefix,/thunderbird-bin-XXXXXX/,--sm-client-id,xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,--screen,0

And as far as I can tell, I am not saving nor restoring session "by hand".