Recent

Author Topic: CheckComboBox bug in MacOS?  (Read 1112 times)

AL

  • Sr. Member
  • ****
  • Posts: 256
CheckComboBox bug in MacOS?
« on: October 22, 2020, 03:20:52 am »
I used a checkComboBox from the MISC tab.
It behave correctly in Windows and Linux, but the Mac version does not display properly.
A possible bug?
In Mac the title is repeated twice in the caption and the dropdown is rather a popup that hide the caption.
Also the checkbox is not shown in the caption as in Win and Linux.


simple demo project added
« Last Edit: October 22, 2020, 03:30:39 am by AL »
Laz 3.1, fpc 3.2.2, Win10
Laz 3.1  fpc 3.2.2, MacOS Monterey running on VMWare/Win 10
Laz 3.1  fpc 3.2.2 Ubuntu 20.04

AL

  • Sr. Member
  • ****
  • Posts: 256
Re: CheckComboBox bug in MacOS?
« Reply #1 on: October 22, 2020, 03:22:07 am »
Here is the Window display
Laz 3.1, fpc 3.2.2, Win10
Laz 3.1  fpc 3.2.2, MacOS Monterey running on VMWare/Win 10
Laz 3.1  fpc 3.2.2 Ubuntu 20.04

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: CheckComboBox bug in MacOS?
« Reply #2 on: October 22, 2020, 03:42:41 am »
A possible bug?

Yep - same here. Lodge a bug in the Bugtracker.

AL

  • Sr. Member
  • ****
  • Posts: 256
Re: CheckComboBox bug in MacOS?
« Reply #3 on: October 22, 2020, 03:40:26 pm »
0037967: checkComboBox from the MISC tab does not work properly in MacOS
Laz 3.1, fpc 3.2.2, Win10
Laz 3.1  fpc 3.2.2, MacOS Monterey running on VMWare/Win 10
Laz 3.1  fpc 3.2.2 Ubuntu 20.04

AL

  • Sr. Member
  • ****
  • Posts: 256
Re: CheckComboBox bug in MacOS?
« Reply #4 on: October 23, 2020, 04:03:39 pm »
Is there another component I could use instead?
I need a dropdown list for 5 items with multiselect.
Laz 3.1, fpc 3.2.2, Win10
Laz 3.1  fpc 3.2.2, MacOS Monterey running on VMWare/Win 10
Laz 3.1  fpc 3.2.2 Ubuntu 20.04

wp

  • Hero Member
  • *****
  • Posts: 11832
Re: CheckComboBox bug in MacOS?
« Reply #5 on: October 23, 2020, 05:11:05 pm »
TCheckCombobox is not very useful even on Windows because it does not list the checked items in the non-dropped-down case. If you have more space on the form you could work around using TCheckListbox or even TCheckGroup.

AL

  • Sr. Member
  • ****
  • Posts: 256
Re: CheckComboBox bug in MacOS?
« Reply #6 on: October 25, 2020, 09:26:03 pm »
Finally ended using a button and a PopUpmenu for the time being.
This is working on all platform.
No big problem as I had only 5 items to display/choose.
And since this is multi select I did not need the selected item in the caption.
Thanks all!
Laz 3.1, fpc 3.2.2, Win10
Laz 3.1  fpc 3.2.2, MacOS Monterey running on VMWare/Win 10
Laz 3.1  fpc 3.2.2 Ubuntu 20.04

 

TinyPortal © 2005-2018