amiga-mui / muidev

:mage_man: Magic User Interface (MUI) – Documentation+Releases
http://muidev.de
55 stars 0 forks source link

Hyperlink behaves strangely after setting MUIA_Hyperlink_URI #355

Closed afalkenhahn closed 3 years ago

afalkenhahn commented 3 years ago

Take a look at the attached demo program. You need to press the button and then resize the window (sometimes you need to resize the window multiple times). Then there'll often be glitches in the two hyperlink gadgets. For example, they'll look like this: shot

or like this shot2

It doesn't happen every time but after a few attempts it usually shows so there must be something wrong.

Tested with the latest release from August 31 on OS3.

main.txt

tboeckel commented 3 years ago

Fixed in the next nightly build. `* mcc/Hyperlink.c: changing the URI of a Hyperlink object without special text via MUIA_Text_Contents now also correctly updates the displayed text when MUIA_Hyperlink_URI is changed via OM_SET. Before the previous and now invalid text pointer was still used for the display of the link. This closes

355.

Hyperlink_21.33_os3.zip Hyperlink_21.33_os4.zip `