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.
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
(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
Is this still happening with current versions (3.0.5 or 3.1)?
The fix was landed before we released 3.1.1, closing as fixed if problem resurfaces please feel free to reopen and update bug.
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".