Summary: | Double-click to copy, then leaving konsole tab quickly (using keyboard?), does not copy text | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Andreas Hartmetz <ahartmetz> |
Component: | copy-paste | Assignee: | Matan Ziv-Av <matan> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/konsole/commit/b238fb29cf9fe061df8c79b07f5126346bff9c88 | Version Fixed In: | |
Sentry Crash Report: |
Description
Andreas Hartmetz
2022-12-20 14:47:56 UTC
Correction: Shift-left/right arrow, not Ctrl-left/right arrow (the default IIRC) Another way to reproduce: double-click to copy something from "git log", then quickly close the git log with q. Also doesn't copy. A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/793 (In reply to Bug Janitor Service from comment #3) > A possibly relevant merge request was started @ > https://invent.kde.org/utilities/konsole/-/merge_requests/793 That one seems to fix it, thanks! Ah well, there's another thing: double-click to select quickly followed by middle click to paste pastes the selection from before the immediately preceding double-click. (In reply to Andreas Hartmetz from comment #5) > Ah well, there's another thing: double-click to select quickly followed by > middle click to paste pastes the selection from before the immediately > preceding double-click. I believe that the updated MR 793 should now handle this, both if the triple click is in the same konsole, or in another. A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/799 Git commit b238fb29cf9fe061df8c79b07f5126346bff9c88 by Andreas Hartmetz, on behalf of Matan Ziv-Av. Committed on 08/02/2023 at 15:56. Pushed by ahartmetz into branch 'master'. Fix bug in double-click selection A bug introduced in 0752cf3d prevents copying selection to clipboard if a key is pressed a short time after a double click. This is avoided by: - Do not exit selection mode in the time interval between a double click and a (potential) third click. - Save the selection text on a double click, and copy the saved text, rather than the current selection if no third click at the end of the triple click interval. M +31 -15 src/terminalDisplay/TerminalDisplay.cpp M +3 -1 src/terminalDisplay/TerminalDisplay.h https://invent.kde.org/utilities/konsole/commit/b238fb29cf9fe061df8c79b07f5126346bff9c88 |