Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still some problems with opacity handling in Symbolizer Editor #1359

Closed
verendi opened this issue Mar 3, 2021 · 5 comments
Closed

Still some problems with opacity handling in Symbolizer Editor #1359

verendi opened this issue Mar 3, 2021 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@verendi
Copy link

verendi commented Mar 3, 2021

Bug

Describe the bug

  1. For polygons, Fill-Opacity value can be set and is applied and saved to the style, but it does not show up when editing this rule again (so the user cannot see that this value is already set).
  2. For points, the Stroke-Opacity works fine, but the Fill-Opacity is not working (is not applied to the style).

To Reproduce
Steps to reproduce the behavior:

  1. For the polygons issue, open the Symbolizer Editor in rule of a polygon style and set a Fill-Opacity value. Close the Symbolizer Editor and open it again.
  2. For the points issue, open the Symbolizer Editor in rule of a point style and try to set the Fill-Opacity value.

Expected behavior

  1. For the polygons issue, the saved Fill-Opacity value should be visible in the Symbolizer Editor.
  2. For the points issue, the Fill-Opacity should be applied to the style.

Screenshots

  1. Polygon issue
    geostyler2

  2. Point issue
    geostyler1

Desktop:

  • OS: Linux Mint 19.1
  • Browser: Chromium Version 87.0.4280.66

Additional context

@verendi verendi added the bug Something isn't working label Mar 3, 2021
@weskamm
Copy link
Contributor

weskamm commented Mar 3, 2021

I may have a fix for this, at least if SLD is involved. Will try to cross reference here

@KaiVolland
Copy link
Collaborator

We need to be precise on opacity, fill-opacity and stroke-opacity. opacity is missing in the above symbolizer-editors which might be a problem.

@weskamm
Copy link
Contributor

weskamm commented Mar 4, 2021

I may have a fix for this, at least if SLD is involved. Will try to cross reference here

only related to SLD 1.1, see https://github.com/geostyler/geostyler-sld-parser/pull/289/files#diff-03b9f5ee99035e0bf89d2385871c79bce270f81666e5bf0cc8e4a13ccbfe3f15L400-R451

@KaiVolland
Copy link
Collaborator

Should be fixed with #1374. Pleas try again with version 5.1.0.

@jansule
Copy link
Contributor

jansule commented Mar 30, 2021

Actually fixed in v6.0.0

@jansule jansule closed this as completed Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants