Bug 507823

Summary: Crash/freezing when using toolbar on Mac
Product: [Applications] krita Reporter: Ash <morseab6320>
Component: * UnknownAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: crash CC: ghevan, halla
Priority: NOR Keywords: triaged
Version First Reported In: 5.2.11   
Target Milestone: ---   
Platform: Other   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Krita on mac causes krita to freeze
Krita menu screengrab shifted text
main keyboard settings screengrab
firefox menu screengrab example

Description Ash 2025-08-03 18:49:36 UTC
Created attachment 183768 [details]
Krita on mac causes krita to freeze

Additional info: Hello, I am a brand new user so this very well could be user error. When I am using Krita on my Mac, and go into the toolbar (see screenshot) and click the Krita section next to the apple logo. So I click/hover on Krita->Services, it pops up a box where it says shortcuts: open app. When I hover over "services" with my mouse/cursor, Krita freezes and has crashed fully (closed unexpectedly) twice now. It seems to keep the box stuck open with services highlighted and doesn't allow me to click anything within krita except the minimize and close button. I hope this is helpful.




Krita

 Version: 5.2.11 (git a4da714)
 Hidpi: true
 Sandbox: false

Qt

  Version (compiled): 5.15.7
  Version (loaded): 5.15.7

OS Information

  Build ABI: arm64-little_endian-lp64
  Build CPU: arm64
  CPU: arm64
  Kernel Type: darwin
  Kernel Version: 24.5.0
  Pretty Productname: macOS 15.5
  Product Type: osx
  Product Version: 15.5

Locale

  Languages: en_US
  C locale: C
  QLocale current: en
  QLocale system: en
  QTextCodec for locale: UTF-8

OpenGL Info
 
  Vendor:  "Apple" 
  Renderer:  "Apple M1" 
  Driver version:  "4.1 Metal - 89.4" 
  Shading language:  "4.10" 
  Requested format:  QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CoreProfile) 
  Current format:  QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 32, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CoreProfile) 
  GL version: 4.1 
  Supports deprecated functions false 
  Is OpenGL ES: false 
  supportsBufferMapping: true 
  supportsBufferInvalidation: false 
  forceDisableTextureBuffers: false 
  Extensions: 
     GL_ARB_sample_shading 
     GL_EXT_texture_filter_anisotropic 
     GL_ARB_instanced_arrays 
     GL_ARB_ES2_compatibility 
     GL_ARB_gpu_shader_fp64 
     GL_ARB_internalformat_query 
     GL_ARB_texture_rgb10_a2ui 
     GL_ARB_gpu_shader5 
     GL_ARB_tessellation_shader 
     GL_EXT_texture_sRGB_decode 
     GL_ARB_blend_func_extended 
     GL_APPLE_flush_render 
     GL_ARB_texture_gather 
     GL_ARB_occlusion_query2 
     GL_ARB_explicit_attrib_location 
     GL_NV_texture_barrier 
     GL_EXT_debug_label 
     GL_ARB_draw_indirect 
     GL_APPLE_rgb_422 
     GL_ARB_transform_feedback2 
     GL_ARB_transform_feedback3 
     GL_EXT_framebuffer_multisample_blit_scaled 
     GL_ARB_texture_query_lod 
     GL_ARB_vertex_type_2_10_10_10_rev 
     GL_ARB_draw_buffers_blend 
     GL_ARB_shader_subroutine 
     GL_ARB_viewport_array 
     GL_ARB_sampler_objects 
     GL_EXT_debug_marker 
     GL_ARB_shader_bit_encoding 
     GL_EXT_texture_compression_s3tc 
     GL_APPLE_client_storage 
     GL_ARB_texture_swizzle 
     GL_APPLE_texture_range 
     GL_ARB_timer_query 
     GL_ARB_vertex_attrib_64bit 
     GL_ARB_texture_cube_map_array 
     GL_ARB_texture_storage 
     GL_ARB_shading_language_include 
     GL_APPLE_row_bytes 
     GL_ARB_separate_shader_objects 
     GL_ARB_texture_buffer_object_rgb32 
     GL_APPLE_container_object_shareable 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: false 
  isQtPreferOpenGLES: true 
  Detected renderers: 
    (Supported) Apple M1 (4.1 Metal - 89.4)  

useBufferInvalidation (config option): false


