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.

Bug 21731 - Shift-F10 on the Build Output Window brings up the "invisible" context menu
Summary: Shift-F10 on the Build Output Window brings up the "invisible" context menu
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Terminalemulator (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: akemr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-19 23:00 UTC by Loan Nguyen
Modified: 2008-12-23 08:37 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
core_patch .jar for Orion FCS (48.33 KB, application/octet-stream)
2002-03-26 14:25 UTC, akemr
Details
diff of proposed enhancement of fix (499 bytes, patch)
2002-03-27 14:32 UTC, David Simonek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Loan Nguyen 2002-03-19 23:00:08 UTC
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.
Comment 1 David-john Burrowes 2002-03-20 00:37:31 UTC
I've seen this on a local Solaris system (not xhosted) running GNOME 
1.4, but I've only seen it intermittantly.
Comment 2 _ gordonp 2002-03-20 03:12:19 UTC
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.
Comment 3 _ gordonp 2002-03-20 03:14:42 UTC
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?
Comment 4 akemr 2002-03-26 14:24:08 UTC
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
Comment 5 akemr 2002-03-26 14:25:42 UTC
Created attachment 5189 [details]
core_patch .jar for Orion FCS
Comment 6 Loan Nguyen 2002-03-26 19:49:25 UTC
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
Comment 7 akemr 2002-03-27 07:07:31 UTC
Fixed in NB trunk.

Waiting for approval to commit into orion_fcs
Comment 9 Lukas Hasik 2002-03-27 13:48:13 UTC
patch verified
Comment 10 David Simonek 2002-03-27 14:32:07 UTC
Created attachment 5207 [details]
diff of proposed enhancement of fix
Comment 11 David Simonek 2002-03-27 14:33:21 UTC
I would use Muste.EVENT for AWT replanning, which replans to AWT only
if current processing thread is different.
Comment 12 akemr 2002-03-28 09:54:04 UTC
integrated in orion_fcs
Comment 13 Marian Mirilovic 2002-04-02 09:27:17 UTC
verified in [orion_CE](20020401) && [jdk1.3.1](03)/[jdk1.4](fcs)
Comment 14 Quality Engineering 2003-07-01 16:46:56 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 15 Quality Engineering 2008-12-23 08:37:19 UTC
moving terminal emulator issues to terminalemulator component.
To see the correct version and target milestone of this issue look at Issue
Activity table.