简体   繁体   English

在 Windows 10 上使用多个显示器时,IntelliJ IDEA IDE 会丢失显示器区域

[英]IntelliJ IDEA IDE gets lost of monitor's area when using more than one monitor on Windows 10

I have an annoying situation when I use my preferred IDE, IntelliJ IDEA Community or Ultimate versions, with two monitors in my job and at home.当我使用我喜欢的 IDE、IntelliJ IDEA Community 或 Ultimate 版本时,我遇到了一个烦人的情况,在我的工作和家里有两台显示器。 Simply when I turn on my computer after using in the office where the monitor is located on top of my laptop, in my house, where the monitor is located in the left side of my laptop, the IDEA IDE that is continuing running from where I stopped in my office is still in the Windows toolbar.只是当我在办公室使用后打开计算机时,显示器位于笔记本电脑顶部,在我家中,显示器位于笔记本电脑的左侧,IDEA IDE 从我的位置继续运行停在我办公室的仍然是 Windows 工具栏。 However when I click on the IDEA's icon in the toolbar it never turns to active and present in the laptop's or in my left side's monitor.但是,当我单击工具栏中的 IDEA 图标时,它永远不会变为活动状态并出现在笔记本电脑或我左侧的显示器中。 What is that unexpected behavior?这是什么意外行为?

Well, after investigating a bit and doing some experiments I found the solution, you need to right-click the desktop area where this menu will pop-up:好吧,经过一番调查和一些实验后,我找到了解决方案,您需要右键单击将弹出此菜单的桌面区域:

Go and select "Display settings" and you will see that window:去选择“显示设置”,你会看到那个窗口:

What you see in this "Display Settings" Window is that your monitor's setup now (in your house) is the main laptop monitor in right and your laptop on left.您在此“显示设置”窗口中看到的是,您的显示器现在(在您家中)的设置是右侧的主要笔记本电脑显示器和左侧的笔记本电脑。 But in your office your monitor was in the top of the screen, isn't it?但是在你的办公室里,你的显示器在屏幕的顶部,不是吗? Solution: So what you need to do is to trick Windows and say that your actual monitor is in the top to be able to see the IDEA IDE.解决方案:所以你需要做的是欺骗 Windows 并说你的实际显示器在顶部,以便能够看到 IDEA IDE。 Steps:脚步:

  1. Move the monitor number 2, dragging it with the mouse to the top of monitor number 1;移动2号监视器,用鼠标将其拖到1号监视器的顶部;

  2. Press the "Apply" button;按“应用”按钮;

  3. You will see IDEA IDE, then drag it to the monitor 1;你会看到IDEA IDE,然后把它拖到显示器1;

  4. Open the "Display Settings" again (right click the desktop and select "Display Settings");再次打开“显示设置”(右击桌面选择“显示设置”);

  5. Restore the configuration wished to your monitor, in other words: drag the monitor number 2 to the left side (if your physical monitor is really there).恢复您的监视器所需的配置,换句话说:将监视器编号 2 拖到左侧(如果您的物理监视器确实在那里)。

Warning , that is not all, if in step 3 your cannot find the IDEA you need to change the position of the monitor 2 until you find the IDE.警告,这还不是全部,如果在步骤 3 中找不到 IDEA,则需要更改显示器 2 的位置,直到找到 IDE。

The explanation for that issue is that Windows' monitor's logical area is not synchronizing with IDEA's positioning system.对这个问题的解释是,Windows 显示器的逻辑区域与 IDEA 的定位系统不同步。 The IDEA's system does keep the last position where the IDE is, and the Operating System changes are not in synch with that. IDEA 的系统确实保留了 IDE 所在的最后一个位置,并且操作系统的更改与此不同步。 That potentially can happen also on linux or Macs computers.这也可能发生在 linux 或 Macs 计算机上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM