Summary: | Selecting text copies to clipboard twice with double-click | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Roy Orbitson <roy-orbitson> |
Component: | copy-paste | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | joshuataylorx |
Priority: | NOR | ||
Version: | 22.08.3 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/konsole/commit/f68f7f7cffb13fdf71a352c45e9c2f07ae11b26b | Version Fixed In: | |
Sentry Crash Report: |
Description
Roy Orbitson
2022-11-28 03:44:19 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/777 Git commit f68f7f7cffb13fdf71a352c45e9c2f07ae11b26b by Kurt Hindenburg, on behalf of Luis Javier Merino MorĂ¡n. Committed on 18/12/2022 at 22:58. Pushed by hindenburg into branch 'master'. Only set X11 selection on mouse release Since the beginning of time, konsole has been setting the X11 selection on mouse release, on double click, and on triple click. This results in intermediate entries being created on klipper, e.g. for double click you get the initial word, and the final selection when you eventually release the mouse button. Note we still will get an intermediate entry on triple click (double click release), but we still prevent one intermediate entry (triple click entry) on that case. M +5 -5 src/terminalDisplay/TerminalDisplay.cpp M +1 -1 src/terminalDisplay/TerminalDisplay.h https://invent.kde.org/utilities/konsole/commit/f68f7f7cffb13fdf71a352c45e9c2f07ae11b26b Hi The problem with this is that middle click no longer copies the selection, resulting in a weirdness of copy/pasting. I'm not sure how to describe it in words, but the copying seems to be behind a click or two when using middle mouse button? https://i.imgur.com/ZMRB2fh.gif I figured out what's causing it - https://invent.kde.org/utilities/konsole/-/merge_requests/805 A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/808 |