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 349147 - Editing a file in a non-existent folder gives unintuitive error messages
Editing a file in a non-existent folder gives unintuitive error messages
Status: RESOLVED DUPLICATE of bug 346354
Product: gedit
Classification: Applications
Component: general
2.14.x
Other All
: Normal minor
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-29 06:50 UTC by Porges
Modified: 2006-10-16 14:45 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Porges 2006-07-29 06:50:23 UTC
As an example, open gedit to a (non-existent) file in a non-existent folder and hit 'save':
> ~$ gedit non-existant-folder/file
> ** (gedit:12029): WARNING **: Hit unhandled case 1 (File not found) in gedit_unrecoverable_saving_error_message_area_new.

While the GUI gives:
> Could not save the file /home/porges/non-existant-folder/file.
> Unexpected error: File not found

This needs to be a more informative message. Perhaps even give the user to option to create the folder?

Other information:
Comment 1 Craig Keogh 2006-08-06 03:35:53 UTC
Current cvs says:

"Could not find the file /home/ra/ra/ra.txt.

Please, check that you typed the location correctly and try again."


Is that better?

(BTW, the comma after Please shouldn't be there)
Comment 2 Porges 2006-08-06 21:34:14 UTC
Perhaps add in an additional check to say "the folder you're trying to save in doesn't exist" or something similar? The more helpful the message, the better :)
Comment 3 André Klapper 2006-10-16 14:45:20 UTC

*** This bug has been marked as a duplicate of 346354 ***