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

QWasmWindow implementation cleanup

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • GUI: Window management
    • None
    • a82862064 (dev), 92b032324 (dev), 2ab07b455 (dev), 8f7fc8e9a (dev), b2a433c33 (dev), 82cf2f08d (dev), bcbe7e233 (dev), c57dcfdb9 (dev), 75155ce5c (dev), c8dd0c877 (dev)

    Description

      QWasmWindow today has for the most part the behavior we want, but has gone through several transitons (e.g. canvas per screen -> canvas per window) which has left the code with some need for cleanup and refactoring.

      Tasks include:

      • Facilitate adding support for QWindow::fromWinId() (which native element is "the window"?)
      • Minimize usage of html elements
      • Add "window manager" elements lazily (i.e. not for "fullscreen" windows)
      • Move "contentEditable" away from the canvas
      • Move all client event handlers to the window element.

      Current screen/window html element tree:

       

      Target screen/window html element tree:

      Attachments

        1. image-2024-09-06-12-55-26-280.png
          128 kB
          Morten Sørvig
        2. image-2024-09-06-12-56-41-878.png
          160 kB
          Morten Sørvig
        For Gerrit Dashboard: QTBUG-128732
        # Subject Branch Project Status CR V

        Activity

          People

            sorvig Morten Sørvig
            sorvig Morten Sørvig
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: