Bug 357913

Summary: Changing tags in the Brush Presets panel causes brush selection GUI error.
Product: [Applications] krita Reporter: Emmet O'Neill <emmetoneill.pdx>
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: griffinvalley
Priority: NOR    
Version: 2.9.10   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Emmet O'Neill 2016-01-13 06:34:05 UTC
Changing the 'tags' filter in the 'Brush Presets' panel causes a GUI usability error where the first item incorrectly appears to be selected. This prevents the user from selected the incorrectly highlighted brush, while a completely different brush remains active.

Reproducible: Always

Steps to Reproduce:
1. Change the 'tags' drop-down in the 'Brush Presets' menu to 'Block'.
2. Select a brush [Brush A], and test on canvas.
3. Change the 'tags' drop-down in the 'Brush Presets' menu to 'Circle'.
4. Notice that the first item in the new set of brushes [Brush B] appears to be selected.
5. Draw on the canvas again; [Brush A] will still be active, contrary to Brush Presets GUI highlighting.
6. Clicking on the incorrectly highlighted [Brush B] will also fail to change brushes because the GUI thinks it's already active, even though [Brush A] is still active.

Actual Results:  
The first Brush item in the tag set GUI is incorrectly highlighted/selected, while a previous brush remains active on the canvas. This also prevents the incorrectly highlighted brush from being selected without first selecting a completely different brush within the same tag set. This buggy result happens even when the active is present in both sets of tags.

Expected Results:  
Switching the visible set of tags in the Brush Presets panel should not incorrectly highlight any non-active brush. If the active brush is present in the new set of tags, that brush should be highlighted in the GUI. If the active brush isn't present, nothing should be highlighted.

Temporary User Workaround:
- In order to select the incorrectly lighted [Brush B], the user has to first select a different brush in the same tag set.
Comment 1 wolthera 2016-01-13 13:29:54 UTC
Thanks for the report,

It's sadly a known bug and will require a full rewrite of the resource system. Marking this as duplicate.

*** This bug has been marked as a duplicate of bug 355886 ***