Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wayland support? #299

Open
TheAifam5 opened this issue May 25, 2024 · 1 comment
Open

Wayland support? #299

TheAifam5 opened this issue May 25, 2024 · 1 comment

Comments

@TheAifam5
Copy link

KiCad supports Wayland, any reason why is not enabled here yet?

@jmaibaum
Copy link
Collaborator

Hi, thanks for your question. Please let me start with the TL;DR:

KiCad officially only supports the X11 backend.

(Quote from the section "Graphical Windowing Backend" at https://www.kicad.org/help/system-requirements )

This flatpak distribution follows this approach.

On a more technical level, yes, you are right, KiCad can be compiled for Wayland natively. Yet, there is at least one thing which still breaks quite horribly then: dockable windows (KiCad uses wxAUI for this). And, at least a few months ago, when another user proposed to switch this flatpak to Wayland native, there was a serious issue with overflowing windows on displays with fractional scaling, see my comment on the PR for a screenshot None of these issues are KiCad's faults, but require work on other projects:

  1. Wayland still missing certain protocols (most notably for dockable windows). There is work ongoing here for several years now, it's a massive effort. If you are interested, look at the discussion of the most recent proposal (which is the 3rd or 4th proposal, all of which were discussed at similar lengths): https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/264
  2. wxWidgets having to implement the protocol (once Wayland stakeholders have settled on one) in an officially released version.

KiCad Devs are tracking remaining Wayland issues here: https://gitlab.com/groups/kicad/code/-/epics/46

As it stands now, I would think that official Wayland support is still at least a year away, but I might be wrong. It all depends on Wayland + wx Devs though, not necessarily KiCad Devs.

I intend keeping this issue open for informational purposes until we can switch this flatpak over to Wayland native.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants