Bug 92605

Summary: _1 is appended to the export file names from the "Export To File Dialog"
Product: [Applications] kst Reporter: Netterfield <netterfield>
Component: generalAssignee: kst
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Netterfield 2004-11-02 21:09:07 UTC
Version:           1.0.0_pre1 (using KDE 3.3.0, Gentoo)
Compiler:          gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
OS:                Linux (i686) release 2.6.8-gentoo-r3

When exporting to a graphics file to , eg, a png, a '_1.png' is appended to the file name.  Just '.png' should be appended.
Comment 1 George Staikos 2004-11-02 21:13:29 UTC
On Tuesday 02 November 2004 15:09, netterfield@astro.utoronto.ca wrote:
> When exporting to a graphics file to , eg, a png, a '_1.png' is appended to
> the file name.  Just '.png' should be appended.

   This is explicitly done in kst.cpp:immediatePrintToPng()

Comment 2 Andrew Walker 2004-11-02 21:20:08 UTC
The _1 is appended so that if you are saving multiple 
windows they each have a unique name.

-----Original Message-----
From: netterfield@astro.utoronto.ca
[mailto:netterfield@astro.utoronto.ca]
Sent: Tuesday, November 02, 2004 12:09 PM
To: kst@kde.org
Subject: [Kst] [Bug 92605] New: _1 is appended to the export file names
fromthe "Export To File Dialog" 


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
        
http://bugs.kde.org/show_bug.cgi?id=92605        
           Summary: _1 is appended to the export file names from the "Export
                    To File Dialog"
           Product: kst
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: netterfield astro utoronto ca


Version:           1.0.0_pre1 (using KDE 3.3.0, Gentoo)
Compiler:          gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
OS:                Linux (i686) release 2.6.8-gentoo-r3

When exporting to a graphics file to , eg, a png, a '_1.png' is appended to the file name.  Just '.png' should be appended.
_______________________________________________
Kst mailing list
Kst@kde.org
https://mail.kde.org/mailman/listinfo/kst

Comment 3 Andrew Walker 2004-11-03 01:57:11 UTC
This works as I would expect. If you opt for "Active Window only" then it saves to the requested file without appending _1. If you opt for "All" then it saves to the requested file after appending _1. I think we should leave this as is, else when you open a second window you'll save the original window to a new file - which is not intuitive. The 92604 fix has now set the default to "Active Window only"

Unless I hear otherwise I will withdraw this bug.
Comment 4 Netterfield 2004-11-03 02:01:16 UTC
With the default change, I agree for now.  Go ahead.

cbn

On November 2, 2004 07:57 pm, Andrew Walker wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=92605
>
>
>
>
> ------- Additional Comments From arwalker sumusltd com  2004-11-03 01:57
> ------- This works as I would expect. If you opt for "Active Window only"
> then it saves to the requested file without appending _1. If you opt for
> "All" then it saves to the requested file after appending _1. I think we
> should leave this as is, else when you open a second window you'll save the
> original window to a new file - which is not intuitive. The 92604 fix has
> now set the default to "Active Window only"
>
> Unless I hear otherwise I will withdraw this bug.
> _______________________________________________
> Kst mailing list
> Kst@kde.org
> https://mail.kde.org/mailman/listinfo/kst

Comment 5 Andrew Walker 2004-11-03 02:11:13 UTC
Works as expected.