Bug 503254

Summary: Dolphin does not correctly apply menubar visibility
Product: [Applications] dolphin Reporter: Anton Smirnov <sandfox+kde>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: john.kizer, kfm-devel
Priority: NOR    
Version First Reported In: 25.04.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Anton Smirnov 2025-04-23 21:37:57 UTC
SUMMARY

Main menu visibility option seems to be correctly saved but the menu itself is always hidden on start

Looks like an inverse of https://bugs.kde.org/show_bug.cgi?id=492298

STEPS TO REPRODUCE
1.  Start Dolphin
2.  Enable main menu bar by a shortcut or by an option in a hamburger menu
3.  Main menu is correctly shown
4. Restart Dolphin
5. Main menu is not shown but the option appears checked
6. Select the option again
7. Main menu is correctly shown but the option becomes unchecked
8. Restart Dolphin
9. goto 1

OBSERVED RESULT

Main menu is always hidden on start and can be in an inverse state to the option selected

EXPECTED RESULT

Main menu is shown or hidden according to the selected option

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 42 / Wayland
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
Comment 1 Anton Smirnov 2025-04-23 21:40:37 UTC
https://bugs.kde.org/show_bug.cgi?id=361788 also looks related
Comment 2 John Kizer 2025-04-24 18:29:00 UTC
Hi - just checking, if you close Dolphin, rename your ~/.config/dolphinrc file to something else, then restart, does the issue still occur?
Comment 3 Anton Smirnov 2025-04-24 18:57:47 UTC
If you were hoping for my dolphinrc, I removed it accidentally while checking, sorry.

The behavior changes to be like #492298, on launch the main menu is shown whatever the config says

no dolphinrc: Menu is shown, option unchecked
the checkbox works in counter-phase, the actual interface state, not checkbox is written to the config

dolphinrc, no menu disabled option: option checked
the checkbox and the config work as expected

dolphinrc, MenuBar=Disabled: like no dolphinrc
Comment 4 John Kizer 2025-04-25 04:16:42 UTC
Thanks! It looks like the same underlying issue must connect this and https://bugs.kde.org/show_bug.cgi?id=492298 , so I think it would help to merge them and consolidate information there.

*** This bug has been marked as a duplicate of bug 492298 ***