This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Orion build: Forte for Java, EE v. 4.0-EA (Build 020318) Using shift-F10 in the Build Output Window ( the Output WIndow [compiler] or [Output Window [make]) the context menu is "invisible". The left corner of the window was blanked out. It looked like that it is displayed white chars on white background. If I moved the arrows up and down on that area, the items will appear. The contextual menu using right-click mouse is working fine. To reproduce the problem: - In the Explorer window, highlight a Java program from the <userdir>/sampledir/examples/advanced - Highlight MemoryView, shift-F10 to bring up context menu -> select Compile - The Output Window [compiler] will appear. - Use shift-F10 to bringup the contextual menu for that window, the left corner of the window will be blanked out. Moving arrows up and down will make the items appear on the menu. Problem happened if running IDE from the machine that DISPLAY remotely. It's working fine on the local machine, displayed locally.
I've seen this on a local Solaris system (not xhosted) running GNOME 1.4, but I've only seen it intermittantly.
On a more general note, I've seen inconsistancies with Shift-F10 in other windows as well. In my setup (Gnome with FVWM2) I never get Shift-F10 to work. In a colleague's setup (standard Solaris CDE) he gets Shift-F10 to work in the explorer, but only after he has posted the context menu first via the 3rd mouse button. Then the Shift-F10 works. Perhpas this issue should be expanded or another, more general, be opened regarding Shift-F10 support in all windows with context menus.
One more thing, I told Loan that this was probably a terminal emulator problem. I've since talked to Ivan and he doesn't do the context menus in the build output window. So its more likely a problem in the generic core than in terminalemulator. Possibly in OutputTabTerm?
Reproduced on Win2K and JDK 1.4 too. I'll attach patch, which should works correctly. Please test it. If OK, I'll request commit into 3.3.2. Thanks
Created attachment 5189 [details] core_patch .jar for Orion FCS
George put the patch core_patch.jar on to the ifdef nightly build today /net/extend4/export/extend4d/ifdef/install/ffj.020325/lib/patches I verified that the problem was fixed with this patch. Context menu is "visible" now. Thanks
Fixed in NB trunk. Waiting for approval to commit into orion_fcs
Diff for review: http://www.netbeans.org/source/browse/core/src/org/netbeans/core/output/OutputTabTerm.java.diff?r1=1.55&r2=1.56
patch verified
Created attachment 5207 [details] diff of proposed enhancement of fix
I would use Muste.EVENT for AWT replanning, which replans to AWT only if current processing thread is different.
integrated in orion_fcs
verified in [orion_CE](20020401) && [jdk1.3.1](03)/[jdk1.4](fcs)
Resolved for 3.4.x or earlier, no new info since then -> closing.
moving terminal emulator issues to terminalemulator component. To see the correct version and target milestone of this issue look at Issue Activity table.