problem with context menu disappearing
OS: Linux Minut 18.3, Intellij "Community 2020.1 EAP"
I've just started using Intellij, after using Eclipse for many years.
I've naturally searched on this problem: the few relevant hits seem to date from years ago. I've seen one from 2011, one from 2013 and one from 2016 said to have been fixed.
What happens: I right-click (this is another bugbear: I hate being obliged to use the mouse for ANYTHING, and Shift-F10 doesn't work): the context menu displays... I try to move the focus to something in the menu... and - woosh - the menu has gone.
Nor does it help to keep the right button depressed: the menu still disappears on "single items"... by that I mean menu items which are not followed by "...". With items which obviously lead on to another submenu the context menu does NOT disappear.
As suggested from my searching, I have tried tweaking the File --> Settings --> Keymap settings. But nothing has worked so far.
It's odd when you come across something like this: is no-one else experiencing the same problem?
请先登录再写评论。
What window manager do you use? It may be be caused by some tweak to WM settings, something like focus follows mouse or related.
Does the issue occur in the release version available at http://www.jetbrains.com/idea/download/index.html ?
What JDK is used to run IntelliJ IDEA? See https://intellij-support.jetbrains.com/hc/articles/206544879 .
Does it happen in other Java Swing apps like JEdit or NetBeans?
For some time I started to experience a similar issue. The right-click on a file name does not bring the context menu anymore. Right-click itself works well if I try it in other apps. I tried to invalidate caches and restart, but it doesn't help.
OS is Ubuntu 18.04, PHPStorm 2020.1 . Any ideas on how to fix it? It used to work...
Probably, the problem came with the latest build:
PhpStorm 2020.1
Build #PS-201.6668.153, built on April 13, 2020
Subscription is active until March 4, 2021
Runtime version: 11.0.6+8-b765.25 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.3.0-46-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 949M
Cores: 8
Registry: run.processes.with.pty=TRUE, debugger.watches.in.variables=false
Non-Bundled Plugins: org.zalando.intellij.swagger
Current Desktop: ubuntu:GNOME
Clarification: Context menu is not shown at all. Also in editor window
Out of curiosity, I have checked also WebStorm and the context menu works well there. The build though is older:
WebStorm 2020.1
Build #WS-201.6668.106, built on April 6, 2020
Subscription is active until March 4, 2021
Runtime version: 11.0.6+8-b765.25 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.3.0-46-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1904M
Cores: 8
Registry: ide.balloon.shadow.size=0
Current Desktop: ubuntu:GNOME
Please check the relevant bug and workarounds for it: https://youtrack.jetbrains.com/issue/IDEA-229328 . Let me know, if it helps.
I have downgraded the PHPStorm version and now it works well. It seems to me like a newly introduced bug
Could you please share the logs? See https://intellij-support.jetbrains.com/hc/articles/207241085. You can upload the files at https://uploads.services.jetbrains.com/ and specify the unique file name here.
Hi Serge Baranov,
I've uploaded the log file as requested using the service specified. It didn't return though a unique id for the file, so I created a unique name for the original zip archive:
I hope, this helps.
You have this issue: https://youtrack.jetbrains.com/issue/IDEA-233252 . Renaming the external tools group name should help until the issue is resolved.
For me the Context Menu wasn't working in WebStorm, latest release.
Right Click on a folder to create a new File (etc), no Context Menu. When I went into Keymap to at a Mouse event to Other --> Context Menu I discovered that there was no Mouse event for my new Apple Mouse (Magic Mouse 2). A Right Click would only allow me to add Click 1 which is the same as a Left Click. Though the settings allow you to bind the Left Click (and Scroll up/down) to create a Context Menu, this wasn't what I was trying to achieve.
When I removed these additional mouse events and returned to the default setting, I also switch my Mouse to a 3 button USB wireless mouse and the Right Click Context Menu worked as intended. In my case, this problem seems due to to the Apple mouse. It's possible Apple Mouse may be producing different click events?
HTH
Hi Mitch Dresdner,
Could you connect your Apple mouse, reproduce the problem, and collect diagnostic data? (Help | Collect Logs and Diagnostic Data)
Does the context menu work fine in other Swing applications? (E.g. NetBeans)
You can upload the files at https://uploads.services.jetbrains.com and specify the unique file name here.