doublecmd icon indicating copy to clipboard operation
doublecmd copied to clipboard

Application icons no longer appear after updating to MacOS 26.0 (25A354) Tahoe

Open viktor-kyarginskiy-staffbase opened this issue 3 months ago • 43 comments

Version

Application icons no longer appear after updating to MacOS 26.0 (25A354) Tahoe.

See attached screenshot.

Image

Double Commander Version: 1.2.0 alpha Revision: 12372 Commit: 85f15abb5 Build: 2025/09/21 Lazarus: 4.99.0.0 Free Pascal: 3.2.2 Platform: aarch64-Darwin-cocoa System: Mac OS X 26.0.0

Description

Application icons no longer appear after updating to MacOS 26.0 (25A354) Tahoe.

The icons in the "Open with" menu are not okay either.

Image

Neo-cpu761 avatar Oct 05 '25 12:10 Neo-cpu761

@viktor-kyarginskiy-staffbase

is it a permissions issue?

rich2014 avatar Oct 05 '25 14:10 rich2014

@viktor-kyarginskiy-staffbase @Neo-cpu761

if we copy the app to a user directory (e.g. ~), will the app icon be displayed correctly?

rich2014 avatar Oct 07 '25 08:10 rich2014

I copied an app to my Downloads folder, but that didn’t help:

Image

For comparison, here's the same app in Finder:

Image

Also, the icon in DC isn't completely blank. In fact, if you look closely, you can still see a faint silhouette. From that, I would conclude that that missing permissions are probably not the root cause.

Neo-cpu761 avatar Oct 07 '25 09:10 Neo-cpu761

@viktor-kyarginskiy-staffbase @Neo-cpu761

can you test it on macOS 26.1?

previously, macOS 26.0 seemed to have been found to have many minor problems.

rich2014 avatar Oct 07 '25 13:10 rich2014

@rich2014, The issue also occurs under macOS 26.1.

Neo-cpu761 avatar Oct 07 '25 16:10 Neo-cpu761

@Neo-cpu761

fixed.

try the latest snapshot please.

rich2014 avatar Oct 11 '25 12:10 rich2014

@rich2014, It's partly fixed, but not fully. Please compare the screenshots below:

DC:

Image

Finder:

Image

Neo-cpu761 avatar Oct 11 '25 13:10 Neo-cpu761

Furthermore, when I go to /Applications/, I get this error:

Image

Error.zip

Neo-cpu761 avatar Oct 11 '25 13:10 Neo-cpu761

@rich2014 I guess it is better to use NSPNGFileType and TPortableNetworkGraphic instead NSBMPFileType.

alexx2000 avatar Oct 11 '25 13:10 alexx2000

@alexx2000

  1. i don't guess its is the reason. as shown in the screenshot below, the Icon in /Applications is very clear (48x48). I guess it is a problem with TMenuItem/ImageList of the LCL.

I guess it is better to use NSPNGFileType and TPortableNetworkGraphic instead NSBMPFileType.

  1. i can open /Applications without any problem. could you please help to check the exception mentioned by @Neo-cpu761 ?
Image

rich2014 avatar Oct 11 '25 15:10 rich2014

  1. I cannot reproduce this problem too. It is hard to say in what case an exception might arise there.

alexx2000 avatar Oct 11 '25 21:10 alexx2000

Yes. It woks for me! Many thanks! Image

Double Commander Version: 1.2.0 alpha Revision: 12392 Commit: 186be92aa Build: 2025/10/11 Lazarus: 4.99.0.0 Free Pascal: 3.2.2 Platform: aarch64-Darwin-cocoa System: Mac OS X 26.0.1

@viktor-kyarginskiy-staffbase

it's great!

rich2014 avatar Oct 12 '25 14:10 rich2014

@Neo-cpu761

try the latest snapshot please.

rich2014 avatar Oct 12 '25 14:10 rich2014

@alexx2000

blur icons in "Open With" menu fixed:

  1. fixed in LCL/TMenuItem, and Cocoa/TCocoaWSMenuItem
  2. fixed in DC (13cf4d3)

rich2014 avatar Oct 12 '25 14:10 rich2014

@rich2014, It's not fixed.

When going to /Applications, there's still an exception: Error_new.zip

And the 'Open with' menu looks slightly different, but still not okay: Image

Double Commander Version: 1.2.0 alpha Revision: 12393 Commit: 13cf4d30f Build: 2025/10/12 Lazarus: 4.99.0.0 Free Pascal: 3.2.2 Platform: aarch64-Darwin-cocoa System: Mac OS X 26.1.0

Neo-cpu761 avatar Oct 12 '25 16:10 Neo-cpu761

