Bug 462591 - Brush preset list display becomes a black box
Summary: Brush preset list display becomes a black box
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-03 15:33 UTC by Freya Lupen
Modified: 2023-01-12 14:05 UTC (History)
3 users (show)

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


Attachments
Black boxes in brush editor (40.03 KB, image/jpeg)
2022-12-03 15:33 UTC, Freya Lupen
Details
broken brush preset editor (45.80 KB, image/png)
2022-12-09 10:02 UTC, Halla Rempt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Freya Lupen 2022-12-03 15:33:45 UTC
Created attachment 154273 [details]
Black boxes in brush editor

SUMMARY
Sometimes the brush preset list in the toolbar and brush editor, as well as the brush tip list in the brush editor, will stop displaying correctly, showing a black box instead of icons, and the UI elements (tag search, scollbar, etc) hidden. (See attachment.)
The lists are still functional despite this.

STEPS TO REPRODUCE
Unfortunately I don't know what triggers it. It may have something to do with switching brushes.

OBSERVED RESULT
Hidden UI elements in the brush editor and toolbar popup.

EXPECTED RESULT
Visible UI elements in the brush editor and toolbar popup.

SOFTWARE/OS VERSIONS
git hash 6051d462

ADDITIONAL INFORMATION
I'm guessing it was somehow caused by MR!1653 "Made the widget KisResourceItemChooser support narrow horizontal layout", as that's the only recent UI change. (https://invent.kde.org/graphics/krita/-/merge_requests/1653)
Comment 1 Halla Rempt 2022-12-08 12:55:57 UTC
What platform is this on? I haven't seen this happen myself.
Comment 2 Freya Lupen 2022-12-08 15:17:48 UTC
Platform is Windows 10.

I've found a way to consistently reproduce this:
1. Without looking at the brush editor or toolbar preset list, open a document.
2. Open the pop-up palette.
3. Now check the lists and see that they are hidden.

Without opening the pop-up palette, looking at the toolbar list for the first time causes it to jump strangely (resizing?).
Additionally, each list starts past the correct position (which should show the current brush/brushtip).
Comment 3 Halla Rempt 2022-12-09 10:02:19 UTC
Created attachment 154453 [details]
broken brush preset editor

Huh, they're not black for me but the presets list is even weirder... It duplicates content from the other widgets.
Comment 4 Freya Lupen 2023-01-12 14:05:25 UTC
With the revert of MR!1653 and merging of MR!1670 "Narrow horizontal layout for Brush Presets Docker (Second Attempt)" (https://invent.kde.org/graphics/krita/-/merge_requests/1670) the main bug is no longer present, and the secondary bugs have been reported elsewhere (bug 463520), so marking this as fixed.