Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Buggy user interface on wayland
Forum Updated to NodeBB v4.3 + New Features

Buggy user interface on wayland

Scheduled Pinned Locked Moved Unsolved General and Desktop
c++waylandx11linux
1 Posts 1 Posters 663 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nhhollander
    wrote on 29 Oct 2018, 23:06 last edited by nhhollander
    #1

    Hello,

    I am creating an application for a college course right now, but when running the application under wayland, I get strange interface glitches every time I update a widget (such as typing, clicking buttons, mousing over, or incrementing a counter box). The same binary for the application, when run under X11, does not produce any of these glitches. In both cases, I started the program, "connected" to the robot, entered some text into the two text fields, and then used my arrow keys to rapidly increment the QSpinBox.

    Here is a video of the program running properly under X11, and Here is that same program glitching out under wayland.

    I am using QMetaObject::invokeMethod from a different thread to enable the UI elements at the beginning of the clips, and all instances of that command include Qt::QueuedConnection, which I understand is required to ensure thread safety. I have noticed that resizing the window "resets" something internally, and everything becomes stable until the values are changed again.

    I am currently using Ubuntu, and running Gnome on Wayland, and using Qt 5.12 beta release.

    Thanks,
    Nick

    1 Reply Last reply
    0

    1/1

    29 Oct 2018, 23:06

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved