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: | Focus on Editor | ||
---|---|---|---|
Product: | platform | Reporter: | lascar <lascar> |
Component: | Window System | Assignee: | mslama <mslama> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | Keywords: | FOCUS |
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
lascar
2003-06-11 10:27:05 UTC
Marek, I think this is duplicate of another issue..... I cannot reproduce. Focus is in Source Editor, press Ctrl-F, enter some text, press Enter -> focus is back in source editor. SDI, Linux, RH 7.1, KDE 2.1.1, JDK 1.4.2_b26 or JDK 1.3.1_08, current NB dev build and NB 3.5 FCS. Marian please can you check on Windows? Could be specific only to Win XP? Sorry. Misunderstanding. But anyway I cannot reproduce it: When I invoke Ctrl-F focus is in text field of dialog. (One additional thing: Current dev build runs only on JDK 1.4.) I checked current dev build 200306180100 on JDK 1.4.2_b26 and it happens (sometimes, not always). I will investigate. But it happens in MDI. This was caused by hack to fix JDK bug #4524015. (It generated WINDOW_ACTIVATED event when Find dialog was invoked by Ctrl-F -> requestFocus() on editor is called in such case.) Not completely clear why this hapenned. Anyway this JDK bug was already fixed in JDK 1.3.1_03 (see #4503980) and as we support running NB on JDK 1.4 I removed this hack -> it fixes this problem. Fixed in main trunk. Modified: core/windows/src/org/netbeans/core/windows/MainWindow.java r.1.3 Removed: core/windows/src/org/netbeans/core/windows/JdkBug4524015Hack.java It seems like it works fine now, verified in [nb_dev](20030728) |