Bug 499660

Summary: Multiple "Constants" menu entries when using the global menu in KDE
Product: [Applications] kcalc Reporter: Chloe Surett <chloe>
Component: generalAssignee: Evan Teran <evan.teran>
Status: REPORTED ---    
Severity: normal CC: gabriel.barrantes.dev, kde
Priority: NOR    
Version First Reported In: 24.12.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Example of the issue

Description Chloe Surett 2025-02-07 19:22:05 UTC
Created attachment 178057 [details]
Example of the issue

SUMMARY

If you use the global menu and use Kcalc when you switch from simple mode to any other mode and back you will get duplicated constant menu entries.


STEPS TO REPRODUCE
1. Run Kcalc with a global menu.
2. Switch from simple mode to another mode.
3. Switch back to simple mode and repeat.

OBSERVED RESULT

Multiple constants menu entries .

EXPECTED RESULT

The constants menu entry should be removed from the global menu when switching to simple mode.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.6.72-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland


ADDITIONAL INFORMATION

This behaves as intended when not using the global menu.
Comment 1 Gabriel Barrantes 2025-02-19 00:56:07 UTC
I could not reproduce, because I could not enable that menu, maybe someone else can confirm?