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

QAccessible will scroll the browser, making the webassembly window to be outside of the view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.3
    • None
    • WebAssembly

    Description

      There is an element that is created when the application is started through webassembly. Seems to be added on the textedit example and our own code.

      This is the element:

      <input type="text" style="position: absolute; left: 0px; top: 0px; opacity: 0; z-index: -2;">

      What this seems to do is when the text cursor is placed this object will move to the text cursor location. Once the text cursor is out of the view, and you try to do an action (delete, paste or even entering text into the area) will cause this element to still move to the area that the text should be at. Which is now hidden by the scroll, so now the element will scroll the entire webpage down so that you can no longer see the webassembly. 

      On the text edit example, this is possible. However it is only briefly as ensureCursorVisible() is called. Scrolling the textEdit back so that the webpage will scroll back up.

      Attachments

        For Gerrit Dashboard: QTBUG-130635
        # Subject Branch Project Status CR V

        Activity

          People

            lopotter-ext Lorn Potter
            jack_croasdale Jack Croasdale
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change