-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
Steps to Reproduce
- Execute
flutter runon the code sample (see "Code sample" section below). - Attempt to scroll the
ListViewwith the help of a precision trackpad on your Windows machine [ideally bunch of times in the same direction, while momentum from previous "swipe" is alive/in-action]. - Observe the behavior & keep an eye on the scrollbar [on the right side of the window].
- See video for more details & comparison with Google Chrome (a native Windows application).
Expected results:
Scrolling with trackpad should be consistent:
- Resultant momentum / inertia should be consistently in the correct direction i.e. in the direction of scroll.
- Subsequent swipes on trackpad (while momentum from previous swipe is in action) should not:
- Abruptly stop the scroll momentum (occasionally).
- Cause scroll in completely opposite direction (occasionally).
- The amount of "drag" by fingers on trackpad should be same as the amount of momentum observed in the scroll.
Actual results:
When scrolling (more prominent when scrolling in same direction with fast speed) with trackpad, the scrolling abruptly stops ¹ or starts scrolling in completely opposite direction ².
The behavior feels very unnatural & makes scrolling with trackpad hard to use (close to unusable).
NOTE: This is not an issue due to "scrolling fast". Even slow, non-subsequent scroll swipe can result in wrong direction momentum.
Only noticable after Flutter 3.3.x, likely #23604.
Code sample
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(
primarySwatch: Colors.blue,
scrollbarTheme: ScrollbarThemeData(
thumbVisibility: MaterialStateProperty.all(true),
thumbColor: MaterialStateProperty.all(Colors.black54),
),
),
home: const MyHomePage(
title: 'trackpad scroll win32 • flutter 3.3.x+',
),
);
}
}
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key, required this.title});
final String title;
@override
State<MyHomePage> createState() => MyHomePageState();
}
class MyHomePageState extends State<MyHomePage> {
ScrollPhysics? physics;
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(
child: ListView(
itemExtent: 36.0,
children: [
for (int i = 0; i < 1000; i++)
Container(
padding: const EdgeInsets.all(8.0),
height: 36.0,
child: Center(
child: Text(
'$i'.padLeft(4, '0'),
),
),
),
],
),
),
);
}
}
Logs
D:\app>flutter doctor -v
[✓] Flutter (Channel stable, 3.3.5, on Microsoft Windows [Version 10.0.22621.674], locale en-GB)
• Flutter version 3.3.5 on channel stable at C:\Flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision d9111f6402 (7 days ago), 2022-10-19 12:27:13 -0700
• Engine revision 3ad69d7be3
• Dart version 2.18.2
• DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at C:\Users\Hitesh\AppData\Local\Android\sdk
• Platform android-33, build-tools 32.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Visual Studio - develop for Windows (Visual Studio Community 2022 17.0.5)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.0.32112.339
• Windows 10 SDK version 10.0.20348.0
[✓] Android Studio (version 4.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
[✓] VS Code (version 1.69.2)
• VS Code at C:\Users\Hitesh\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.51.20221003
[✓] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22621.674]
• Chrome (web) • chrome • web-javascript • Google Chrome 106.0.5249.119
• Edge (web) • edge • web-javascript • Microsoft Edge 106.0.1370.52
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
Analyzing Release...
No issues found! (ran in 1.7s)
D:\app>flutter run --verbose
[ +336 ms] executing: [C:\Flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +188 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +1 ms] d9111f64021372856901a1fd5bfbc386cade3318
[ +1 ms] executing: [C:\Flutter/] git tag --points-at d9111f64021372856901a1fd5bfbc386cade3318
[ +151 ms] Exit code 0 from: git tag --points-at d9111f64021372856901a1fd5bfbc386cade3318
[ +1 ms] 3.3.5
[ +114 ms] executing: [C:\Flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[ +101 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[ +1 ms] origin/stable
[ ] executing: [C:\Flutter/] git ls-remote --get-url origin
[ +124 ms] Exit code 0 from: git ls-remote --get-url origin
[ +1 ms] https://github.com/flutter/flutter.git
[ +289 ms] executing: [C:\Flutter/] git rev-parse --abbrev-ref HEAD
[ +130 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ +1 ms] stable
[ +394 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +3 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +20 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ +4 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +158 ms] executing: C:\Users\Hitesh\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[ +257 ms] List of devices attached
[ +21 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +13 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +335 ms] Skipping pub get: version match.
[ +352 ms] Initializing file store
[ +23 ms] Skipping target: gen_localizations
[ +18 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs
have updated contents: D:\app\.dart_tool\package_config_subset}
[ +79 ms] gen_dart_plugin_registrant: Complete
[ +4 ms] Skipping target: _composite
[ +4 ms] complete
[ +13 ms] Launching lib\main.dart on Windows in debug mode...
[ +9 ms] C:\Flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\Flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root
C:\Flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter
--debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
C:\Users\Hitesh\AppData\Local\Temp\flutter_tools.b06a6433\flutter_tool.342301d1\app.dill --packages
D:\app\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --verbosity=error
--enable-experiment=alternative-invalidation-strategy
[ +87 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products
* -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop
Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project
[ +94 ms] Exit code 0 from: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json
-products * -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop
Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project
[ +1 ms] [
{
"instanceId": "48e40859",
"installDate": "2022-01-15T11:54:31Z",
"installationName": "VisualStudio/17.0.5+32112.339",
"installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community",
"installationVersion": "17.0.32112.339",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files\\Microsoft Visual
Studio\\2022\\Community\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2022",
"description": "Powerful IDE, free for students, open-source contributors, and individuals",
"channelId": "VisualStudio.17.Release",
"channelUri": "https://aka.ms/vs/17/release/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual
Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes":
"https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.0#17.0.5",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
"updateDate": "2022-01-15T11:54:31.7636875Z",
"catalog": {
"buildBranch": "d17.0",
"buildVersion": "17.0.32112.339",
"id": "VisualStudio/17.0.5+32112.339",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "17.0.5",
"productLine": "Dev17",
"productLineVersion": "2022",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "5",
"productPreReleaseMilestoneSuffix": "1.0",
"productSemanticVersion": "17.0.5+32112.339",
"requiredEngineVersion": "3.0.4496.34889"
},
"properties": {
"campaignId": "79885894700",
"canceled": "0",
"channelManifestId": "VisualStudio.17.Release/17.0.5+32112.339",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
}
}
]
[ +8 ms] Building Windows application...
[ +37 ms] <- compile package:app/main.dart
[ +4 ms] executing: C:\Program Files\Microsoft Visual
Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -S D:\app\windows -B
build\windows -G Visual Studio 17 2022
[ +288 ms] -- Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.22621.
[ +56 ms] -- Configuring done
[+1048 ms] -- Generating done
[ +60 ms] -- Build files have been written to: D:/app/build/windows
[ +33 ms] executing: C:\Program Files\Microsoft Visual
Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe --build build\windows
--config Debug --target INSTALL --verbose
[ +680 ms] Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET Framework
[ +1 ms] Copyright (C) Microsoft Corporation. All rights reserved.
[ +370 ms] Build started 26/10/2022 21:58:43.
[+1562 ms] Project "D:\app\build\windows\INSTALL.vcxproj" on node 1 (default targets).
[ +1 ms] Project "D:\app\build\windows\INSTALL.vcxproj" (1) is building
"D:\app\build\windows\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
[ +1 ms] InitializeBuildStatus:
[ ] Creating "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was
specified.
[ +91 ms] CustomBuild:
[ +33 ms] All outputs are up-to-date.
[ +486 ms] FinalizeBuildStatus:
[ +1 ms] Deleting file "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
[ ] Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
[ ] Done Building Project "D:\app\build\windows\ZERO_CHECK.vcxproj" (default targets).
[ +346 ms] Project "D:\app\build\windows\INSTALL.vcxproj" (1) is building "D:\app\build\windows\ALL_BUILD.vcxproj"
(3) on node 1 (default targets).
[ +107 ms] Project "D:\app\build\windows\ALL_BUILD.vcxproj" (3) is building
"D:\app\build\windows\runner\app.vcxproj" (4) on node 1 (default targets).
[ +1 ms] Project "D:\app\build\windows\runner\app.vcxproj" (4) is building
"D:\app\build\windows\flutter\flutter_assemble.vcxproj" (5) on node 1 (default targets).
[ +2 ms] InitializeBuildStatus:
[ +1 ms] Creating "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild" because "AlwaysCreate"
was specified.
[ +1 ms] CustomBuild:
[ ] "The build of
'D:\app\build\windows\CMakeFiles\ddf31cf8ba6374379a48a35bc140d463\flutter_assemble.rule' depends on
'D:\APP\WINDOWS\FLUTTER\EPHEMERAL\FLUTTER_WINDOWS.DLL' which is produced by the build of
'D:\app\build\windows\CMakeFiles\140d5913e96f2652f12c56f6ebc2cc89\flutter_windows.dll.rule'. The items cannot be
built in parallel."
[ +118 ms] Generating D:/app/windows/flutter/ephemeral/flutter_windows.dll,
D:/app/windows/flutter/ephemeral/flutter_export.h, D:/app/windows/flutter/ephemeral/flutter_windows.h,
D:/app/windows/flutter/ephemeral/flutter_messenger.h, D:/app/windows/flutter/ephemeral/flutter_plugin_registrar.h,
D:/app/windows/flutter/ephemeral/flutter_texture_registrar.h,
D:/app/windows/flutter/ephemeral/cpp_client_wrapper/core_implementations.cc,
D:/app/windows/flutter/ephemeral/cpp_client_wrapper/standard_codec.cc,
D:/app/windows/flutter/ephemeral/cpp_client_wrapper/plugin_registrar.cc,
D:/app/windows/flutter/ephemeral/cpp_client_wrapper/flutter_engine.cc,
D:/app/windows/flutter/ephemeral/cpp_client_wrapper/flutter_view_controller.cc, _phony_
[+2812 ms] [ +163 ms] executing: [C:\Flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +373 ms] [ +417 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +1 ms] [ +1 ms] d9111f64021372856901a1fd5bfbc386cade3318
[ +1 ms] [ +2 ms] executing: [C:\Flutter/] git tag --points-at d9111f64021372856901a1fd5bfbc386cade3318
[ +191 ms] [ +191 ms] Exit code 0 from: git tag --points-at d9111f64021372856901a1fd5bfbc386cade3318
[ ] [ ] 3.3.5
[ +160 ms] [ +160 ms] executing: [C:\Flutter/] git rev-parse --abbrev-ref HEAD
[ +180 ms] [ +180 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ +1 ms] [ ] stable
[ +150 ms] [ +151 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] [ +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +9 ms] [ +10 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] [ +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +198 ms] [ +201 ms] executing: [C:\Flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[ +128 ms] [ +128 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[ +1 ms] [ ] origin/stable
[ ] [ ] executing: [C:\Flutter/] git ls-remote --get-url origin
[ +113 ms] [ +114 ms] Exit code 0 from: git ls-remote --get-url origin
[ +1 ms] [ ] https://github.com/flutter/flutter.git
[ +6 ms] [ +2 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ +2 ms] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ ] [ +4 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +67 ms] [ +79 ms] Initializing file store
[ +134 ms] [ +134 ms] Done initializing file store
[ +211 ms] [ +211 ms] Skipping target: gen_localizations
[ +35 ms] [ +35 ms] Skipping target: gen_dart_plugin_registrant
[+7519 ms] [+7518 ms] Skipping target: unpack_windows
[+3125 ms] [+3125 ms] kernel_snapshot: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs
have updated contents: D:\app\lib\main.dart}
[ +24 ms] [ +24 ms] C:\Flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\Flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root
C:\Flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter
--no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false
--enable-asserts --track-widget-creation --packages D:\app\.dart_tool\package_config.json --output-dill
D:\app\.dart_tool\flutter_build\e133e5d18de1033b0d15627ee9cadcf0\app.dill --depfile
D:\app\.dart_tool\flutter_build\e133e5d18de1033b0d15627ee9cadcf0\kernel_snapshot.d --incremental
--initialize-from-dill D:\app\.dart_tool\flutter_build\e133e5d18de1033b0d15627ee9cadcf0\app.dill --verbosity=error
package:app/main.dart
[+3462 ms] [+3461 ms] kernel_snapshot: Complete
[+2151 ms] [+2153 ms] debug_bundle_windows_assets: Starting due to {InvalidatedReasonKind.inputChanged: The
following inputs have updated contents: D:\app\.dart_tool\flutter_build\e133e5d18de1033b0d15627ee9cadcf0\app.dill}
[+2484 ms] [+2483 ms] debug_bundle_windows_assets: Complete
[ +701 ms] [ +703 ms] Persisting file store
[ +16 ms] [ +16 ms] Done persisting file store
[ +12 ms] [ +12 ms] build succeeded.
[ +21 ms] [ +22 ms] "flutter assemble" took 20,476ms.
[ +267 ms] [ +266 ms] ensureAnalyticsSent: 255ms
[ +2 ms] [ +2 ms] Running shutdown hooks
[ +1 ms] [ ] Shutdown hooks complete
[ +1 ms] [ +1 ms] exiting with code 0
[ +234 ms] FinalizeBuildStatus:
[ +1 ms] Deleting file "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild".
[ +1 ms] Touching "x64\Debug\flutter_assemble\flutter_assemble.tlog\flutter_assemble.lastbuildstate".
[ ] Done Building Project "D:\app\build\windows\flutter\flutter_assemble.vcxproj" (default targets).
[ +420 ms] Project "D:\app\build\windows\runner\app.vcxproj" (4) is building
"D:\app\build\windows\flutter\flutter_wrapper_app.vcxproj" (6) on node 1 (default targets).
[ +2 ms] InitializeBuildStatus:
[ ] Creating "flutter_wrapper_app.dir\Debug\flutter_.1EB2249F.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.
[ +3 ms] CustomBuild:
[ +1 ms] All outputs are up-to-date.
[ +531 ms] ClCompile:
[ ] All outputs are up-to-date.
[ +356 ms] Lib:
[ ] All outputs are up-to-date.
[ +47 ms] flutter_wrapper_app.vcxproj -> D:\app\build\windows\flutter\Debug\flutter_wrapper_app.lib
[ +39 ms] FinalizeBuildStatus:
[ +1 ms] Deleting file "flutter_wrapper_app.dir\Debug\flutter_.1EB2249F.tlog\unsuccessfulbuild".
[ +1 ms] Touching "flutter_wrapper_app.dir\Debug\flutter_.1EB2249F.tlog\flutter_wrapper_app.lastbuildstate".
[ ] Done Building Project "D:\app\build\windows\flutter\flutter_wrapper_app.vcxproj" (default targets).
[ +23 ms] InitializeBuildStatus:
[ ] Creating "app.dir\Debug\app.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[ +5 ms] CustomBuild:
[ ] All outputs are up-to-date.
[ +154 ms] ClCompile:
[ +1 ms] C:\Program Files\Microsoft Visual
Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX64\x64\CL.exe /c /ID:\app\windows
/ID:\app\windows\flutter\ephemeral /ID:\app\windows\flutter\ephemeral\cpp_client_wrapper\include /Zi /nologo /W4
/WX /diagnostics:column /Od /Ob0 /D _UNICODE /D UNICODE /D WIN32 /D _WINDOWS /D _HAS_EXCEPTIONS=0 /D _DEBUG /D
"FLUTTER_VERSION=\"1.0.0+1\"" /D FLUTTER_VERSION_MAJOR=1 /D FLUTTER_VERSION_MINOR=0 /D FLUTTER_VERSION_PATCH=0 /D
FLUTTER_VERSION_BUILD=1 /D NOMINMAX /D UNICODE /D _UNICODE /D "CMAKE_INTDIR=\"Debug\"" /Gm- /EHsc /RTC1 /MDd /GS
/fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /std:c++17 /Fo"app.dir\Debug\\" /Fd"app.dir\Debug\vc143.pdb"
/external:W4 /Gd /TP /wd4100 /errorReport:queue D:\app\windows\flutter\generated_plugin_registrant.cc
D:\app\windows\runner\flutter_window.cpp
[ +177 ms] generated_plugin_registrant.cc
[+1730 ms] flutter_window.cpp
[+2925 ms] Generating Code...
[ +448 ms] ResourceCompile:
[ ] All outputs are up-to-date.
[+1090 ms] Link:
[ +1 ms] C:\Program Files\Microsoft Visual
Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE
/OUT:"D:\app\build\windows\runner\Debug\app.exe" /INCREMENTAL /ILK:"app.dir\Debug\app.ilk" /NOLOGO
..\flutter\Debug\flutter_wrapper_app.lib D:\app\windows\flutter\ephemeral\flutter_windows.dll.lib kernel32.lib
user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST
/MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed
/manifestinput:D:\app\windows\runner\runner.exe.manifest /DEBUG /PDB:"D:/app/build/windows/runner/Debug/app.pdb"
/SUBSYSTEM:WINDOWS /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:/app/build/windows/runner/Debug/app.lib"
/MACHINE:X64 /pdbthreads:4 /machine:x64 app.dir\Debug\Runner.res
[ +2 ms] app.dir\Debug\flutter_window.obj
[ ] app.dir\Debug\main.obj
[ ] app.dir\Debug\utils.obj
[ ] app.dir\Debug\win32_window.obj
[ ] app.dir\Debug\generated_plugin_registrant.obj
[+1102 ms] app.vcxproj -> D:\app\build\windows\runner\Debug\app.exe
[ +27 ms] FinalizeBuildStatus:
[ +2 ms] Deleting file "app.dir\Debug\app.tlog\unsuccessfulbuild".
[ +1 ms] Touching "app.dir\Debug\app.tlog\app.lastbuildstate".
[ +1 ms] Done Building Project "D:\app\build\windows\runner\app.vcxproj" (default targets).
[ +75 ms] Project "D:\app\build\windows\ALL_BUILD.vcxproj" (3) is building
"D:\app\build\windows\flutter\flutter_wrapper_plugin.vcxproj" (7) on node 1 (default targets).
[ +15 ms] InitializeBuildStatus:
[ ] Creating "flutter_wrapper_plugin.dir\Debug\flutter_.FE2B6A51.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.
[ +1 ms] CustomBuild:
[ ] All outputs are up-to-date.
[ +104 ms] ClCompile:
[ ] All outputs are up-to-date.
[ +50 ms] Lib:
[ ] All outputs are up-to-date.
[ ] flutter_wrapper_plugin.vcxproj -> D:\app\build\windows\flutter\Debug\flutter_wrapper_plugin.lib
[ +19 ms] FinalizeBuildStatus:
[ ] Deleting file "flutter_wrapper_plugin.dir\Debug\flutter_.FE2B6A51.tlog\unsuccessfulbuild".
[ ] Touching
"flutter_wrapper_plugin.dir\Debug\flutter_.FE2B6A51.tlog\flutter_wrapper_plugin.lastbuildstate".
[ +1 ms] Done Building Project "D:\app\build\windows\flutter\flutter_wrapper_plugin.vcxproj" (default targets).
[ +17 ms] InitializeBuildStatus:
[ ] Creating "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[ +41 ms] CustomBuild:
[ ] All outputs are up-to-date.
[ +21 ms] FinalizeBuildStatus:
[ ] Deleting file "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild".
[ +1 ms] Touching "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate".
[ ] Done Building Project "D:\app\build\windows\ALL_BUILD.vcxproj" (default targets).
[ +16 ms] InitializeBuildStatus:
[ +1 ms] Creating "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[ +136 ms] PostBuildEvent:
[ +1 ms] setlocal
[ +1 ms] "C:\Program Files\Microsoft Visual
Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -P
cmake_install.cmake
[ +1 ms] if %errorlevel% neq 0 goto :cmEnd
[ ] :cmEnd
[ ] endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
[ ] :cmErrorLevel
[ ] exit /b %1
[ ] :cmDone
[ ] if %errorlevel% neq 0 goto :VCEnd
[ ] :VCEnd
[ +202 ms] -- Install configuration: "Debug"
[ +22 ms] -- Up-to-date: D:/app/build/windows/runner/Debug/data/icudtl.dat
[ +1 ms] -- Up-to-date: D:/app/build/windows/runner/Debug/flutter_windows.dll
[ +7 ms] -- Installing: D:/app/build/windows/runner/Debug/data/flutter_assets
[ +1 ms] -- Installing: D:/app/build/windows/runner/Debug/data/flutter_assets/AssetManifest.json
[ +3 ms] -- Installing: D:/app/build/windows/runner/Debug/data/flutter_assets/FontManifest.json
[ +2 ms] -- Installing: D:/app/build/windows/runner/Debug/data/flutter_assets/fonts
[ +2 ms] -- Installing: D:/app/build/windows/runner/Debug/data/flutter_assets/fonts/MaterialIcons-Regular.otf
[ +13 ms] -- Installing: D:/app/build/windows/runner/Debug/data/flutter_assets/kernel_blob.bin
[ +213 ms] -- Installing: D:/app/build/windows/runner/Debug/data/flutter_assets/NOTICES.Z
[ +2 ms] -- Installing: D:/app/build/windows/runner/Debug/data/flutter_assets/packages
[ +2 ms] -- Installing: D:/app/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons
[ +1 ms] -- Installing: D:/app/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets
[ +1 ms] -- Installing:
D:/app/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf
[ +4 ms] -- Installing: D:/app/build/windows/runner/Debug/data/flutter_assets/shaders
[ +2 ms] -- Installing: D:/app/build/windows/runner/Debug/data/flutter_assets/shaders/ink_sparkle.frag
[ +36 ms] FinalizeBuildStatus:
[ ] Deleting file "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild".
[ +2 ms] Touching "x64\Debug\INSTALL\INSTALL.tlog\INSTALL.lastbuildstate".
[ ] Done Building Project "D:\app\build\windows\INSTALL.vcxproj" (default targets).
[ +6 ms] Build succeeded.
[ ] 0 Warning(s)
[ ] 0 Error(s)
[ ] Time Elapsed 00:00:37.77
[ +67 ms] Building Windows application... (completed in 40.4s)
[+1069 ms] Observatory URL on device: http://127.0.0.1:49551/EyMKQ0K2VqQ=/
[ +11 ms] Caching compiled dill
[ +79 ms] Connecting to service protocol: http://127.0.0.1:49551/EyMKQ0K2VqQ=/
[ +364 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at
http://127.0.0.1:49551/EyMKQ0K2VqQ=/.
[ +224 ms] DDS is listening at http://127.0.0.1:49555/27SJgLPhS5o=/.
[ +132 ms] Successfully connected to service protocol: http://127.0.0.1:49551/EyMKQ0K2VqQ=/
[ +38 ms] DevFS: Creating new filesystem on the device (null)
[ +46 ms] DevFS: Created new filesystem on the device
(file:///C:/Users/Hitesh/AppData/Local/Temp/app7642ae94/app/)
[ +6 ms] Updating assets
[ +218 ms] Syncing files to device Windows...
[ +3 ms] Compiling dart to kernel with 0 updated files
[ +1 ms] Processing bundle.
[ +3 ms] <- recompile package:app/main.dart 48c97902-c876-4a06-895f-a7710bba647d
[ +1 ms] <- 48c97902-c876-4a06-895f-a7710bba647d
[ +5 ms] Bundle processing done.
[ +162 ms] Updating files.
[ +1 ms] DevFS: Sync finished
[ +3 ms] Syncing files to device Windows... (completed in 180ms)
[ +2 ms] Synced 0.0MB.
[ +4 ms] <- accept
[ +8 ms] Connected to _flutterView/0x241da001190.
[ +9 ms] Flutter run key commands.
[ +8 ms] r Hot reload. 🔥🔥🔥
[ +6 ms] R Hot restart.
[ +5 ms] h List all available interactive commands.
[ +4 ms] d Detach (terminate "flutter run" but leave application running).
[ +1 ms] c Clear the screen
[ +2 ms] q Quit (terminate the application on the device).
[ +1 ms] 💪 Running with sound null safety 💪
[ +10 ms] An Observatory debugger and profiler on Windows is available at: http://127.0.0.1:49555/27SJgLPhS5o=/
[ +595 ms] The Flutter DevTools debugger and profiler on Windows is available at:
http://127.0.0.1:9104?uri=http://127.0.0.1:49555/27SJgLPhS5o=/
I'm scrolling in the same direction by swiping on my trackpad. BUT, notice how scrolling stops abruptly or starts to scroll in completely opposite direction. The same behavior may be reproduced on your machine with the help of the code sample above.
El1YS5vDzu.mp4
Scrolling in Google Chrome & File Explorer. Notice how consistent scroll in same direction is observed, with:
- No abrupt stops.
- No random opposite direction momentum.
- Consistent speed.
Ideally, scrolling behavior like Google Chrome is likable. A consistent scroll speed with good amount of momentum. A cancellation in momentum is also noticable when moving cursor.