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

            Bug ID: 476084
           Summary: Missing icons don't fallback gracefully
    Classification: Applications
           Product: Spectacle
           Version: git-master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: noaha...@gmail.com
          Reporter: kmcwilliampub...@gmail.com
                CC: k...@david-redondo.de
  Target Milestone: ---

Created attachment 162563
  --> https://bugs.kde.org/attachment.cgi?id=162563&action=edit
Shows annotations toolbar with incorrect icons

SUMMARY

If the active icon theme is missing an icon used in the annotations toolbar, it
fails to fallback to the icon from a different theme.


STEPS TO REPRODUCE
1. Use an icon theme that is missing one of the used icons; Tela icon theme is
known to be missing a couple, or delete for example `draw-arrow.svg` from any
other theme, and (re)apply that icon theme.
2. Open Spectacle and take a screenshot
3. Show the annotation tools

OBSERVED RESULT

If the active icon theme is missing the named icon specified in
https://invent.kde.org/graphics/spectacle/-/blob/c35da74aafbbfac9c7fa55259a1b9e1c8ee9915b/src/Gui/AnnotationsToolBarContents.qml#L101
it falls back to a pink brush like icon every time.

EXPECTED RESULT

If a named icon is missing from the active theme it should fall back to the
appropriate icon from Breeze, hicolor, etc.


SOFTWARE/OS VERSIONS
Linux: Fedora 38
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Also present in git master and dev session with kf6

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

Reply via email to