<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>478515</bug_id>
          
          <creation_ts>2023-12-14 16:39:28 +0000</creation_ts>
          <short_desc>Disabling &quot;Enable menu accelerators&quot; does not work</short_desc>
          <delta_ts>2024-11-04 20:23:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konsole</product>
          <component>general</component>
          <version>24.01.80</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>482628</dup_id>
          <see_also>https://bugs.kde.org/show_bug.cgi?id=482628</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>qt6</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jean-Francois Roy">jf</reporter>
          <assigned_to name="Konsole Bugs">konsole-bugs-null</assigned_to>
          <cc>bodertz</cc>
    
    <cc>danpaolella</cc>
    
    <cc>florian.bescher22</cc>
    
    <cc>steve_v</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2274000</commentid>
    <comment_count>0</comment_count>
    <who name="Jean-Francois Roy">jf</who>
    <bug_when>2023-12-14 16:39:28 +0000</bug_when>
    <thetext>SUMMARY

The &quot;Enable menu accelerators&quot; option in the General settings does not seem to work. It is disabled, and yet when I do Alt-F, the Konsole find panel activates instead of sending Alt-F to my shell.

You can also observe that just pressing Alt causes the underline to show up under the accelerator key/letter in the toolbar.

STEPS TO REPRODUCE
1. Disable (uncheck) &quot;Enable menu accelerators&quot; in General settings.
2. Press Alt-F in terminal (e.g. to advance the cursor in a shell).

OBSERVED RESULT

Konsole find panel appears.

EXPECTED RESULT

Alt-F sent to the shell.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Kernel Version: 6.6.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 7950X3D 16-Core Processor
Memory: 62.5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2
Manufacturer: ASUS

ADDITIONAL INFORMATION

Using Plasma 6 beta 1 via Arch Linux kde-unstable packages.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2335112</commentid>
    <comment_count>1</comment_count>
    <who name="cwo">cwo.kde</who>
    <bug_when>2024-07-05 13:45:26 +0000</bug_when>
    <thetext>*** Bug 485493 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2360858</commentid>
    <comment_count>2</comment_count>
    <who name="Steve Vialle">steve_v</who>
    <bug_when>2024-09-29 09:45:55 +0000</bug_when>
    <thetext>Still present in konsole 24.05.2 / plasma 6.1.5, renders konsole unusable for several high-profile CLI/TUI applications (emacs, mc, etc.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2371404</commentid>
    <comment_count>3</comment_count>
    <who name="flobsh">florian.bescher22</who>
    <bug_when>2024-11-02 19:40:35 +0000</bug_when>
    <thetext>Hello,

To be a bit more precise, this bug only concerns tool bar items. The menu bar accelerators are correctly disabled when the &quot;Enable menu accelerators&quot; option is unchecked.

From what I understood, this takes place in the `MainWindow::removeMenuAccelerator` method in `src/MainWindow.cpp`.
The method only modifies the accelerators for the menu bar: https://invent.kde.org/utilities/konsole/-/blob/e7cdecfb197761a885a50fa725578e939c3c740f/src/MainWindow.cpp#L192.

I tired to retrieve the actions of the tool bar to try to implement a fix but unfortunately I am very new to developping KDE apps so I don&apos;t know how to retrieve and modify them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2371785</commentid>
    <comment_count>4</comment_count>
    <who name="flobsh">florian.bescher22</who>
    <bug_when>2024-11-04 20:23:01 +0000</bug_when>
    <thetext>I think we can mark this bug as duplicate of 482628 now

*** This bug has been marked as a duplicate of bug 482628 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>