Fluent.Ribbon icon indicating copy to clipboard operation
Fluent.Ribbon copied to clipboard

Touchpad tap does not select GalleryItem, click does

Open korneliuscode opened this issue 5 years ago • 6 comments

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

korneliuscode avatar May 01 '20 08:05 korneliuscode

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 avatar May 15 '20 04:05 batzen

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

korneliuscode avatar May 21 '20 18:05 korneliuscode

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

batzen avatar May 21 '20 19:05 batzen

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

korneliuscode avatar Dec 06 '23 18:12 korneliuscode

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

korneliuscode avatar May 01 '24 18:05 korneliuscode

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?

batzen avatar May 05 '24 09:05 batzen