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

            Bug ID: 459571
           Summary: Ctrl+/ is a duplicate default shortcut for two
                    distinct actions
    Classification: Applications
           Product: kdevelop
           Version: 5.7.211202
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: All editors
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: javiercorderope...@gmail.com
  Target Milestone: ---

Created attachment 152370
  --> https://bugs.kde.org/attachment.cgi?id=152370&action=edit
Screenshot of the Configure Keyboard Shortcuts window showing how Ctrl+/ is the
default shortcut for two distinct actions.

SUMMARY
Ctrl+/ is the default shortcut for two distinct actions in KDevelop, which
results in users not being able to perform either action from shortcuts. These
actions are "Toggle Comment" and "Switch Header/Source".

STEPS TO REPRODUCE
1. Do a clean install of KDevelop
2. Open any project or document
3. Click on the code editor to focus it
4. Press Ctrl+/ shortcut

OBSERVED RESULT
A message box appears indicating "Ctrl+/" is an ambiguous shortcut and
requesting the user to go to "Settings > Configure Keyboard Shortcuts..." to
resolve the issue.

EXPECTED RESULT
"Toggle Comment" should have Ctrl+/ as its default shortcut because this is the
most widely adopted convention, used by C++ and Qt developers by default in
software such as VSCode and Qt Creator. A different shortcut or no default
shortcut should set for "Switch Header/Source".

SOFTWARE/OS VERSIONS
Linux: Fedora Linux 36, Linux kernel 5.19.10-xm1.0.fc36.x86_64
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
Customizing either action to a different shortcut results in user being unable
to replicate the issue because the program prevents duplicate shortcuts from
being assigned. The attached screenshot shows Ctrl+/ is the default shortcut
for two distinct actions but one of those actions has already been customized
to something other than the default.

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

Reply via email to