-
Notifications
You must be signed in to change notification settings - Fork 1.3k
5.5.0 is not respecting line-dasharray #15930
Comments
My supposition is that #15756 might be breaking it? |
@julianrex same for this issue. Please let me know if I am opening issues in the wrong repo and I will move them to the main one! |
Hello! Upping this because is business critical for me, but I can't rollback to 5.4.0 due to the other issues with insets in that version. |
@racer1988 moving this ticket to the gl-native repo as it appears to be a core rendering issue. /cc @tmpsantos |
More investigation shows that: It works in 5.4.0 so it's a 5.5.0 issue. |
Thanks for the clarification @racer1988. |
@racer1988 thanks for reporting and bisecting the issue. We will have a look monday. @julianrex thanks for flagging. I'm surprised our render tests have not caught this regression. :-( |
@racer1988 ,
Apart from Did you identify some specific issue in the patch or bisecting showed that it is the one causing the regression? |
@astojilj for number #15756 I just guessed. It seems to be the only change in the changelod between version 5.4.0 and 5.5.0 that changes the rendered/style part of the core. I haven't seen any other issue/change talking about rendered/style, so I suggested that might be a good place to start bisecting the regression. Here is the style we use to draw either the normal line and the dashed line with white border and blue content. The same style is used across iOS and Android and works until iOS version 5.4.0 (and still works on Android)
|
@racer1988
|
@astojilj there is another similar example in mapbox/mapbox-gl-native-ios#62 as this was working until 5.4.0, I don't believe this is a issue with my style. To set this I create a
before assigning the shape to the source and enabling the layers |
We don't have render tests combining round line-cap and line-dasharray and this wasn't caught by tests. Related to 84f2ff1 Reproducible using iOS Demo App, using patch:
|
Fix is in #15947 |
@julianrex How will the GL-native fixes end up in iOS SDK now? Will this be in |
@racer1988 Yes it is! /cc @jmkiley |
line-dasharray stopped working in Mapbox SDK 5.5.0.
https://docs.mapbox.com/mapbox-gl-js/style-spec/#paint-line-line-dasharray
example layer:
Steps to reproduce
Expected behavior
Actual behavior
Confguration
Mapbox SDK versions: 5.5.0
The text was updated successfully, but these errors were encountered: