Bug report #18608
Layer tree embedded widgets do not show up unless you move layer
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Alessandro Pasotti | ||
Category: | Map Legend | ||
Affected QGIS version: | 3.1(master) | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | Yes | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 26496 |
Description
To reproduce:
- open new project
- add osm xyz layer
- open properties of the xyz layer
- Go to Legend tab, and move 'Opacity slider' from 'Available widgets' to 'Used widgets'
- click Apply and OK
Nothing visually happens, the Transparency slider (with me here) does not show up in the Layers panel.
Even, moving the map, opening the treeview by clicking the little black triangle in the Layers panel, the slider widget does NOT show up. Resizing the window, resizing the layer panel: no widget.
Only when you 'drag' the one layer some milimeters in the Layer Panel, it apparently is repainted and the slider appears.
Mmm, testing in 2.18.1 now, it has the same issue. Apparently the repainting/drawing is changed/optimized?
(as I was thinking about a layertree widget for wmts/xyz layer to have a button 'show proper scale' (see user mailing list), I thought this to e fixed first :-)
Related issues
Associated revisions
Force legend update when raster properties changes
Fixes #18608 - Layer tree embedded widgets do not show up unless you move layer
History
#1 Updated by Ricardo Silva about 6 years ago
- Related to Bug report #19964: layer tree embedded widgets do not show up for raster layers added
#2 Updated by Alessandro Pasotti about 6 years ago
- Pull Request or Patch supplied changed from No to Yes
- Assignee set to Alessandro Pasotti
#3 Updated by Borys Jurgiel about 6 years ago
- Related to Bug report #17550: Opacity slider in the Layers Panel partially broken for WMS and XYZ layers added
#4 Updated by Anonymous about 6 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset qgis|56149ff39a56c8cf809ee57c1af92aef4ca882ec.
#5 Updated by Alessandro Pasotti about 6 years ago
- Resolution set to fixed/implemented