Jaroslav Bereza
@uxp.bereza.cz
3rd party developer of extensions for Photoshop
⚠️ If your users are using "Layer Filter" in layers panel and filter out layers, they are almost guaranteed that plugins and scripts will break.
This is because many actions require layer to be selected as an action reference. But if layer is filtered out, it cannot be selected.
#UXP #Photoshop
This is because many actions require layer to be selected as an action reference. But if layer is filtered out, it cannot be selected.
#UXP #Photoshop
August 13, 2025 at 10:06 AM
⚠️ If your users are using "Layer Filter" in layers panel and filter out layers, they are almost guaranteed that plugins and scripts will break.
This is because many actions require layer to be selected as an action reference. But if layer is filtered out, it cannot be selected.
#UXP #Photoshop
This is because many actions require layer to be selected as an action reference. But if layer is filtered out, it cannot be selected.
#UXP #Photoshop
I have weird issues in Shadow DOM. UI crashes when permission dialog is shown and closed before.
October 23, 2024 at 6:57 PM
I have weird issues in Shadow DOM. UI crashes when permission dialog is shown and closed before.
New JS features in UXP of Photoshop 2025?
Seems like V8 engine was upgraded in UXP v8 and now it supports ECMAScript 2025 in Photoshop 2025. Photoshop 2024 only supported ECMAScript 2022. Meaning you can use a bunch of new features in JavaScript. #UXP #Photoshop
Seems like V8 engine was upgraded in UXP v8 and now it supports ECMAScript 2025 in Photoshop 2025. Photoshop 2024 only supported ECMAScript 2022. Meaning you can use a bunch of new features in JavaScript. #UXP #Photoshop
October 12, 2024 at 9:20 AM
New JS features in UXP of Photoshop 2025?
Seems like V8 engine was upgraded in UXP v8 and now it supports ECMAScript 2025 in Photoshop 2025. Photoshop 2024 only supported ECMAScript 2022. Meaning you can use a bunch of new features in JavaScript. #UXP #Photoshop
Seems like V8 engine was upgraded in UXP v8 and now it supports ECMAScript 2025 in Photoshop 2025. Photoshop 2024 only supported ECMAScript 2022. Meaning you can use a bunch of new features in JavaScript. #UXP #Photoshop
Not only #UXP looks like web-browser when it is not. It also looks like NodeJS when it is not. E.g. "require('path').resolve" returns URL object instead of string. But "window.path.require" returns string.
May 9, 2024 at 8:51 AM
Not only #UXP looks like web-browser when it is not. It also looks like NodeJS when it is not. E.g. "require('path').resolve" returns URL object instead of string. But "window.path.require" returns string.
If "fs" module in #UXP throws a number only as an error here is what it means since it uses LibUV. github.com/nodejs/node/...
So you can find meaning of "-4082" (resource busy or locked)
So you can find meaning of "-4082" (resource busy or locked)
May 9, 2024 at 7:21 AM
If "fs" module in #UXP throws a number only as an error here is what it means since it uses LibUV. github.com/nodejs/node/...
So you can find meaning of "-4082" (resource busy or locked)
So you can find meaning of "-4082" (resource busy or locked)
Example. Test plugin gets created but never destroyed when its replacement loaded via DevTools. Not even after uninstalling in CCD.
#Photoshop #UXP
#Photoshop #UXP
April 12, 2024 at 1:06 PM
Example. Test plugin gets created but never destroyed when its replacement loaded via DevTools. Not even after uninstalling in CCD.
#Photoshop #UXP
#Photoshop #UXP
🐛 Update on a WebSocket empty message bug
March 4, 2024 at 11:45 AM
🐛 Update on a WebSocket empty message bug
Even with AI you can have complicated UI :-D (fragment of automatic1111) ...but of course this is more for research and you don't need all options in future.
March 3, 2024 at 1:47 PM
Even with AI you can have complicated UI :-D (fragment of automatic1111) ...but of course this is more for research and you don't need all options in future.
Validator for UXP is now available on VSCode marketplace: marketplace.visualstudio.com/items?itemNa...
And open-sourced on GitHub: github.com/jardicc/vsco...
Please check it and let know your feedback. Also any info to improve rules is highly appreciated.
And open-sourced on GitHub: github.com/jardicc/vsco...
Please check it and let know your feedback. Also any info to improve rules is highly appreciated.
March 1, 2024 at 4:19 PM
Validator for UXP is now available on VSCode marketplace: marketplace.visualstudio.com/items?itemNa...
And open-sourced on GitHub: github.com/jardicc/vsco...
Please check it and let know your feedback. Also any info to improve rules is highly appreciated.
And open-sourced on GitHub: github.com/jardicc/vsco...
Please check it and let know your feedback. Also any info to improve rules is highly appreciated.
If you want to detect this bug in UXP instead of letting it fail silently you could edit WebSocket prototype similar to this.
February 27, 2024 at 4:08 PM
If you want to detect this bug in UXP instead of letting it fail silently you could edit WebSocket prototype similar to this.
🐛⚠️ Another bug in UXP is that WebSocket client is unable to send empty message to server. Server never receives it and it fails in UXP silently. This breaks e.g. ping/pong mechanism in some WS libraries. Repo to reproduce bug: github.com/jardicc/uxp-...
It works in Browser or with non-empty message
It works in Browser or with non-empty message
February 27, 2024 at 3:29 PM
🐛⚠️ Another bug in UXP is that WebSocket client is unable to send empty message to server. Server never receives it and it fails in UXP silently. This breaks e.g. ping/pong mechanism in some WS libraries. Repo to reproduce bug: github.com/jardicc/uxp-...
It works in Browser or with non-empty message
It works in Browser or with non-empty message
To clarify it... it does exist as static property in class but does not exist in class instance... now it is clear. UXP vs Chrome
Therefore it breaks some libraries.
Therefore it breaks some libraries.
February 22, 2024 at 11:51 PM
To clarify it... it does exist as static property in class but does not exist in class instance... now it is clear. UXP vs Chrome
Therefore it breaks some libraries.
Therefore it breaks some libraries.
I was able to connect React Dev Tools with UXP plugin 🔥
February 18, 2024 at 4:00 PM
I was able to connect React Dev Tools with UXP plugin 🔥
WebSocket class in UXP has not CONNECTING, OPEN, CLOSING, CLOSED properties constants causing some libraries to fail. So your fix could look something like this
February 18, 2024 at 3:32 PM
WebSocket class in UXP has not CONNECTING, OPEN, CLOSING, CLOSED properties constants causing some libraries to fail. So your fix could look something like this
☠️ Since UXP 7.4 "alert", "confirm" and "prompt" will be missing by default and available under manifest flag only.
#UXP #Photoshop
#UXP #Photoshop
February 13, 2024 at 3:54 PM
☠️ Since UXP 7.4 "alert", "confirm" and "prompt" will be missing by default and available under manifest flag only.
#UXP #Photoshop
#UXP #Photoshop
"rem" unit in UXP is not supported. There was a bug.
February 6, 2024 at 3:45 PM
"rem" unit in UXP is not supported. There was a bug.
Follow up on UXP bug
February 6, 2024 at 1:24 PM
Follow up on UXP bug
Alchemist Plugin is going to get proper popover menu able to reach out of panel :-) Inspired by this code: forums.creativeclouddeveloper.com/t/have-you-t...
December 17, 2023 at 8:48 PM
Alchemist Plugin is going to get proper popover menu able to reach out of panel :-) Inspired by this code: forums.creativeclouddeveloper.com/t/have-you-t...