<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>98142</bug_id>
          
          <creation_ts>2005-01-29 12:11:15 +0000</creation_ts>
          <short_desc>saving files in kig</short_desc>
          <delta_ts>2005-04-20 16:44:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kig</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="david merlin">dmerlin</reporter>
          <assigned_to name="Pino Toscano">pino</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>308075</commentid>
    <comment_count>0</comment_count>
    <who name="david merlin">dmerlin</who>
    <bug_when>2005-01-29 12:11:15 +0000</bug_when>
    <thetext>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&apos;s format instead?

but I am specifying in the file type the Kig format!
In any case I press yes and the file is &quot;saved&quot;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>333374</commentid>
    <comment_count>1</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2005-04-11 00:59:18 +0000</bug_when>
    <thetext>&gt; but I am specifying in the file type the Kig format! 
&gt; In any case I press yes and the file is &quot;saved&quot;. 

What did you specify as file name the first time you saved the file (ie when you used the Save As) ?

&gt; But once the file is saved with extension .kig the program is not able 
&gt; to open it. It looks like as the application is not able to recognize 
&gt; its format. 

Why? Are you able to see it in the Open file dialog?
Could you send (even privately) the saved file?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>334981</commentid>
    <comment_count>2</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2005-04-16 10:55:32 +0000</bug_when>
    <thetext>CVS commit by pino: 

Fixing a small issue when saving a file with no name set.
The name wasn&apos;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 );
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>335120</commentid>
    <comment_count>3</comment_count>
    <who name="david merlin">dmerlin</who>
    <bug_when>2005-04-16 21:33:10 +0000</bug_when>
    <thetext>OK,

now it works!

many thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>335124</commentid>
    <comment_count>4</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2005-04-16 21:39:47 +0000</bug_when>
    <thetext>&gt; now it works!


So can I close this bug?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>336120</commentid>
    <comment_count>5</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2005-04-20 16:44:34 +0000</bug_when>
    <thetext>The reported told me that his problem is effectively fixed, so I can close this bug as such.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>