Icon are not correctly updated if changed

Issue #201 resolved
Former user created an issue

On FMXLinux 1.34 using RIO on Debian 9 64 bits.

Button's icon are rendered incorrectly when they are changed at runtime. When changed, both old icon and new icon are rendered.

See attached file bug_fmx_rio.png.

(The problem does not appear on windows).

Comments (5)

  1. Renaud GHIA

    This same kind of bug appears too sometimes on Label and TextEdit. In these cases, even if we don't change the style of the control, sometimes, the text appears several times in the control.

  2. Eugene Kryukov repo owner

    Thank you for example, but actually i didn't noticed any difference in Tokyo and Rio. Tested on Fedora 29 (both Wayland and X11) and also on Ubuntu. Also didn't noticed a drawing issue. This may happen if something wrong with background.

  3. Renaud GHIA

    Thanks for the support.

    The problem was actually coming from a modification that we did on FMX.Control.pas in order to fix a TLabel bug. This bug has been fix .

    Using the original FMX.Control.pas the icon is correctly updated.

  4. Log in to comment