Summary: | Incorrect schema in detached sessions | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Hackeron <hackeron> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.5 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Hackeron
2005-02-03 02:59:56 UTC
First off, re-attaching has been dropped. On times there are some problems with the schema of detached sessions. konsole: WARNING: No schema found. Using default. konsole: WARNING: No schema with number 9 > First off, re-attaching has been dropped.
Really? -- any chance you could re-consider and make re-attaching optional via a tick box?
Its a feature that I would really miss.
Still problems with the schema of detached sessions in beta2 :( Confirming it for kde 3.4 rc1 and kde 3.4 final. This only happens with the first detached session. konsole: WARNING: No schema found. Using default. konsole: WARNING: No schema with number 13 I can also confirm it. In KDE 3.4. it happens for all the detached sessions, not only for the first one. Will we ever see a fix? :'( Re-attaching should be filed separately. As for the issue in the bug's title, "Incorrect schema in detached sessions", I can confirm it with Konsole 1.5. >> Re-attaching should be filed separately
OK, will do. Thanks for officially confirming this bug though.
I'm aware of this report (and should have confirmed it earlier). Anyway, when I last looked at this it appears that the Schema class (schema.cpp|h) needs reworked. The way it handles the serialization is mesed up. It appears the fix is much simplier than I thought, may have to wait for subversion move; should be in KDE 3.4.1 Index: schema.cpp =================================================================== RCS file: /home/kde/kdebase/konsole/konsole/schema.cpp,v retrieving revision 1.55 diff -u -p -r1.55 schema.cpp --- schema.cpp 4 Feb 2004 16:48:06 -0000 1.55 +++ schema.cpp 20 Apr 2005 18:17:56 -0000 @@ -463,6 +463,8 @@ ColorSchemaList::ColorSchemaList() : defaultSchema = new ColorSchema(); append(defaultSchema); setAutoDelete(true); + + ColorSchema::serial=1; // Needed for detaching sessions } ColorSchemaList::~ColorSchemaList() CVS commit by hindenburg: Fix incorrect schema in detached sessions. Note that in testing I notice that adding/deleting Schemata result in unpleasant behavior. BUG: 98472 M +2 -0 schema.cpp 1.56 --- kdebase/konsole/konsole/schema.cpp #1.55:1.56 @@ -464,4 +464,6 @@ ColorSchemaList::ColorSchemaList() : append(defaultSchema); setAutoDelete(true); + + ColorSchema::serial=1; // Needed for detached sessions } It's working great for me CVS commit by hindenburg: Fix incorrect schema in detached sessions. CCBUG: 98472 M +2 -0 schema.cpp 1.55.4.1 --- kdebase/konsole/konsole/schema.cpp #1.55:1.55.4.1 @@ -464,4 +464,6 @@ ColorSchemaList::ColorSchemaList() : append(defaultSchema); setAutoDelete(true); + + ColorSchema::serial=1; // Needed for detached sessions } |