f3d-app / f3d

Fast and minimalist 3D viewer.
https://f3d.app
BSD 3-Clause "New" or "Revised" License
2.78k stars 203 forks source link

Wayland Support #1375

Open 00-kat opened 5 months ago

00-kat commented 5 months ago

TL;DR runs on Xwayland, is it possible to get it working on Wayland?

Is your feature request related to a problem? Please describe.

Currently, F3D runs under Xwayland. This means it can't fractionally scale. Note the text: Screenshot of title in F3D Screenshot of the axis in F3D Also, since it can't fractionally scale, my cursor appears to be 1.5x larger than it should. In F3D: image Everywhere else: image This is simply an X11 problem.

Describe the solution you'd like

Figure out how to use Wayland with whatever graphics library is being used (not sure if this is a Vtk problem).

Describe alternatives you've considered

Additional information

There might be some cute little command line flags or environment flags that the GUI library supports to enable Wayland. Not sure.

Contribution

Please tell us if you are able to contribute (Can you develop this new feature?) Nope, I have no idea on anything graphics library related, except that there's a couple flags you can set for Qt, GTK and Electron apps.

mwestphal commented 5 months ago

HI @cd-CreepArghhh

not sure if this is a Vtk problem

It is a VTK issue: https://gitlab.kitware.com/vtk/vtk/-/issues/17982

00-kat commented 5 months ago

Oh right, should I close this then?

mwestphal commented 5 months ago

No, this issue is still valid, it just that the "fix" (its an huge feature actually, not a simple fix) must happen in VTK at some point.