Bug 464051

Summary: Focus to listLayers's center after layer change instead of just visible.
Product: [Applications] krita Reporter: Aqaao
Component: Layer StackAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: halla
Priority: NOR    
Version First Reported In: 5.1.4   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Aqaao 2023-01-09 14:51:51 UTC
Selected layer often appears at the bottom or top of the list, which makes it hard for me to notice it.

Should apply QAbstractItemView.PositionAtCenter  instead of  QAbstractItemView::EnsureVisible.
Comment 1 Halla Rempt 2023-01-09 14:52:59 UTC
Hm, wouldn't make for a distracting amount of scrolling if you'd select layers that are around the middle of the layer box?
Comment 2 Aqaao 2023-01-09 15:12:58 UTC
(In reply to Halla Rempt from comment #1)
> Hm, wouldn't make for a distracting amount of scrolling if you'd select
> layers that are around the middle of the layer box?

At least I can see mask layer,layer group and filter layer associated with the selected layer. Operate them without scrolling the slider again.
Comment 3 Halla Rempt 2023-01-09 15:15:08 UTC
That's a good point.
Comment 4 Aqaao 2023-01-09 15:26:00 UTC
I record a gif
https://i.imgur.com/A7OXYif.gif

I use a lot of colored labels and sometimes I have trouble telling if the selected layer is at the bottom or the top.
Comment 5 Halla Rempt 2023-01-09 15:38:19 UTC
Yes, I've confirmed the report :-)