https://bugs.kde.org/show_bug.cgi?id=486656

--- Comment #3 from Igor Kushnir <igor...@gmail.com> ---
(In reply to Sven Brauch from comment #2)
> Maybe the issue here is rather that text is copied to the wrong clipboard? I
> think the expected behaviour on unix-like systems would be copying the text
> to the `QClipboard::Selection` clipboard, but instead this code uses
> `QTextEdit::copy()` which apparently copies to `QClipboard::Clipboard`.
Copying to the usual clipboard was probably intended by the author of the code
under discussion. The selection clipboard is populated automatically (as in all
other applications), even with that connection to QTextEdit::selectionChanged
commented out (just tested). Kevin Funk commented on the first review of the
feature - https://phabricator.kde.org/D5794:
> Also note: Selecting the next, then pressing the middle mouse button already 
> does work.
> This is not discoverable on other platforms than Linux though.
We don't care much about and barely support non-GNU/Linux platforms nowadays.
But selection clipboard may work only on X11, not Wayland (cannot verify
because I don't use Wayland). If it turns out that selection *does* more or
less work on Wayland, the feature (connection) could be removed or limited to
Windows and macOS.

Also just tested: with the connection commented out, Ctrl+C hides the
navigation widget and copies text that is selected in the editor, not
navigation widget. That is, if selection clipboard is unavailable, there is no
way (that I can see) to copy text from the navigation widget.

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

Reply via email to