Summary: | Selection by words is sticky in Midnight Commander | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Lastique <andysem> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dan, nate |
Priority: | NOR | ||
Version: | 18.12.3 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/konsole/commit/e4cbfef2b5a18337b6ae787db2cc253df721e7e6 | Version Fixed In: | |
Sentry Crash Report: |
Description
Lastique
2019-05-28 22:38:00 UTC
Is this issue only visible in "mc" or also in other terminal applications, such as text editors? Technically, this is reproducible in both mc and mcedit (i.e. the file manager itself and the editor). I can't reproduce it in bare console or nano. I suspect this might be related to the fact that those don't handle mouse events and I don't have to hold Shift while selecting text. I can reproduce it with htop, which does handle mouse events. Also happens in tmux. Konsole 18.12.3. A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/655 Git commit e4cbfef2b5a18337b6ae787db2cc253df721e7e6 by Tomaz Canabrava, on behalf of Luis Javier Merino MorĂ¡n. Committed on 23/05/2022 at 10:50. Pushed by tcanabrava into branch 'master'. Allow ending wordwise select in mousetracking mode Commit e2167eb0 restricted deactivating the word-wise/line-wise selection mode to mouse presses with no modifiers. Since in mouse-tracking mode, the Shift key has to be pressed to not pass mouse events to the application running on the terminal, there was no way to end word-wise/line-wise selection mode without sending a mouse event to the application. Modify the logic so ending word-wise/line-wise selection mode is done by a LMB button press with no modifiers on non-mousetracking mode, and by a LMB button press with only the Shift modifier on mousetracking mode. M +1 -1 src/terminalDisplay/TerminalDisplay.cpp https://invent.kde.org/utilities/konsole/commit/e4cbfef2b5a18337b6ae787db2cc253df721e7e6 |