Bug 464051 - Focus to listLayers's center after layer change instead of just visible.
Summary: Focus to listLayers's center after layer change instead of just visible.
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Layer Stack (show other bugs)
Version: 5.1.4
Platform: Other Other
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-09 14:51 UTC by Aqaao
Modified: 2023-01-09 15:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :-)