@Neo-cpu761

i tested it on macOS 26.01 and it works fine.

which model of Apple computer do you have? which monitor?

DC

Image

Finder

Image

rich2014 avatar Oct 13 '25 01:10 rich2014

@viktor-kyarginskiy-staffbase

could you test the Open With Popup Menu?

rich2014 avatar Oct 13 '25 01:10 rich2014

@alexx2000

any ideas?

exception when releasing TDisplayFile.

--------------- 12-10-2025, 18:06:04 ---------------
| DC v1.2.0 alpha Rev. 12393 -- aarch64-Darwin-cocoa
| Mac OS X 26.1.0 | PID 11962
Unhandled exception: EAccessViolation: Access violation
  Stack trace:
  $0000000102E76110 in /Applications/Double Commander.app/Contents/MacOS/doublecmd
  $0000000102E76118 in /Applications/Double Commander.app/Contents/MacOS/doublecmd
  $0000000103291AF8 line 254, column 7 of udisplayfile.pas in /Applications/Double Commander.app/Contents/MacOS/doublecmd
  $00000001032918F4 line 208, column 3 of udisplayfile.pas in /Applications/Double Commander.app/Contents/MacOS/doublecmd
  $0000000102E76118 in /Applications/Double Commander.app/Contents/MacOS/doublecmd
  $0000000102EFA724 in /Applications/Double Commander.app/Contents/MacOS/doublecmd
  $000000010352D33C line 578, column 32 of fileviews/ufileviewworker.pas in /Applications/Double Commander.app/Contents/MacOS/doublecmd
  $000000010352C7D8 line 369, column 9 of fileviews/ufileviewworker.pas in /Applications/Double Commander.app/Contents/MacOS/doublecmd
  $000000010352C84C line 382, column 3 of fileviews/ufileviewworker.pas in /Applications/Double Commander.app/Contents/MacOS/doublecmd
  $000000010352F8DC line 155, column 17 of ufunctionthread.pas in /Applications/Double Commander.app/Contents/MacOS/doublecmd
  $0000000102EB4530 in /Applications/Double Commander.app/Contents/MacOS/doublecmd
  $0000000102E8E9EC in /Applications/Double Commander.app/Contents/MacOS/doublecmd

rich2014 avatar Oct 13 '25 02:10 rich2014

Looks like memory corruption.

alexx2000 avatar Oct 13 '25 06:10 alexx2000

@rich2014

which model of Apple computer do you have? which monitor?

Mac mini 2023 with M2 Pro, Apple Studio Display

Neo-cpu761 avatar Oct 13 '25 06:10 Neo-cpu761

@Neo-cpu761

do you have a lower resolution display to test?

rich2014 avatar Oct 17 '25 09:10 rich2014

do you have a lower resolution display to test?

No, I haven't.

I've just set the resolution to 1280 x 720 under Settings (but still with my Studio Display), but both issues ("Open with" and exception in /Applications) still occurred.

Neo-cpu761 avatar Oct 17 '25 10:10 Neo-cpu761

@Neo-cpu761

on the contrary, you can try the highest resolution.

after setting, you need to restart the DC.

rich2014 avatar Oct 18 '25 00:10 rich2014

@Neo-cpu761

if we copy the app from /Applications to other user directory (e.g. ~), will the app icon be displayed correctly?

rich2014 avatar Oct 18 '25 00:10 rich2014

on the contrary, you can try the highest resolution

Same result: Wrong icons in "Open with" and exception in /Applications

if we copy the app from /Applications to other user directory (e.g. ~), will the app icon be displayed correctly?

No. There will be an exception when going to that other user directory containing the app.

Neo-cpu761 avatar Oct 18 '25 07:10 Neo-cpu761

@rich2014, Here are the error logs from the latest snapshot:

Error.zip

The zip file also contains the logs generated by Apple after I had to shut down DC (pressing the Abort button actually did not close DC).

Double Commander Version: 1.2.0 alpha Revision: 12397 Commit: 7bc7f6f68 Build: 2025/10/18 Lazarus: 4.99.0.0 Free Pascal: 3.2.2 Platform: aarch64-Darwin-cocoa System: Mac OS X 26.1.0

Neo-cpu761 avatar Oct 18 '25 09:10 Neo-cpu761

@Neo-cpu761

thx.

now we can basically determine that the exception accessing /Applications is caused by an image processing issue.

please test snapshot (12398) later.

rich2014 avatar Oct 18 '25 10:10 rich2014

Here are the logs from 12398:

Error_12398.zip

Neo-cpu761 avatar Oct 18 '25 11:10 Neo-cpu761