Icon are not correctly updated if changed
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)
-
repo owner -
- attached bugFMXLINUX.zip
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.
-
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.
-
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.
-
repo owner - changed status to resolved
- Log in to comment
Can you send us simple example code ?