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

Drag & Drop files action error wathever a main preventDefault request previouly set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • 5.9.0 Beta 2
    • 5.7.0
    • WebEngine
    • None

    Description

      In a QWebenginepage, if the DnD dragover and drop are prevented to allow file dropping, the browser view doesn't take into account when flying over div limits.

      the end user automatically browser into the file if the drop is down in a copy phase (cpoy label display).

      If we disallow page browsing using WebPage: acceptNavigationRequest overloading, this break the navigation (case were a websocket is up for example).

      Easy to reproduce with simplebrowser and attached dnd.html file.

      Attachments

        1. My Recording_2.mp4.zip
          2.42 MB
        2. dnd.zip
          382 kB
        3. dnd.html
          1 kB

        Issue Links

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

          Activity

            People

              qt_webengine_team Qt WebEngine Team
              zucher vincent
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes