Bug 1756375

Summary: cannot paste into Qt5 apps by middle click
Product: [Fedora] Fedora Reporter: Nerijus Baliūnas <nerijus>
Component: qt5Assignee: Rex Dieter <rdieter>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: helio, jone1941, maarten.14C, mkelly, rdieter
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-25 17:08:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nerijus Baliūnas 2019-09-27 13:34:03 UTC
It is not possible to paste selected text by middle mouse click into Qt5 apps, for example, kwrite. It is possible into gedit for example.

Comment 1 Nerijus Baliūnas 2019-09-28 13:48:20 UTC
Pasting works on Xorg, but not on Wayland.

Comment 2 Nerijus Baliūnas 2019-11-08 16:46:43 UTC
Pasting also works if I start application with env QT_QPA_PLATFORM=xcb.

Comment 3 Matt Jones 2019-11-08 17:01:24 UTC
Thanks, adding that env var was a great temporary workaround for me.

Comment 4 Rex Dieter 2019-11-08 22:57:39 UTC
Indeed, Qt5 does not yet support gnome's primary selection protocol yet,
https://bugreports.qt.io/browse/QTBUG-66008

Comment 5 Rex Dieter 2019-11-08 22:58:26 UTC
*** Bug 1770057 has been marked as a duplicate of this bug. ***

Comment 6 Rex Dieter 2019-11-08 22:59:51 UTC
Will come with Qt-5.14 (or newer)

Comment 7 Nerijus Baliūnas 2023-04-25 17:08:43 UTC
Works on Fedora 38 with Wayland too.