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 139513 - local background color not changed for some widgets
Summary: local background color not changed for some widgets
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Yang Su
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-10 02:55 UTC by Peter Lam
Modified: 2008-08-28 21:48 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 Peter Lam 2008-07-10 02:55:08 UTC
build 20080709

The background and foreground color are not changeable locally for the actor role and use case role elements.
Comment 1 Yang Su 2008-07-31 19:11:14 UTC
In the latest build, below widgets do not respond to local color changes.

package
use case role
use case
comment
[all widgets in activity diagram]
[all but simple state, composite state and sub machine state widget in state diagram]



Comment 2 Yang Su 2008-08-01 22:14:34 UTC
the issue related to backgorund color is fixed with
changeset 4cf8a2f69b8f in uml-main
details: http://hg.netbeans.org/uml-main?cmd=changeset;node=4cf8a2f69b8f

issue related to foreground color remains, will be addressed separately 
Comment 3 Trey Spiva 2008-08-04 18:17:27 UTC
Reviewed
Comment 4 Trey Spiva 2008-08-04 18:21:50 UTC
This fix only fixes the background color.  A new issue will be open for the foreground problem.  The new issue is 142830
Comment 5 Yang Su 2008-08-05 22:50:58 UTC
fix for comment widget
changeset bf48ea948cb4 in uml-main
details: http://hg.netbeans.org/uml-main?cmd=changeset;node=bf48ea948cb4

Now it allows user to set preference for comment widget background and text color, also responds to local
foreground/background changes
Comment 6 Trey Spiva 2008-08-06 18:17:08 UTC
reviewed
Comment 7 Peter Lam 2008-08-14 22:13:05 UTC
verified in build 20080814.
The background color can now be changed locally for the use case role but NOT for the actor or actor role.
Changing the background and foreground color globally works for the actor and actor role though.
Comment 8 Trey Spiva 2008-08-15 15:49:38 UTC
Fixed - The actor symbol head now respects the nodes background color.

http://hg.netbeans.org/uml-main/rev/0b18d80eeb9f
Comment 9 Trey Spiva 2008-08-15 18:12:28 UTC
Reviewed
Comment 10 Peter Lam 2008-08-20 01:45:33 UTC
verified in build 20080819.
Comment 11 Peter Lam 2008-08-20 01:50:58 UTC
ops, changing background works initially until a global background change. After changing the backgound globally, the
local background no longer works. Another problem: if I changed the background locally then change the it globally, the
one that was changed locally still gets changed in the global change. Maybe a separate issue should be opened. 
Comment 12 Trey Spiva 2008-08-20 16:48:51 UTC
I am closing this issue since the reason for reopening the issue is covered by the Issue 144514.
Comment 13 Peter Lam 2008-08-28 21:48:17 UTC
verified in build 20080828