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 423242 - saved filenames should be normalize for conflict
saved filenames should be normalize for conflict
Status: RESOLVED DUPLICATE of bug 421736
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.10.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
: 423245 423258 (view as bug list)
Depends on:
Blocks: 423036
 
 
Reported: 2007-03-27 07:10 UTC by Denis Jacquerye
Modified: 2009-08-05 12:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Denis Jacquerye 2007-03-27 07:10:33 UTC
When saving a file, if there's already a file existing with a canonically equivalent name, they should conflict and be considered to have the same name, i.e. ask the user to overwrite the other.

For example, a file "école" is in the working directory, and a file "école" is going to be saved. These are the same name for the user, they should be considered as such by Gnumeric.
Note: first name has <U+0065 LATIN SMALL LETTER E + U+0301 COMBINING ACUTE ACCENT>
second name has <U+00E9 LATIN SMALL LETTER E WITH ACUTE>

When saving a new file, the name should probably be normalized, NFC is probably the safest for compatibility with legacy systems.
Comment 1 Denis Jacquerye 2007-03-27 07:11:01 UTC
blocks meta bug 423036
Comment 2 Morten Welinder 2007-03-27 13:31:32 UTC
As described, I don't think we want to fix it.

The near-match could be in any path component.  In the remote-file case
it could even be for hostname.  We do not want to list files or hosts
at all levels in the path.

I think this should be fixed somewhere in the file chooser, i.e., at the
entry level.
Comment 3 Morten Welinder 2007-03-30 19:05:10 UTC
We simply use gtk_file_chooser_get_uri.

This is a gtk issue.
Comment 4 Denis Jacquerye 2007-03-30 19:14:28 UTC
*** Bug 421736 has been marked as a duplicate of this bug. ***
Comment 5 Denis Jacquerye 2007-06-08 11:42:48 UTC
*** Bug 423258 has been marked as a duplicate of this bug. ***
Comment 6 Claudio Saavedra 2008-01-09 18:14:17 UTC
*** Bug 423245 has been marked as a duplicate of this bug. ***
Comment 7 Alexandre Franke 2009-08-05 12:49:33 UTC

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