Bug 457962 - go-up in file browser not going one level up
Summary: go-up in file browser not going one level up
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: File Browser (other bugs)
Version First Reported In: 2.9.71
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: kf5
Assignee: Amarok Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-16 15:07 UTC by empyreal
Modified: 2024-10-20 17:57 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description empyreal 2022-08-16 15:07:09 UTC
//  Keyboard shortcut for going back one level
QAction *action = new QAction( QIcon::fromTheme( QStringLiteral("go-up") ), i18n( "Go Up in Media Sources Pane" ),
                                  m_mainWidget );
But this shortcut do not go one level up. It works like "home" in file browser jumping straight to categories.
Going one level down we have - Enter key but going one level up is missing.
Could this shortcut be made go level up 1 folder?
For example: /folder1/folder2/folder3
1. Backspace => /folder1/folder2/
2. Backspace => /folder1/
3. Backspace => categories list (Local Music, Internet etc)
I found that it may be realized like in Dolpin backAction->setEnabled(index < urlNavigator->historySize() - 1) but I don't know how to make it in Amarok because my qt knowledge is almost zero.
Comment 1 empyreal 2022-08-17 20:29:10 UTC
Keyboard shortcut for going back one level works properly in Playlists tree, but in FileBrowser - no way.
Categories => Enter -=> Playlists => Enter => Saved Playlists => Backspace => Backspace => Categories
Comment 2 Tuomas Nurmi 2024-10-20 17:57:38 UTC
I think this didn't work earlier, but does now. Got probably fixed by https://invent.kde.org/multimedia/amarok/-/commit/e1debfcaba306c8cb82365659cb2db645619d24a as the relevant button is now available in the shown toolbar.