https://bugs.kde.org/show_bug.cgi?id=526079

            Bug ID: 526079
           Summary: Ambiguous "Esc" shortcut / duplicate "Close Current
                    Tab" action when previewing .md files (markdownpart)
    Classification: Applications
           Product: krusader
      Version First 2.9.0
       Reported In:
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: shortcuts
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 196444
  --> https://bugs.kde.org/attachment.cgi?id=196444&action=edit
Dialog

SUMMARY
  Related to bug 468101 ("There are two actions (Quit, Close Current Tab) that
want
  to use the same shortcut (Esc)"), which was closed as WORKSFORME for lack of
a
  reliable reproduction. I can reproduce this reliably and consistently.

  It happens exclusively when previewing a .md file in Krusader's built-in
viewer
  via markdownpart — never with any other file type previewed in Krusader. 

  STEPS TO REPRODUCE
  1. Open Krusader
  2. Select a .md file and preview it (F3), so it renders via markdownpart
  3. Press Esc

  OBSERVED RESULT
  Two dialogs can appear (screenshots attached), neither dismissable with Esc
itself
  (only via mouse click on OK):
  1. "There are two actions (Close Current Tab, Close Current Tab) that want to
use
     the same shortcut (Esc). This is most probably a bug. Please report it in
     bugs.kde.org."
  2. "The key sequence 'Esc' is ambiguous. Use 'Configure Keyboard Shortcuts'
from
     the 'Settings' menu to solve the ambiguity. No action will be triggered."

  EXPECTED RESULT
  Esc should behave consistently, same as with every other file type previewed
in
  Krusader.

  ADDITIONAL INFORMATION
  - In Settings > Configure Shortcuts, "Close Current Tab" is bound to Ctrl+W
and
    Ctrl+Esc only — NOT to plain Esc. Closing tabs via those shortcuts, or the
mouse,
    works fine.
  - No custom/duplicate Esc shortcuts exist in ~/.config/kdeglobals or
    ~/.config/krusaderrc — this is not a local shortcut misconfiguration.
  - This only occurs with .md files (markdownpart). Other file types previewed
via
    Krusader's viewer do not trigger this.
  - Likely cause: markdownpart merges a hidden/duplicate "Close Current
Tab"-style
    action bound to Esc into the GUI only while its preview is active,
colliding
    with Krusader's own tab-close action (which is otherwise on
Ctrl+W/Ctrl+Esc).

  ENVIRONMENT
  - Krusader: 2.9.0 (2:2.9.0-2build2, Ubuntu package)
  - markdownpart: 25.12.3-0ubuntu1
  - OS: Ubuntu 26.04.1 LTS (Kubuntu), Plasma 6.6.6
  - Kernel: Linux 7.0.0-31-generic

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to