rafatosta / zapzap

WhatsApp desktop application written in Pyqt6 + PyQt6-WebEngine.
GNU General Public License v3.0
55 stars 2 forks source link

Can't open on X11 when a custom xkb layout is being used #133

Closed camargomau closed 1 year ago

camargomau commented 1 year ago

Hello! I'm using Ubuntu 22.10 with GNOME 43.1 running on X11.

When I try to open ZapZap, I get this error that's preventing it from opening:

image

This /usr/share/X11/xkb/symbols/psy file is my custom xkb keyboard layout, which does exist in that location. I have added its respective entry in /usr/share/X11/xkb/rules/evdev.xml, and it works flawlessly elsewhere (deb applications, Snaps, other flatpaks, login screen, recovery terminal, etc.).

When I remove this layout from GNOME settings (leaving the files themselves intact), I no longer get the error and ZapZap works just fine. I can even re-add the layout while ZapZap is open, and then use it inside ZapZap with no problems (though, of course, once I fully close ZapZap and try to re-open it, I get the same error again).

This issue does not occur on Wayland. ZapZap opens just fine with my layout when on Wayland.

Let me know if there's anything I can do to help.

rafatosta commented 1 year ago

Unfortunately I don't know how to help you with this problem as it is not directly related to the application.

Have you tried running the application from the source code?

camargomau commented 1 year ago

Just tried running the application from the source code and this is what I get: