• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

P: 8-bit indexed PNG files in UXP panel crashes Photoshop

Community Beginner ,
Feb 08, 2024 Feb 08, 2024

Copy link to clipboard

Copied

The following Photoshop UXP panel crashes Photoshop, try it in e.g. UXP Developer Tools playground:

 

 

 

<!DOCTYPE html>
<html>
<body>
    <img src="https://files.catbox.moe/vc7acj.png">
</body>
</html>

 

 

 

 

 

(the manifest file needs permissions to the image host)

 

 

 

 

"requiredPermissions": {
    "network": {
        "domains": [ "https://files.catbox.moe" ]
    }
}

 

 

 

 

 

The file is a PNG file with 8-bit indexed colors.

 

Trying to display this type of file completely hangs my Photoshop process, requiring manual process kill.

 

Photoshop version: 25.4.0

UXP version: 7.3.0

Operating system: Windows 11

 
 
 
Bug Acknowledged
TOPICS
Desktop-Windows

Views

193

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Pinned Reply

Adobe Employee , Feb 21, 2024 Feb 21, 2024

Hi @roqvist the team will look into this.

Thanks,

Cory - Photoshop Product Manager

Status Acknowledged

Votes

Translate

Translate
9 Comments
Adobe Employee ,
Feb 08, 2024 Feb 08, 2024

Copy link to clipboard

Copied

Hi @roqvist we are not able to reproduce here. Could you share a video of your steps when you see this issue?

 

It may help if we could see your Photoshop System Info. Launch Photoshop, and select Help >System Info...and copy/paste the text in a reply.  

 

Thanks,

Cory - Photoshop Product Manager

Votes

Translate

Translate

Report

Report
Community Beginner ,
Feb 08, 2024 Feb 08, 2024

Copy link to clipboard

Copied

Sure.

 

I tried it today on on a different machine, which has a different Photoshop versions, and I get the same problem. A colleague  of mine also experiences this on his machine.

 

So the video recording and system info is this time on Windows 10, Photoshop 25.3.1. The Photoshop executable just freezes and after a few seconds it shuts down.

 

System info

Video recording

Votes

Translate

Translate

Report

Report
Community Beginner ,
Feb 08, 2024 Feb 08, 2024

Copy link to clipboard

Copied

After doing this several times in a row, I managed to get a crash report. I uploaded it here.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Feb 08, 2024 Feb 08, 2024

Copy link to clipboard

Copied

If I change the URL to the same PNG file but instead encoded in full 24-bit color, the panel works fine (as per attached screenshot)

 

roqvist_0-1707464533782.png

 

Votes

Translate

Translate

Report

Report
Community Beginner ,
Feb 09, 2024 Feb 09, 2024

Copy link to clipboard

Copied

Note, don't forget to add the file host domain to permissions in manifest.json as per my initial post when debugging this, otherwise the image obviously will not be attempted to load at all.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Feb 15, 2024 Feb 15, 2024

Copy link to clipboard

Copied

@CoryShubert just wanted to check if your team managed to reproduce this?

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Feb 21, 2024 Feb 21, 2024

Copy link to clipboard

Copied

Hi @roqvist the team will look into this.

Thanks,

Cory - Photoshop Product Manager

Status Acknowledged

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Feb 22, 2024 Feb 22, 2024

Copy link to clipboard

Copied

Hi @roqvist the team tried reproducing this in the way it was described: UDT + Playground. The image displayed OK as depicted in this screenshot.

 

Screenshot 2024-02-22 at 2.09.10 PM.png

 

If we missed something, please let us know what is the issue so we can test again.

 

Please update to the latest beta: Adobe Photoshop Version: 25.6.0 20240217.m.2506 d5ee5e5 arm64 and see if you still have this issue.

 

Thanks,

Cory - Photoshop Product Manager

Votes

Translate

Translate

Report

Report
Community Beginner ,
Feb 27, 2024 Feb 27, 2024

Copy link to clipboard

Copied

LATEST

Hello again, I installed Photoshop Beta 25.6.0 20240222.m.2515 7d8319b x64 and it doesn't silently crash anymore but gives me an error report. No PNG file is displayed.

 

roqvist_0-1709026732361.png

 

 The error report is uploaded here.

 

What do you need from me to help you reproduce this? My colleague gets this as well. We're both on Windows 11 with NVIDIA hardware.

 

Votes

Translate

Translate

Report

Report