[go: up one dir, main page]

If 'locked items cannot be modified', why is the Fill and Stroke dialog enabled at all for them and the sliders can be moved?

Summary:

This situation creates a funny state, where the Fill and Stroke dialog shows values for the object that are not true.

Steps to reproduce:

  • open Inkscape
  • draw rectangle
  • open Objects dialog
  • lock rectangle, keep selected
  • open Fill and Stroke dialog
  • move sliders around
  • unlock rectangle

What happened?

The Fill & Stroke dialog shows colors different from those that the object actually has (even if I switched tabs, seems it's cached).

inkscape_ptVkK7bHP8.gif

What should have happened?

If an object's color cannot be changed when it is locked, but selected, then the Fill & Stroke dialog just should not allow doing that (nor the palette, but that doesn't have a 'disabled' UI state).

Also... I can still happily use the blur slider, or even the node tool with that object, or move it with Alt+Drag, or add more nodes to it using the Bézier tool - and probably lots more.

What prompted that weird inconsistency with only not allowing to change its color but allowing for anything else? Is it locked, or is it not locked?

And if it can be edited when selected and locked by all the other tools, why not allow to change the color?

Version info

Inkscape 1.3-alpha (381588110e, 2023-05-22)

    GLib version:     2.72.4
    GTK version:      3.24.33
    glibmm version:   2.66.2
    gtkmm version:    3.24.5
    libxml2 version:  2.9.13
    libxslt version:  1.1.34
    Cairo version:    1.16.0
    Pango version:    1.50.6
    HarfBuzz version: 2.7.4

    OS version:       Linux Mint 21.1
Edited by Adam Belis