macos: update krita app icon to display in respect to system appearance

Needs a bit of testing. DMG for testing

If thumbnail appears to only occupy 1/4 of the thumbnail, paste the output of system_profiler SPDisplaysDataType



We've been lacking proper support for modern integration macOS. Extension for Preview files and Thumbnails have been broken since version 15, and current iconsets are not integrated with the new macos 26 appearance user selection.

  • This MR, ports the icon to their Liquid Glass API. This requires the usage of an Assets.car which deprecates the old .icns. The old icns is preserved for compatibility with macos<15. About the icon looks: we can only fully control colors in normal, dark and monochrome; tinted version look as good or as bad the contrast of the picked color + dark/light variants. The rounded rectangle is unavoidable.

icon_presentation_sm

  • Updates plist information and format to comply with modern key-values. This changes better communicate to the system about krita capabilities and make krita be listed on all supported formats on Finder and other system services. All of the used keys are supported since 10.13 so they should not introduce problems with our lowest supported version.

  • Renames quicklookng to krita-thumbnailer and fixes the code to avoid infinite loop and scaling issues on retina displays. It generates thumbnails for kra, krz and ora files. BUG:493474

krita-thumbnailer_sm

  • Implements Preview extension, krita-preview, to show a full resolution preview when the user selects a file on Finder and press Space. BUG:493474

  • Refactor Integration xcode project to add a helper app and pseudo targets. appex files cannot be debugged if they are not embedded into an app. The helper app is a skeleton app to allow thumbnailer and preview to be registered by the system and avoid creating a working krita.app bundle for testing purposes (This should be improved, perhaps removing xcode project and work directly with cmake, and our install procedures).

  • Adds krita-kra.icns and krita-krz.icns as fallback icons for kra and krz files (so they don't appear as white sheets). BUG:475518

kra-krz-icon_sm

  • Update dmg window.

dmg_window_screen

Edited by Ivan Yossi

Merge request reports

Loading