The footprint editor tends not to open on my Linux machine, KiCad 8.0.4, Wayland.
Lauching it results in nothing. What seems to trigger this behavior is opening the schematic or layout editor. After that, the footprint editor seems unaccessible, until we quit KiCad altogether and relaunch it. If we just launch KiCad project manager and launch the footprint editor, it works.
This is probably purely an issue related to running on Wayland.
The KiCad team won’t/can’t do anything much about it, I’ve heard about related issues on Wayland that it was all on wxWidgets’ shoulders and we have to wait until wxWidgets gets things fixed, if it ever happens.
That I must be one of the very few who use KiCad on Wayland.
I’m actually running into another issue, with hotkeys working only when they want.
I think KiCad is officially not supported on Wayland, so I guess we’re just on our own anyway if we do this.
As to the Wayland situation, it’s getting disastrous. It’s becoming the default now in most major distributions, yet there’s still so many differences in basic features compared to X11 that there are issues with many apps out there. Odd stuff.
Anyway, is there maybe an env variable we can set when running KiCad to force running it in X11 mode (which will go via XWayland when using Wayland)? Asking because in previous versions (6 & 7), I was running KiCad via XWayland and there were significantly fewer issues. Or maybe there is a build flag that needs to be set for this? (Currently using KiCad from my distro, but I can build it - that’s what I have done to keep older versions in parallel.)
Running KiCad with GDK_BACKEND=x11 did the trick to force X11 mode. The dead giveaway is that in Wayland mode, you get the default Wayland icon on all app windows. In X11 mode (through XWayland), you get app icons back.
In X11 mode, the issues I mentioned above do not happen. So that confirms it’s specific to “native” Wayland mode.
(Unfortunately, there’s currently a big performance regression in amdgpu that makes some apps using XWayland to have huge GUI lags, and KiCad is one of them. So the X11 backend is currently not an option on Wayland until amdgpu gets fixed, which should be soon now.)
Of course you’re unlikely to run into these issues if you use a more conservative distro. But if anyone else is concerned, hope that’ll help. And I hope wxWidgets will eventually play much better with Wayland. I understand that the Wayland project itself doesn’t make it all that easy.
I also use arch linux (hyprland window manager with linux) so I’ve been wondering if it was a known issue. Issues are just something you have to put up with on wayland (though kicad on windows definitely has its issues, such as the giant windows bug i encounter all the time, and the broken crash detection that reopens kicad when i close it lol). At least you can work around it by opening a new instance and running the footprint editor there. Why does it only do it for the footprint editor and not the pcb editor, though?