[Bug]: Opening Settings on a Layer turns that layer on
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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