| Summary: | kate systematically crashes on exit | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Sergio Callegari <scallegari> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | alientxc, dos, justin.braatvedt, mpartap |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Sergio Callegari
2007-06-25 12:51:47 UTC
In fact a 3.5.7 regression. Downgrading to the official Ubuntu feisty package (namely 3.5.6-0ubuntu20.1) fixes the issue. I fixed this is fixed in SVN branch 3.5 a few weeks ago jo, fixed ;)
--- branches/KDE/3.5/kdebase/kate/app/katesession.cpp #676114:676115
@@ -381,13 +381,13 @@
if (sesExit == "ask")
{
- KDialogBase dlg( i18n ("Save Session?")
+ KDialogBase* dlg = new KDialogBase(i18n ("Save Session?")
, KDialogBase::Yes | KDialogBase::No
, KDialogBase::Yes, KDialogBase::No
);
bool dontAgain = false;
- int res = KMessageBox::createKMessageBox(&dlg, QMessageBox::Question,
+ int res = KMessageBox::createKMessageBox(dlg, QMessageBox::Question,
i18n("Save current session?"), QStringList(),
i18n("Do not ask again"), &dontAgain, KMessageBox::Notify);
Will it be possible to get updated binaries? I am particularly interested in Ubuntu feisty, but maybe the binaries for other distros share this issue too. I am not sure how Ubuntu handles it's repository but you might need to contact the package maintainer so he can apply the required patch. I sent a report on the ubuntu bug tracking system, pointing the maintainer to your patch. The patch was incorporated on the distribution SCM:
> Committed to bzr. Will upload to gutsy after the freeze is over, and after i've > fixed some more of the bugs.
Unfortunately, there is no mention about an updated package for feisty and this is a pity, since kubuntu will continue advertising a kde 3.5.7 repo with a broken kate.
To the rescue, note that you can mix the packages from the kde 3.5.7 repo with kate from the 3.5.6 repo. After you do so, apparently you get a working kate from the 3.5.6 repo happily report that it is kate 2.5.7 on kde 3.5.7.
*** Bug 130634 has been marked as a duplicate of this bug. *** *** Bug 148224 has been marked as a duplicate of this bug. *** *** Bug 144076 has been marked as a duplicate of this bug. *** *** Bug 146940 has been marked as a duplicate of this bug. *** |