Bug 460986

Summary: Dolphin should activate "Path" column when in Search mode
Product: [Applications] dolphin Reporter: Andrea Ippolito <andrea.ippo>
Component: searchAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REOPENED ---    
Severity: wishlist CC: brenbarn, felixernst, kfm-devel, natalie_clarius, nate
Priority: NOR    
Version: 22.08.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrea Ippolito 2022-10-25 14:37:19 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
The default view includes 3 columns, Name, Size and Modified.

When doing a search, however, the user is probably very interested in seeing, at a glance, where each search result is located.

For this reason I think that the Path column should be shown, if not already part of the user-selected columns, every time a search operation is initiated (i.e.search text field is displayed).

And following the same principle it should then be hidden again once the user leaves the search mode.

I'm on openSUSE TW and I think I'm on KDE Plasma 5.26.

I'm the OP of this reddit post which got some upvotes already:

https://www.reddit.com/r/kde/comments/ycy9kq/wish_dolphin_should_display_path_column_when_in/

Thanks!
Comment 1 Nate Graham 2022-10-25 17:17:48 UTC
In fact, Dolphin already does this by default and has for a few releases.

If you're not seeing it, it's probably because you've previously customized the defaults, which means you don't automatically inherit changes to the default settings.

You can manually enable the Path column while in search mode and it will be remembered.
Comment 2 brenbarn 2022-10-26 05:06:06 UTC
(In reply to Nate Graham from comment #1)
> In fact, Dolphin already does this by default and has for a few releases.
> 
> If you're not seeing it, it's probably because you've previously customized
> the defaults, which means you don't automatically inherit changes to the
> default settings.
> 
> You can manually enable the Path column while in search mode and it will be
> remembered.

Can you clarify which version this feature was introduced in?  I do not see the feature in Dolphin 21.12.3.

It's true that if I enable Path as a column in search mode, it will be "remembered", but it is "remembered" for all folder views.  What I want (and what the OP wants based on their reddit post, although it's not completely clear in the issue description) is for Path to be remembered and shown *only* in search results, but not when viewing actual directories.
Comment 3 Andrea Ippolito 2022-10-26 05:52:46 UTC
(In reply to brenbarn from comment #2)
> (In reply to Nate Graham from comment #1)
> > In fact, Dolphin already does this by default and has for a few releases.
> > 
> > If you're not seeing it, it's probably because you've previously customized
> > the defaults, which means you don't automatically inherit changes to the
> > default settings.
> > 
> > You can manually enable the Path column while in search mode and it will be
> > remembered.
> 
> Can you clarify which version this feature was introduced in?  I do not see
> the feature in Dolphin 21.12.3.
> 
> It's true that if I enable Path as a column in search mode, it will be
> "remembered", but it is "remembered" for all folder views.  What I want (and
> what the OP wants based on their reddit post, although it's not completely
> clear in the issue description) is for Path to be remembered and shown
> *only* in search results, but not when viewing actual directories.

Hi, I'm sorry if my point wasn't clearly stated, I thought that these two sentences convey the same concept you explained in your comment?

For this reason I think that the Path column should be shown, if not already part of the user-selected columns, every time a search operation is initiated (i.e.search text field is displayed).

And following the same principle it should then be hidden again once the user leaves the search mode.
Comment 4 Andrea Ippolito 2022-10-26 06:05:34 UTC
Hi again,

here are my system info:

Operating System: openSUSE Tumbleweed 20221024
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.3-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: Dell Inc.
Product Name: XPS 13 9305

I have reinstalled it last week and started with a clean home partition, so I think I should be seeing the behavior described by Nate, and yet I don't.

How can I test this the same way a KDE dev/QA would? Should I get a live image of Neon and then update every package and test?
Comment 5 Felix Ernst 2022-10-26 13:41:01 UTC
>>I think that the Path column should be shown […] every time a search operation is initiated
>   
>In fact, Dolphin already does this by default and has for a few releases.

This is not correct AFAIK. The default setting is still to use a global view setting that doesn't change unless the user changes it.

>What I want (and what the OP wants based on their reddit post,
>although it's not completely clear in the issue description) is for
>Path to be remembered and shown *only* in search results,
>but not when viewing actual directories.

If Dolphin is set to "use custom view properties per folder", the default view when using the general search functionality will include the path since https://invent.kde.org/system/dolphin/-/commit/466fa20f7faf26ef2df2453da1622e0805564140 was merged 7 month ago.

We would like to enable the "use custom view properties per folder" setting by default which would fully resolve this bug but unfortunately this would re-introduce https://bugs.kde.org/show_bug.cgi?id=322922. We have an open merge request to fix this but it currently doesn't address a regression the current state of the merge request would be introducing: https://invent.kde.org/system/dolphin/-/merge_requests/288#note_368581

If anyone is interested in fully fixing that issue, it would be quite a huge improvement to the overall Dolphin UX.

There is also this bug report which asks for the same feature: https://bugs.kde.org/show_bug.cgi?id=460187