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

[Regression 6.5.1->6.5.2] context menu of QTextEdit appears on the secondary monitor in Windows Remote Desktop environment

    XMLWordPrintable

Details

    • Windows

    Description

      To reproduce the issue, one needs a device with 2 monitors and Windows 10 Pro (haven't tried Windows 11 Pro since I don't have access to one) so that it can be used as Remote Desktop server.

      Steps to reproduce:
      1. Connect to the remote desktop.
      2. Execute the following code and let window appear on the main screen.
      3. Right click the window and context menu will appear on the secondary screen.

      Nevertheless, if window is positioned on the secondary screen, then right clicking will make context menu appear at the correct position, i.e. where mouse is at on the secondary screen. The issue seems only to be related to window on main screen.

      The minimal reproducer code:

      int main(int argc, char* argv[])
      {
          QApplication app(argc, argv);
      
          QTextEdit widget;
          widget.show();
      
          return app.exec();
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              johanseg Jøger Hansegård
              luqiaochen Luqiao Chen
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes