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 134975 - Diff options open not at the proper tab
Summary: Diff options open not at the proper tab
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: diff-issues@utilities
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-13 16:48 UTC by Mikhail Matveev
Modified: 2008-06-10 11:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Matveev 2008-05-13 16:48:39 UTC
1. Create a file (for example, Java class).
2. Tools -> Diff.
3. Select a file to compare and click OK.
4. In diff results, click Options... at the toolbar.
Result: Options dialog is open in Miscellaneous, but at the first tab (Ant). If should open at the Diff tab.

Please change issue's category to a correct one.
Comment 1 Jana Maleckova 2008-05-16 10:29:50 UTC
standard behavior of option dialog is this: when is firstly called, Basic options with General settings as default. When
you go to another place, if we take your case, Miscellaneous - Diff and press OK button, then next attempt should open
Options exactly at this place where you have been at the last.
So if I understand it correctly, you have already opened option dialog on Miscellaneous - Diff tab before and if you
tried to opened it again then Miscellaneous options were invoked correctly but Ant tab was visible instead of Diff.

Is it your case ?
Comment 2 Mikhail Matveev 2008-05-16 12:58:15 UTC
No. I haven't invoke Options dialog at all before executing this scenario.
It seems logical that Options dialog should open at a proper place when it's possible to detect which set of options are
actual. Partially, in our case it should open at Miscellaneous (and it does so) at Diff tab (but it it doesn't do so).
Comment 3 Peter Pis 2008-06-02 12:05:22 UTC
Reassigning to "editor" for evaluation.
Comment 4 Maros Sandor 2008-06-10 11:30:24 UTC
I have fixed this recently, please verify in a recent build.
http://hg.netbeans.org/main/rev/18e1c19070d1