Bug 315482 - gwenview should follow symlinks on the "copy to..." operation.
Summary: gwenview should follow symlinks on the "copy to..." operation.
Status: CONFIRMED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 4.10.0
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
: 335808 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-02-20 00:01 UTC by Thiago Jung Bauermann
Modified: 2017-10-24 19:50 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago Jung Bauermann 2013-02-20 00:01:50 UTC
When copying an image via gwenview's "Copy to..." menu option, if the file it is viewing is actually a symlink to the real file, it copies the symlink and not the image.

I use git-annex to manage my pictures, which stores the files in a git repository and keeps links to them in the working tree, so this is important since it means I can't use gwenview's copy functionality, which is very convenient, with any of my pictures (this is admitedly an uncommon workflow).

Interestingly, the "Exporto to HTML" option does follow the symlinks and work as I would expect.

Reproducible: Always

Steps to Reproduce:
1. Open a symlink to an image in gwenview.
2. Use gwenview to copy it to somewhere else.
3. Check the destination folder.
Actual Results:  
A symlink is copied.

Expected Results:  
The symlink is followed and a regular file is created in the destination folder.
Comment 1 Shlomi Fish 2015-09-14 18:51:01 UTC
See the patch to KIO here: https://git.reviewboard.kde.org/r/125227/ .
Comment 2 Nate Graham 2017-09-08 22:07:05 UTC
*** Bug 335808 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2017-09-08 22:08:06 UTC
Thanks for the patch, Shlomi! Sadly, reviewboard is gone now, recently replaced with phabricator. If your patch was never accepted, I encourage you to submit it again to http://phabricator.kde.org/! I will make sure folks see it.
Comment 4 Shlomi Fish 2017-10-13 09:34:20 UTC
(In reply to Nate Graham from comment #3)
> Thanks for the patch, Shlomi! Sadly, reviewboard is gone now, recently
> replaced with phabricator. If your patch was never accepted, I encourage you
> to submit it again to http://phabricator.kde.org/! I will make sure folks
> see it.

Hi Nate!

Please see https://phabricator.kde.org/D8274 -  note that I have problems with my right hand.