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 686465 - Make Link orphans the backup file of the linked file
Make Link orphans the backup file of the linked file
Status: RESOLVED WONTFIX
Product: gtksourceview
Classification: Platform
Component: File loading and saving
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2012-10-19 13:31 UTC by Ace
Modified: 2018-05-26 14:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ace 2012-10-19 13:31:26 UTC
If you create a file and work on it, a bakup file is created.
File.txt and File~.txt
Alphabetically correct for sorting purposes.

Later you Rclick it and choose 'Make Link' (for the desktop).

Using this link, you work on your file.
File.txt is updated and 'Link to file~.txt' becomes the new bakup file.
Alphabetically incorrect, and counter intuitive.

Worse.

File~.txt still exists but is no longer updated.
In icon view, it sits perfectly next to the original file, but there is no indication that it is now no longer a correct bakup.

The hard disk becomes populated with bogus bakup files.
*******
This has been discussed in forum:
http://ubuntuforums.org/showthread.php?p=12304674#post12304674
and in idea sandbox:
http://brainstorm.ubuntu.com/idea/30242/

cheesehead the brainstorm mod suggested the above issue is a bug.

mc4man suggested this code as an alternative, and it does work correctly:
[Desktop Entry]
Encoding=UTF-8
Name=Link to 44
Type=Link
URL=file:///home/doug/Desktop/44
Icon=(null)

Saved as *******.desktop
Comment 1 Cosimo Cecchi 2012-10-19 22:38:21 UTC
I think it makes sense to follow symlinks by default when opening one, before launching the application.
I now pushed a fix to git that does so, closing as fixed.
Comment 2 Ace 2012-10-22 23:22:02 UTC
(In reply to comment #1)
> I think it makes sense to follow symlinks by default when opening one, before
> launching the application.
> I now pushed a fix to git that does so, closing as fixed.

Thank you for your rapid response.

Will further testing of your fix be required?
Or will it be included in the next update?
Or is there a projected time-scale for its appearance in 'update'?
Comment 3 marc.cornella 2014-02-26 11:08:33 UTC
(In reply to comment #1)
> I think it makes sense to follow symlinks by default when opening one, before
> launching the application.
> I now pushed a fix to git that does so, closing as fixed.

This fix breaks default behaviour of Linux symbolic links, especially when following symlinks to a folder (see https://bugzilla.gnome.org/show_bug.cgi?id=702301). 
Moreover, the defined use case is vague and extremely rare to happen, and shouldn't be as a bug in nautilus when it's Linux default behaviour and opening from the console would result in the same behaviour.
OP should expand on why he/she needs this kind of behaviour using a symbolic link instead of using a plain old .desktop file.

Thanks
Comment 4 eatnut 2014-03-28 17:14:21 UTC
This is not a bug! Please revert to linux default!
Comment 5 Cosimo Cecchi 2014-05-12 22:12:39 UTC
The nautilus commit was now reverted, since it breaks a behavior many other people have relied on for a long time.

Reassigning this bug to gedit for better handling of the specific case mentioned in the first comment.
Comment 6 Sébastien Wilmet 2014-12-18 11:59:02 UTC
I confirm this is still a problem with gedit 3.14. But this is more a GtkSourceView or GIO bug.
Comment 7 Sébastien Wilmet 2018-05-26 14:02:53 UTC
It's unlikely that this feature is ever going to be implemented, so I close the bug.