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 96745 - "View source" button and method focus
Summary: "View source" button and method focus
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Joshua Marinacci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-28 09:20 UTC by Jiri Vagner
Modified: 2007-04-24 11:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
method-focus.jpg (52.13 KB, image/jpeg)
2007-02-28 09:24 UTC, Jiri Vagner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Vagner 2007-02-28 09:20:33 UTC
Sometimes button "View source" is focusing empty line beetwen two methods and
it's very confusing.

Steps to reproduce:
 - Create new "Desktop" and "Basic" app using wizzard in promoh
 - Invoke popup menu on Save icon and click "Set action ..."
 - Change method combobox to various method names and check the focus after
pushing "View source" button.


NetBeans IDE Dev (Build 061123)
NetBeans-form_promoh-070227.zip
1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b04
Windows XP version 5.1 running on x86
cs_CZ (nb); Cp1250
Comment 1 Jiri Vagner 2007-02-28 09:24:07 UTC
Created attachment 38962 [details]
method-focus.jpg
Comment 2 Joshua Marinacci 2007-03-13 03:55:19 UTC
I can confirm this bug.  I'm not sure how to fix it, however. I will wait until we have merged to head and 
begin using the new editor API to calculate the correct line.
Comment 3 Joshua Marinacci 2007-04-17 01:48:48 UTC
fixed now
Comment 4 Jiri Vagner 2007-04-24 11:46:09 UTC
Verified

NetBeans IDE Dev (Build 20070424-0751)
1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02
Linux version 2.6.17-10-386 running on i386