secondlife / viewer

🖥️ Second Life's official client
GNU Lesser General Public License v2.1
202 stars 51 forks source link

[Linux] Add IME Support for Wayland #1387

Open AiraYumi opened 2 months ago

AiraYumi commented 2 months ago

Description

Wayland is gradually becoming the default desktop environment, but in the case of SecondLife Viewer, it seems that the IME does not work on Wayland at the moment.

Nicky-D commented 2 months ago

The viewer is not Wayland ready at all and rather relies on XWayland

This might be why IME is broken on Wayland, but I'm not certain.

Wayland would also need a new fltk. I believe only 1.4 added Wayland support. And 1.4 isn't a general release yet, but rather is still pre release status.

AiraYumi commented 2 months ago

I tried replacing it with a build using the fltk 1.4 snapshot, but the viewer itself would not start. Looks like more fixes are needed.

https://github.com/AiraYumi/3p-fltk/tree/testing/fltk_1.4 https://github.com/AiraYumi/3p-sdl2/tree/unrelease/enable_wayland_for_linux https://github.com/AiraYumi/viewer/tree/unrelease/bump_fltk_1.4

AiraYumi commented 2 months ago

The viewer is not Wayland ready at all and rather relies on XWayland

Create a ticket regarding this matter.