| Summary: | Help menu is broken | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Thomas Watson <tjwatson> |
| Component: | SWT | Assignee: | Scott Kovatch <skovatch> |
| Status: | RESOLVED FIXED | QA Contact: | Silenio Quarti <Silenio_Quarti> |
| Severity: | normal | ||
| Priority: | P3 | CC: | eclipse.felipe, njbartlett, remy.suen, Silenio_Quarti |
| Version: | 3.7 | ||
| Target Milestone: | 3.7 M2 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
|
Description
Thomas Watson
This doesn't seem to be working for me either. SWT changed some code for bug 316238 though I'm not sure if it's related. Works fine for me. MacBook Pro, Mac OS 10.6.3 Java 1.6.0_15-b03-219 Eclipse I20100805-1700 I tried I20100804-0100 with 1.5.0.22 b03 and it was broken there too. Correction, in my previous test Eclipse had picked up a Java 1.5 VM. The full version was 1.5.0_19-137. However it is still working in Java 6: java.version=1.6.0_15 java.vm.version=14.1-b02-90 Are you using Mac 10.6 or Mac 10.5 ? I am on Mac 10.5.8. It also fails for me with 64-bit on 1.6.0_20 VM. It looks like others on Snow Leopard do not see the issue. Moving to SWT for now. I don't think this issue has anything to do with UA directly. I was testing on 10.5.8 also. Cannot reproduce with 3.6.0. I've shown the problem to Silenio. The change for bug#312195 broke this. This line in Shell.windowDidResignKey() is causing the problem. I am going to remove this line for tomorrow's I-build since it does not seem necessary. This will not cause bug#312195 to come back. display.setMenuBar(null); Fixed > 20100809. Scott, please take a look once you are back from vacation. I don't think this made it into the I20100810-0800 build. Did SWT get tagged in time? (In reply to comment #12) > I don't think this made it into the I20100810-0800 build. Did SWT get tagged > in time? I don't think so. http://dev.eclipse.org/mhonarc/lists/platform-releng-dev/msg17220.html Sorry, we did not tag in time for that build. (In reply to comment #10) > This line in Shell.windowDidResignKey() is causing the problem. I am going to > remove this line for tomorrow's I-build since it does not seem necessary. This > will not cause bug#312195 to come back. > > > display.setMenuBar(null); Clearing the menu bar when a window resigns key made sense because there's no guarantee another window will take its place to reset the menu bar. However, I forgot that clicking on the help menu forces the window to resign key status because the user can type into the help menu. The AWT had a similar problem; I will write up a test case and verify what happens in the SWT. |