ISISNeutronMuon / MDANSE

MDANSE: Molecular Dynamics Analysis for Neutron Scattering Experiments
https://www.isis.stfc.ac.uk/Pages/MDANSEproject.aspx
GNU General Public License v3.0
21 stars 5 forks source link

[BUG] Problems starting MDANSE_GUI on openSUSE with Wayland #414

Open MBartkowiakSTFC opened 5 months ago

MBartkowiakSTFC commented 5 months ago

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