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

Ribbon scrolling on touch screen #1176

Open
AelyPro opened this issue Oct 6, 2023 · 5 comments
Open

Ribbon scrolling on touch screen #1176

AelyPro opened this issue Oct 6, 2023 · 5 comments

Comments

@AelyPro
Copy link

AelyPro commented Oct 6, 2023

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
@batzen
Copy link
Member

batzen commented Oct 8, 2023

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.

@AelyPro
Copy link
Author

AelyPro commented Oct 9, 2023

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

@batzen
Copy link
Member

batzen commented Oct 9, 2023

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

@AelyPro
Copy link
Author

AelyPro commented Oct 9, 2023

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.

@batzen
Copy link
Member

batzen commented Oct 11, 2023

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.

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