Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Unsolved Disable X11 Window Manager Composition

    General and Desktop
    3
    4
    515
    Loading More Posts
    • 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
      Daniel Trstenjak last edited by

      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 Reply Quote 0
      • W
        wrosecrans last edited by

        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 Reply Quote 2
        • D
          Daniel Trstenjak @wrosecrans last edited by

          @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 Reply Quote 0
          • M
            mwestphal last edited by mwestphal

            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 Reply Quote 0
            • First post
              Last post