| Summary: | text-files displayed in konqueror are saved with 0 bytes | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | S. Burmeister <sven.burmeister> |
| Component: | part | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | dima, solstice.dhiver |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
S. Burmeister
2005-12-20 20:09:00 UTC
This is actually happening with every file shown in KatePart and saved with Location -> Save As. Confirmed on 3.5 r487700. This appears to work fine for me, using kde 3.5 branch. anyone? SVN commit 493211 by alund:
Don't reload during save as.
This could be the reason for following bugs:
CCBUG: 117714
CCBUG: 117690
CCBUG: 118743
but since I can't confirm either of them except by explicitly changing the encoding which produces the bugs behavior I can't be sure. I'd appreciate if any of the reporters could try the kde 3.5 branch after this commit, or try the patch.
M +1 -1 kateview.cpp
--- branches/KDE/3.5/kdelibs/kate/part/kateview.cpp #493210:493211
@@ -861,7 +861,7 @@
if( res.URLs.isEmpty() || !checkOverwrite( res.URLs.first() ) )
return SAVE_CANCEL;
- m_doc->setEncoding( res.encoding );
+ m_doc->config()->setEncoding( res.encoding );
if( m_doc->saveAs( res.URLs.first() ) )
return SAVE_OK;
I believe that I fixed this. Reopen if it still happens after updating KDE 3.5 branch or installing KDE 3.5.1 *** Bug 119728 has been marked as a duplicate of this bug. *** *** Bug 119953 has been marked as a duplicate of this bug. *** |