Material.Avalonia icon indicating copy to clipboard operation
Material.Avalonia copied to clipboard

ComboBox items not shown with left click on MacOS

Open mjuen opened this issue 4 years ago • 7 comments

Hello,

when using Material.Avalonia on Mac OS the ComboBox does not seems to work as expected. Left clicking does not reveal the available ComboBoxItems. The items are only shown when right clicking on the box.

Versions:

Target framework: NET 5
Avalonia: 0.10.10
Avalonia.Desktop: 0.10.10
Avalonia.ReactiveUI: 0.10.10
Material.Avalonia: 2.5.0

Mac OS: Monterey 12.0.1

I have attached a solution to replicate the problem (ComboBoxBug.zip).

Steps to reproduce:

  • Download the attached solution and publish the project with the following settings:

publish

  • Run the program on MacOS and click on the ComboBox

Expected behavior: ComboBoxItems are shown when left clicking on the ComboBox

Actual behavior: ComboBoxItems are not shown when left clicking on the ComboBox, right clicks however seem to work

mjuen avatar Dec 05 '21 16:12 mjuen

Hello, @mjuen Does this reproducible without Material.Avalonia (on default avalonia theme)? Does this reproducible on other platforms?

SKProCH avatar Dec 05 '21 18:12 SKProCH

Hi @SKProCH,

it works on MacOS without Material.Avalonia and the default Avalonia styles. In Windows it works fine with and without Material.Avalonia.

mjuen avatar Dec 05 '21 19:12 mjuen

Same issue on Linux Ubuntu 20.04. I can open the combobox using the keyboard, but not with left click.

DirkKramer avatar Nov 17 '23 10:11 DirkKramer

Same issue on Linux Ubuntu 20.04. I can open the combobox using the keyboard, but not with left click.

Hello. Can you attach a minimal reproduceable example project, please?
Also please make sure that problem also occurs on the default Avalonia theme.

SKProCH avatar Nov 17 '23 12:11 SKProCH

Same issue on Linux Ubuntu 20.04. I can open the combobox using the keyboard, but not with left click.

Hello. Can you attach a minimal reproduceable example project, please? Also please make sure that problem also occurs on the default Avalonia theme.

Problem is different on Default Avalonia.

see below repo. https://github.com/DirkKramer/ComboboxIssue

DirkKramer avatar Nov 17 '23 13:11 DirkKramer

@DirkKramer, seems like i can't reproduce it:

https://github.com/AvaloniaCommunity/Material.Avalonia/assets/29896317/c68bd16e-7634-4e7b-bd2c-6271a5ff5688

SKProCH avatar Nov 18 '23 23:11 SKProCH

I have the same issue using Avalonia 11.0.7 on Mac OS 14.2.1 (23C71). Both latest version. This is a bug on Rider Plugin because if you run the app directly on file this the combo box work correctly.

henrrymoraes83 avatar Jan 22 '24 22:01 henrrymoraes83

Closing as bug on Avalonia's side. Track progress here:

https://github.com/AvaloniaUI/Avalonia/issues/12383

SKProCH avatar May 13 '24 21:05 SKProCH