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 104065 - Make font family dialog cancellable
Summary: Make font family dialog cancellable
Status: RESOLVED WONTFIX
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: All Linux
: P4 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 119791 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-16 14:06 UTC by Jindrich Sedek
Modified: 2009-12-21 05:54 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 Jindrich Sedek 2007-05-16 14:06:38 UTC
Create new WebApplication
Create new CSS style
Press Edit... button on visual css editor to open Edit Font Dialog
Do some changes
press Cancel
all changes are applied and not reverted
Comment 1 Marek Fukala 2007-10-18 22:54:47 UTC
The current implementation of the UI directly modifies the font model (you can see the changes done in the dialog
immediatelly in the StyleBuilder UI as well) so the issue is not easily fixable. I would have to reimplement the
UI-model binding completely. I can do that after 6.0, but wouldn't it be enought if I remove the cancel button and
change the OK to Close? It would be more clear to user that the changes are applied immediatelly. This is HIE issue
however :-(.
Comment 2 Marek Fukala 2007-10-23 15:49:35 UTC
*** Issue 119791 has been marked as a duplicate of this issue. ***
Comment 3 Marek Fukala 2007-10-23 15:59:33 UTC
fixed - the dialog now has just "Close" button. The solution is pretty tricky anyway - it user changes something and
close the window directly the changes are made anyway :-(. I can change this so the editor content is not changed, but
the problem is that the model changes cannot be reverted easily.

Checking in FontFamilyEditorDialog.java;
/cvs/web/css/src/org/netbeans/modules/css/visual/ui/FontFamilyEditorDialog.java,v  <--  FontFamilyEditorDialog.java
new revision: 1.4; previous revision: 1.3
done
Comment 4 Marek Fukala 2008-02-25 16:55:37 UTC
not critical issue, noone complained about except QE
Comment 5 Quality Engineering 2009-12-21 05:54:32 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team