Currently Being Moderated

[Mac] Menu items stop working until IDEA is restarted / IDEA crashes after Apple Java Update 4

VERSION 5

Created on: Jun 23, 2009 5:45 PM by Serge Baranov - Last Modified:  Sep 10, 2009 8:30 PM by Serge Baranov

Unfortunately, the recent Apple Java Update 4 has introduced even more problems, not only for IDEA, but for many other Java applications.

 

After installing the update you may notice that the menu items stop working, the only solution is to restart IDEA. Workaround is to use keyboard shortcuts instead of menu items.

Menu problem is discussed in the Apple Java mailing list. Apple bug ID for this issue is #6992235.

 

We have also received several reports that the Apple Java Update 4 affects the stability of IntelliJ IDEA. After installing the update IDEA may hard crash at random places.

 

UPDATE: It appears that the stability problem is related to Quartz font rendering. Disabling Quartz by changing apple.awt.graphics.UseQuartz from true to false in the /Applications/IntelliJ IDEA.app/Contents/Info.plist file can improve the stability. Side effect of this change is the poor quality of font anti-aliasing.

 

UPDATE 2: Apple Java Update 5 fixes the menu problem, however there are still reports about stability problems despite of the UseQuartz setting.

Average User Rating
(1 rating)




k  k  says:

My understanding is there is no such thing as shared bug reports (i.e. that can be voted on etc) at Apple and that it is useful for all individuals having a problem to submit reports (that is what gets attention).

 

https://bugreport.apple.com/

Serge Baranov Serge Baranov  says in response to k:

You are correct, that bug ID was mentioned in the mailing list by the person who have submitted it. One may reference it in their communication with Apple support if more details are needed.

Marius Scurtescu Marius Scurtescu  says:

Until a proper fix comes out, a work around for those menu items that don't have a shortcut:

 

type Cmd+Shift+a and then start typing the menu item name.

 

Hope that helps.

Alexy Khrabrov Alexy Khrabrov  says in response to Marius Scurtescu:

I started using IDEA 8.1.3 recently and noticed, on Mac, I cannot rearrange tabs by dragging -- nothing drags.  Is it a bug too?

 

Cheers,

Alexy

Serge Baranov Serge Baranov  says in response to Alexy Khrabrov:

Cannot reproduce with JDK 1.5.0_19 and IDEA 8.1.3 on Mac OS X 10.5.7. Dragging the tabs works fine, just like before.

Alexy Khrabrov Alexy Khrabrov  says in response to Serge Baranov:

Serge -- thanks for checking, my JDK for the project is the latest 1.6.0_13.  (The rest is the same: IDEA 8.1.3, Mac OSX 10.5.7.)  Can I set the JDK version separately for use by IDEA itself -- where?  I'm rather new to it.

 

Cheers,

Alexy

Serge Baranov Serge Baranov  says in response to Alexy Khrabrov:

IDEA JDK is already different and has no relation to the project JDK, see the About dialog.

k  k  says in response to Serge Baranov:

I have notice a problem with dragging tabs when they extend beyond the space available... they jump to the far right (i think)

Geoff The Geoff The  says in response to Serge Baranov:

Dragging tabs does not work for me with JDK 1.5.0_19, IDEA 8.1.3 (9886) and OSX 10.5.7.  Tabs are left-clickable (i.e. background tabs can be made active by single-left-clicking them), but attempting to drag them anywhere does not work.  I've tried dragging both the icon and the file name portions of the tab, and neither responds to a drag...

 

(digs around the settings)

 

... unless I have "Show tabs in a single row" checked.  I didn't realize that this was a requirement.  Unfortunately, I need to be able to quickly see all open files, so showing them all in a single row is not an option. :-(

 

Any chance that draggable tab re-ordering could be added to the multi-row tab option?

Erik Pragt Erik Pragt  says:

Hi, I also updated my Java to 1.5.0_19, with IntelliJ 8.1.3 (9886) on OSX 10.5.7, and I got some random crashes too (one of which resulted in 2 hours works gone). In two days, I got two crashes, and reindexing everything takes a long time. I really don't want to switch IDE, but does anyone have a good workaround for this? Can I run IntelliJ on a different VM? (and does it help??). Suggestions highly appreciated!

Yann Cébron Yann Cébron  says:

please fix the default Info.pList for current Maia EAP to _not_ use Quartz as long as Apple does not get around to fix their broken JAVA

Harald Kuhr Harald Kuhr  says:

Hi,

 

I've been using IDEA 8.1.2, 8.1.3 and recently 9.0M1 (Maia) over the last couple of weeks, and my experience is that setting apple.awt.graphics.UseQuartz to false has no effect on IDEA stability (it only makes Monaco unreadable). It still crashes, over and over (5-10 times a day) with the normal rebuilding of indices which takes a looong time.

 

The "funny" thing is that I have one hobby project that I can work on, where IDEA is stable (regardless of the Quartz setting). The only difference I can find between this project and the others are: a) It does not use Maven. b) It does not use version control of any kind (my others are using Subversion and/or Perforce). c) It contains significantly less code than the other projects.

 

Does anyone else have similar experience?

 

 

Best regards,

 

.k

dca dca  says:

Apparently the last update (update 5) has fixed the menu problem ? It did not happen for the last 5 hours. I'm keeping my finger crossed...  

Benjamin Renaud Benjamin Renaud  says in response to dca:

Yes, the release notes for Update 5 beta says it's fixed:

Bug fixes included in Java for Mac OS X 10.5 Update 5 Developer Preview (9M3092):

...

  • ( 6992235 ) REGR: Menu Enable/Disable broken when menu is regenerated

 

So, assuming this really was the bug, relief is in sight.

 

Note that this is a dev preview and that Apple says:

This build has received limited testing and should not be installed on a system with critical data.

Happy hacking!

Ben

Harald Kuhr Harald Kuhr  says in response to Harald Kuhr:

Hi again,

 

Sorry for spreading incorrect information. It seems that what really made the difference, was displaying the run dialog before every run. If I don't do that, I can run IDEA happily for an entire day without crash. Just the menu disabling issue (which seems to be fixed in the dev preview)...

 

 

.k

More Like This

  • Retrieving data ...