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

Min/max zoom level - Snackbar not displayed for layer groups when switched on outside of zoom level #1291

Closed
elizabethgbg opened this issue Feb 20, 2023 · 2 comments
Assignees
Labels
Milestone

Comments

@elizabethgbg
Copy link

elizabethgbg commented Feb 20, 2023

Bug deskription for group layers
When you zoom outside of a layers specified zoom level and switch on a normal layer, a snack bar will appear.
When you zoom outside of a layers specified zoom level and switch on a group layer, no snack bar will appear.

Expected behavior and wishes for group layers
That the indicators for the layer being turned on outside the specified zoom level, work the same on group layers as for single layers. So that the selected setting for the snackbar is displayed for both group and single layers.

NOTE
There are settings in admin for the snackbar - the setting determines if the snackar only should be displayed when the layer is switched on outside the specified zoom lavel, or every time you zoom outside the zoom level when the layer is switched on. Group layers should work like single layers both when this function is activated and deactivated.

This is a clarification of the bugs described in #810
Related issues: #1290, #1299, #1300.

@jacobwod
Copy link
Member

jacobwod commented Jun 5, 2023

Hi @linusfj, I know that #1304 is supposed to fix this, but I've found another small bug: the snackbar shows up as expected when toggling the affected layer directly. But if you toggle a group (just normal group), the layers inside do get the right color but don't show the snackbar notice. See video:

Skarminspelning.2023-06-05.kl.13.10.20.mov

Can you reproduce?

@jacobwod jacobwod added the bug label Jun 5, 2023
@jacobwod jacobwod added this to the 3.x milestone Jun 5, 2023
@linusfj
Copy link
Member

linusfj commented Jun 7, 2023

I have tested and confirmed this behavior, and a new issue (#1347) has been created to address the bug.

jacobwod added a commit that referenced this issue Aug 25, 2023
@github-project-automation github-project-automation bot moved this to Done in Hajk Aug 28, 2024
@jacobwod jacobwod modified the milestones: 3.x, 3.13 Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants