retext icon indicating copy to clipboard operation
retext copied to clipboard

In the viewing mode, it does not copy the selected text.

Open LibertyGM opened this issue 6 months ago • 2 comments

In the viewing mode, it does not copy the selected text when pressing Ctrl+C. Only copying with the right mouse button works. Hotkey copying does not work in the viewing mode.

LibertyGM avatar May 25 '25 01:05 LibertyGM

Thank you for your bug report. I cannot reproduce this, Ctrl+C works fine for me.

  • Are you using regular preview or live preview?
  • Do you have “Edit → Use WebEngine (Chromium) renderer” enabled?
  • What are versions of ReText and Qt, and what is the platform / desktop environment?

mitya57 avatar May 26 '25 20:05 mitya57

Hello, thank you. The Use WebEngine (Chromium) renderer option is unavailable for some reason. It is gray and cannot be switched.

I think I've figured out what the problem is. If the text is selected in editing mode, it will be copied. Regardless of the live or regular viewing mode. For more information, see the video.

If you run it through the terminal, it sometimes writes:

Unsupported return type 4097 QPixmap in method "grab" Unsupported return type 4097 QPixmap in method "grab"

https://github.com/user-attachments/assets/1de7f99d-47f4-4b02-9686-0353b70ad700

Operating System: Arch Linux KDE Plasma Version: 6.3.5 KDE Frameworks Version: 6.14.0 Qt Version: 6.9.0 Kernel Version: 6.14.7-arch2-1 (64-bit) Graphics Platform: Wayland Processors: 32 × AMD Ryzen Graphics Processor: NVIDIA GeForce RTX 4080

LibertyGM avatar May 27 '25 14:05 LibertyGM