another app designer tooltip bug?

1 view (last 30 days)
G A on 10 Jul 2020
Answered: Cris LaPierre on 7 Dec 2020
I have quite a few uicontrols in my_ App, which I have just migrated from GUIDE to Appdesigner. Because HTML does not work in Appdesigner, I started editing all my tooltips removing HTML code from them. Everything was OK up to some point. Beginning from that point, Appdesigner suddenly started adding additional apostrophes and brackets, such that those apostrophes and brackets are displayed explicitly in my_App. In the exported m-file, the following examples can be seen:
app.EditField.Tooltip = '''text1 example''';
app.EditField.Tooltip = '{''text2 example''}';
app.EditField.Tooltip = '{''text31'';''text32 example''}';
app.EditField.Tooltip = '{''''text4 example''''}';
It happens in tooltips for EditField.
All my attempts to remove not needed brackets and apostrophes using 'Inspector' (COMPONENT BROWSER) lead to adding additional apostrophes. Also, new attempt to edit previously correctly displayed tooltip text leads to addition of aliased apostrophes and/or brackets. After deleting the text from the box comletely, there are still brackets {}, which you cannot get rid of - they appear with mouse click automatically.
Is any way to stop this kind of activity from Appdesiner? Or what could went wrong? Of course, I can use the exported m-file and correct all the quoted tooltips there, however, it is annoying.
Finally, I have decided that the best strategy for me is to get rid of HTML in tooltips within GUIDE and then to migrate to Appdesigner.
version is r2020a

Answers (1)

Cris LaPierre
Cris LaPierre on 7 Dec 2020
I played around for a bit trying to duplicate this behavior without any success. If you are still seeing this behavior, I suggest contacting customer support.


Find more on Migrate GUIDE Apps in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!