Fix JetBrains IDE graphic bug where menu windows are displayed across multiple monitors - intellij-idea

Many IDEs from JetBrains have this annoying graphic bug (IntelliJ & PyCharm, and probably WebStorm / PhpStorm too): while on dual screens, when you open menu or right click somewhere, if it's close to the edge of the screen, and there is another monitor next to it, the window is displayed across both screens and is very poorly readable.
I have been dealing with that issue forever but I forgot how to fix it. I always struggle to find the answer and I can't find it again this time, so I'm creating this question for posterity. Does anyone know how to fix this? Thanks.

This is the IDEA-157583 issue. Unfortunately there is no known reliable workaround. The issue has some workarounds that help some users e.g. see one, two, three. See also other comments in that thread or in linked issues.

Related

sikuliX cant find image

I am just learning to use SikuliX and for some reason it worked on a few attempts but after awhile it started to not detect the image that i want to click.
This is the screenshot of my sikuli. Not sure what the error is about.
I am using a mac so i want sikuli to click on the search icon button at the top right hand corner.
This is my matching preview.
Sorry my problem seems so trivial but yet i am not able to understand why it is not working.
I realised it could be an issue regarding multi - monitor environments.

Intellij search in file causes full screen box to appear

Apologies if this belongs on a different stack exchange site.
Using Intellij Ultimate v 2017.1.1 on OSX Sierra, when I do a search in file, using CMD+f, I get an unusable full screen search dialog. Has anyone seen this ? Images attached.
Before clicking CMD+f (all is well)
I try to search for something:
Any help appreciated. The Internets has so far yielded no help.
This issue is already fixed, please see https://youtrack.jetbrains.com/issue/IDEA-170295 for details.
It was caused by the Swing MigLayout misbehavior when system DPI was extremely high.
This can happen if you accidentally paste a huge block of code into the finder, try CMD+f and then CMD+a and finally delete.

Intellij cursor keeps following mouse and highlight

For some reason Intellijs text cursor keeps following my mouse and highlighting everything. Is there some setting that can do that? I can't seem to find it from searching the settings. Where else could it be?
If you have a touchscreen try touching it somewhere. It helped me to solve the issue.
Found the solution in this thread on the JB website.
I use a touch screen monitor and i deal with the same issue. my mouse cursor remained in selecting state and highlight every thing.
I touch somewhere on the my monitor screen once and solved this problem without closing app.
Other solutions are:
close and open app
/ restarting computer
I had that problem twice on two different computers in different jetbrains IDEs, gogland and pycharm.
The solution, as annoying as easy, restarting of the machine. Restarting the IDE or even up/downgrading did not help.
Solution
Go to setting
Search for mouse
In the editor action, edit the Add rectangular selection on mouse drag

Gtk Sharp - Treeview nodes will not expand sometimes

Sorry in advance for the vague conditions in which the problem below occurs. It is very intermittent, and I have not pinned down a consistent set of steps that reproduce it yet. (Which is why I'm asking for some general or common things that might cause it)
The application I'm working on consists of MonoDevelop.Components.Docking dock frames. There is a tabbed group of panels in one if the frames, and one of them has a GtkTreeView in it. Every now and then, the nodes of the Treeview will not expand when clicking on the + button. This does not go away until restarting the application.
However, since I have not been able to consistently reproduce it, I'm kind of at a loss of what to look for/mess with to fix it. So does anyone have any ideas on what might generally cause the nodes to not expand when clicked? Or any better steps I should try in order to reproduce it?
I have found this occurs when a disabled node is in the TreeView. In my case it was a project in the solution pad of MonoDevelop that was set to not build in the current configuration. When I removed the project, all other nodes in the TreeView started working again immediately.
You can use the arrow right/left keys to expand/collapse nodes.
It may be related to a Gtk bug:
https://bugzilla.gnome.org/show_bug.cgi?id=675835
which was fixed recently:
http://git.gnome.org/browse/gtk+/commit/gtk?h=gtk-2-24&id=b32a9eb691920f21ad3b9127c833aaba15727c4b

Can I stop the mouse from interacting with the intelliJ IDEA switcher?

I often switch between editors in intellJ with Ctrl-Tab and at the same time I accidentally move the mouse (which is sometimes over the switcher), which means I end up choosing a random editor rather than the one I wanted.
Is there any way I can prevent the switcher from reacting to mouse input?
What OS and IDEA version do you use? I've tested with IDEA 10 on Windows and mouse events do not affect the Ctrl+Tab window at all.
If it still happens for you in the latest IDEA version, please file a bug with the steps to reproduce at: http://youtrack.jetbrains.net/issues/IDEA.
It's a known bug in IDEA versions before IDEA 10.