Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1957503 - Right click empties the clipboard on Qt 5 applications
Summary: Right click empties the clipboard on Qt 5 applications
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: qt5-qtwayland
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1954181 (view as bug list)
Depends On:
Blocks: qt-wayland-issues-tracker
TreeView+ depends on / blocked
 
Reported: 2021-05-05 21:41 UTC by Otto Urpelainen
Modified: 2021-05-28 07:19 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Qt Bug Tracker QTBUG-93474 0 None None None 2021-05-28 07:19:42 UTC

Description Otto Urpelainen 2021-05-05 21:41:39 UTC
Description of problem:

When using Gnome on Wayland, right click empties the clipboard. Only happens when the clipboard was filled from different application than the target.

The clipboard still has its original content visible for other applications, and can be made work again for the Qt application as well by moving it out of focus and back in.
Version-Release number of selected component (if applicable):

How reproducible:

Always on Octave, KeePassXC and an artificial minimal reproducer

Steps to Reproduce:
1. Open a Qt 5 application, for example Octave
2. Copy some text to clipboard from another application
3. Paste it to the Qt 5 application with Ctrl-V, observe success
4. Right click on the Qt 5 application
5. Attempt Ctrl-V paste again

Actual results:
Nothing happens

Expected results:
Copied text is pasted to the Qt 5 application

Additional info:
Report in Qt tracker: https://bugreports.qt.io/browse/QTBUG-93474
Minimal reproducer: https://gitlab.com/Urpelainen/qt-clipboard-rightclick-reproducer

Comment 1 Otto Urpelainen 2021-05-05 21:44:06 UTC
*** Bug 1954181 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.