https://bugs.kde.org/show_bug.cgi?id=509975
Bug ID: 509975
Summary: Clipboard interferes with gtk entry completion,
causing unintentional acceptance of inline suggestion
Classification: Plasma
Product: plasmashell
Version First 6.4.5
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Clipboard widget & pop-up
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
Created attachment 185307
--> https://bugs.kde.org/attachment.cgi?id=185307&action=edit
Video showing the issue
SUMMARY
The clipboard somehow interferes with (gtk) entry fields, resulting in
premature/unprompted acceptance of gtk autocomplete suggestions. I can reliably
reproduce this in multiple applications (e.g. GTK file open dialog, nemo file
manager path input field). Erasing the clipboard history or disabling it
entirely makes the issue go away
STEPS TO REPRODUCE
1. Enable the clipboard thingy, and copy some text.
2. Open a GTK application that has a field which supports auto completion. I
use nemo in the video, you could also use the GTK file chooser dialog (Ctrl+L
to enter a path).
3. Start typing a file path, which does exist, and has at least a couple
characters unique compared to other files in the same directory (so that the
inline completion will trigger).
4. Keep typing in the path, at some point the inline completion suggestion will
show up. It will fill in the rest of the path for you, but the part it filled
in will be selected, so that any new characters you type replace the selection.
5. Continue typing the path without accepting the suggestion using the Tab key.
6. At some point, the suggestion will be accepted for you, the cursor moves
forward and the text is unselected.
If it doesn't immediately occur, try it again a couple times. Try giving it a
bit of speed too.
7. Erase the entire clipboard history, and try the whole process again. The
problem goes away and the suggestion won't be accepted as long as you don't
press the Tab key.
* See also the video
IMPACT
You try to type a path like "~/.local". Midway through typing it the inline
suggestion is accepted against your wishes, and you end up with "~/.local/al".
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
--
You are receiving this mail because:
You are watching all bug changes.