Bug 429270 - Return to view when clicking on sidebar item even if currently viewing a child item of that view
Summary: Return to view when clicking on sidebar item even if currently viewing a chil...
Status: RESOLVED FIXED
Alias: None
Product: Elisa
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
: 434697 471520 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-11-18 00:18 UTC by ivan.planinar
Modified: 2023-06-29 12:08 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 23.08
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivan.planinar 2020-11-18 00:18:44 UTC
SUMMARY

For the sake of simplicity I will talk about Artists, but the same applies to other categories too.

After searching for your artist, if you want to quickly 'reset' the view and display all artists again, you cannot do it by double clicking Artists in a category. Nothing will happen. You have to use the left arrow, but it's a two or three step process AND it will take you back to your search results.

STEPS TO REPRODUCE
1. Choose Artists
2. Let's say we search for Mike Oldfield. He appears on the list.
3. Click on the artist and now songs/albums will appear. Click.
4. Say we want to go back, reset the Artist view and pick someone else. Selecting 'Artists' category or double clicking will produce no results.


OBSERVED RESULT

Elisa keeps the searched artist and going back is a process of several steps. The easiest workaround so far is to select something else (e.g. Tracks) and go back.

EXPECTED RESULT

Once I click or double click on the Artists I expect Elisa to show full list, regardless of my previous searching or whatever I was doing.


Versions: Elisa git master, latest KDE, Arch Linux.
Comment 1 Nate Graham 2020-11-18 21:12:12 UTC
So you would like to be able to click on the sidebar entry to go back? Seems reasonable.

FWIW there is a back button in the toolbar that you can click on to go back.
Comment 2 ivan.planinar 2020-11-18 21:17:51 UTC
(In reply to Nate Graham from comment #1)
> So you would like to be able to click on the sidebar entry to go back? Seems
> reasonable.
> 
> FWIW there is a back button in the toolbar that you can click on to go back.

Yes, but that back button doesn't move you straight to the full list.
It moves you one step at a time, to where you actually did the search.

I think double clicking on any of the items in the sidebar entry should 'reset' the list and show default, regardless of what the user did.

Thanks!
Comment 3 Nate Graham 2020-11-18 21:56:38 UTC
If we're gonna do this, even just single-clicking should do it. That's typically hos other sidebar lists behave.
Comment 4 ivan.planinar 2020-11-18 22:02:07 UTC
(In reply to Nate Graham from comment #3)
> If we're gonna do this, even just single-clicking should do it. That's
> typically hos other sidebar lists behave.

No problem with me. :-) Thumbs up!
Comment 5 Nate Graham 2021-03-21 12:40:56 UTC
*** Bug 434697 has been marked as a duplicate of this bug. ***
Comment 6 Bug Janitor Service 2023-04-11 11:51:18 UTC
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/elisa/-/merge_requests/438
Comment 7 Jack Hill 2023-04-11 15:37:35 UTC
Git commit 07a7975bbb067f2e7bed2c2046c234816bec0e0c by Jack Hill.
Committed on 11/04/2023 at 11:50.
Pushed by ngraham into branch 'master'.

Always open view when sidebar item is clicked

Previously we would not allow this if a child item of that view was open.

M  +2    -2    src/qml/ContentView.qml
M  +1    -11   src/qml/ViewSelector.qml

https://invent.kde.org/multimedia/elisa/commit/07a7975bbb067f2e7bed2c2046c234816bec0e0c
Comment 9 Jack Hill 2023-06-29 12:08:19 UTC
*** Bug 471520 has been marked as a duplicate of this bug. ***