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 43616

Summary: No Cursor on every 2nd mouse tab change
Product: platform Reporter: zikmund <zikmund>
Component: -- Other --Assignee: issues@platform <issues>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description zikmund 2004-05-20 13:30:00 UTC
Build 200405191800

1) Open several files (at least 2)
2) Use mouse to click the tab of another file
(click #1)
3) ERROR: no cursor in the opened file (probably
not fully focused) -- try arrows up/down, they
have no any effect
4) Again click another tab (click #2)
5) Cursor is OK
6) Again click another tab (click #3)
7) Cursor ERROR again.
8) etc.

Notice: the behavior doesn't depend on the file
name, only on the click order - every odd click
fails to show the cursor.
Comment 1 Martin Roskanin 2004-05-24 17:01:58 UTC
I have already reassigned similar problem to openide before. This will
be probably duplicate of it. 
Try to run NB using a switch -J-Dnetbeans.debug.editor.caret.focus=true
The event focusGained is not passed to editor.
Comment 2 Martin Roskanin 2004-06-17 09:04:30 UTC
*** Issue 44748 has been marked as a duplicate of this issue. ***
Comment 3 Milos Kleint 2004-06-17 09:14:10 UTC
i've fixed a similar issue yesterday (#44278) that one had similar
effect on tc's in modes. just tested with 20040617 trunk build and it
works ok. All the cursors appear in the editors.

closing as duplicate.

*** This issue has been marked as a duplicate of 44278 ***
Comment 4 zikmund 2004-06-17 11:30:33 UTC
It works now.