eranif / codelite

A multi purpose IDE specialized in C/C++/Rust/Python/PHP and Node.js. Written in C++
https://codelite.org
GNU General Public License v2.0
2.17k stars 465 forks source link

[Bug]: Copy paste partially broken under Wayland #3378

Open AJenbo opened 6 months ago

AJenbo commented 6 months ago

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

eranif commented 6 months ago

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

AJenbo commented 6 months ago

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.

yunkot commented 1 month ago

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.