Mac IntelliJ cursor style/type does not change (stays as default)

瘦欲@ 提交于 2019-12-09 20:40:31

问题


Sometimes (every 10 minutes in average) the cursor style/type does not change from the default to edit or drag/resize when hoovering between various window components in IntelliJ Idea (OSX Yosemite).

It stays stuck in the default style unless I do some weird combo such as right click in the editor window and then again right click anywhere in the drop down menu.

I'm not sure if this is just problem of Java/IntelliJ Idea or a general problem of Yosemite though as far as I remember it happens only in IntelliJ.

Any suggestions on this matter please?


回答1:


I was having this same issue using JRE 1.8. I was able to fix it by installing Apple's JRE 1.6 and editing the JVM property.

To specify a different JVM version, open up:

/Applications/IntelliJ\ IDEA\ 14.app/Contents/Info.plist

Modify the following property:

<key>JVMVersion</key>
<string>1.6+,1.7+</key>

to

<key>JVMVersion</key>
<string>1.6*</key>

Answer on IntelliJ Support




回答2:


This is an IntelliJ bug. I created a bugreport for it on Jetbrains' YouTrack. You can monitor its progress there.

The bugreport also contains suggested workarounds such as using IntelliJ 14.1 EAP with custom bundled JDK 1.8, which could possibly fix this issue. I have tried it but reverted back to Apple JRE 1.6 almost immediately because of font rendering issues.



来源:https://stackoverflow.com/questions/30452690/mac-intellij-cursor-style-type-does-not-change-stays-as-default

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!