nheko icon indicating copy to clipboard operation
nheko copied to clipboard

copy paste clipboard does not sync up with system clipboard

Open digtail opened this issue 3 months ago • 0 comments

Describe the bug

copy and paste outside nheko works fine. when I copy something, I can paste it inside nheko. when I copy text in the message textbox using ctrl-v I can paste it in other applications. however, when I select a message, right click and press "copy", I can only paste it inside nheko. if I paste outside, whatever was in the clipboard before gets pasted.

copy and paste between nheko and other apps does not work

To Reproduce

  1. open a chat in nheko
  2. open another app with text box
  3. select a message in nheko and click "copy" in the contex menu
  4. copy some text in the other app
  5. paste in nheko -> the selected message from (3.) gets pasted
  6. paste in the other app -> the text from (4.) gets pasted (expected behaviour for (5.))
  7. once again, select a message in nehko and click "copy" in the context menu
  8. paste in the other app -> the text from (4.) gets pasted (expected text from (7.) to get pasted)

What happened?

No response

Expected behavior

No response

Screenshots

No response

Version

0.13.1

Operating system

Linux

Installation method

Some repository (AUR, homebrew, distribution repository, PPA, etc)

Qt version

No response

C++ compiler

No response

Desktop Environment

wayland with niri 0.1.2

Did you use profiles?

  • [ ] Profiles used?

Relevant log output

when pasting:
[2024-03-28 22:23:30.073] [ui] [debug] Got mime formats: text/plain, text/plain;charset=utf-8

nothing appears in the log when copying text.

Backtrace

No response

digtail avatar Mar 28 '24 21:03 digtail