Version: v0.9.0 (using KDE 3.2.2, (testing/unstable)) Compiler: gcc version 3.3.3 (Debian 20040401) OS: Linux (i686) release 2.4.26 I would like to use kig v 0.9.0 but I find problems in saving files. any time I try to save this message appears: Kig does not support saving to any other file format than its own. Save to Kig's format instead? but I am specifying in the file type the Kig format! In any case I press yes and the file is "saved". But once the file is saved with extension .kig the program is not able to open it. It looks like as the application is not able to recognize its format. any suggestion? am I forgetting something? many thanks in advance David Merlin
> but I am specifying in the file type the Kig format! > In any case I press yes and the file is "saved". What did you specify as file name the first time you saved the file (ie when you used the Save As) ? > But once the file is saved with extension .kig the program is not able > to open it. It looks like as the application is not able to recognize > its format. Why? Are you able to see it in the Open file dialog? Could you send (even privately) the saved file?
CVS commit by pino: Fixing a small issue when saving a file with no name set. The name wasn't empty, but it contained a temp file. Luckly m_bTemp stores wheth er using a temp file. I hope this could fix #98142. CCBUG: 98142 David, could this solve your problem? M +1 -1 kig_part.cpp 1.173.2.2 --- kdeedu/kig/kig/kig_part.cpp #1.173.2.1:1.173.2.2 @@ -423,5 +423,5 @@ bool KigPart::openFile() bool KigPart::saveFile() { - if ( m_file.isEmpty() ) return internalSaveAs(); + if ( m_file.isEmpty() || m_bTemp ) return internalSaveAs(); // mimetype: KMimeType::Ptr mimeType = KMimeType::findByPath ( m_file );
OK, now it works! many thanks
> now it works! So can I close this bug?
The reported told me that his problem is effectively fixed, so I can close this bug as such.