Moving objects out from a hidden layer doesn't unhide them
Summary:
Potentially related to #1498 (moved), objects that lack a display:inline
and are moved to a hidden layer do not unhide with the layer. I do not know what other values are used for display
besides inline
or hidden
, nor how certain objects are assigned this display
tag to begin with. It looks like new objects don't get a display
style, leading to this bug when moving an object directly to a hidden layer.
Steps to reproduce:
- open Inkscape
- draw some shapes
- create two new layers, hide one
- move some shapes to the other visible layer
- note that they have
display:inline
while brand new shapes do not - move some new shapes to the hidden layer
- notice how they do not unhide when unhiding the layer or moving them back to a visible layer
- (workaround) change their
display
style todisplay:inline
manually
Version info
Inkscape 1.1.2 (b8e25be833, 2022-02-05)
GLib version: 2.70.3
GTK version: 3.24.31
glibmm version: 2.66.2
gtkmm version: 3.24.5
libxml2 version: 2.9.12
libxslt version: 1.1.34
Cairo version: 1.17.4
Pango version: 1.50.3
HarfBuzz version: 3.3.2
Poppler version: 22.01.0
OS version: Windows 11 22H2
Edited by Nathan Lee