microsoft / microsoft-ui-xaml

WinUI: a modern UI framework with a rich set of controls and styles to build dynamic and high-performing Windows applications.
MIT License
6.38k stars 683 forks source link

Proposal: Alt, or Shift whilst using Scroll Wheel to scroll Horizontally - Mouse Wheel held down to Drag #877

Open mdtauk opened 5 years ago

mdtauk commented 5 years ago

Proposal: Alt, or Shift whilst using Scroll Wheel to scroll Horizontally - Mouse Wheel held down to Drag

Summary

When using the ScrollViewer or any scrollable view that is set to scroll Horizontally & Vertically, it should be possible to hold down either Alt, or Shift so when using the scroll wheel it will scroll on the Horizontal axis instead of only working on the Vertical one.

Rationale

Software like Adobe Photoshop and Illustrator allow you to hold down Ctrl whilst using the Mouse Wheel to scroll horizontally when working on a large or zoomed in canvas. It makes it easier to navigate a view without having to change your mental space and move to drag the scroll bar thumb.

Ctrl is currently used to Zoom in the control, so I have proposed Alt or Shift

Paint 3D also enables pressing and holding down the Mouse Wheel to drag the view in both axies.

Scope

Capability Priority
These behaviours should be baked into the updated ScrollViewer control Must
These behaviours could be made toggles so they are easy to turn off if that is needed Could
The keyboard modifier could be customised, but should pick a platform default Could

Related to #108

Open Questions

micahl commented 5 years ago

I like it! @likuba as fyi since this is something we've talked about before.

adrientetar commented 5 years ago

Qt's QScrollArea uses Alt+scroll to scroll horizontally.

micahl commented 5 years ago

Thanks, that's good to know. I don't know if there's any consistency across apps today so having something built-in to the control would be helpful here. Both Edge and Chrome support Shift+scroll to scroll horizontally.

adrientetar commented 5 years ago

Ouch! indeed no real consistency here, probably because win32 apps don't usually do it so no established shortcut... Adobe XD uses Shift as well, though I kinda think Alt makes more sense as it's the "Alternate" key.

shaheedmalik commented 5 years ago

Shift sounds like the best one.

mrlinuxfish commented 2 years ago

I'd like to also add my desire for shift + scroll = horizontal scrolling.

On Linux and MacOS, shift + scroll always outputs horizontal scrolling. I find it unhelpful to no longer have easy and unchanging access to horizontal scrolling just because I'm on windows.

Currently, depending on the program, these are the various methods to scroll horizontally:

Needing to remember or use application specific horizontal scrolling makes it much more difficult and less seamless compared to using a different operating system

yaira2 commented 1 year ago

This would be useful

applefanbois commented 1 year ago

Once again Apple always had the solution. On the Apple SDK (Cocoa, SwiftUI and Catalyst), all UI element that scroll have an automatic Shift + mouseWheel horizontal scroll.

It is simple Microsoft, you do everything like Apple does and in the exact same way and everything will be fine.

While you are at it, please add a way to move folders and all its content like Android, Apple and Linux does. Copying a folder and looping on all sub elements then deleting the folder (as suggested by your own documentation) is dumb and problematic.

SHU-red commented 10 months ago

(Mostly using column view) i know this is no "standard" or something but:

→ I just wanted to throw "Push and hold Right Mouse Button" into the bowl which would make scrolling horizontally and vertically possible without keyboard interaction (Similar to some 3D-CAD-Programs)

jeremy-visionaid commented 10 months ago

@SHU-red I think even better would be to make Chrome style middle mouse click to toggle panning standard WinUI behaviour 😄

SHU-red commented 10 months ago

@SHU-red I think even better would be to make Chrome style middle mouse click to toggle panning standard WinUI behaviour 😄

Why not! Also good for me!

applefanbois commented 10 months ago

They cannot do that because MS Windows is mainly use to run legacy app from the 90's. If they change anything, dying boomers will loose their mind.

yaira2 commented 9 months ago

Is there any progress on this proposal?

applefanbois commented 9 months ago

Forget about it, MS did not do it in the past 30 years so they won't bother. You want that feature, just develop for Apple or Android products.

I don't know if you know, but windows 11 runs natively Android apps. Maybe its time to make Android apps for Windows.

will-velazquez commented 4 months ago

This seems like an incredibly easy win. Any chance of getting this implemented ?

applefanbois commented 4 months ago

MS does not provide any working method to intercept key press to make keyboard shortcut for an app. Microsoft does not acknowledge the existence of a keyboard on a computer. You think they will implement that scroll thing? Never.

will-velazquez commented 4 months ago

Even Visual Studio provides this Horizontal Scroll behaviour on Shift, so I don't think there's any fundamental limitation here

VolkumDev commented 3 months ago

Is it so hard for a multi-million dollar company to do simple stuff like this? How is this not done yet? This blows my mind.

applefanbois commented 3 months ago

As usual, the billions of dollars don't go to the programmers, only to THEIR pocket. It does not matter, they can do or not do what they want, most people will continue to use Windows no matter what. I am writing this message from a Risc-V Linux SBC, but my employer still pay me to waste time for a windows version that will never be as good or as useful than the Android, iOS and macOS version. People that remain on Windows deserve everything that happens to them.

This is the Windows experience, always has been, enjoy.