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 141298 - Changes in Hints settigns are not applied when Options dialog is closed
Summary: Changes in Hints settigns are not applied when Options dialog is closed
Status: VERIFIED DUPLICATE of bug 119868
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 11:00 UTC by Petr Dvorak
Modified: 2008-07-23 12:32 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 Petr Dvorak 2008-07-23 11:00:41 UTC
Product Version: NetBeans IDE Dev (Build 200807221016)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)

Options from Tools>Options, Editor, Hints tab are not applied when Options dialog is closed, action in the editor is
needed (typing in the editor, close/re-open)

0. Start IDE with a fresh userdir
1. Create a project with a java file containing unused imports, imports from the same package, import from forbidden
package (sun.**) ...
-> Hints/Annotations are displayed

2. Go to Tools>Options, Editor, Hints tab
3. Uncheck "Imports" (disable all hints concerning imports)
4. Click OK
-> Hints/Annotations are still displayed, change was not triggered

5. Start typing in the file, switch to another tab and back or close and re-open the file
-> Hints/Annotations are finally disabled

Triggering the "hints/annotations update action" only for the currently active editor tab should be enough to solve this
issue...
Comment 1 Vitezslav Stejskal 2008-07-23 12:28:50 UTC
Already reported, thanks.

*** This issue has been marked as a duplicate of 119868 ***
Comment 2 Petr Dvorak 2008-07-23 12:32:01 UTC
Verified.