Bug 1787287 - Primary selection does not work
Summary: Primary selection does not work
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: kitty
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Artem
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-02 08:24 UTC by Fabio Alessandro Locati
Modified: 2020-05-26 18:05 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-05-26 18:05:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
kitty 0.14.6 debug-config (1.85 KB, text/plain)
2020-01-02 13:47 UTC, Fabio Alessandro Locati
no flags Details
kitty 0.15.1 debug-config (1.85 KB, text/plain)
2020-01-02 13:47 UTC, Fabio Alessandro Locati
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kovidgoyal kitty issues 2254 0 None closed Primary selection does not work in Wayland 2020-01-30 12:33:11 UTC

Description Fabio Alessandro Locati 2020-01-02 08:24:55 UTC
Description of problem:
When try to use the primary selection (highlight string to copy, middle button to paste), it does now work

Version-Release number of selected component (if applicable):
0.15.0-1.fc30

How reproducible:
Always, by trying to copy and paste using primary selection

Steps to Reproduce:
1. highlight a text to copy a string
2. use the middle button to paste the string

Actual results:
content is not copy and pasted

Expected results:
content is copy and pasted

Additional info:
I upgraded from kitty 0.14 provided by [0] where it worked. Not sure if the break was upstream in the 0.14 -> 0.15 release, or if the package has been built differently introducing the problem. The actual spec file is here [1]

[0] https://copr.fedorainfracloud.org/coprs/oleastre/kitty-terminal/
[1] https://copr-be.cloud.fedoraproject.org/results/oleastre/kitty-terminal/fedora-30-x86_64/01039741-kitty/kitty.spec

Comment 1 Artem 2020-01-02 13:34:23 UTC
Hello. I tested this in F31 with kitty-0.15.0 on i3wm and middle click works. I updated to latest 0.15.1 but since Bodhi doesn't work at this moment please first try install directly from Koji this latest version and post here work it for you or not.

F31: https://koji.fedoraproject.org/koji/taskinfo?taskID=40051687
F30: https://koji.fedoraproject.org/koji/taskinfo?taskID=40051695

Comment 2 Fabio Alessandro Locati 2020-01-02 13:47:03 UTC
Created attachment 1649182 [details]
kitty 0.14.6 debug-config

kitty --debug-config

Comment 3 Fabio Alessandro Locati 2020-01-02 13:47:40 UTC
Created attachment 1649183 [details]
kitty 0.15.1 debug-config

kitty --debug-config

Comment 4 Artem 2020-01-02 13:50:04 UTC
I guess this could be because or Wayland session. Please try to test on Xorg as well.

Comment 5 Fabio Alessandro Locati 2020-01-02 13:50:57 UTC
Hi,

Thanks for the quick reply!

The problem is still present in the 0.15.1 version you linked.

I think the reason why it works on your machine but does not on mine is that you are using Xorg, while I'm using Wayland.
Xorg and Wayland use two different primary clipboards, and I guess that for some reason it gets compiled without the one for Wayland.
When kitty does not identify the primary clipboard in the OS it disables the feature. [0]

[0] https://sw.kovidgoyal.net/kitty/#mouse-features

Comment 6 Artem 2020-01-02 13:54:18 UTC
Also you can try 14.6 version from Koji and if it still doesn't work for you then this probably packaging issues
https://koji.fedoraproject.org/koji/buildinfo?buildID=1404168

Comment 7 Fabio Alessandro Locati 2020-01-02 16:00:38 UTC
I do not have Xorg on my machine, so I can not test it on it.

With the 14.6 version linked, it does work, so it could be something not related to the packaging itself!

Comment 8 Artem 2020-01-05 08:38:20 UTC
Filed a bug in upstream
https://github.com/kovidgoyal/kitty/issues/2254

Comment 9 Ben Cotton 2020-04-30 20:35:50 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 Ben Cotton 2020-05-26 18:05:41 UTC
Fedora 30 changed to end-of-life (EOL) status on 2020-05-26. Fedora 30 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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