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 99210 - Useless question dialog when try to switch to Advanced options
Summary: Useless question dialog when try to switch to Advanced options
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
: 100165 105382 111299 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-28 09:35 UTC by Max Sauer
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

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 Max Sauer 2007-03-28 09:35:56 UTC
A question dialog with message "There are some changes. Do you want to apply
them?" appears every time a user tries to switch to Advanced Options.

This issue is similar to issue 67713 and issue 65808.

Steps to reproduce:
-------------------
1) Start IDE
2) Open a j2se project
3) Invoke Tools|Options
4) Switch category to ie. 'Misc'
5) Press 'Advanced options' JButton

---
NetBeans IDE Dev (Build 200703272330) (M8)
1.6.0; Java HotSpot(TM) 64-Bit Server VM 1.6.0-b105
SunOS version 5.10 running on sparcv9
en (nb); ISO646-US
Comment 1 Max Sauer 2007-03-28 09:37:29 UTC
P3>P2. It is really annoying, has to be fixed in FCS. Previous issues with same
usecase were also P2s.
Comment 2 novakm 2007-04-10 08:35:39 UTC
*** Issue 100165 has been marked as a duplicate of this issue. ***
Comment 3 rmatous 2007-06-27 15:12:31 UTC
This useless dialog is driven by individual panels and their impl. of OptionsPanelController.isChanged. 

Definitelly found problem in FormatingOptionsPanelController. Variable change is set properly but should be unset when
aplyChanges or cancel is called. Reassigned
Comment 4 Petr Hrebejk 2007-07-10 16:34:00 UTC
Checking in FormatingOptionsPanel.java;
/cvs/java/source/src/org/netbeans/modules/java/ui/FormatingOptionsPanel.java,v  <--  FormatingOptionsPanel.java
new revision: 1.10; previous revision: 1.9
done
Checking in FormatingOptionsPanelController.java;
/cvs/java/source/src/org/netbeans/modules/java/ui/FormatingOptionsPanelController.java,v  <-- 
FormatingOptionsPanelController.java
new revision: 1.4; previous revision: 1.3
done
Comment 5 Max Sauer 2007-07-11 12:47:46 UTC
It still does not work as expected. After a change has been made inside Java Code, the useless dialog appears again.

Steps to reproduce:
-------------------
1) Start IDE
2) Open a j2se project
3) Invoke Tools|Options
4) Switch category to ie. 'Java Code|Hints'
5) Check CB General|Assignement to itself
6) Confirm OD
7) Invoke Tools|Options
8) Switch to Adnvanced Options

---
Product Version: NetBeans IDE Dev (Build 070711) 
Java: 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 
System: Linux version 2.6.12-1.1390_FC4smp running on i386; 
UTF-8; en_US (nb) Userdir: /home/ms159439/.netbeans/dev
Comment 6 Petr Hrebejk 2007-07-11 13:03:36 UTC
Only hints panel is wrong. 
Comment 7 Petr Hrebejk 2007-07-11 17:48:56 UTC
Hopefully finally fixed

Checking in HintsPanelLogic.java;
/cvs/java/hints/src/org/netbeans/modules/java/hints/options/HintsPanelLogic.java,v  <--  HintsPanelLogic.java
new revision: 1.9; previous revision: 1.8
done
Comment 8 Max Sauer 2007-07-13 11:13:30 UTC
Verified, altough there are some tabs from different modules, which are still wrong. I'll file new issues for specific
modules.
---
Product Version: NetBeans IDE Dev (Build 070713) 
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 
System: Linux version 2.6.12-1.1390_FC4smp running on i386; 
UTF-8; en_US (nb) Userdir: /home/ms159439/.netbeans/dev
Comment 9 rmatous 2007-07-17 14:42:39 UTC
*** Issue 105382 has been marked as a duplicate of this issue. ***
Comment 10 rmatous 2007-09-13 15:03:29 UTC
*** Issue 111299 has been marked as a duplicate of this issue. ***
Comment 11 Quality Engineering 2007-09-20 12:09:25 UTC
Reorganization of java component