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 563763 - save as "overwrite" dialog gets memory junk instead of file name
save as "overwrite" dialog gets memory junk instead of file name
Status: RESOLVED DUPLICATE of bug 562691
Product: gedit
Classification: Applications
Component: general
2.24.x
Other Linux
: Normal major
: ---
Assigned To: Gedit maintainers
Gedit maintainers
: 563972 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-12-08 20:58 UTC by Czirkos Zoltan
Modified: 2008-12-11 11:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
screenshot (in hungarian, but i guess language does not matter) (16.43 KB, image/png)
2008-12-08 20:59 UTC, Czirkos Zoltan
Details
does not show anything at the filename, LC_ALL=C (24.89 KB, image/jpeg)
2008-12-09 19:55 UTC, Czirkos Zoltan
Details

Description Czirkos Zoltan 2008-12-08 20:58:13 UTC
when doing file|save as, and selecting an existing file, the overwrite dialog shows nothing or rubbish as filename. this also crashed gedit once for me.
Comment 1 Czirkos Zoltan 2008-12-08 20:59:47 UTC
Created attachment 124207 [details]
screenshot (in hungarian, but i guess language does not matter)
Comment 2 Bruno Boaventura 2008-12-08 23:18:49 UTC
I can't reproduce this using gedit 2.24.2.
Does it happen every time? Or just for a especific file?
Comment 3 Czirkos Zoltan 2008-12-09 06:55:33 UTC
Every time, for every file name. It is the latest ubuntu 8.10 .deb-packaged release (2.24.2-0ubuntu1), they patched it for some reason? I will check the launchpad buzilla. Thanks!
Comment 4 Bruno Boaventura 2008-12-09 11:13:20 UTC
I tried Ubuntu 8.10 too and I can't reproduce this. Can be a problem only with hungarian language. Can you test it with others languages?
Comment 5 Czirkos Zoltan 2008-12-09 19:55:47 UTC
Created attachment 124301 [details]
does not show anything at the filename, LC_ALL=C
Comment 6 Czirkos Zoltan 2008-12-10 19:18:06 UTC
More info: it works correctly, if you click save as, and double-click on an existing file. But if you type the name of an existing file (or leave the old file name there) and click "save", the problem arises. So you have to use the "save" button in the save as dialog.
Comment 7 Bruno Boaventura 2008-12-11 10:53:02 UTC
*** Bug 563972 has been marked as a duplicate of this bug. ***
Comment 8 Bruno Boaventura 2008-12-11 10:55:22 UTC
Information from http://bugzilla.gnome.org/show_bug.cgi?id=562691 :

Please describe the problem:
funny character displayed by gedit message window about the file already
existing.  This window contains strange characters.  These strange characters
seem to change each time the 'Save As' menu item is selected for the file.

My current directory is /home/wt/Desktop
I created an empty text file using the method defined below:
  1. right click mouse button on Desktop
  2. select Create Document>Empty File
  3. name the empty file 'test.txt'

Once the empty file is created, left click on 'test.txt'. Gedit will be loaded
for the file.
enter something in file.
select File>Save As...using the same file name.
click Save

A message window pops up with the message below. What's not shown for '&i.txt'
is a number of strange characters that could not be entered here.

A file named "\Uffffffff\u0612(`S" already exists.  Do you want to replace it?
The file already exists in "Desktop".  Replacing it will overwrite its
contents.

NOTE: the strange characters seem to change each time the "Save As" feature is
used.
Comment 9 Bruno Boaventura 2008-12-11 11:05:03 UTC
Czirkos, I'll close this report as duplicated, and we'll talk about this issue using http://bugzilla.gnome.org/show_bug.cgi?id=562691 , which is older than this report. I have CCed you there.



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