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

Ribbon scrolling on touch screen

Open AelyPro opened this issue 2 years ago • 5 comments
trafficstars

Hello, I have trouble getting the scrolling on a ribbon right. At the top of my application I have a ribbon with multiple button. Once the window get too small I can scroll throughthe button with the 2 arrow at each side and with the mouse wheel. As my application is mostly used on a touch screen I'd like my users to be able to scroll through the menu simply by dragging their finger on it but it's not working.

ribbonScrolling

My code is as follow

<Fluent:Ribbon AreTabHeadersVisible="False">
   <Fluent:Ribbon.ToolBarItems>
      <Fluent:Button
         Command="{Binding AboutCMD}"
         Icon="{StaticResource aboutIcon}"
         LargeIcon="{StaticResource aboutIcon}"
         Size="Middle"
         ToolTip="À-Propos" />
   </Fluent:Ribbon.ToolBarItems>

   <Fluent:RibbonTabItem Header="">
      <Fluent:RibbonGroupBox>
         <!--  Refresh  -->
...        
      </Fluent:RibbonGroupBox>
   </Fluent:RibbonTabItem>
</Fluent:Ribbon>

Environment

  • Fluent.Ribbon v10.0.4
  • Windows 10 22H2
  • .NET Framework net7.0-windows

AelyPro avatar Oct 06 '23 08:10 AelyPro

Using one finger doesn't trigger the scrolling. Your users have to use two fingers to trigger scrolling. Or doesn't it work when they are using two fingers? It should work as every scroll viewer works when using touch on Windows.

batzen avatar Oct 08 '23 10:10 batzen

It doesn't seem to work. even with 2 fingers. Is it because this is a horizontal scroll ?

AelyPro avatar Oct 09 '23 07:10 AelyPro

It's a horizontal scroll, so you also have to use touch in that orientation.

batzen avatar Oct 09 '23 09:10 batzen

Yep, I tried scrolling with 1,2 and 3 finger in all the directions and none worked. Scrolling with the mouse wheel is fine though.

AelyPro avatar Oct 09 '23 09:10 AelyPro

That's strange. I tested touch scrolling using my phone and a program that forwards touch events to my PC, as i don't have a touch display to do a real world test.

Will try to test that again and have a closer look at the types of events i get from the program to make sure the program does not translate the touch events to mouse scroll events.

batzen avatar Oct 11 '23 14:10 batzen