Bug 478823

Summary: Back and forward Button don't work after "Restore session"
Product: [Applications] Falkon Reporter: juanchi <juanchi.proaso>
Component: generalAssignee: David Rosca <nowrep>
Status: RESOLVED FIXED    
Severity: normal CC: jurajoravec
Priority: NOR    
Version First Reported In: 23.08.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 23.08.5
Sentry Crash Report:

Description juanchi 2023-12-21 08:25:32 UTC
SUMMARY
***
The buttons Back and Forward keep gray after restore session.

STEPS TO REPRODUCE
1. Set "Restore session" in Preferences>General
2. Keep only one tab opened.
3. Close and reopen Falkon.
4. Navigate using the that tab.

OBSERVED RESULT
The buttons Back and Forward keep gray. But the normal menu contextual menu are working well.
If another tab is opened the buttons start to working again.

EXPECTED RESULT
The buttons Back and Forward working at start.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 12

ADDITIONAL INFORMATION
Comment 1 Juraj 2023-12-21 19:02:18 UTC
Git commit 866fa8a3c4dc408bf0bebba0e9bffe12782f7480 by Juraj Oravec.
Committed on 21/12/2023 at 19:46.
Pushed by jurajo into branch 'release/23.08'.

Display correct URL in urlBar after window restore
FIXED-IN: 23.08.5

Cherry picked from: 8f64c610ce75a1110e1d265cec2b807f8239f4e9

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>

M  +1    -0    src/lib/tabwidget/tabwidget.cpp

https://invent.kde.org/network/falkon/-/commit/866fa8a3c4dc408bf0bebba0e9bffe12782f7480
Comment 2 Juraj 2023-12-21 19:08:03 UTC
Hello,
Thank you for reporting, already fixed, will be part of next release.

Backstory:
I introduced this bug in "small" window restore optimizations (20-30% time saver).