| Summary: | "default mark type" (breakpoints or bookmarks) not saved in kdeveloprc | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Andreas Schallenberg <Andreas.Schallenberg> |
| Component: | part | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | afrox, bugs.kde.org, kaplun, kde |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Andreas Schallenberg
2004-04-29 16:19:28 UTC
Yes, it is related to CVS HEAD (>=20040808) version, too. Still present in version 3.1, but I think the problem comes from kate not from kdevelop Confirmed with 3.1.90 (KDevelop 3.2 Alpha 1). Although this is a kate part bug rather than a kdevelop bug. *** Bug 95940 has been marked as a duplicate of this bug. *** *** Bug 96984 has been marked as a duplicate of this bug. *** *** Bug 97596 has been marked as a duplicate of this bug. *** Can be reproduced in KDE 3.4 Beta 1. CVS commit by alund:
Flush the global view config after setting the default mark type.
For interrested parties in #80625: If you use cvs HEAD, could you please confirm that this fixes the bug?
BUG: 80625
M +7 -0 kateviewhelpers.cpp 1.26
--- kdelibs/kate/part/kateviewhelpers.cpp #1.25:1.26
@@ -33,4 +33,5 @@
#include "kateviewinternal.h"
+#include <kapplication.h>
#include <kglobalsettings.h>
#include <klocale.h>
@@ -912,5 +913,11 @@ void KateIconBorder::showMarkMenu( uint
if ( result > 100)
+ {
KateViewConfig::global()->setDefaultMarkType (vec[result-100]);
+ // flush config, otherwise it isn't nessecarily done
+ KConfig *config = kapp->config();
+ config->setGroup("Kate View Defaults");
+ KateViewConfig::global()->writeConfig( config );
+ }
else
{
I'll test this when the next 3.4 release or beta is available and report here. |