Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touchpad tap does not select GalleryItem, click does #796

Open
korneliuscode opened this issue May 1, 2020 · 6 comments
Open

Touchpad tap does not select GalleryItem, click does #796

korneliuscode opened this issue May 1, 2020 · 6 comments
Assignees

Comments

@korneliuscode
Copy link

Hi,
I got the following DropDownButton in my Ribbon. If I just "tap" an item it does not get selected, if I click (hard press the touchpad button) it gets selected. This is the first time I experience a different in behavior of tap and click. Same thing happens on the MenuItem within that DropDownButton.

<Fluent:DropDownButton Header="Filter" SizeDefinition="Middle,Small" ClosePopupOnMouseDown="True" Icon="Filter.png" LargeIcon="Filter.png">
	<Fluent:Gallery ItemsSource="{Binding FilterViewModel.Years}" SelectedItem="{Binding FilterViewModel.FilterYear}" MaxItemsInRow="2" Selectable="True" Width="160">
		<Fluent:Gallery.ItemTemplate>
			<DataTemplate>
				<TextBlock HorizontalAlignment="Left" VerticalAlignment="Center" Text="{Binding StringFormat=\{0\}}" Width="75" />
			</DataTemplate>
		</Fluent:Gallery.ItemTemplate>
	</Fluent:Gallery>
	<MenuItem Header="{x:Static res:Resources.All}" Tag="year" Click="btnAllFilter_Click" />
</Fluent:DropDownButton>

Environment

  • Fluent.Ribbon v7.10
  • Windows 10
  • .NET Core 3.1
@batzen
Copy link
Member

batzen commented May 15, 2020

I don't have a touchscreen so this might be difficult to reproduce and fix. Will have a look at what i can do here.

@batzen batzen self-assigned this May 15, 2020
@korneliuscode
Copy link
Author

It is not related to a touchscreen, it happens to me on a touchpad (Dell laptop).

@batzen
Copy link
Member

batzen commented May 21, 2020

Ah, i misread your text. Will try to reproduce then.

@korneliuscode
Copy link
Author

Would be great if that came up at some point :)

@korneliuscode
Copy link
Author

Were you able to reproduce it? I still face the issue on a Surface Pro.

@batzen
Copy link
Member

batzen commented May 5, 2024

Can't reproduce when using the touchpad on my work laptop.
Could you try to use Snoop, use the events tab and check which mouse/touch events get listed when doing a tap?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants