| Summary: | Thumbnail and QuickLook previews not displaying on macOS 15 Sequoia | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | omnibus.cheeked-0q |
| Component: | File formats | Assignee: | vanyossi <ghevan> |
| Status: | REOPENED --- | ||
| Severity: | normal | CC: | halla, me, qznebula, tell-06.quagga |
| Priority: | NOR | ||
| Version First Reported In: | 5.2.3 | ||
| Target Milestone: | --- | ||
| Platform: | macOS (DMG) | ||
| OS: | macOS | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/-/commit/0f307e5d165099e6c2f67c0fbf8cb8ec21f7c1c8 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Contains KritaUsageLog.txt, KritaSystemInformation.txt, Test.kra and screenshots of the aforementioned issue. | ||
|
Description
omnibus.cheeked-0q
2024-09-22 11:43:43 UTC
Git commit 921f9b73682df40f5194f6e60831c9d4e5460d75 by Halla Rempt, on behalf of Ivan Yossi. Committed on 03/12/2025 at 12:46. Pushed by rempt into branch 'master'. macos: working version of thumbnailer This adds a PreviewHelper app to embed the thumbnailer to it. We need this as application extensions does not register to lsregister if they are not embedded inside a bundle application. Small fixes to all project configurations The thumbnailer works as expected, special care needs to be taken with request.scale as it has the current screen scaling, cgImage need to take this into account. M +184 -10 krita/integration/integration.xcodeproj/project.pbxproj A +79 -0 krita/integration/integration.xcodeproj/xcshareddata/xcschemes/kritaquicklookng.xcscheme A +11 -0 krita/integration/previewHelper/Assets.xcassets/AccentColor.colorset/Contents.json A +58 -0 krita/integration/previewHelper/Assets.xcassets/AppIcon.appiconset/Contents.json A +6 -0 krita/integration/previewHelper/Assets.xcassets/Contents.json A +24 -0 krita/integration/previewHelper/ContentView.swift A +125 -0 krita/integration/previewHelper/Info.plist A +18 -0 krita/integration/previewHelper/previewHelperApp.swift M +1 -1 krita/integration/quicklookng/Info.plist M +58 -30 krita/integration/quicklookng/ThumbnailProvider.swift https://invent.kde.org/graphics/krita/-/commit/921f9b73682df40f5194f6e60831c9d4e5460d75 Git commit bd5b2e819731c2ac700fa055310a80a812d67f07 by Halla Rempt, on behalf of Ivan Yossi. Committed on 03/12/2025 at 12:46. Pushed by rempt into branch 'master'. macos: implement preview provider for macos 12 and up M +3 -0 krita/integration/CMakeLists.txt M +354 -2 krita/integration/integration.xcodeproj/project.pbxproj A +95 -0 krita/integration/integration.xcodeproj/xcshareddata/xcschemes/krita-preview.xcscheme A +71 -0 krita/integration/integration.xcodeproj/xcshareddata/xcschemes/krita-preview_helper.xcscheme A +78 -0 krita/integration/integration.xcodeproj/xcshareddata/xcschemes/previewHelper.xcscheme A +21 -0 krita/integration/krita-preview/Base.lproj/PreviewViewController.xib A +24 -0 krita/integration/krita-preview/Info.plist A +126 -0 krita/integration/krita-preview/PreviewProvider.swift A +40 -0 krita/integration/krita-preview/PreviewViewController.swift A +24 -0 krita/integration/krita-preview_helper/krita-preview-Info.plist M +5 -1 packaging/macos/osxdeploy.sh https://invent.kde.org/graphics/krita/-/commit/bd5b2e819731c2ac700fa055310a80a812d67f07 Git commit 955bbc3d6cb3210910cc99413905ab31123285b9 by Ivan Yossi. Committed on 04/12/2025 at 17:42. Pushed by ivany into branch 'krita/5.2'. macos: working version of thumbnailer This adds a PreviewHelper app to embed the thumbnailer to it. We need this as application extensions does not register to lsregister if they are not embedded inside a bundle application. Small fixes to all project configurations The thumbnailer works as expected, special care needs to be taken with request.scale as it has the current screen scaling, cgImage need to take this into account. (cherry picked from commit 921f9b73682df40f5194f6e60831c9d4e5460d75) M +184 -10 krita/integration/integration.xcodeproj/project.pbxproj A +79 -0 krita/integration/integration.xcodeproj/xcshareddata/xcschemes/kritaquicklookng.xcscheme A +11 -0 krita/integration/previewHelper/Assets.xcassets/AccentColor.colorset/Contents.json A +58 -0 krita/integration/previewHelper/Assets.xcassets/AppIcon.appiconset/Contents.json A +6 -0 krita/integration/previewHelper/Assets.xcassets/Contents.json A +24 -0 krita/integration/previewHelper/ContentView.swift A +125 -0 krita/integration/previewHelper/Info.plist A +18 -0 krita/integration/previewHelper/previewHelperApp.swift M +1 -1 krita/integration/quicklookng/Info.plist M +58 -30 krita/integration/quicklookng/ThumbnailProvider.swift https://invent.kde.org/graphics/krita/-/commit/955bbc3d6cb3210910cc99413905ab31123285b9 Git commit 0f307e5d165099e6c2f67c0fbf8cb8ec21f7c1c8 by Ivan Yossi. Committed on 04/12/2025 at 17:42. Pushed by ivany into branch 'krita/5.2'. macos: implement preview provider for macos 12 and up (cherry picked from commit bd5b2e819731c2ac700fa055310a80a812d67f07) M +3 -0 krita/integration/CMakeLists.txt M +354 -2 krita/integration/integration.xcodeproj/project.pbxproj A +95 -0 krita/integration/integration.xcodeproj/xcshareddata/xcschemes/krita-preview.xcscheme A +71 -0 krita/integration/integration.xcodeproj/xcshareddata/xcschemes/krita-preview_helper.xcscheme A +78 -0 krita/integration/integration.xcodeproj/xcshareddata/xcschemes/previewHelper.xcscheme A +21 -0 krita/integration/krita-preview/Base.lproj/PreviewViewController.xib A +24 -0 krita/integration/krita-preview/Info.plist A +126 -0 krita/integration/krita-preview/PreviewProvider.swift A +40 -0 krita/integration/krita-preview/PreviewViewController.swift A +24 -0 krita/integration/krita-preview_helper/krita-preview-Info.plist M +5 -1 packaging/macos/osxdeploy.sh https://invent.kde.org/graphics/krita/-/commit/0f307e5d165099e6c2f67c0fbf8cb8ec21f7c1c8 Previews for .kra thumbnails and quicklook are not working after updating to Krita 5.3. I'm specifically using Sequoia 15.6, if that makes a difference. Forwarding information from user kritabetterthancsp on the support forums:
"It appears that both Finder and Quick Look thumbnails agent are having difficulty launching krita-preview ext and krita-thumbnailer ext respectively.
Finder fails with:
Failed to begin using with error: Error Domain=PlugInKit Code=4 "RBSLaunchRequest error trying to launch plugin org.krita.krita-preview(F3086C11-<omitted>): Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x6c62d58f0 {Error Domain=NSPOSIXErrorDomain Code=111 "Unknown error: 111" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}" UserInfo={NSLocalizedDescription=RBSLaunchRequest error trying to launch plugin org.krita.krita-preview(F3086C11-<omitted>): Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x6c62d58f0 {Error Domain=NSPOSIXErrorDomain Code=111 "Unknown error: 111" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}}
ThumbnailsAgent fails with:
Launch failed with error: Error Domain=com.apple.extensionKit.errorDomain Code=2 "(null)" UserInfo={NSUnderlyingError=0xc9ecffde0 {Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0xc9ecff000 {Error Domain=NSPOSIXErrorDomain Code=111 "Unknown error: 111" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}}}
Error code seemingly comes from OSLaunchdJob, because somewhere in chain of launching krita-preview, runningboardd logged:
Creating and launching job for: xpcservice<org.krita.krita-preview([osservice<com.apple.Finder(501)>:27747])(501)>{vt hash: 0}
Submitting extension overlay (host PID 27747, path /Applications/krita.app/Contents/PlugIns/krita-preview.appex/Contents/MacOS/krita-preview): <omitted>
<OSLaunchdJob | handle=695FA1C7-8E60-45A0-8CAF-6B19B5B59AF3>: submitExtension created a job
<OSLaunchdJob | handle=695FA1C7-8E60-45A0-8CAF-6B19B5B59AF3>: start succeeded, info=spawn failed, error=111: Invalid or missing Program/ProgramArguments
I’m on Sequoia 15.7, with krita 4.3.1. I don’t have account in the bug tracker, so I just dump this here. If someone do and stumble upon this wall of text, kindly please forward this to that place!"
|