Bug 1827641
| Summary: | Copy and paste stopped working under Wayland | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chris Suszynski <ksuszyns> |
| Component: | keepassxc | Assignee: | Germano Massullo (Thetra) <germano.massullo> |
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 31 | CC: | germano.massullo, louiswust, nonamedotc, vwfoxguru |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-08-20 08:49:49 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: | |||
This bug can only be addressed upstream FWIW, I found a workaround for Fedora, based on the upstream comment - https://github.com/keepassxreboot/keepassxc/issues/4105#issuecomment-806940860 While upstream appears to be focusing on fixing it in flatpak, it can be easily fixed for Fedora by patching the desktop file /usr/share/applications/org.keepassxc.KeePassXC.desktop with these two lines: Exec=QT_QPA_PLATFORM=xcb keepassxc %f TryExec=QT_QPA_PLATFORM=xcb keepassxc |
Description of problem: Running Fedora 31 with Wayland I'm having problems with copy and paste. I can copy values from KeePass XC to outside (from keepassxc to firefox as example), but I can't copy values from outside KeePass XC and paste it in (from firefox to keepassxc). Version-Release number of selected component (if applicable): 2.5.4-1.fc31 How reproducible: everytime Steps to Reproduce: 1. Run Fedora 31 with default Gnome at Wayland and keepassxc and firefox installed 2. Copy text from browser, gedit or any other place 3. Try to paste text within keepass xc Actual results: Paste in Keepass XC isn't active. Ctrl+v does nothing. Expected results: Copied text should be pasted in KeePass XC. Ctrl+v should work. Additional info: This is also tracked in here [1], but without much traction. This issue can be overcome at Fedora level, by applying a walk around [2]: sudo sed -Eri 's/^Exec=(keepassxc.*)/Exec=env XDG_SESSION_TYPE=gtk \1/' \ /usr/share/applications/org.keepassxc.KeePassXC.desktop [1] https://github.com/keepassxreboot/keepassxc/issues/4105 [2] https://github.com/keepassxreboot/keepassxc/issues/4105#issuecomment-618643306