Bug 436131

Summary: Kate no longer remembers toolbar visibility
Product: [Applications] kate Reporter: S. Christian Collins <s_chriscollins>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: micrococo, nate, waqar.17a
Priority: NOR    
Version First Reported In: 21.04.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description S. Christian Collins 2021-04-24 16:24:16 UTC
SUMMARY
The previous version of Kate (20.12.3) would remember whether the toolbar was shown or hidden, but the latest version (21.04.0) does not.

STEPS TO REPRODUCE
1. Start Kate.
2. Hide the toolbar.
3. Close Kate.
4. Start Kate again.

OBSERVED RESULT
The toolbar is again visible.

EXPECTED RESULT
The toolbar should still be hidden.

SOFTWARE/OS VERSIONS

Linux: KDE neon 5.21 User Edition
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-04-27 17:29:59 UTC
Works for me FWIW.
Comment 2 micrococo 2021-05-02 14:01:05 UTC
It doesn't work for me on openSUSE Tumbleweed either.

KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Kate version: 21.04.0
Comment 3 S. Christian Collins 2021-05-08 17:59:58 UTC
After further investigation, I have determined that this bug happens with the following settings in Settings -> Configure Kate... -> Session:
 * Application Startup Behavior: Start new session
 * Session Elements -> Include window configuration: disabled

To work around, enable "Include window configuration".
Comment 4 micrococo 2021-05-09 09:21:12 UTC
(In reply to S. Christian Collins from comment #3)
> After further investigation, I have determined that this bug happens with
> the following settings in Settings -> Configure Kate... -> Session:
>  * Application Startup Behavior: Start new session
>  * Session Elements -> Include window configuration: disabled
> 
> To work around, enable "Include window configuration".

Thanks for the workaround, it works here too.
Comment 5 Waqar Ahmed 2022-01-21 21:11:03 UTC
I think it's not a work around but actual config needed to do that for sessions.