Bug 486649

Summary: Clicking links not remembered in navigation history
Product: [Applications] khelpcenter Reporter: Grósz Dániel <groszdanielpub>
Component: generalAssignee: Documentation Editorial Team <kde-doc-english>
Status: CONFIRMED ---    
Severity: normal CC: antti.savo
Priority: NOR    
Version: 6.0.24022   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Grósz Dániel 2024-05-05 22:53:06 UTC
SUMMARY
Clicking a link on a help page doesn't get remembered in the navigation history (Back, Forward buttons).

STEPS TO REPRODUCE
1. Open KHelpCenter from an application's help menu (e.g. Help/Kate Handbook), or open the application and open a manual in it. For now, the Back button is disabled.
2. Click a link on the help page.

OBSERVED RESULT
The Back button remains disabled.

EXPECTED RESULT
The Back button is enabled, and it can be used to navigate back to the previous page.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240503
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-1-default (64-bit)
Graphics Platform: X11
Comment 1 Grósz Dániel 2024-05-05 23:15:31 UTC
I guess this may be the regressions discussed under Bug 484176 and https://invent.kde.org/system/khelpcenter/-/merge_requests/46, and perhaps already fixed?

If so, I'm not opening separate reports for the other issues I've found related to navigation:
- After switching between help pages via the Contents sidebar, using the Back or Forward buttons switches which page is highlighted on the sidebar, but not what is opened in the actual help page viewer. Especially after jumping between pages in the same application's manual, or applications in the same category, as opposed to pages in different categories.
- Also, after using Back multiple times, then Forward multiple times, sometimes some pages in the history are forgotten.
- No history menu is shown when clicking the arrow next to the Back or the Forward button.
Comment 2 Antti Savolainen 2024-08-26 15:11:14 UTC
Related to this bug, the back and forward buttons do nothing. You can click on "Table of Contents" to enable the back button, but clicking on the button does nothing.