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

Windows 11: Open file dialog context menu error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.2.3
    • None
    • Windows 11
    • Windows

      Hello, I was using PySide6 and I found this error. I tried to replicate it in C++ and it is still taking place. Simple demo:

      #include <QApplication>
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QFileDialog::getOpenFileName(nullptr, "Test");
          return a.exec();
      }
      

      It caused this in case you right click outside an element:

      Failed to load needed ADL functions for resolving location
      

      And this if you right click an element:

      2022-09-20T11:31:29.482ZE [15140:NonCelloThread] thumbnail_util_win.cc:115:LoadBitmapFromPngResource Can't find PNG resource 0.
      2022-09-20T11:31:29.483ZI [15140:NonCelloThread] ctxmenu.cc:213:GenerateContextMenu Received context menu with 0 menu items.
      

      This is the new Windows 11 context menu that would be displayed. Instead, the old one is shown.

       

        1. specs.txt
          11 kB
          Jaime Resano
        2. image-2022-09-20-13-45-02-601.png
          33 kB
          Jaime Resano
        3. image-2022-09-20-14-59-57-695.png
          86 kB
          Jaime Resano
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            jaime02 Jaime Resano
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes