-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Imagery overlay layers] Image layer enabled state shown incorrectly #6266
Comments
@charlesh88 , is this still happening? i think this has been fixed |
This is still an issue, I don't think it was ever fixed. |
image layer settings cannot be persisted right now (images are parameters and are immutable). What is happening is that initial state of the layer is incorrectly reflected in the checkbox. It shows the layer enabled when it is not. |
@charlesh88 @akhenry What's a good imagery product to test this on? I'm not seeing a grid overlay in our default example imagery: |
Using the default imagery layers on an immutable local storage system (by deleting Screen.Recording.2023-08-25.at.12.38.07.PM.mov |
@scottbell It looks like the domainObject.configuration is |
I think the layers not being persisted is ok (per @akhenry's comment), we just need to default the "Grid" layout for VIPER imagery objects to off if it can't find a visible value on load like the other layers. As I don't have access to the VIPER imagery objects, I think @ozyx was going to take a look at this ticket next. |
Testing instructions: |
Verified Testathon 9/12/2023. Navigating away and back will default the grid layers to off, and the toggle state matches that as well. |
Verified fixed Testathon 2023-09-12. |
Fix verified during testathon 09/12/2023. |
Summary
Turning a layer visible for a given image data product doesn't retain that setting for that object through navigation and browser refresh events.
Expected vs Current Behavior
The layer visibility settings should persist at least in session for a given image view. So, turning a layer visible for a given image data product should retain that setting for that object through navigation and browser refresh events.
Steps to Reproduce
View imagery that utilizes overlay layers, such as the overlay grid.
Use the layer control to toggle a layer on.
Note that the overlay layer is displayed.
Nav away from the view, then back. Use the layer control again, and note that the previously enabled layer is checked on, but the corresponding overlay layer is not displayed.
Environment
Impact Check List
Additional Information
The text was updated successfully, but these errors were encountered: