| Summary: | When upgrading from 3.3.2 to 3.4 konsole session names and locations are lost for more than one session | ||
|---|---|---|---|
| Product: | [Applications] konsole | Reporter: | Krzysztof Lichota <krzysiek> |
| Component: | general | Assignee: | Konsole Bugs <konsole-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Konsole session file | ||
|
Description
Krzysztof Lichota
2005-02-18 09:26:24 UTC
I'm a little unclear on what you mean. Are you saying that the session files (.desktop) were deleted/edited from $KDEHOME/share/apps/konsole? This is more likely an issue with your distribution. I'm not familiar with SUSE to know how they upgrade KDE. Please explain further.... No, I mean I had Konsole open with many "tabs". Each tab has a name and directory where it started. After upgrade only first tab had a name and it opened in proper directory. Other were opened with default name "Konsole X" (where X are subsequent numbers) and in home directory. There have been some chnages in the way how session information is stored.. It seems it doesn't correctly read the old-style format then... do you happen to have a backup of the old session around? (See ~/.kde/share/config/session) Created attachment 9724 [details]
Konsole session file
Possible old konsole session file
I have attached file which is probably somewhat older version of konsole session which I had. Maybe it is useful. konsole --profile ksession.txt Where ksession.txt is from #4. The tab names (titles) are correct; however, the directories (Cwd#) are not. CVS commit by waba:
Fix handling of KDE 3.3 session files.
BUG: 99673
M +3 -0 main.cpp 1.285
--- kdebase/konsole/konsole/main.cpp #1.284:1.285
@@ -495,4 +495,7 @@ extern "C" int KDE_EXPORT kdemain(int ar
m->enableFixedSize(fixed_size);
m->restore(n);
+ sessionconfig->setGroup(QString("%1").arg(n));
+ if (!sessionconfig->hasKey("Pgm0"))
+ sessionconfig->setDesktopGroup(); // Backwards compatible
m->makeGUI();
m->setEncoding(sessionconfig->readNumEntry("Encoding0"));
|