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 17310 - Output window settings property sheet - color selection not managed correctly
Summary: Output window settings property sheet - color selection not managed correctly
Status: CLOSED DUPLICATE of bug 17240
Alias: None
Product: cnd
Classification: Unclassified
Component: Terminalemulator (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: akemr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-05 23:04 UTC by _ tboudreau
Modified: 2008-12-23 08:11 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 _ tboudreau 2001-11-05 23:04:33 UTC
Open Output Window settings.  Change the value for the Background property using
the custom editor.  The Foreground property editor changes to the same color. 
Subsequent changes of the Background property do not have this effect, but
subsequently changing the Foreground property causes the Background property
editor to change color.  Looks as if the Foreground property editor is attaching
a listener to the Background property and vice versa.
Comment 1 akemr 2001-11-06 12:37:01 UTC
I cannot reproduce it or don't understand.

Do you think its another behaviour as e.g. in editor color settings?
Comment 2 _ tboudreau 2001-11-06 15:37:10 UTC
Two problems here.  Thinking about it, maybe I have a better
understanding of the first one now:
1. Try changing the Foreground property to some random color.  Close
it and do it again.  Now change the Background property, or change the
Foreground property.  I'm not sure exactly what is going on, but it
looks like possibly the property editor attaches a listener to the
color editor each time you open it, but does not remove it:  open it
twice, and there is still one listener attached the second time it is
closed.  So when you use that custom color editor instance on some
other property, there are two listeners attached - one from the
property editor you want to use, and one from the one you used
before.  When you change the background property using the custom
editor, both the Foreground and Background properties get set to
whatever color you select.  
Comment 3 akemr 2001-11-07 10:17:16 UTC
It's not problem of OW, but Color property editor.
Mark as duplicate of #17240

*** This issue has been marked as a duplicate of 17240 ***
Comment 4 Quality Engineering 2003-07-01 16:06:03 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 5 Quality Engineering 2003-07-01 16:32:04 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 6 Quality Engineering 2008-12-23 08:11:27 UTC
moving terminal emulator issues to terminalemulator component.
To see the correct version and target milestone of this issue look at Issue
Activity table.