Base Form design: issues with ImageButton control.

LibreOffice Version: 5.4.1.2
Build ID: 1:5.4.1-0ubuntu1
CPU threads: 2; OS: Linux 4.13; UI render: default; VCL: gtk3;
Locale: nl-NL (en_US.UTF-8); Calc: group

When i try to change my form control into an ImageButton ( by right-clicking on the form control and selecting the menu “Replace with : Image Button” ), it changes into a Combobox instead of an ImageButton.

The type of form control doesn’t seem to matter ( tested with Button, Checkbox, Label ), it always changes into a Combobox instead of an ImageButton.

An ImageButton control can still be added via the toolbar “Form Controls : More Controls”, but unfortunately this ImageButton is missing an “Execute Action” event (see screenshot).

Has anyone ever experienced either one of these issues with their ImageButton in Base?

Possible workarounds:

  1. Implement the ImageButton’s “Mouse button pressed”, “Mouse button released”, “Key pressed”, and “Key released” events as a surrogate for the missing “Execute Action” event.
  2. Use a normal Button control instead of an ImageButton control; Downside is that the button bevel is always visible.
  3. Use an image object and implement its “Click object” event; Downside is that the green image selection handles become visible when the image is clicked.

With Regards,
lib

Hello @Librebel,

I see same thing in LO v5.4.3.2 from LibreOffice. Haven’t used image button in some time (maybe since v4.x) and it is different. No telling where this problem started.

Thanks for your confirmation @Ratslinger,
'll report this problem to Bugzillah if it is not yet reported.