Hardware Information

  GPU Acceleration: auto
  Memory: 8192 Mb
  Number of Cores: 8
  Swap Location: /private/var/folders/8x/dt1sn9wd17b_5pfpxcsz_k080000gn/T
  Built for: arm64+neon
  Base instruction set: arm64+neon
  Supported instruction sets: arm64+neon arm32+neon 

Current Settings

  Current Swap Location: /private/var/folders/8x/dt1sn9wd17b_5pfpxcsz_k080000gn/T
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 200
  Use OpenGL: true
  Use OpenGL Texture Buffer: true
  Disable Vector Optimizations: false
  Disable AVX Optimizations: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 420
  Use Backup Files: true
  Number of Backups Kept: 1
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Backup Location writable: false
  Resource Location: 
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false


Loaded Python Plugins
	colorspace
	comics_project_management_tools
	documenttools
	exportlayers
	filtermanager
	lastdocumentsdocker
	plugin_importer
	quick_settings_docker
	scripter
	tenbrushes
	tenscripts


Display Information
Number of screens: 1
	Screen: 0
		Name: 
		Depth: 24
		Scale: 2
		Physical DPI127.5
		Logical DPI72
		Physical Size: 286.871, 179.294
		Position: 0, 0
		Resolution in pixels: 1440x900
		Manufacturer: 
		Model: 
		Refresh Rate: 60
		Serial Number: 


---------------------
================================================================================
SESSION: 18 May 2020 18:52:18 -0400. Executing /Applications/krita.app/Contents/MacOS/krita

Krita Version: 4.2.9, Qt version compiled: 5.12.7, loaded: 5.12.7. Process ID: 10905
-- -- -- -- -- -- -- --
18 May 2020 18:52:43 -0400: Created image "Unnamed", 1600 * 1200 pixels, 100 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 2
18 May 2020 19:07:14 -0400: Saving Document  as /Users/Morse/Pictures/testimage.kra (mime: application/x-krita). 1600 * 1200 pixels, 3 layers.  101 frames, 24 framerate. Export configuration: No configuration
18 May 2020 19:07:14 -0400: Converting from application/x-krita to application/x-krita. Location: /Users/Morse/Pictures/testimage.kra. Real location: /Users/Morse/Pictures/testimage.kra. Batchmode: 0. Configuration: none
18 May 2020 19:07:15 -0400: Completed saving /Users/Morse/Pictures/testimage.kra (mime: application/x-krita). Result: OK. Size: 6730372. MD5 Hash: b90c5c7e43ccc806e320d2fdca346687
18 May 2020 19:07:15 -0400: Saving Completed
18 May 2020 19:08:28 -0400: Saving Document /Users/Morse/Pictures/testimage.kra as /Users/Morse/Pictures/testimage.kra (mime: application/x-krita). 1600 * 1200 pixels, 3 layers.  101 frames, 24 framerate. Export configuration: No configuration
18 May 2020 19:08:28 -0400: Create a simple backup for /Users/Morse/Pictures/testimage.kra in the same location as the file.
18 May 2020 19:08:28 -0400: Converting from application/x-krita to application/x-krita. Location: /Users/Morse/Pictures/testimage.kra. Real location: /Users/Morse/Pictures/testimage.kra. Batchmode: 0. Configuration: none
18 May 2020 19:08:30 -0400: Completed saving /Users/Morse/Pictures/testimage.kra (mime: application/x-krita). Result: OK. Size: 6730372. MD5 Hash: af30bcc602e14b9ee1467e341f70c6dc
18 May 2020 19:08:30 -0400: Saving Completed
18 May 2020 19:08:50 -0400: Saving Document /Users/Morse/Pictures/testimage.kra as /Users/Morse/Downloads/testimage.png (mime: image/png). 1600 * 1200 pixels, 3 layers.  101 frames, 24 framerate. Export configuration: No configuration
18 May 2020 19:09:03 -0400: Converting from application/x-krita to image/png. Location: /Users/Morse/Downloads/testimage.png. Real location: /Users/Morse/Downloads/testimage.png. Batchmode: 0. Configuration: <!DOCTYPE params>
<params>
 <param type="internal" name="alpha">true</param>
 <param type="internal" name="compression">3</param>
 <param type="internal" name="forceSRGB">true</param>
 <param type="internal" name="indexed">false</param>
 <param type="internal" name="interlaced">false</param>
 <param type="internal" name="saveAsHDR">false</param>
 <param type="internal" name="saveSRGBProfile">false</param>
 <param type="internal" name="storeAuthor">false</param>
 <param type="internal" name="storeMetaData">false</param>
 <param type="color" name="transparencyFillcolor"><![CDATA[<!DOCTYPE color>
<color>
 <RGB g="1" r="1" space="sRGB-elle-V2-g10.icc" b="1"/>
</color>
]]></param>
</params>

