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 607287 - visibility issue is found while saving files from Save As command
visibility issue is found while saving files from Save As command
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: image viewer
2.29.x
Other opensolaris
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-01-18 10:25 UTC by Simon Jin
Modified: 2011-12-14 21:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for bug 607287 (1.45 KB, patch)
2011-10-27 10:26 UTC, Javier Sánchez Ochando
none Details | Review

Description Simon Jin 2010-01-18 10:25:55 UTC
ystem : opensolaris 2010.03
locale: es_ES.UTF-8
build: 130
platform: x86


Steps:

1) For this test case, take a screenshot and save it on the Desktop with some
name
2) Launch the file using #eog
3) From File->Save As, input a new filename and click on OK

Result: new file is created overlapping the original filename on the Desktop

High visibility issue is noticed. 

Note: Need to drag and drop the file to other location on Desktop such that the
old filename is visible

This issue only happens when try to save as picture on Desktop and it also happened on Ubuntu9.10
Comment 1 Felix Riemann 2010-01-18 17:47:33 UTC
Hmm, interesting one.

Seems to be coming from nautilus saving the icon position in the file's GVFS metadata. Need to check how the attribute can be cleared.

Btw, it only occurs if the image is unchanged and thus only copied around on disk.
Comment 2 Javier Sánchez Ochando 2011-10-27 10:26:52 UTC
Created attachment 200087 [details] [review]
Patch for bug 607287

This patch reset "metadata::nautilus-icon-position" of the target file when we copy the file without modifications.
Comment 3 Felix Riemann 2011-10-30 16:43:05 UTC
Review of attachment 200087 [details] [review]:

I thought about this fix as well, but isn't there a possible race condition with nautilus?
Couldn't it happen that nautilus shows the file already before eog comes to delete the metadata tag (meaning the file will overlay the original one in the view until it is redrawn/refreshed)?
Comment 4 Felix Riemann 2011-12-14 21:45:20 UTC
Considering that the "desktop full of icons" is no longer a part of the GNOME desktop and that there's probably no better solution around the corner we are going with this for now.

Thanks again, Javier. :)

commit ab4c398e363345b9d486c701cdb48322bfff244a
Author: Javier Sánchez <>
Date:   Thu Oct 27 12:16:27 2011 +0200

    Fixed bug 607287 - visibility issue while saving files
    
    - Reset "metadata::nautilus-icon-position" of the target file when we
      copy the file without modifications.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=607287

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.