Button with image won't hide (a bug probably)

I checked out Kodular Fenix (v1.5.0) Bug Tracker before creating a new topic

Describe your issue

Hi, I’ve got a button with an image, and after pressing the button it should hide, but it won’t hide for some reason. If I remove the image and set some text, the button works properly, it hides when pressed.

Steps to reproduce the issue

  1. In designer: Add a button, set text to none, set some image
  2. In blocks: set following action for the button → “When button clicked, set button visibility to false”
  3. Compile and run

Expected Behaviour

When you click on the button, it should hide, be not visible.

Actual Behaviour

It won’t hide, it will be still visible.

Show your Blocks

blocks

  1. If you set an image for the button and no text the button won’t hide:



  1. But if you set text and no image, the button will hide as expected:


Android version

Android 11, One UI 3.1

Yeah, and it is an old one.

@Hossein

2 Likes

Thanks for posting this, couldn’t find that topic. Would be nice if it was fixed however.