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 97362 - Application Actions - edited action's attributes are not updated on time
Summary: Application Actions - edited action's attributes are not updated on time
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Joshua Marinacci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-07 10:34 UTC by Jana Maleckova
Modified: 2007-06-15 12:20 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 Jana Maleckova 2007-03-07 12:26:59 UTC
NetBeans IDE Dev (Build 070305)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

Description:
============
1. create JDA appl
2. Open Application Actions Editor which displays all actions from project
3. select one of them and do edit
4. Change e.g. text property and confirm it

see that your action was not updated and in Appl. Action editor there is added
new action with the same name but already with new text attribute. If edit
button is pushed again action is updated and text attribute is added correctly.
Comment 1 Joshua Marinacci 2007-03-13 03:39:04 UTC
When the action is updated through the global action list it is not updating the attached form model. This 
should be changed.
Comment 2 Joshua Marinacci 2007-03-14 22:44:38 UTC
I've just committed back a patch that should fix this issue. Please let me know if it works for you now. 
Thanks.
Comment 3 Jan Stola 2007-03-19 16:54:08 UTC
I guess that Josh forgot to mark this issue as FIXED.
Comment 4 Jana Maleckova 2007-03-19 17:00:21 UTC
Issue still remains. 
1. Action which is edited, is added in the end of the list. It can confuse user.
Edited action should stay at the same position as was before editing
2. not all action's attributes are updated after editing

Description of step #2
======================
1. create 2 actions - both have set accelerator, small icon and text attr.
2. select one and do edit
3. clear accelerator and confirm it
Now see, this action has empty accelerator but icon remains set
4. select the second action and do edit
at that time ... icon of the first action disappears

I can see, the same issue appears when icon is set and accelerator not. Because
when accelerator is additionally set, icon is unset again at this action.
Comment 5 Joshua Marinacci 2007-05-19 01:32:54 UTC
I have just fixed the first issue. Actions will keep their position when updated.
I cannot reproduce the second issue. I think it has been fixed already by other changes in the last two 
months.
Comment 6 Jana Maleckova 2007-06-15 12:20:09 UTC
verified on

Product Version: NetBeans IDE Dev (Build 200706141800) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System:
Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Userdir: D:\userdir60