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. Disable X11 Window Manager Composition
Qt 6.11 is out! See what's new in the release blog

Disable X11 Window Manager Composition

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 1.9k Views
  • 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.
  • D Offline
    D Offline
    Daniel Trstenjak
    wrote on last edited by
    #1

    Hi,

    is there a way for a Qt application to disable the composition, that
    the compositor ignores the application window for the composition?

    Greetings,
    Daniel

    1 Reply Last reply
    0
    • W Offline
      W Offline
      wrosecrans
      wrote on last edited by
      #2

      Not really. That sort of thing would be a setting for the window manager.

      That said, if you are using a compositing window manager and your window isn't included in the composite, then it would just be invisible.

      What are you actually trying to accomplish?

      D 1 Reply Last reply
      2
      • W wrosecrans

        Not really. That sort of thing would be a setting for the window manager.

        That said, if you are using a compositing window manager and your window isn't included in the composite, then it would just be invisible.

        What are you actually trying to accomplish?

        D Offline
        D Offline
        Daniel Trstenjak
        wrote on last edited by
        #3

        @wrosecrans
        What I really meant by non compositing is that the
        application window should always be opaque, windows
        behind it should never shine through.

        The concrete issue I've is with the QGLWidget, that the
        alpha value of its content is considered by the compositor
        and windows behind shine through in the QGLWidget.

        Strangley I've this issue only when run with the software
        OpenGL library Mesa, but not with the OpenGL driver.

        Changing the opacity of the QGLWidget with 'setWindowOpacity' doesn't seem to have any effect.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mwestphal
          wrote on last edited by mwestphal
          #4

          Hi Daniel,

          We are experiencing the same issue. incorrect transparency, when using mesa and compositor.
          Do you see this issue with QOpenGLWidget or with QOpenGLWindow ?
          Did you find a solution ?

          1 Reply Last reply
          0

          • Login

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