https://bugs.kde.org/show_bug.cgi?id=480176
            Bug ID: 480176
           Summary: Return key to accept auto complete breaks text input
                    for some languages
    Classification: Applications
           Product: kate
           Version: 23.08.4
          Platform: Flatpak
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: e...@horse64.org
  Target Milestone: ---

SUMMARY

The return key being the shortcut to use to pick an auto-complete choice
potentially breaks text input in all languages where there is no line
terminator and not commonly a closing bracket at the end of each line, because
typing a partial match of what is also offered as an auto-complete entry and
pressing enter to go to the next line is indistinguishable to intending to pick
the auto-complete. Affected languages are for example Lua and Python. For these
languages it should be possible both for the user to manually switch the
auto-complete confirm shortcut to something compatible like the common choice
of tab or shift+space or something like that, and for a language XML as
specified for the katepart syntax highlighting to say that this language can't
be inputted without bigger issues with return key triggering auto-complete,
such that then kate defaults to something else. Otherwise, the experience would
be broken out of the box.

STEPS TO REPRODUCE

1. Open Settings > Configure Kate...
2. Click "Editing" tab
3. Click "Auto-completion"
4. Check for any way to change the auto complete confirm shortcut that picks a
choice from the popup
5. Close settings
6. Open Settings > Configure Keyboard Shortcuts
7. Enter search term "complet" (no "e" so it still matches e.g. completion)
8. Check for any way to change the auto complete confirm shortcut that picks a
choice from the popup

OBSERVED RESULT

1. there appears to be no way to change the auto-complete confirm shortcut by
the user
2. there appears to be also no way to change it via the kate-part
syntax-highlighting XML as a default for all users of that language

EXPECTED RESULT

both of the things listed in "observed result" are possible

SOFTWARE/OS VERSIONS

Windows: 
macOS: 
Linux/KDE Plasma: openSUSE Slowroll
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION

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

Reply via email to