Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

when using intellij running dual monitors on ubuntu, how to get menu to get menu popup not to drift back to first window?

I use idea on ubuntu linux w/ 2 monitors. I often pull up 2 projects so I can copy stuff from one to the other, and I have one project in a window on one monitor screen, and the other on the second screen.

My problem is this: when I open the second project in the 'non-primary' monitor screen, and i click on an item in the top level menu bar the menu pop up displays on the primary monitor screen...not the secondary one... it does not matter if I have the project in the secondary monitor window maximized or not... the pop up just drifts over to the primary monitor screen..

it is not a fatal error.. I can move my mouse over to the first monitor window and click on the sub menu i want..

but it is so annoying. I'm wondering if this is a bug, or perhaps there is a work around for it ?

Also posted on IntelliJ user community board. If they answer, I will post the response here.

like image 559
Chris Bedford Avatar asked Sep 30 '13 06:09

Chris Bedford


2 Answers

That is unfortunately a Ubuntu specific bug. I recommend you vote for and track it: Pop-up dialogs are sometimes misplaced on Ubuntu 12.04 with dual screens

like image 129
Javaru Avatar answered Oct 21 '22 11:10

Javaru


I can suggest 2 workaround solutions for this issue.

Workaround 1 I use Intellij on my right hand side monitor. But the menus are displayed on left hand side monitor. So, I opened "Displays" configuration and moved the right hand side monitor to the left. Now, the menus are displayed on the correct monitor. Note that, the monitor is still stays on my right hand side:).

Workaroud 2: Downgrade to JDK 1.6.

like image 24
Halil Avatar answered Oct 21 '22 11:10

Halil