GithubHelp home page GithubHelp logo

wl-clip-persist's People

Contributors

linus789 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

wl-clip-persist's Issues

Full copy from chrome's adreess bar doesn't work

When I type something in an address bar and then press ctrl-a (or manually select everything) + ctrl-c, it doesn't copy anything. If I select just part of a line and hit ctrl-c it works. It also works if I select the entire line and copy it by right clicking + selecting Copy button (not always). Everything works fine without wl-clip-persist.

As I said, the problem persists only if I select the entire line and then copy with ctrl-c. It's probably something to do with chrome as it works fine with firefox. In general it works good with chrome too, but only full adress bar copying with ctrl-c doesn't work.

Logs (see last line) RUST_LOG=trace wl-clip-persist --clipboard regular:

[2023-08-31T12:10:45.687Z TRACE wl-clip-persist Seat 4] Initialized seat
[2023-08-31T12:10:47.259Z TRACE wl-clip-persist Seat 4] Handle new regular clipboard selection event
[2023-08-31T12:10:47.259Z TRACE wl-clip-persist Seat 4] Current selection event offers mime type: UTF8_STRING
[2023-08-31T12:10:47.259Z TRACE wl-clip-persist Seat 4] Current selection event offers mime type: text/plain;charset=utf-8
[2023-08-31T12:10:47.259Z TRACE wl-clip-persist Seat 4] Current selection event offers mime type: TEXT
[2023-08-31T12:10:47.259Z TRACE wl-clip-persist Seat 4] Current selection event offers mime type: STRING
[2023-08-31T12:10:47.259Z TRACE wl-clip-persist Seat 4] Current selection event offers mime type: text/plain
[2023-08-31T12:10:47.261Z TRACE wl-clip-persist Seat 4] Created regular clipboard data source 6
[2023-08-31T12:10:47.261Z TRACE wl-clip-persist Seat 4] Handle new regular clipboard selection event
[2023-08-31T12:10:47.261Z TRACE wl-clip-persist Seat 4] Current selection event offers mime type: TEXT
[2023-08-31T12:10:47.261Z TRACE wl-clip-persist Seat 4] Current selection event offers mime type: STRING
[2023-08-31T12:10:47.261Z TRACE wl-clip-persist Seat 4] Current selection event offers mime type: text/plain;charset=utf-8
[2023-08-31T12:10:47.261Z TRACE wl-clip-persist Seat 4] Current selection event offers mime type: UTF8_STRING
[2023-08-31T12:10:47.261Z TRACE wl-clip-persist Seat 4] Current selection event offers mime type: text/plain
[2023-08-31T12:10:47.261Z TRACE wl-clip-persist Seat 4] Regular clipboard got a new selection event, so ignore the old one

Info

wl-clip-persist 0.3.1
Browser: Google Chrome 116.0.5845.96 (Preferred Ozone platform = Wayland)
WM: Hyprland, built from branch at commit 91e28bbe9df85e2e94fbcc0137106362aea14ab5
OS: Nixos-unstable

Can't Copy Nerd Font Icons/Glyphs

I'm not 100% sure on the right verbiage to refer to these little icons that are available in nerd patched fonts and/or font awesome. But, whenever I have wl-clip-persist running, I cannot copy those items. They just won't copy at all. Closing wl-clip-persist and they are immediately copyable. However, then, they obviously don't persist closing the window I copied from.

Here are some icons that I mean:


󰤨
󰝟

I don't even known how to make them show up here. As I type them I just get tiny boxes.

Screenshot lacks bottom part when wl-clip-persist launched.

Linux arch 6.8.7-arch1-1.
Hyprland.
Hyprshot or grim for screenshots, same issue for both.
On system start I run wl-clip-persist --clipboard regular

wl-clip-persist cuts out bottom of the screenshot.
Sometimes it's around half, sometimes it's almost all image.
If screenshot is taken and wl-clip-persist is not running it's ok.
Once wl-clip-persist kicks in, this screenshot cuts out.
As a workaround I kill _wl-clip-persist for several seconds bind = , Print, exec, pkill wl-clip-persist && hyprshot -m region -d --clipboard-only && sleep 6 && wl-clip-persist --clipboard regular <- that is bad so I restricted data size for which it will work, so now I run wl-clip-persist --clipboard regular -l 4096 on system start, it's enough for any text I may copy but less than any image I'll copy.

Without wl-clip-persist:
image

With wl-clip-persist:
image

Any ideas where to dig, maybe I need to provide some additional info?
Or maybe it's not wl-clip-persist issue?

The primary selection mode breaks the selection system.

The primary selection mode breaks the selection system.

The primary and both selection systems (perhaps because it involves the primary) break the selection system and make it very uncomfortable to select text in some applications, especially those based on GTK, e.g. Thunar and Inkscape, other applications such as Chrome are not affected.

Perhaps a video will illustrate the situation better:

Kooha-2023-05-26-22-02-40.mp4

As you can see in the video, without running the program, the selection system works normally, just as if you run the program using the regular option.

But once you start using the primary mode or both, it becomes impossible to select text, because once you release the cursor to finalize the selection, it disappears.


I am not an English speaker, this was translated using a program on the Internet, I apologize for any inaccuracies.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.