KMyMoney in Ubuntu 22.04 ignore Wayland causing black dialog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kmymoney (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Current behavior:
Launching KMyMoney in a default Ubuntu 22.04 vagrant VM will make buggy dialog. For example, when opening Settings -> Configure Language, the popup dialog is all black. If I resize it, the black dialog immediately becomes normal and I can see the dialog content.
Expected behavior:
To be able to launch KMyMoney dialogs without having to resize each time.
Analyse:
This is because Ubuntu 22.04 now has Wayland as default graphic driver. Launching KMyMoney from console shows:
Warning: Ignoring XDG_SESSION_
When launching like this
QT_QPA_
Everything is normal again.
Workaround: it is also possible to revert to X11 by editing gdm:
sudo sed /etc/gdm3/
kmymoney 5.1.2-4
Linux ubuntu-jammy 5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux