-
Notifications
You must be signed in to change notification settings - Fork 803
Closed as duplicate of#10091
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Hi,
The mouse-wheel-scroll is not working when "Scroll inactive windows when hovering over them" is disabled on any new simple active WinUI 3 Desktop app. But other type of apps like WPF are working correctly. Please watch this attached video. Thanks 😄.
2025-03-31_10-41-47.mp4
Steps to reproduce the bug
- Create a new Blank App, Packaged [WinUI 3 in Desktop] (Microsoft.WindowsAppSDK 1.7.250310001) from Visual Studio 2022 Version 17.13.5. (You can skip steps from 1-3 if you unzip and use the attached MouseWheelScroll.zip)
- Add a ListView in the MainWindow.xaml
- Populate the ListView with at least 100 items. (You can do it by code or adding in the ListView.
- Run the app.
- Search for "Settings" on Windows 11 Taskbar's Search.
- Goto "Bluetooth & devices"->"Mouse"
- Enable the "Scroll inactive windows when hovering over them" toggle button.
- Click on the app's window and scroll the ListView. See that is working properly.
- Disable the "Scroll inactive windows when hovering over them" toggle button.
- Click on the app's window and scroll the ListView. See that is not working.
- If you try on another app like a WPF app, you can see it works. You can use the WPF app in the MouseWheelScroll.zip's solution.
Expected behavior
- The expected behavior is that the mouse-wheel-scroll could work for each active WinUI 3 app even if the "Scroll inactive windows when hovering over them" is disabled.
- I would like to know if there is any dev-code solution different from manually enabling the "Scroll inactive windows when hovering over them" option.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.7.0: 1.7.250310001
Windows version
Windows 11 (23H2): Build 22631
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working