OpenStudioApplication icon indicating copy to clipboard operation
OpenStudioApplication copied to clipboard

Ubuntu 22.04 uses Wayland by default

Open macumber opened this issue 2 years ago • 2 comments

Issue overview

By default the QT_QPA_PLATFORM is xcb on Ubuntu 20.04, but on 22.04 it's wayland. echo $XDG_SESSION_TYPE returns x11 on 20.04 but wayland in 22.04

When launching the OSApp, the platform plugin wayland is not found.

Workaround is to launch the OSApp with QT_QPA_PLATFORM=xcb OpenStudioApp

Current Behavior

OSApp doesn't run on Ubuntu 22.04

Expected Behavior

OSApp should run for both xcb and wayland

Possible Solution

Install wayland plugins for Ubuntu packages

Environment

Some additional details about your environment for this issue (if relevant):

  • Platform (Operating system, version): Ubuntu 22.04
  • Version of OpenStudioApplication (if using an intermediate build, include SHA): 1.4.0-RC.2

macumber avatar Jun 05 '22 16:06 macumber

+1 for Ubuntu 22.04.

MatthewSteen avatar Oct 12 '22 16:10 MatthewSteen