After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 94364 - automatic filename incrementor in 'save as'
automatic filename incrementor in 'save as'
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
unspecified
Other All
: Normal enhancement
: Small feature
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-09-27 14:00 UTC by Jakub Steiner
Modified: 2012-10-09 15:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add basic renaming stuff in the contextual menu of the filechooser entry (8.34 KB, patch)
2010-08-26 22:15 UTC, Laurent Wan
none Details | Review

Description Jakub Steiner 2002-09-27 14:00:49 UTC
Blender has a nice feature when saving files. In the save as dialog, when
you press '+', the filename appends/increments a number. Pressing '-'
decrements/removes the number.

example:

pressing '+' would
filename.xcf -> filename1.xcf
filename1.xcf -> filename2.xcf

etc
Comment 1 Alan Horkan 2003-07-23 18:40:33 UTC
Changes at the request of Dave Neary on the developer mailing list.  
I am changing many of the bugzilla reports that have not specified a target
milestone to Future milestone.  Hope that is acceptable.  
Comment 2 Alan Horkan 2003-07-30 17:16:09 UTC
Might be better to mention this to the Developers of the Next
Generation File selector for GTK (Owen Taylor?).  Tempted to move this
bug to the GTK Product in bugzilla.  

There are other places in the GIMP where this general increment number
in filename functionality would be useful
http://bugzilla.gnome.org/show_bug.cgi?id=101901
Comment 3 Sven Neumann 2005-07-26 15:00:08 UTC
I don't think we even have a chance to implement this feature in GIMP. We would
either have to implement it outside the file-selector (provide some way of
working with a sequence of images) or GTK+ would have to do it. Since this
report explicitely asks for this feature in the save dialog, I am going to
reassign it to GTK+.
Comment 4 Federico Mena Quintero 2006-04-13 01:54:36 UTC
This sounds like overkill for a very particular kind of application.

We could probably have an "increment file name" command in the entry's contextual menu.  I'll be happy to review a patch for that :)
Comment 5 Laurent Wan 2010-08-26 22:15:12 UTC
Created attachment 168848 [details] [review]
add basic renaming stuff in the contextual menu of the filechooser entry

Hi,

Here is a try to add the requested functionnality.

It seems that we could have a lot more of nice convenient "transform" functions which could take the filename and make something else with it.

To give a insight of this i added a ASCIIfy and a truncate to 20 character len item in the contextual menu.

This patch is against 2.20.1
Comment 6 Federico Mena Quintero 2012-10-09 15:59:17 UTC
Closing as wontfix.  Sorry; this feature seems too add very little value.  If we ever move the file chooser to having extension points, this would be nice to add that way - but not now.