18 May 2020 19:09:05 -0400: Completed saving /Users/Morse/Downloads/testimage.png (mime: image/png). Result: OK. Size: 1618383. MD5 Hash: d0ec1182bf8cb67879803f67f625605e
18 May 2020 19:09:05 -0400: Saving Completed
12 Jun 2020 02:28:18 -0400: CLOSING SESSION
================================================================================
SESSION: 12 Oct 2021 00:26:16 -0400. Executing /Applications/krita.app/Contents/MacOS/krita

Krita Version: 4.2.9, Qt version compiled: 5.12.7, loaded: 5.12.7. Process ID: 71342
-- -- -- -- -- -- -- --
12 Oct 2021 00:26:44 -0400: CLOSING SESSION
================================================================================
SESSION: 03 Aug 2025 14:10:48 -0400. Executing /Volumes/krita/krita.app/Contents/MacOS/krita

Krita Version: 5.2.11 (git a4da714), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 97025
-- -- -- -- -- -- -- --
03 Aug 2025 14:10:48 -0400: Style: macintosh. Available styles: macintosh, Windows, Fusion
03 Aug 2025 14:10:52 -0400: Creating database from scratch (database didn't exist, new schema version: 0.0.17).
03 Aug 2025 14:14:47 -0400: Created image "Unnamed", 2480 * 3508 pixels, 600 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 6
03 Aug 2025 14:21:47 -0400: Autosaving: /Users/Morse/krita-97025-document_0-autosave.kra
03 Aug 2025 14:21:57 -0400: Autosaving: /Users/Morse/krita-97025-document_0-autosave.kra
03 Aug 2025 14:21:57 -0400: Converting from application/x-krita to application/x-krita. Location: /Users/Morse/krita-97025-document_0-autosave.kra. Real location: /Users/Morse/krita-97025-document_0-autosave.kra. Batchmode: 0. Configuration: none
03 Aug 2025 14:21:58 -0400: Completed saving /Users/Morse/krita-97025-document_0-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 1045632
03 Aug 2025 14:29:49 -0400: Autosaving: /Users/Morse/krita-97025-document_0-autosave.kra
03 Aug 2025 14:29:49 -0400: Converting from application/x-krita to application/x-krita. Location: /Users/Morse/krita-97025-document_0-autosave.kra. Real location: /Users/Morse/krita-97025-document_0-autosave.kra. Batchmode: 0. Configuration: none
03 Aug 2025 14:29:50 -0400: Completed saving /Users/Morse/krita-97025-document_0-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 4731769

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 03 Aug 2025 14:32:44 -0400. Executing /Volumes/krita/krita.app/Contents/MacOS/krita

Krita Version: 5.2.11 (git a4da714), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 97362
-- -- -- -- -- -- -- --
03 Aug 2025 14:32:44 -0400: Style: macintosh. Available styles: macintosh, Windows, Fusion
03 Aug 2025 14:32:47 -0400: Database is up to date. Version: 0.0.17, created by Krita 5.2.11, at Sun Aug 3 14:10:52 2025
03 Aug 2025 14:32:56 -0400: Importing application/x-krita to application/x-krita. Location: /Users/Morse/krita-97025-document_0-autosave.kra. Real location: /Users/Morse/krita-97025-document_0-autosave.kra. Batchmode: 0
03 Aug 2025 14:32:56 -0400: Loaded image from application/x-krita. Size: 2480 * 3508 pixels, 8.33333 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 7
03 Aug 2025 14:34:34 -0400: CLOSING SESSION
================================================================================
SESSION: 03 Aug 2025 14:35:17 -0400. Executing /Users/Morse/Desktop/krita.app/Contents/MacOS/krita

Krita Version: 5.2.11 (git a4da714), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 97418
-- -- -- -- -- -- -- --
03 Aug 2025 14:35:17 -0400: Style: macintosh. Available styles: macintosh, Windows, Fusion
03 Aug 2025 14:35:20 -0400: Database is up to date. Version: 0.0.17, created by Krita 5.2.11, at Sun Aug 3 14:10:52 2025
03 Aug 2025 14:35:25 -0400: Importing application/x-krita to application/x-krita. Location: /Users/Morse/krita-97025-document_0-autosave.kra. Real location: /Users/Morse/krita-97025-document_0-autosave.kra. Batchmode: 0
03 Aug 2025 14:35:25 -0400: Loaded image from application/x-krita. Size: 2480 * 3508 pixels, 8.33333 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 7
03 Aug 2025 14:35:53 -0400: CLOSING SESSION
================================================================================
SESSION: 03 Aug 2025 14:35:58 -0400. Executing /Users/Morse/Desktop/krita.app/Contents/MacOS/krita

Krita Version: 5.2.11 (git a4da714), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 97468
-- -- -- -- -- -- -- --
03 Aug 2025 14:35:58 -0400: Style: macintosh. Available styles: macintosh, Windows, Fusion
03 Aug 2025 14:36:00 -0400: Database is up to date. Version: 0.0.17, created by Krita 5.2.11, at Sun Aug 3 14:10:52 2025
03 Aug 2025 14:36:05 -0400: Importing application/x-krita to application/x-krita. Location: /Users/Morse/krita-97025-document_0-autosave.kra. Real location: /Users/Morse/krita-97025-document_0-autosave.kra. Batchmode: 0
03 Aug 2025 14:36:05 -0400: Loaded image from application/x-krita. Size: 2480 * 3508 pixels, 8.33333 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 7

---------------------
Comment 1 vanyossi 2025-08-05 01:05:00 UTC
As stated by the documentation "The Services menu is populated when the menu is opened. Choosing the Services menu causes the current responder chain to be searched for objects that can provide or receive data of the types used by each service listed in the Services menu. If an object is found that can use a given service, the service’s menu item is shown in the menu. Menu items for which no suitable object is found are not shown in the menu."

Check keyboard -> shortcuts -> services: and look for the entry "Open App". The menu items under <Application menu> -> services is mostly shared on all the apps afaik. I could not reproduce the crash/freeze from my system neither activate anything that could trigger the freeze. Could you check what service is triggering the freeze/crash in your system?
Comment 2 Ash 2025-08-06 17:20:15 UTC
Created attachment 183834 [details]
Krita menu screengrab shifted text
Comment 3 Ash 2025-08-06 17:20:49 UTC
Created attachment 183835 [details]
main keyboard settings screengrab
Comment 4 Ash 2025-08-06 17:21:13 UTC
Created attachment 183836 [details]
firefox menu screengrab example
Comment 5 Ash 2025-08-06 17:27:15 UTC
(In reply to vanyossi from comment #1)
> As stated by the documentation "The Services menu is populated when the menu
> is opened. Choosing the Services menu causes the current responder chain to
> be searched for objects that can provide or receive data of the types used
> by each service listed in the Services menu. If an object is found that can
> use a given service, the service’s menu item is shown in the menu. Menu
> items for which no suitable object is found are not shown in the menu."
> 
> Check keyboard -> shortcuts -> services: and look for the entry "Open App".
> The menu items under <Application menu> -> services is mostly shared on all
> the apps afaik. I could not reproduce the crash/freeze from my system
> neither activate anything that could trigger the freeze. Could you check
> what service is triggering the freeze/crash in your system?

I typed up a comment but it looks like when I added the screenshots it was lost. I added 3 screenshots, so I went into the main keyboard menu settings and everything is checked on (I also clicked the menus so it would show everything that was collapsed), in Krita's dropdown menu the open app text appears to be shifted and is the only service, versus Firefox (what I'm using) has multiple options and there's also an icon under services that krita doesn't have. The text also appears normal on Firefox. I've been able to duplicate this bug probably about 10 times now, but I do force close Krita when it does it since a simple restart "fixes" it unless I hover over "services" again. By the way, when I hover over services with my cursor, the open app section will not highlight and the services section stays highlighted, so it freezes on that. I'm not sure how to find what specific service might be triggering it, I hope this was at least somewhat helpful. Also, I just updated my mac to 15.6 and still have the issue.
Comment 6 Bug Janitor Service 2025-08-07 03:46:52 UTC
🐛🧹 Thanks for your comment!

Automatically switching the status to REPORTED so the team can perform further triage.

In the future you may also do this yourself when providing needed information.