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.
Summary: | Cursor disappears on IDE minimize | ||
---|---|---|---|
Product: | platform | Reporter: | JavaDan <javadan> |
Component: | Window System | Assignee: | Peter Zavadsky <pzavadsky> |
Status: | VERIFIED WONTFIX | ||
Severity: | blocker | CC: | mmirilovic, mroskanin, mslama |
Priority: | P3 | Keywords: | FOCUS |
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
JavaDan
2002-07-25 00:16:32 UTC
I strongly suspect that this is an AWT/Swing bug. The blinking of the caret is done by Swing itself by listening on component focus events. JDK version please? Am using j2sdk 1.3.1_01. Dell Dimension 8100 (1.5GHz P4 - 256K). This bug is reported in version <= 3.4dev and still not fixed. Due to that it forbids the release candidate for 3.4 to be promoted. Are you aware of that and are you intensively working on the fix? If not, you should consider some corrective action. seems to be OS related bug, I'm not able to reproduce, tested ok on: - jdk1.3.1_02, win2000 - jdk1.4 beta, linux We don't have possibility to test on XP, so Dan can you test on win2000 to confirm that this is XP related? Thx. (lowering to P3 to indicate that it's not reproductible and don't do major harm to the system) This disappearing cursor bug also happens on windows 98, with Netbeans 3.4, jdk1.3.1_04. I also found out that if you change the document and save it using the save-button, the cursor reappears. However, the cursor does not reappear when you use ctrl-s to save the document. So it seems to be a focus thing. changed owner Dafe -> Peter Z. reassign to Tim, new owner of AWT/Swing Reassigning to window system, which is probably where this issue can be solved. I reassign to editor if they can add something to this. I am not able to reproduce it on current dev build, Linux, JDK 1.4.1_01. We had recently one issue #31087 with missing cursor in editor but not sure if it can be connected. I cannot reproduce it too. But I have reproduced the similar problem in dev build from 10.3 on win2k, jdk1.3.1_03 as well as jdk1.4.1, MDI Use maximize and restoring to previous size buttons several times. The focus is lost after changing the window from maximized to default size. Editor module receives focusLost event after restoring the default size action but no focusGain event, the problem is probably somewhere in the core. (You can debug gain/lost focus via debug param: -J-Dnetbeans.debug.editor.caret.focus=true) Maybe it is connected with the problem, that Dan mentioned also. Reassigning to core for evaluation. I have reproduced the problem with minimizing also. 1. minimize the window 2. drag the minimized window toolbar a little bit 3. click on the toolbar, window is restored, focus is lost Note: I couldn't reproduce the problem on jdk1.4.1 I can reproduce it only in jdk1.3.1. Again, editor doesn't receive focusGained event. Anyway, after click on editor area the cursor becames visible. Dan, first I am sorry that this issue travels from one man to another :(. I hope window system is (partially) responsible for focus handling. Because Window System v1 will not be supported from now by our team, all old winsys issues (now "core/window system v1" issues) are going to be closed as WONTFIX. Changes in API which emerged both from UI spec and problems with adjusting to the older API are described in the document http://core.netbeans.org/windowsystem/changes.html. It shows also recommends how the client code should be adjusted to the new window system. If you think this issue apply also to the new winsys then change the subcomponent (to "core/window system") and REOPEN it. issue doesn't apply to new window system - verified |