We have been in the process of porting our CEP panel to UXP, starting with Photoshop since it is the most comprehensive in terms of feature parity. I recently attended an Adobe developer event coinciding with NAB and it was suggested that panel developers provide feedback on the forum about the most important bug fixes and feature requests. I am starting this thread with some of the key feature parity deficiencies we have identified, mostly pertaining to web UI.
General HTML / CSS:
-
Partial transparency does not work.
- This includes various style properties using RGBA colors, transparent images (PNG, SVG), border radius anti aliasing, etc.
- Having buttons, cards, etc. with rounded borders results in highly visible jagged edges on any curves
- It is not possible to have a partial transparency background for modal dialogs or other elements to dim / blur but still allow some visibility of the elements deeper in the hierarchy (either it must be fully transparent or fully opaque)
-
Scroll bars cannot be styled and always render at the highest Z-index.
- Scroll bars will “show through” even if another element at a higher z-index completely covers the element containing the scroll bar
- The inability to style scrollbars prevents, among other things, skinny scroll bars which can be useful for small container elements.
- The “show through” can be alleviated using some class hierarchy and/or scripting hacks to completely hide the scroll bars when a modal dialog is opened, but this is a hacky solution
-
Other input elements such as text input can be partially styled, but still have some Z-index and other style property quirks due to how they are rendered.
- Largely the same issues as the scroll bars above.
-
Certain style properties, such as font size, cannot be changed on button elements.
- Buttons seem to have a fixed font size and cannot have some other positioning properties applied. This can prevent consistent styling across the application.
- Using other elements such as divs with custom styles and event handlers can work as an alternative but is not a clean solution.
-
Borders have some quirky behaviors relating to different colors per side and overriding previous border style properties.
- Attempting to set borders with different colors on different sides seems to always result in one color being selected for all sides
- Attempting to override certain previous rules does not work. For instance if I set “border: none” then subsequently set something like “border: 1px solid #F00” in the same rule, only the earlier “border: none” applies
-
Clicking directly on a WebView input element after changing focus between applications does not seem to properly set focus to the panel.
- If for instance I copy a password from my password manager, then click on the password for an SSO login page in a WebView, when I attempt to paste, it will not paste into the input element on the WebView page. It is necessary to first click the top bar of the panel, then click the WebView input element to obtain focus before being able to paste in the text.
Spectrum Specific:
- sp-picker events do not seem to be firing when user interactions occur.
- Events such as change and click do not seem to be triggering on user interactions, resulting in the value selections not being properly handled by the React application
On a side note, I think it would also be potentially useful to have a general UXP developer forum. While we are currently primarily targeting Photoshop, we will be expanding our panel support to Premiere in the near future and possibly Illustrator, After Effects and Indesign later on. If the issues at hand are broadly with the UXP framework and not specific to the host application, then posting bug or feature requests to individual application forums might not be a great fit. There is the UXP Developer Tool forum, but that is for the tool, not the UXP framework itself.
If anyone else has feature requests it could be good to compile them in a single thread.