NASA-AMMOS / NASA-AMMOS/MMGIS

[Bug]: Opening Settings on a Layer turns that layer on

Open
#566 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog bug
Dominant language
JavaScript
Stars
232
Forks
77
Avg merge
3d 6h
Merged PRs (30d)
17

Description

Checked for duplicates

Yes - I've already checked

Describe the bug

I wanted to search for a feature in a layer before that layer was turned on. When I clicked the settings button, the layer turned on automatically. This was with a geodataset source. I'm guessing that loading the layer is done to auto-populate the propery field and allow the value field to be searchable. On a large dataset, this is problematic. Also, I wouldn't expect this to occur with a geodataset.

What did you expect?

I expected a search to be conducted without turning the layer on.

Reproducible steps
1. Add a geodataset
2. make a layer pointing to the geodataset, but leave Visibility off.
3. Open the Layer tool and click on the Settings icon.
Environment
- Version of this software: 2.11
- Operating System: Windows 11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the Layer tool and its Settings icon using the listed geodataset steps. Trace the settings flow to find why opening it changes visibility; done means settings and search work without turning on an otherwise hidden layer.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.