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

Windows: Application hangs when Native File dialog is used to select an Internet Shortcut

    XMLWordPrintable

Details

    • Windows

    Description

      Looks very related to a similar hang but for network drives.  

      Note that the repro below uses a sample Qt app but we first hit this in our real application; I don't think there's anything special about the example.

      Repro:

      1. Create an internet shortcut to "www.google.com":
        1. Right click on desktop
        2. Hover over New
        3. Click Shortcut
        4. Enter www.google.com into search box
        5. Hit Next
        6. Name it anything
        7. Hit finish
      2. Open the example "Application Example"
      3. Open the file picker (ctrl+o works as a shortcut)
      4. Select the internet shortcut you created
      5. Click Open
      6. Dialog closes
      7. QFileDialog::GetOpenFileName actually returns an empty file name (as expected)

      Actual: Application is now hung and is unresponsive to all clicks, prints 

      Unable to create a local copy of QShellItem(attributes=0x400004 [stream], normalDisplay="http://www.google.com/", desktopAbsoluteParsing="http://www.google.com/"", url=QUrl(http://www.google.com/))

       to debug console.

      Expected: No hang

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              wmartin Will Martin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes