Bug 450970

Summary: The "back" and "forth" arrows don't work like the "link bar clicks", one way double-click switch, doesnt remember paths between sessions
Product: [Applications] dolphin Reporter: Henning <boredsquirrel>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kfm-devel, nate
Priority: NOR    
Version: 21.12.2   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Henning 2022-02-28 16:45:43 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
***


STEPS TO REPRODUCE
1. Switch from the "link-view" (Verknüpfungsansicht in german) to the edit mode
2. Open a few tabs
3. Close Dolphin
4. Try to move from one tab to the parent directory using "arrow back"

OBSERVED RESULT
Dolphin shows weird behavior. Instead of moving to the parent directory, it copies the location of the Tab to the left, because it seems to not know the parent directory location.
Dolphin doesnt remember the Tab-locations, but this feature is useless anyway, it should just switch to the parent directory no matter the remembered path.

EXPECTED RESULT
The link-preview "click-functionality" (click to the parent directory on the left and you go there) works as epected.
The "back and forth arrows" dont work like that, they only move to the previous location opened in that Tab in that session. After the session has ended, this "custom location path" is forgotten, so the arrows get unusable.

Switching from edit-mode to the link-preview mode is also a pain, because the icon (☑) is completely on the right. There is no double-click feature and (it hurts to say that) Windows is easier in that point.

-------------------------------------------
So: PROBLEMS
- switching from edit-mode to link-mode doesnt work with double-click on the location bar (only one way)
- functionality of the arrows not like the link-view
- doesnt save the moves you made in a tab after session-close (but this is pretty useless anyway)
--------------------------------------------

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.10
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-30-generic (64-bit)
Graphics Platform: X11
Comment 1 Nate Graham 2022-03-21 03:19:48 UTC
I am a bit confused. You wrote:

> 3. Close Dolphin
> 4. Try to move from one tab to the parent directory using "arrow back"

What app are we using to move from one tab to the parent dierctory if Dolphin is closed?
Comment 2 Henning 2022-03-22 12:46:15 UTC
(In reply to Nate Graham from comment #1)
> I am a bit confused. You wrote:
> 
> > 3. Close Dolphin
> > 4. Try to move from one tab to the parent directory using "arrow back"
> 
> What app are we using to move from one tab to the parent dierctory if
> Dolphin is closed?

I meant close and open again
Comment 3 Nate Graham 2022-03-24 00:46:33 UTC
Thanks. I am not able to reproduce the issue, but I'm not 100% sure I've understood it. Can you please attach a screen recording that shows the issue happening?
Comment 4 Henning 2022-03-24 12:42:21 UTC
(In reply to Nate Graham from comment #3)

this only applies when you enable saving sessions, close dolphin with a set of folders and open it again

## 1. Scenario: I open a subfolder of /home
- when going back using the arrow, it clones the location of the tab to the left, instead of going to home
- when using the "click-mode", it doesnt show home, but only the ">", from which you can move to /, /home  and /home/user

Video: https://cloud.uol.de/s/Hn6TEA2japQSbQx (Password: kdebugs123)

## 2. Scenarion: The parent folder isn't /home
- the back arrow still doesnt know the parent folder and clones the directory to the left
- the "click-mode" shows the parent folder normally

Video: https://cloud.uol.de/s/D3L8JziEFtzGCKf (Password: kdebugs123)

both should be the same: clicking on the parent folder to the left and clicking on the back-arrow
Comment 5 Nate Graham 2022-03-31 19:07:29 UTC
Thank you for the videos, they were very clear.

I think there is a misunderstanding here. The back and forward buttons do not traverse levels of hierarchy in the URL field. They take you forward and back in your own browsing history.

If you want to go up a level in the current hierarchy, you can add the "Go up" button to the toolbar.