Comment 0 for bug 1086296

Revision history for this message
su_v (suv-lp) wrote :

The 'Live Preview' toggle in the extension dialogs unsets the current layer (making 'root' current instead), if used without a current selection. This may cause that an newly created object actually is created in 'root' (after having previewed a render effect), or that e.g. previewing a color effect with scope 'whole drawing' will switch the current layer to 'root' without notifying the user.

Steps to reproduce:
1) draw an object
2) open 'Extensions > Color > Randomize…'
3) select object, toggle live preview on & off again
--> current layer is unchanged
4) unselect all, toggle live preview on & off again
--> current layer is switched to 'root'

or:
1) open new document
2) open 'Extensions > Render > Gear…'
3) toggle live preview on & off again
--> current layer is changed to 'root'
4) apply the affect
--> gear is created in 'root'

Since 'root' is outside the layer structure, this can cause issues later-on - objects may be created in 'root' without the user realizing it (some objects no longer hide when hiding layers), and fixing this is not obvious either (because 'root' is "excluded" or "hidden" from the layer UI options, unless one resorts to the XML Editor).

Reproduced with Inkscape 0.48.3.1 and 0.48+devel r11927 on OS X 10.7.4.