https://bugs.kde.org/show_bug.cgi?id=446631

            Bug ID: 446631
           Summary: Brush settings model sorts options by insertion
                    instead of by category
           Product: krita
           Version: 5.0.0-beta5
          Platform: Compiled Sources
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Brush engines
          Assignee: krita-bugs-n...@kde.org
          Reporter: a...@amyspark.me
  Target Milestone: ---

Created attachment 144312
  --> https://bugs.kde.org/attachment.cgi?id=144312&action=edit
Page 1 of the MyPaint settings widget

SUMMARY

KisPaintOpOptionListModel renders paintop options as they were inserted. This
usually matches the category order, but this parameter is pointless; categories
are created as standalone items. This results in a particular setting of
MyPaint brushes, "Airbrush", being rendered as part of the "Custom" category
when it's a "Color" option.

STEPS TO REPRODUCE
1.  Open Krita.
2.  Select a MyPaint brush.
3.  Check its options list. Cross check it with the category specified in
MyPaintPaintOpSettingsWidget.cpp.

OBSERVED RESULT
Items are rendered sorted by insertion order, and categories are rendered at
the index they were first created.

EXPECTED RESULT
Items are rendered sorted by category.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to