Version: (using KDE KDE 3.5.0) Installed from: SuSE RPMs OS: Linux Display the following CSS-file with konqueror. Save it using the "Save As..." entry from the menu on the Desktop. For me it is always saved with 0 bytes. http://www-users.rwth-aachen.de/karman/pool/karman-screen.css
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. ***