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

QT 5.15.2 : Horizontal offset by Right Monitor Width When Right Clicking on Right Monitor



    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.15.0 RC2
    • None
    • Various Rolling Linux Distros + Xorg (or Wayland) + Plasma
    • Linux/Wayland, Linux/X11



      This issue by Nick: https://bugreports.qt.io/browse/QTBUG-94778

      I believe incorrectly identifies the issue; that is why I am choosing to correctly report the bug. This is still an upstream issue with QT, not Plasma. (acording to Nate Graham) I wouldn't consider this a duplicate report as much as I would consider it a correction. I will also be more thorough.


      We are talking about QT affecting KDE Plasma 5. The problem occurs with right clicking a desktop icon on a dualhead system (assuming you are right clicking it on the right monitor). What Nick assumed is that it will calculate it correctly according to screen dimensions, but that it would display on the wrong screen.


      The actual issue as elaborated by Eric Putney is that it will calculate it correctly according to dimensions, and it will also display on the correct screen, but it will have a horizontal offset of exactly (Right Monitor Width)px in the direction of the left monitor. Given that Nick Nack likely had two same size monitors, he didn't assume this was the problem, he thought that it was placing it incorrectly to begin with.


      Steps to Reproduce:

      ~Have two monitors

      ~For my specific circumstance, just place a monitor to the right of your laptop device.

      ~Your laptop screen (left) should be primary; your connected secondary monitor (right) is going to be used for our test.

      ~Make a New Folder/Icon on your desktop and right click it on the laptop monitor.

      ~~It will be correct as always

      ~Move said Folder/Icon to secondary screen and right click it

      ~~You will see the offset issue I described above

      ~Repeat the test with your connected monitor as primary and on the left. The laptop screen will be right and not primary.

      ~~Right clicking on your laptop monitor will display the same issue

      ~~Connected monitor should work as expected

      The issue is the same for both tests; we just "switched" the monitors. Assuming a dualhead system, the monitor on the right (Not physical right, but settings) will have this issue regardless of primary status.


      The video demonstrations will show what the issue is. The videos have what is marked as primary and what is marked as secondary as well as direction for reference.



        1. hero_quite_literally.png
          88 kB
        2. jctl.png
          26 kB
        3. jctl2.png
          22 kB
        4. lapleftsecondright.mkv
          1.91 MB
        5. laprightsecondleft.mkv
          1.65 MB

        Issue Links

          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
              big_m_1 Maluchi Ugokwe
              2 Vote for this issue
              4 Start watching this issue



                Gerrit Reviews

                  There are no open Gerrit changes