Bug 295524 - Symbolic link to folders doesn't show original path
Summary: Symbolic link to folders doesn't show original path
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 301667 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-08 12:20 UTC by Thomas Tanghus
Modified: 2014-01-30 12:24 UTC (History)
4 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 Thomas Tanghus 2012-03-08 12:20:04 UTC
User-Agent:       Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Build Identifier: 

When hovering a symlink to a file, the path to the original file is shown in the status bar. This is not the case when hovering a symlink to a folder.

Similarly there's an inconsistency in what is shown in the tooltip. For a symlink to a folder only the name of the symlink is shown, for a symlink to a file the name of the symlink *and* the file info of the original file is shown (but not the link to the original file)

Reproducible: Always

Steps to Reproduce:
1. Hover a symlink to a folder and the hover a 'real' folder. Watch the differences in the statusbar and tooltip.
2. Do the same for a symlink to a file and a 'real' file.

Actual Results:  
As explained in the details.

Expected Results:  
When hovering a symlink to a file or a folder the statusbar should show:

Symlink name (Filetype of original, Link to: /path/to/original)

And the tooltip should show:

Symlink name
(Link to: /path/to/original)
File info from original

Kubuntu 11.10
KDE SC 4.8.1 from Kubuntu PPA.
Comment 1 Frank Reininghaus 2012-04-11 13:06:17 UTC
Thanks, I can reproduce this in the 4.8 branch.
Comment 2 Alan Prescott 2012-05-04 14:25:52 UTC
Also here in openSUSE 11.4 - Dolphin 2.0, KDE 4.8.2, release 494.

I'm sure this used to work Ok in earlier versions of Dolphin
Comment 3 Frank Reininghaus 2012-06-30 17:17:51 UTC
*** Bug 301667 has been marked as a duplicate of this bug. ***
Comment 4 Janet 2012-08-04 14:11:41 UTC
Side note:

> for a symlink to a file the name of the symlink *and* the file info of the original file is shown (but not the link to the original file)

The link to the original file is shown, I presume you just cannot see it because your window is too small and the status bar not long enough for the information: Bug 260717 (request for status bar tooltip to show truncated information or another solution).
Comment 5 Thomas Tanghus 2012-08-04 14:32:11 UTC
(In reply to comment #4)
> The link to the original file is shown, I presume you just cannot see it
> because your window is too small and the status bar not long enough for the
> information: Bug 260717 (request for status bar tooltip to show truncated
> information or another solution).

The part you quoted was about tool tips, not the status bar.
Comment 6 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:19:46 UTC
Resetting assignee to default as per bug #305719
Comment 7 Antonio Rojas 2014-01-29 19:03:14 UTC
Seems to work in 4.12
Comment 8 Thomas Tanghus 2014-01-29 20:05:32 UTC
(In reply to comment #7)
> Seems to work in 4.12

Not for folder tooltips, which used to show path to original folder; now it doesn't. Not as important as showing it in the status bar, though, so I'm happy with the current state.
Comment 9 Alan Prescott 2014-01-30 08:37:37 UTC
Just showing the folder path in tooltips isn't really good enough. I usually work in detailed view and the tooltips are huge, blocking out many of the other folder entries so I turn tooltips off in Dolphin as an unnecessary distraction.

Another point is that neither the status bar changes (for folders) nor tooltips shown when navigating with the keyboard and so far I've not spotted a way of actioning them up using a keyboard shortcut.

Although I can't speak for 4.12, the path only shows up in tooltips if the show Location option is selected in Preview.

Frankly, I find showing the source of a symlink in the status bar more useful than the actual file/folder name as (unless the name is huge) I can see the actual name under the cursor.
Comment 10 Frank Reininghaus 2014-01-30 10:04:58 UTC
(In reply to comment #7)
> Seems to work in 4.12

Yes, this has been changed recently, see

https://git.reviewboard.kde.org/r/111934/
https://git.reviewboard.kde.org/r/112106/

Thanks for the reminder!

(In reply to comment #8)
> Not for folder tooltips, which used to show path to original folder; now it
> doesn't.

That would be a Nepomuk issue (the widget that shows detailed information about files and folders in the Information Panel and in the tool tips is provided by the nepomuk-widgets library).

(In reply to comment #9)
> Another point is that neither the status bar changes (for folders) nor
> tooltips shown when navigating with the keyboard

Cannot confirm. The status bar is updated here when I navigate inside the view with the arrow keys. The tool tip stays the same though. I haven't implemented any of that code myself, but I'm not sure if tool tips are really intended to be used in connection with the keyboard. Note that a tool tip is shown if an item is hovered (not selected!) with the mouse, which is impossible to do with the keyboard.
Comment 11 Alan Prescott 2014-01-30 10:17:20 UTC
Re: status bar updates & keyboard navigation.

Here (ver: 4.11.5) the toolbar only updates for files not for folders.
Comment 12 Frank Reininghaus 2014-01-30 10:24:39 UTC
(In reply to comment #11)
> Re: status bar updates & keyboard navigation.
> 
> Here (ver: 4.11.5) the toolbar only updates for files not for folders.

Please upgrade to 4.12.x then. This is also fixed by

https://git.reviewboard.kde.org/r/112106/
Comment 13 Alan Prescott 2014-01-30 12:24:35 UTC
Upgraded to 4.12 - Sorted :-) Thanks.

I must have missed the notification that 4.12 was available from openSUSE as I usually upgrade to the upstream release when it is issued.