szimon
szimon

Reputation: 712

IntelliJ IDEA not responding to mouse clicks

I have a problem with IntelliJ IDEA Community Edition 12.1.6.
Everything works fine, as long as I have only one project (one window) opened. When I open second/third etc. project, only the first one responds to mouse clicks.
Every other project reacts to keyboard input (Ctrl+TAB, Alt+arrows etc.), but not to mouse input. I'm able to modify code, use keystrokes, so the application is not frozen.
I tried to reinstall the app, no effect. The last update was a couple of weeks ago and the problem appeared today.
I'm using Ubuntu 10.04.

Has anyone here encountered similar problem?
Oh, and is there some magical place, where log files are stored?

Upvotes: 44

Views: 32115

Answers (18)

Andreas Adelino
Andreas Adelino

Reputation: 329

It happened with me today (2025-01-31), but in Goland instead of IntelliJ.

Mac OS version: 15.2 Goland version: GoLand 2024.3.2.1

Solution: Restart the OS.

Upvotes: 0

Aaron
Aaron

Reputation: 7029

None of the answers worked for me (replugging displays and peripherals, messing w/ the window, etc), using PyCharm on arm64 macos14 .

What worked was putting the computer to sleep then waking it up again. No idea why!

Upvotes: 1

Vetras
Vetras

Reputation: 1999

I had the same problem today. My solution was to uninstall Java:

  • brew uninstall java java8 openjdk jenv -- i had all these
  • reboot
  • now Rider works (using builtin java)
MacOS Monterey v12.2.1

JetBrains Rider 2021.3.1
Build #RD-213.5744.299, built on December 8, 2021

Upvotes: 0

Aditya Vikas Devarapalli
Aditya Vikas Devarapalli

Reputation: 3473

I ran into the same issue on a Mac today. I noticed this only happens with the external mouse and not the trackpad. The mouse works on every other app, except for Intellij. I tried restarting IntelliJ but it didn't help.

Finally, unplugging the external mouse and plugging it back in did the trick.

Upvotes: 10

Minchul Joh
Minchul Joh

Reputation: 43

First of all, I am a Korean user. It seems that the problem may be in the language-related part.

I use IntelliJ on a mac and I run into that problem often.

In my case, the solution is to open a context window by right-clicking on the problematic window and then press the Caps Lock(if you use Korean Keyboard => 한/A) key.

enter image description here enter image description here

This answer may be grammatically odd due to Google Translate.

Upvotes: 1

Jeremy Schoemaker
Jeremy Schoemaker

Reputation: 1

Just ran into this with Phpstorm 1221.3.1 on Intel Mac running Montery 1221.3.1 out of the blue.

Clicks on my mouse or my touchpad were not working on Phpstorm. Reboot didn't fix... but Unplugging and replugging my mouse back in fixed for everything.

Upvotes: 0

M. Kot
M. Kot

Reputation: 11

Try Ctrl+Tab. It worked for me.

Upvotes: 1

Happy Coder
Happy Coder

Reputation: 1423

I had the same issue with the windows subsystem for Linux. There is what I did:

1. remove .idea folder
2. remove everything under C:\Users\{user}\AppData\Local\JetBrains

now it's working fine with no issues

Upvotes: 0

Alexander Chen
Alexander Chen

Reputation: 507

I faced the similar problem after a major update. All of the mouse events are not working and the shortcuts are also not responding. Only the Alt+F and arrows key can open main menu, then Enter key can select the sub menu.

I noticed that I had once changed the boot Java runtime of the IDE. Then I reset the JVM to default, the problem solved.

Instructions

  1. Press Alt+H to open the Help menu and select the Find Action sub item. Because the mouse is not responding and Ctrl+Shift+A is not working. You may only open the dialog by main menu.

  2. Type Choose Boot Java Runtime for the IDE action. Use arrows key to select the item. Use Enter to open the dialog.

  3. Use Tab key to focus on the Use Default Runtime, Press Enter to confirm.

  4. Wait for WebStorm to restart with the new runtime.

Everything will be fine after restart.

Upvotes: 6

Mike
Mike

Reputation: 1031

I ran into this problem today (May 2021) on my macOS with Intellij Community 2021.1.1. For me, it's related to my external USB mouse. Plugging back again did the trick.

Upvotes: 4

Dropout
Dropout

Reputation: 13866

I had similar problems like you describe. It's a compatibility problem between IDEA and systems using Gnome (I don't know about KDE), there's probably nothing you can do at the moment to fix it for good, however minimizing/rezising the IDEA window with that project fixed it for me. Try it out if this workaround also works for you.

Upvotes: 19

Josh
Josh

Reputation: 101

Restarting my computer fixed the issue.

Upvotes: 4

Kevin Fu
Kevin Fu

Reputation: 51

I have same issue in VNC. And found gnome-shell is using more cpu resource than before (>15%). The workaround is to kill the process of "gnome-shell".

Upvotes: 0

Richard Collette
Richard Collette

Reputation: 5703

Even after re-installing everything and reseting nvram. I had continued to have the problem.

Clearing the Java cache using the Java control panel applet did the trick. I had to do this even though I had uninstalled and reinstalled Java.

Another weird symptom I had was that in the Java control panel applet, if I unplugged and plugged back in my mouse receiver (usb), then I could click on buttons that were in the current "frame" and above, but not child frames. However, this is not solely a USB issue because my mac built in trackpad was not working either.

Upvotes: 0

Tushar
Tushar

Reputation: 1155

Adding my answer in case it helps someone facing a similar problem. (as the question is very old now) I have faced a similar problem if my code happens to have some directory with a lot of huge non-code files.

As the IDE keeps doing indexing for a long time. I remember working with Enron dataset in one of my python projects. And I just couldn't do anything at all. Restarting didn't help as well.

Does the problematic window have such directories in its code?

If yes, do this:

  1. Restart IntelliJ.
  2. Once it comes up and starts indexing, right click on such folder.
  3. Select Mark Directory as->Excluded

Doing so will skip this directory while indexing, and will save a lot of time, processing and system's memory every time. Now I always do it for all resources directories.

Upvotes: 0

LarS
LarS

Reputation: 1378

Although it seems to work just to wait a while, as proposed by @ser3771751, it seems to be a problem with memory. In the lower right corner is an indicator for memory consumption, alt least in PhpStorm, klicking on that icon will free up memory an the UI will be responsive again. At least it worked for me. As it does not happen to much I haven't verified it yet.

enter image description here

Upvotes: 1

Devarshi Waghela
Devarshi Waghela

Reputation: 27

I faced the similar issue, unplugging and plugging back resolved it.

Upvotes: -2

user3771751
user3771751

Reputation: 67

I had a similar problem. My solution is just to wait. Sharing my today's experience, I launched the software in the morning and I found my Intellij finally worked well in the evening. I didn't check when it was well in between, but I guess it should cost 1 or 2 hours. If it's not working for you, you can try to launch eclipse then wait. Good luck for you!

Upvotes: 3

Related Questions