codelite icon indicating copy to clipboard operation
codelite copied to clipboard

[Bug]: Copy paste partially broken under Wayland

Open AJenbo opened this issue 1 year ago • 3 comments

What happened?

Copy-paste from CodeLite to Geany is broken. Copy-paste from Git Cola to CodeLite is broken.

Version

Other

Operating system

Linux

Steps to reproduce

Install git-cola and geany on Ubuntu 24.04, login under Wayland (default). Try to copy to and from the 2 applications and CodeLite.

Relevant log output

No response

AJenbo avatar May 31 '24 01:05 AJenbo

Usually, these kind of problems indicate problem with underlying wxWidgets library. Does it work with wxWidgets stc sample?

eranif avatar May 31 '24 06:05 eranif

Uh, could you point me in a direction on how to test that?

I biuld 17.10 from src and it has the same issue.

AJenbo avatar May 31 '24 08:05 AJenbo

Uh, could you point me in a direction on how to test that?

Download wxWidgets sources from Releases page (make sure to download ZIP version as other packages sometimes have missing third-party dependencies), then build it according this page. After it gets build, do "make samples" in the same directory, then try running "stc" sample as suggested.

I myself am unable to test this on Wayland as Gnome both on Arch and Ubuntu 24.04 is very unreliable - a minor change to the system and it doesn't start at all; after 10+ years of using Gnome, I had to migrate to Xfce. But before, I found multiple problems on Wayland when using CodeLite, including periodic random crashes (of the entire Wayland session, not CodeLite), but I think most of these are related to how wxWidgets interacts with Wayland.

yunkot avatar Oct 19 '24 19:10 yunkot

This is not an issue on Ubuntu 25.10 with CodeLite 18.2.0

AJenbo avatar Dec 07 '25 00:12 AJenbo