MacOS and IDEA

Yeah for menubar (so I am picky) but it works sofar, no massive testing yet but did some hide/show and quit. I like the preferences menu.

Now for the picky part. All the menus seem to have an extra line between the menutitle and the menu itself. So for instance when I pull down the File menu I see:

File

New Project...
New Module...

Also (and this is picky) there is an Exit option still under the file menu as well an about option under the Help menu.

Rob

0

No, I am running 10.3.5 M70 with standard OOB JDK, not DP.

how's that for 3 different setups?

0

Ah, that's what the sequence is!

I've been trying to figure out what the trigger is and was not coming up with anything - I didn't want to post an ambiguous "keys stop working for no apparent reason" - exactly the type of bug I most complain about getting assigned...

Anyway, I notice losing a wide variety of cmd-key based shortcuts, notably cmd-opt-U (toggle case) and cmd-shift-J (join lines).

Just another data point...

0

Michael Abato wrote:

Ah, that's what the sequence is!

I've been trying to figure out what the trigger is and was not coming up with anything - I didn't want to post an ambiguous "keys stop working for no apparent reason" - exactly the type of bug I most complain about getting assigned...

Anyway, I notice losing a wide variety of cmd-key based shortcuts, notably cmd-opt-U (toggle case) and cmd-shift-J (join lines).

Just another data point...


Seen cmdshiftJ as well. The problem exist in prior system menu days though.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Hani Suleiman wrote:

FYI, still happens in 2222. Once I open up any menu, search in path keybinding breaks.

Yeah, I know. I've reproduced the problem on a sample program. Do not think it makes any sense to submit bugreport to
Apple a couple of days before release though...

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

FYI, still happens in 2222. Once I open up any menu, search in path keybinding breaks.

0

In article <cdoflg$7am$1@is.intellij.net>,
"Maxim Shafirov (JetBrains)" <max@intellij.com> wrote:

Michael Descher wrote:

Not sure if it is related, but I could not get APPLE + F12 to work in build
2218.


This doesn't seem funny anymore
Max Shafirov: Apple *
Hani Suleiman: Apple Shift F
Michael Descher: Apple F12

Is anyone able to see the system there?


For what it's worth, I can see cmd-f12 in 2214, so it is a recent change.

Scott

0

Um, bad news, I got the menu items all greying out after working for a while with 2222. Even more interesting, the screenmenubar items all would dissapear when in IDEA editor, btu would show up if I mouseover the menubar. Restart fixed it.

0

Hani Suleiman wrote:

Um, bad news, I got the menu items all greying out after working for a while with 2222. Even more interesting, the screenmenubar items all would dissapear when in IDEA editor, btu would show up if I mouseover the menubar. Restart fixed it.

Damn, that thing think it is in modal dialog. Don't you remember what you've been doing before that happened. I do
understand this is silly question but possibly we could find something common if that'll be happening to many people.
Haven't an internal error dialog popping up in that session?

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

No, no internal errors or anything of the sort. I'll try to keep an eye out for it happening and see if I can reproduce it.

0

To the borken shortcuts thing. It seems I've nailed down the problem to the smallest demo possible. Would you please try
it out and say I'm not a crazy mushroom eating dumb... before I submit it to Apple bugtracker.

import javax.swing.*;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;

public class BrokenShortcuts {
public static void main(String[] args) {
System.setProperty("apple.laf.useScreenMenuBar", "true");
JFrame frame = new JFrame("Test");
JMenuBar bar = new JMenuBar();
final JMenu file = new JMenu("File");
final JMenuItem item1 = new JMenuItem("Item One");
final JMenuItem item2 = new JMenuItem("Item Two");

file.add(item1);
file.add(item2);

bar.add(file);

frame.setJMenuBar(bar);

JTextArea text = new JTextArea("Try various shortcuts like Meta*, MetaShiftJ, MetaShift+F etc.\n" +
"Then open and close File menu (do not select anything) and try those shortcuts again.\n" +
"Compare event sequences generated before and after menu access.");
frame.getContentPane().add(text);

text.addKeyListener(new KeyListener() {
public void keyTyped(KeyEvent e) {
}

public void keyPressed(KeyEvent e) {
System.out.println(e);
}

public void keyReleased(KeyEvent e) {
System.out.println(e);
}
});

frame.pack();
frame.show();
}
}


--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

You're not crazy, although you should probably cut down on those mushrooms!

Yep, your testcase works as expected. Everything works fine, then going to the menu and try a shortcut again results in the last key not being detected, and a short beep issued instead. Crazy!

0

Hani Suleiman wrote:

You're not crazy, although you should probably cut down on those mushrooms!

Yep, your testcase works as expected. Everything works fine, then going to the menu and try a shortcut again results in the last key not being detected, and a short beep issued instead. Crazy!

Upon further investigation you do not even have to have any menu items. Accessing App menu (with quit and hide options)
is enough to break everything. That's why the problem appeared even before system menu became default but that was quite
a rare situation cause one rarely opened that menu with all the items disabled.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Apple BugId: 3738832
Any lobbying activity appreciated ;)

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

In article <cdr5lu$pvh$1@is.intellij.net>,
"Maxim Shafirov (JetBrains)" <max@intellij.com> wrote:

3738832


Let the duplicate bug reports begin...

Scott

0

In article <scott-4B7239.13335623072004@news.intellij.net>,
Scott Ellsworth <scott@alodar.com> wrote:

In article <cdr5lu$pvh$1@is.intellij.net>,
"Maxim Shafirov (JetBrains)" <max@intellij.com> wrote:

3738832


Let the duplicate bug reports begin...


A word of explanation - Apple does not have an official bug voting
system like JB. I have heard that they do weight bug fixes on how
many developers and how many users the bug in question impacts.

Thus, now that Maxim has created a good reproducible test case, if you
happen to be willing to run it on your own computer to make sure it
happens for you, and then to file an appropriate bug report with Apple
referencing his bug, they have a wider variety of system software, java,
and physical machine specs that demonstrate the bug.

Scott

0

Thanks to Scott Kovatch from Apple the issue is actually resolved. Those shortcuts are actually in use by some items in
Services menu. Sorry for the false alarm.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Aha! apple-shift-F was going to launchbar in my services menu, deinstalling that fixed my problems. Hooray!

0

What I get after using IDEA 4.5 2226 for awhile is eventually the items in the IDEA application menu will be greyed out. All except "Services" which really doesn't matter since all the services are greyed out. That and menu shortcuts won't work. Even worse, IDEA's other menu items are not greyed out but they will not work via shortcut or direct selection. If I poke around I find there is a blank dialog left open. Right now, the "Rename" dialog is open. That is there is a "Rename" window with nothing inside of it. I am unable to close it. Hence I have the IDEA main IDE window open. And I also have stuck on my screen a leftover "Rename" dialog from one of the times I used it.

Anyone else seeing this problem check for a empty "zombie" dialog window open UNDERNEATH your IDE window. Oddly enough, from IDEA 4.0 I used to force IDEA's menu bar out of the IDEA window and into the MacOS X menu bar. And I'd get the same problems I just described with 4.5. Eventually I simply disabled the MacOS X Java property that will stick the main frame's menu in the MacOS X menu bar. And I never got the greying or the problems listed above. But I missed not having the menu bar in the proper MacOS X place.

And now that 4.5 is placing the IDEA menu bar in MacOS X menu bar I get the problems I've seen since 4.5. The hunch about modal dialog behavior seems to be on the right track. Seems the zombie dialog is always there when strange greying occurs and menu items stop working.

0

请先登录再写评论。