Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

App Designer in 2022b reverses menu bar in app designed in 2020a!

조회 수: 1 (최근 30일)
Kristoffer Walker
Kristoffer Walker 2023년 1월 26일
마감: Kristoffer Walker 2023년 1월 27일
Hi,
I just installed 2022b. Upon opening a app made in app designer 2020a, I got a warning message saying it was automatically converted to be backwards compatible with 2020a. Now the menu bar that displays when I run the app is completely backwards, yet it still shows up as being correct in the Design View of app designer! What gives?
  댓글 수: 4
dpb
dpb 2023년 1월 26일
편집: dpb 2023년 1월 26일
My comment is still the same -- if it doesn't function the same as your screenshots show, I deem that worthy of a support request related to new version install. TMW may disagree, but don't think there's anything anybody outside of them can do to fix the issue with the existing app import.
The alternative would seem to be to rewrite the existing app with the new release -- and if the UI is complicated, that could, agreed, be a real pain.
The local doc for R2020b, however, says that if you open an app built with an earlier release it will update to the current...
"Opening Apps for Editing in a Newer Release
If you open an app for editing that was created in a previous release, App Designer updates the app, and displays a message such as this one." (followed by image of a message to that effect).
I would presume current doc will say the same thing which then should qualify as a bug if it doesn't actually do that but reverts permanently back to the old release.
BTW, the reversal from right to left of menu items would seem to imply a reversed storage order of the components for the menu between the two versions. Whether one could find where/how those are stored/referenced and make a fixup or not, I've no idea; I've never looked at the innards of the app at that level of detail.
Kristoffer Walker
Kristoffer Walker 2023년 1월 27일
dpb, thank you for this extensive reply. I opened up the same app again in 2022b about an hour ago. Upon opening it, somehow the order got reversed. So I reordered it correctly, saved it, and executed and now its consistent. Something weird must have happened, but it seems fine now thankfully.

답변 (0개)

이 질문은 마감되었습니다.

태그

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by