Search Issue Tracker

Fixed in 2021.2.X



Found in





Issue ID




[Linux] Context menu opens on the first connected monitor when the Editor window is located on the second one



Reproduction steps:
1. Open a new or an existing project
2. Drag the Editor window to the monitor which is connected second to your computer
3. Select any GameObject in the Hierarchy window
4. Click on the Add Component button in the Inspector window

Expected result: The context menu opens where the Editor window is located
Actual result: The context menu opens on the monitor which is connected first to your computer

Reproducible with: 2020.2.0a20, 2020.2.2f1, 2021.1.0b3, 2021.2.0a2
Not reproducible with: 2018.4.31f1, 2019.4.18f1, 2020.2.0a19

- Tested on Ubuntu 18.04
- The "Add_Component_Not_Maximized.png" picture attached below illustrates the problem

  1. Resolution Note (fix version 2021.2):

    Fixed in version 2021.2.0a5

Comments (10)

  1. SvendDino

    Apr 09, 2024 21:40

    More context:

    My setup is like discribed. My laptop is "Display 1", and my two monitors are "Display 2" and "Display 3". I want to use the editor on "Display 2", but if I do the context menu opens on the laptop ("Display 1"). If I use the editor on "Display 1" (the laptop) or "Display 3" the context menu opens correctly.

  2. SvendDino

    Apr 09, 2024 21:37

    I'm seeing this issue in 2022.3.20f1 :(

  3. ThoriumSnake

    Feb 25, 2022 22:20

    Hello, sadly I still have this problem in 2021.2.12f1, I'm on EndeavourOS, using kernel 5.15.21-1-lts and KDE Plasma 5.23.5.
    Same problem as Drihpee, sometimes it'll open in the correct location, most of the time it won't

  4. drihpee

    Jan 10, 2022 08:13

    Fixed in 2021.2.x

    Unfortunately the problem still persists, however it is occasionally popup on the correct location, but most of the time, it just goes into the wrong monitor.

    Unity 2021.2.7f1

    Manjaro Linux
    Kernel 5.15.12-1
    NVIDIA Latest
    KDE Plasma

  5. pbavinck

    Dec 20, 2021 11:55

    Same here on Manjaro, KDE, All dropdown windows open on laptop screen instead of external monitor where UnityEditor is displayed.
    As this issue is closed, I am wondering whether a new issue should be created for

  6. Musgit

    Dec 08, 2021 23:23

    Unfortunately, it still happens for me, in various Unity versions, including 2021.2.5f1 (and 2020.3.24f1). It happens regardless of whether DPI scaling is enabled and what screen I have the editor window on. Popups seem to randomly open either at the correct position or at 0/0 on the leftmost screen.

    I'm running Ubuntu 21.04 with KDE Plasma 5.21.4, GTK 3.24.25, and three 4K screens.

  7. highencast

    Jun 21, 2021 15:19

    I am also facing this issue on Linux for 2020.3.11f1. Appreciate it if it was backported.

  8. acelw

    Jun 20, 2021 16:25


    I am still able to replicate this weird issue on Pop OS 20.04 and on the LTS Unity Editor 2020.3.11f1. Could you please let me know if this was back ported on this LTS version and if not back port it on the next version?

    Kind Regards

  9. CrandellWS

    Mar 22, 2021 13:27

    I hope they back port this for the most recent LTS

  10. JuDelCo

    Feb 17, 2021 18:28

    Thanks for fixing this !

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.