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 312346 - Proposed filename "Screenshot.png" should not have ".png" selected, like nautilus when renaming
Proposed filename "Screenshot.png" should not have ".png" selected, like naut...
Status: RESOLVED FIXED
Product: gnome-utils
Classification: Deprecated
Component: screenshot
trunk
Other Linux
: Normal enhancement
: ---
Assigned To: Jonathan Blandford
gnome-utils Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-08-02 12:45 UTC by Nigel Tao
Modified: 2006-02-14 14:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
An implementation of the feature request (1.43 KB, patch)
2005-08-02 12:48 UTC, Nigel Tao
none Details | Review

Description Nigel Tao 2005-08-02 12:45:26 UTC
When launching gnome-screenshot, it pops up a dialog with a GtkEntry where I can
enter the filename to save to.  In my locale, this is "Screenshot.png" by
default (or "Screenshot-[window title].png").

However, the entire "Screenshot.png" is selected, whereas if I want to rename it
(as is often the case), then only "Screenshot" and not the ".png" should be
selected.  (i.e., feature request is to copy how nautilus behaves when you try
to rename a file using F2)
Comment 1 Nigel Tao 2005-08-02 12:48:45 UTC
Created attachment 50128 [details] [review]
An implementation of the feature request

The (small) patch could probably be 1 or 2 lines shorter if it used the
function eel_filename_get_rename_region, although this would pull in eel as a
new dependency.
Comment 2 Teppo Turtiainen 2005-08-03 17:59:59 UTC
Seems reasonable. Confirming.
Comment 3 Emmanuele Bassi (:ebassi) 2006-02-14 14:32:14 UTC
fixed in HEAD.

2006-02-14  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	* screenshot-dialog.c (screenshot_dialog_new): select just the name
	of the file but not its extension (closes bug #312346).