MDANSE icon indicating copy to clipboard operation
MDANSE copied to clipboard

[BUG] Problems starting MDANSE_GUI on openSUSE with Wayland

Open MBartkowiakSTFC opened this issue 1 year ago • 0 comments

Description of the error The standard installation of MDANSE_GUI from pypi results in a situation where the mdanse_gui script fails to create the main window on an openSUSE Linux machine with Wayland.

Describe the expected result The GUI should start on every platform without extra tuning.

Describe the actual result Apparently, an additional environment variable is needed: QT_QPA_PLATFORM=xcb mdanse_gui This makes MDANSE_GUI start correctly.

Suggested fix Normally, Qt has a number of plugins it can use, but for MDANSE_GUI it seems that xcb is the only option.

Additional details N/A

MBartkowiakSTFC avatar Apr 17 '24 09:04 MBartkowiakSTFC