I’m looking for a solution to a problem I’m having with the UXP plugin.
I am currently working on upgrading my Photoshop plugin by publishing it to the marketplace.
The UI has become a bit more complex, but I have a concern about the HTML rendering of the UI.
*The UI does not use Spectram components, only native HTML tags.
Is there any difference in rendering speed between Spectram components and native HTML?
I have no problem using the plug-in, but I notice a difference in HTML update speed between Mac and Windows.
Photoshop on Windows causes a slow display, and I have no problem with it on the Mac.
I have a MacBookAir that is 10 years old now, but I feel the UI rendering is more sluggish on my one year old Windows machine.
As for switching tabs, I have created a sample [ui-kitchen-sink] as a reference.
Even in this sample, the display on Windows seems to have a little bit of a drawing faltering when switching tabs.
I don’t have a detailed explanation but I found this as well with old CEP panels, everything works faster on Mac, I don’t know if it is because Photoshop in the beginning was made for Mac computers, probably, but who knows. I have Mac and Windows users and Mac users always have a better performance with my plugins and CEP panels.
I’m sure the internal program specifications are affecting the performance, but it’s a bit sad to hear that the drawing performance is worse than on a 10 year old Mac…
Fortunately, it is not fatally slow, so I hope it will improve.
However, from this code, it doesn’t look like it is redrawing the inside of the tab every time.
It seems to me that all the HTML DOM is also being executed first.
I wish I could ask Adobe about this since it is an internal Photoshop specification, but I will take a look at it for now. I will check with support once if possible.
from the official communication I understand that the UI engine is a work in progress and is pretty much incomplete.
I’m not saying that it is guaranteed to improve but it is likely that once it’s finalised it’ll be ironed out, improved and optimised.
one guaranteed thing from the docs is that Adobe is planning on streamlining elements and supporting spectrum element only. I guess that should improve performance on the long run.