When will the transition from Java to Javascript be complete?
Mostrar comentarios más antiguos
It's been nearly ten years since MATLAB began to transition from Java to Javascript graphics. Is there any roadmap for when this transition will be complete? Long ago I was told that the final product would be seemless, i.e. traditional graphic commands would invoke Javascript yet otherwise function like the legacy Java version. Despite many improvements in the new system, the two are still quite different. The difference is most obvious on Mac systems, where uifigures are clearly handled separately from figures. I have stayed with traditional figures for most of this period, waiting for the Javascript alternative to mature, but this is no longer viable due to frequent crashes (as described here).
Recent experence suggests that uifigures are almost ready for general use, but there are a number of missing features. For me, the big ones are limited export options (e.g., improper size scaling for PDF) and the lack of an Extent property; the latter helps size items based on the text held inside them. If I had those features, I could justify the time investment in switching over to uifigures full time. There are also a lot of undocumented things, such as the fact that classic uicontrols can go inside Javascript uifigures, even though the formal documentation says otherwise. I wish Mathworks would be more forthright about this substantial change, focusing less on Live Editor and App Designer updates in each release.
6 comentarios
dpb
el 27 de Jul. de 2024
" I wish Mathworks would be more ... focusing less on Live Editor and App Designer updates in each release."
Amen, brother! There are many more core issues with HG2 and graphics in general that are far more important than fancy gewgaw UI stuff that mostly just gets in the way of actual base productive coding/problem solving instead focusing on "pretty" instead.
Adam Danz
el 31 de Jul. de 2024
Editada: Steven Lord
el 31 de Jul. de 2024
Download it here: https://www.mathworks.com/matlabcentral/fileexchange/119593
[SL: fixed typo]
Adam Danz
el 31 de Jul. de 2024
@Daniel Dolan, could you provide an example of the missing extent property you mentioned in uifigures? I'm not quit sure what this is referring to.
Daniel Dolan
el 31 de Jul. de 2024
Adam Danz
el 31 de Jul. de 2024
Thank for the clarification!
dpb
el 31 de Jul. de 2024
And note the date on that thread is four years ago, so not like it's something new...just exacerbated by the changeover.
Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 27 de Jul. de 2024
Editada: Walter Roberson
el 27 de Jul. de 2024
2 votos
When will the transition from Java to Javascript be complete?
19 January 2038
4 comentarios
dpb
el 27 de Jul. de 2024
Or, the 12th of Never...
Daniel Dolan
el 30 de Jul. de 2024
dpb
el 30 de Jul. de 2024
Very, very rare for Mathworks to comment on either features or timetables, so it's not likely, but there's always that first time/chance.
Submitting bug reports every time you run into one of these issues is the only way to bring things to the attention of official Mathworks support.
Walter Roberson
el 30 de Jul. de 2024
Is there any roadmap for when this transition will be complete?
There is no public roadmap for when the transition will be complete. Any internal roadmap that Mathworks has would be only approximate.
Categorías
Más información sobre Downloads en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
