Bug 92605 - _1 is appended to the export file names from the "Export To File Dialog"
Summary: _1 is appended to the export file names from the "Export To File Dialog"
Status: RESOLVED NOT A BUG
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-02 21:09 UTC by Netterfield
Modified: 2004-11-03 02:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.