Update of bug #20330 (project mypaint):

                Severity:              3 - Normal => 2 - Minor              
                  Status:                    None => Confirmed              
                 Summary: Don't change layer focus when changing visibility =>
Layers list: scrolls to current layer when visibility or locked state of
another layer is changed

    _______________________________________________________

Follow-up Comment #1:

Confirmed - can you check that the recipe and expectations below are what you
meant?

*Steps to reproduce*

* Open the layers dialog
* Create enough layers to put a scrollbar on the list, plus 5 or so extra
layers
* Highlight the top layer, i.e. the one at the top of the list.
* Scroll down in the layers list so that the highlighted layer can no longer
be seen
* Precisely click once on either an eye (visibility) or a padlock (locked)
icon of an _unhighlighted_ layer to toggle the state on that layer.

*Expected behaviour*

* Selected layer stays selected.
* Toggled layer's state changes in accordance with the icon clicked.
* Layer list does not scroll.

*Observed behaviour*

* Selected layer stays selected [expected]
* Toggled layer's state changes in accordance with the icon clicked
[expected]
* Layer list scrolls so that the current layer is once again visible
[unexpected]

Is that correct?


This isn't a focus issue as such: GTK just wants the highlighted row to be
visible in the GtkTreeView widget we use. There are arguments in favour of the
current item being visible, and arguments against it. And right now I'm not
sure it can be controlled, but I'll try.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20330>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to