Created attachment 139662 [details] ^ Visual description of the request, (comparing 4.x with 5.x) Hi, I tried to setup my usual layout of docker in Krita 5 and I saw Krita 5 couldn't reproduce the column of preset as I'm using on Krita 4 without having a gutter gap on the right. (See attachement for a visual). As a workaround, I can expand manually to larger icons to fill the gap, but it result in less preset visible vertically for me. That's why I do the resquest of being possible to shrink the docket a little bit more horyzontaly if possible. Thank you :) version: Krita 5, ( 6822476683de6f9adb2ad1aa019894a6d109ad60 ) appimage from https://invent.kde.org/graphics/krita/-/merge_requests/922 (Popup Palette Improvements) OS: Kubuntu Linux 20.04.LTS
Created attachment 139969 [details] Video showing the issue with the item viewer It's way trickier than it looks :( I checked *everywhere* and could not find a place where setting minimal size would change the width of the docker. Note: neither the new button on top nor the new checkbox on the bottom are blocking the width, from my experiments. I think there might be an issue with the item viewer, actually - I see trouble with it finding an optimal size for the thumbnails. I'm not sure if it's related or not, but I'm including a video showing this effect.
Created attachment 139970 [details] A video showing the same effect but on normal-sized thumbnails
I just realized what the problem is: It's the (apparently very old?) KoDockWidgetTitleBar we brought back with Krita 5, their MinimumSizeHint by default forces the docker title text to fit in the widget (if we ignore the fact that the calculation seems off anyway and it overlaps with the float button).
Yeah I'm not convinced, because when David checked recently, that change (titlebar->setTextVisibilityMode(KoDockWidgetTitleBar::TextCanBeInvisible);) didn't actually make the docker smaller, because... it's already small enough. Basically some other changes were enough to fix that. The abovementioned change now only changes the text to end with ... instead of slightly overlap with the buttons, is it something desireable? Also I still believe there is some issue with the listview or view of the resources itself, even if it turns out irrelevant in this case.
Created attachment 152248 [details] Comparison of Krita 5 and Krita 4 I don't think this is actual anymore? Now the "Tag" text label is gone the min size is the same as in krita 4.
Setting to needinfo
Hey @Halla, yes, this one was fixed on the fly before Krita 5 release, but I can't remember who did it. It probably was on IRC and the bug report wasn't auto-closed. Thank you for the big triaging you are doing today. This one can be set to Resolved→Fixed.