Opened 15 years ago

Closed 15 years ago

#1019 closed defect (fixed)

Setting Feature Style background color to "Transparent" does not work

Reported by: daengineer Owned by: ksgeograf
Priority: medium Milestone: Maestro-2.0
Component: Maestro Version:
Severity: major Keywords:
Cc: External ID:

Description

When setting the feature style for an area to have a pattern with a foreground color and a transparent background color the feature is actually generated with a black background, not transparent. Editing the XML file directly to to have the first two hex codes to 00 for the <BackgroundColor> setting for the feature generates a feature with a real transparent background color. This is in the latest r9311 build as well as the 1.0.9 release.

Change History (2)

comment:1 by daengineer, 15 years ago

After downloading the source and debugging I can see what is going on. If you choose the value "Transparent" from the list it should call Color.FromArgb with the first argument as 0 (ignoring the transparency slider value).

comment:2 by ksgeograf, 15 years ago

Milestone: Maestro-1.0Maestro-2.0
Resolution: fixed
Status: newclosed

Thanks for reporting this. There was also an issue with the color picker not displaying "transparent" when editing.

Feel free to submit a patch for issues like this.

Fixed in r3972.

Note: See TracTickets for help on using tickets.