Bug 330499 - Layer docker has a fixed minimum size.
Summary: Layer docker has a fixed minimum size.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: git master (please specify the git hash!)
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-28 09:51 UTC by Dmitry Kazakov
Modified: 2017-11-24 19:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
put the tool buttons into a toolbar (19.67 KB, patch)
2014-02-18 09:43 UTC, Halla Rempt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Kazakov 2014-01-28 09:51:38 UTC
The buttons in the bottom of Layers Docker prevent the user form making the docker more narrow. We could hide some rarely used buttons like "Move Layer To and Fro" when the size of the docker is lower than some particular threshold value.
Comment 1 Dmitry Kazakov 2014-01-28 09:51:45 UTC
<boud> maybe -- but then we'd get bug reports about "the move buttons have suddenly disappeared!"
<dmitryK_> boud: we could also combine them into some drop-down button...
Comment 2 Chris Jones 2014-01-29 01:43:12 UTC
Is there any reason why some (or most) of those buttons couldn't be moved to the layers themselves?  There's ample room next to the lock, alpha buttons etc, and it would also speed up workflow since you could perform those operations on the layer directly (without needing to even select it), instead of having to move back and forth between the layers and the bottom of the docker - i.e. more focused and less clicking.
Comment 3 Halla Rempt 2014-02-18 09:43:20 UTC
Created attachment 85212 [details]
put the tool buttons into a toolbar

It's actually not the buttons that fix the width, it's the layerview itself. Attached patch moves the buttons into a toolbar, which means that there is no effective minimum width for the buttons.  If the docker is made less wide, the buttons will spill over into a dropdown.

However, this doesn't fix the issue. Not only is the spill-over dropdown broken for some reason, it's actually the layer view itself that forces the minimum width requirements.
Comment 4 Leonid Deburger 2014-03-04 00:29:30 UTC
may be there is some way to make that "move*" buttons as an option for users?
or put them in dropdown menu
or arrange them in 2 rows :)
or just make smaller...
Comment 5 Halla Rempt 2014-03-04 08:19:27 UTC
It's actually not the buttons, it's the layerview itself that fixes the minimum width.
Comment 6 Leonid Deburger 2014-03-04 09:24:26 UTC
didn't get it... the "layer block" has fixed width inside a docker?  and there is no way to make it's with variable?  we can make that layerview wider but not narrower? ะพ_0 

https://www.dropbox.com/s/0367xwnq28ckh2u/hmmm.png
Comment 7 Halla Rempt 2014-03-04 09:28:21 UTC
Yes -- I haven't found a way to make the layer block less wide. That's what I tested with the patch appended to this bug -- that will make the buttons overflow when making the layer docker narrower.
Comment 8 Halla Rempt 2016-01-24 11:25:13 UTC
We're redesigning the layer box, but it will always have a certain minimum size... The layerbox redesign is an accepted 2015 stretch goal.

WISHGROUP: Stretchgoal
Comment 9 Halla Rempt 2017-11-24 19:51:17 UTC
Dmitry reworked the layer docker, closing.