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 14255 - Multi selection: Undesirable changing of properties
Summary: Multi selection: Undesirable changing of properties
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: All All
: P3 blocker (vote)
Assignee: Josef Kozak
URL:
Keywords:
: 15432 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-08-08 09:53 UTC by Marian Mirilovic
Modified: 2003-06-30 18:28 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 Marian Mirilovic 2001-08-08 09:53:15 UTC
[pilsen](010803),[jdk1.3.1](rc1)

Steps to reproduce:
- open/create form
- add two components ( e.g. 2 JButtons)
- select both (jb1 and jb2)
- change border ( push "..." | select BevelBorder)

-> code is generated for both - that's fine

- select only jb1
- invoke border property editor and change some property for BevelBorder (e.g.
change property <type> to Lowered

-> now is code generated for both jb1 and jb2

This happens only if you first changes do by multi selection, and second changes
in one of them make change in all previous seleced components.
Comment 1 Josef Kozak 2001-09-05 15:18:55 UTC
:::reassigned
Comment 2 Josef Kozak 2001-09-05 17:34:49 UTC
BorderDesignSupport is not shared now, new instance is always created 
in BorderEditor, DesignBorder removed (merged with 
BorderDesignSupport).

::: fixed in dev
Comment 3 Marian Mirilovic 2001-09-07 10:55:18 UTC
Reopen because :
Steps to reproduce:
- open/create form
- add 2 JButtons
- select both buttons and change Border -> BevelBorder
- select one button1 and change Border -> EtchedBorder
- select both and try to change : invoke Border property editor (push
"...")

Now, before own changing border, code for both buttons are regenerated
and border for second selected is the same as border of first selected
button.

This behaviour is only in "dev" !!!


Comment 4 Josef Kozak 2001-09-11 13:30:02 UTC
There was another issue with setting value to the BorderPanel when it 
was created again, this caused regeneration of code immediately. 

::: fixed in dev
Comment 5 Marian Mirilovic 2001-09-12 11:33:07 UTC
verified in [nb_dev](20010912)
Comment 6 Marian Mirilovic 2001-09-13 09:37:41 UTC
P4 -> P3
only for sustaining and issue 15432 reaction 
(15432 issue is based on a FFJ customer's bug report)
Comment 7 Marian Mirilovic 2001-09-13 09:37:50 UTC
*** Issue 15432 has been marked as a duplicate of this issue. ***
Comment 8 Quality Engineering 2003-06-30 18:28:23 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.