GithubHelp home page GithubHelp logo

Comments (3)

mlaveaux avatar mlaveaux commented on August 23, 2024

I have taken an in depth look at this issue and also other GUI related issues and the conclusion is that the state of Qt support together with Wayland is just extremely poor. Unfortunately, these are all upstream issues and unfortunately we cannot do much about it. First of all, under X11 these issues do not appear.

Running Ubuntu 22.04 with default configuration the screen shot below shows that the open file dialog window does exist, but it is not rendered properly.

Screenshot from 2023-06-07 10-28-11

Running ltsgraph from the terminal shows the following warning: "Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.". A mediocre workaround is to install the qt5-wayland package (which was not installed by default) and run ltsgraph as follows: QT_QPA_PLATFORM=wayland ltsgraph. Then the open file dialog will appear when you click away from ltsgraph.

Another weird workaround is to use 'XDG_CURRENT_DESKTOP=kde ltsgraph' even if you don't use Plasma, it will use the Qt file dialog instead of a native one and this seems to work.

from mcrl2.

mhvis avatar mhvis commented on August 23, 2024

I can confirm that the workaround to use XDG_CURRENT_DESKTOP=kde ltsgraph works for me. Thanks!

The environment is set for me by default as XDG_SESSION_TYPE=x11 and XDG_CURRENT_DESKTOP=pop:GNOME (I'm using X11).

from mcrl2.

mlaveaux avatar mlaveaux commented on August 23, 2024

It's a bit surprising (and unfortunate) that these issues also occur under X11, because that did not seem to be the case when I tried it. However, since this workaround solves this particular issue we should be sure to note that down somewhere and besides that this issue can be considered resolved. Perhaps a move to Qt6 in due time will help resolve this.

from mcrl2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.