KMyMoney in Ubuntu 22.04 ignore Wayland causing black dialog

Bug #1996000 reported by Antoine
6
This bug affects 1 person
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_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway

When launching like this
QT_QPA_PLATFORM=wayland kmymoney

Everything is normal again.

Workaround: it is also possible to revert to X11 by editing gdm:
  sudo sed /etc/gdm3/custom.conf -i -e 's,#WaylandEnable=false,WaylandEnable=false,g'

Revision history for this message
Antoine (myroad) wrote :

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.