Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-105067

Different behavior in single- vs. multi-process mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 6.3.1
    • Qt Application Manager
    • None
    • Linux/Wayland, Linux/X11
    • b4accbcb5 (6.6)

    Description

      One would expect that appman behavior is the same when running in single- or multi-process mode. This is to keep track of some deviations:

      1. In MP an ApplicationManagerWindow's color is interpreted as pre-multiplied alpha, whereas in SP it's straight alpha. This is due to the fact, that a regular Window expects pre-multiplied in contrast to a Rectangle type that expects straight alpha. One could adapt one or the other with a favor to use straight alpha for both. However, that won't be backwards compatible. An alternative would be to introduce an extra property like "backgroundColor".
      2. An ApplicationManagerWindow's opacity property cannot be set, although in MP ApplicationManagerWindow is a QWindow which has an opacity property. In SP one might consider deriving InProcessSurfaceItem from a QQuickRectangle instead of a QQuickItem to support opacity and other properties.
      3. Setting the input focus to a WindowItem propagates the key events to the appropriate application in SP, whereas in MP the application only gets focus when it is clicked. In MP a WindowItem should forward the focus to it's QWaylandQuickItem delegate (through the WaylandImpl) to make the application get input events.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rgriebl Robert Griebl
            bweimer Bernd Weimer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes