id
int64
393k
2.82B
repo
stringclasses
68 values
title
stringlengths
1
936
body
stringlengths
0
256k
labels
stringlengths
2
508
priority
stringclasses
3 values
severity
stringclasses
3 values
595,169,647
flutter
TabSwitchingView should cache tabs
## Issue Currently, the `TabSwitchingView` creates a new list of children on every build. Wouldn't it be more performant if we cache that list and only recreate it when the active tab changes? ## Context I am currently using a `CupertinoTabScaffold` which depends on `MediaQuery`. If the MediaQuery changes a new `TabSwitchingView` is created with identical configuration, which results in recalling the `tabBuilder` for at least the active index. So if I, for example, open the keyboard big parts of my active page are rebuilt. From https://api.flutter.dev/flutter/widgets/StatefulWidget-class.html#performance-considerations: >If a subtree does not change, cache the widget that represents that subtree and re-use it each time it can be used. It is massively more efficient for a widget to be re-used than for a new (but identically-configured) widget to be created. Can please someone confirm that I am right? I would work on that.
framework,f: cupertino,c: proposal,P3,team-design,triaged-design
low
Major
595,180,473
pytorch
Add Specific Warning/Error For Unsupported GPU or Systems
## 🚀 Feature Add specific Warning/Error message for unsupported GPU or Systems ## Motivation Currently prebuilt binaries only support specific cuda versions and systems. When an unsupported device install pytorch and try to use cuda, it gets generic error "RuntimeError: CUDA error: no kernel image is available for execution on the device" This error is very confusing for beginners and easy to miss original reason. ## Pitch Instead of getting generic error. More specific error would be nice. Briefly explaining current binary is not supports GPU or system. Maybe it can also include some FAQ link for further details or solutions ## Alternatives ## Additional context Original bug report [#31285](https://github.com/pytorch/pytorch/issues/31285) cc @ngimel
module: cuda,triaged,enhancement
low
Critical
595,198,365
flutter
CustomPainter Lines look different shade/color when using same Paint object
## Steps to Reproduce <!-- You must include full steps to reproduce so that we can reproduce the problem. --> Here is a minimal example: ``` import 'package:flutter/material.dart'; // import 'package:flutter/foundation.dart'; void main() { // debugDefaultTargetPlatformOverride = TargetPlatform.fuchsia; runApp(MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, ), home: MyHomePage(title: 'Flutter Demo Home Page'), ); } } class MyHomePage extends StatefulWidget { MyHomePage({Key key, this.title}) : paths = {Offset.zero: [Offset(200,500), Offset(400,500),Offset(600,500)]}, super(key: key); final String title; final Map<Offset, List<Offset>> paths; @override _MyHomePageState createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text(widget.title), ), body: Center( child: CustomPaint( foregroundPainter: LineTestPainter(widget.paths), child: Container( color: Colors.black87, ), ), ), ); } } class LineTestPainter extends CustomPainter { final Offset endOffset; final Map<Offset, List<Offset>> paths; LineTestPainter(this.paths, {this.endOffset = Offset.zero}) : super(); @override void paint(Canvas canvas, Size size) { final Paint paint = Paint() ..color = Colors.white12 ..style = PaintingStyle.stroke ..strokeWidth = 1.5; Path path = Path(); paths.forEach((s, ends) { ends.forEach((e) { path.moveTo(s.dx, s.dy); path.cubicTo( e.dx, s.dy, s.dx, e.dy, e.dx + endOffset.dx, e.dy + endOffset.dy); canvas.drawPath(path, paint); }); }); } @override bool shouldRepaint(CustomPainter oldDelegate) => true; } ``` **Expected results:** Lines should have the same color and width, etc. **Actual results:** The last curve (and maybe 2nd?) is fainter and appears thinner than the previous. It should be noted that I originally ran this for Windows (that is my use case), but it also occurs (although less obvious) when running on mobile (emulator). <details> <summary>Logs</summary> ``` [ +30 ms] executing: [C:\Users\isaac\Desktop\slate\flutter_sdk\flutter\] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +102 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ +1 ms] 27321ebbad34b0a3fafe99fac037102196d655ff [ ] executing: [C:\Users\isaac\Desktop\slate\flutter_sdk\flutter\] git describe --match v*.*.* --first-parent --long --tags [ +79 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags [ ] v1.12.13+hotfix.5-0-g27321ebba [ +8 ms] executing: [C:\Users\isaac\Desktop\slate\flutter_sdk\flutter\] git rev-parse --abbrev-ref --symbolic @{u} [ +63 ms] Exit code 128 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] fatal: HEAD does not point to a branch [ +15 ms] executing: [C:\Users\isaac\Desktop\slate\flutter_sdk\flutter\] git rev-parse --abbrev-ref HEAD [ +70 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] HEAD [ +90 ms] executing: C:\Users\isaac\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l [+5129 ms] Exit code 0 from: C:\Users\isaac\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l [ ] List of devices attached emulator-5554 device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:1 [ +31 ms] C:\Users\isaac\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell getprop [+16062 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ +11 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. [ +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] 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. [ +232 ms] Generating C:\Users\isaac\Desktop\lines\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java [ +58 ms] ro.hardware = ranchu [ +69 ms] Launching lib\main.dart on Android SDK built for x86 in debug mode... [ +13 ms] executing: C:\Users\isaac\AppData\Local\Android\sdk\build-tools\28.0.3\aapt dump xmltree C:\Users\isaac\Desktop\lines\build\app\outputs\apk\app.apk AndroidManifest.xml [ +31 ms] Exit code 0 from: C:\Users\isaac\AppData\Local\Android\sdk\build-tools\28.0.3\aapt dump xmltree C:\Users\isaac\Desktop\lines\build\app\outputs\apk\app.apk AndroidManifest.xml [ ] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0") A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9") A: package="com.example.lines" (Raw: "com.example.lines") A: platformBuildVersionCode=(type 0x10)0x1c A: platformBuildVersionName=(type 0x10)0x9 E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c E: uses-permission (line=14) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: application (line=22) A: android:label(0x01010001)="lines" (Raw: "lines") A: android:icon(0x01010002)=@0x7f080000 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication") A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory") E: activity (line=28) A: android:theme(0x01010000)=@0x7f0a0000 A: android:name(0x01010003)="com.example.lines.MainActivity" (Raw: "com.example.lines.MainActivity") A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: intent-filter (line=35) E: action (line=36) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=38) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=45) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 [ +8 ms] executing: C:\Users\isaac\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -s flutter [ +9 ms] executing: C:\Users\isaac\AppData\Local\Android\sdk\platform-tools\adb.exe version [ +52 ms] Android Debug Bridge version 1.0.40 Version 28.0.2-5303910 Installed as C:\Users\isaac\AppData\Local\Android\sdk\platform-tools\adb.exe [ +3 ms] executing: C:\Users\isaac\AppData\Local\Android\sdk\platform-tools\adb.exe start-server [+3508 ms] Building APK [ +25 ms] gradle.properties already sets `android.enableR8` [ +6 ms] Using gradle from C:\Users\isaac\Desktop\lines\android\gradlew.bat. [ +14 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version [ +104 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version [ ] openjdk version "1.8.0_152-release" OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) OpenJDK 64-Bit Server VM (build 25.152-b06, mixed mode) [ +1 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version [ +101 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version [ ] openjdk version "1.8.0_152-release" OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) OpenJDK 64-Bit Server VM (build 25.152-b06, mixed mode) [ +3 ms] executing: [C:\Users\isaac\Desktop\lines\android\] C:\Users\isaac\Desktop\lines\android\gradlew.bat -q -Ptarget=C:\Users\isaac\Desktop\lines\lib\main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-x86 assembleDebug [+5987 ms] calculateSha: LocalDirectory: 'C:\Users\isaac\Desktop\lines\build\app\outputs\apk'/app.apk [ +61 ms] calculateSha: reading file took 60us [ +878 ms] calculateSha: computing sha took 878us [ +11 ms] √ Built build\app\outputs\apk\debug\app-debug.apk. [ +6 ms] executing: C:\Users\isaac\AppData\Local\Android\sdk\build-tools\28.0.3\aapt dump xmltree C:\Users\isaac\Desktop\lines\build\app\outputs\apk\app.apk AndroidManifest.xml [ +46 ms] Exit code 0 from: C:\Users\isaac\AppData\Local\Android\sdk\build-tools\28.0.3\aapt dump xmltree C:\Users\isaac\Desktop\lines\build\app\outputs\apk\app.apk AndroidManifest.xml [ ] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0") A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9") A: package="com.example.lines" (Raw: "com.example.lines") A: platformBuildVersionCode=(type 0x10)0x1c A: platformBuildVersionName=(type 0x10)0x9 E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c E: uses-permission (line=14) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: application (line=22) A: android:label(0x01010001)="lines" (Raw: "lines") A: android:icon(0x01010002)=@0x7f080000 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication") A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory") E: activity (line=28) A: android:theme(0x01010000)=@0x7f0a0000 A: android:name(0x01010003)="com.example.lines.MainActivity" (Raw: "com.example.lines.MainActivity") A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: intent-filter (line=35) E: action (line=36) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=38) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=45) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 [ +1 ms] Stopping app 'app.apk' on Android SDK built for x86. [ +2 ms] executing: C:\Users\isaac\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell am force-stop com.example.lines [+16974 ms] executing: C:\Users\isaac\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell pm list packages com.example.lines [+16048 ms] package:com.example.lines [ +5 ms] executing: C:\Users\isaac\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell cat /data/local/tmp/sky.com.example.lines.sha1 [+16069 ms] 013f72dc8c0fc0ecb20a6cd25b7b496b4e390cee [ ] Latest build already installed. [ ] Android SDK built for x86 startApp [ +3 ms] executing: C:\Users\isaac\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true --ez start-paused true com.example.lines/com.example.lines.MainActivity [+16122 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.lines/.MainActivity (has extras) } [ ] Waiting for observatory port to be available... [ +211 ms] Observatory URL on device: http://127.0.0.1:39393/5QsR0rgA1FU=/ [ +2 ms] executing: C:\Users\isaac\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 forward tcp:0 tcp:39393 [+6816 ms] 59308 [ ] Forwarded host port 59308 to device port 39393 for Observatory [ +11 ms] Connecting to service protocol: http://127.0.0.1:59308/5QsR0rgA1FU=/ [+7018 ms] Successfully connected to service protocol: http://127.0.0.1:59308/5QsR0rgA1FU=/ [ +7 ms] Sending to VM service: getVM({}) [+3009 ms] Result: {type: VM, name: vm, architectureBits: 32, hostCPU: Virtual CPU, operatingSystem: android, targetCPU: ia32, version: 2.7.0 (Mon Dec 2 20:10:59 2019 +0100) on "android_ia32", _profilerMode: VM, _nativeZoneMemoryUsage: 0, pid: 11781, startTime: 1586... [ +8 ms] Sending to VM service: getIsolate({isolateId: isolates/4382570094551211}) [ +5 ms] Sending to VM service: _flutter.listViews({}) [+1992 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0xe1be8710, isolate: {type: @Isolate, fixedId: true, id: isolates/4382570094551211, name: main.dart$main-4382570094551211, number: 4382570094551211}}]} [ +15 ms] DevFS: Creating new filesystem on the device (null) [ +1 ms] Sending to VM service: _createDevFS({fsName: lines}) [+2031 ms] Result: {type: Isolate, id: isolates/4382570094551211, name: main, number: 4382570094551211, _originNumber: 4382570094551211, startTime: 1586185542441, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 2, avgCollectionPeriodMillis... [+1969 ms] Result: {type: FileSystem, name: lines, uri: file:///data/user/0/com.example.lines/code_cache/linesDMPCEY/lines/} [ ] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.lines/code_cache/linesDMPCEY/lines/) [ +4 ms] Updating assets [ +92 ms] Scanning asset files [ +3 ms] <- reset [ ] Compiling dart to kernel with 0 updated files [ +11 ms] C:\Users\isaac\Desktop\slate\flutter_sdk\flutter\bin\cache\dart-sdk\bin\dart.exe C:\Users\isaac\Desktop\slate\flutter_sdk\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\Users\isaac\Desktop\slate\flutter_sdk\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter -Ddart.developer.causal_async_stacks=true --output-dill C:\Users\isaac\AppData\Local\Temp\flutter_tool.ecb82261-7817-11ea-9519-c8215893387a\app.dill --packages C:\Users\isaac\Desktop\lines\.packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation [ +11 ms] <- compile package:lines/main.dart [+6180 ms] Updating files [+7752 ms] DevFS: Sync finished [ +1 ms] Synced 0.9MB. [ +1 ms] Sending to VM service: _flutter.listViews({}) [+2006 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0xe1be8710, isolate: {type: @Isolate, fixedId: true, id: isolates/4382570094551211, name: main.dart$main-4382570094551211, number: 4382570094551211}}]} [ +4 ms] <- accept [ +1 ms] Connected to _flutterView/0xe1be8710. [+37266 ms] Sending to VM service: ext.flutter.platformOverride({isolateId: isolates/4382570094551211}) [ +1 ms] Sending to VM service: ext.flutter.inspector.structuredErrors({enabled: true, isolateId: isolates/4382570094551211}) [ +23 ms] Sending to VM service: ext.flutter.inspector.setPubRootDirectories({arg0: file:///C:/Users/isaac/Desktop/lines, arg1: C:\Users\isaac\Desktop\lines, isolateId: isolates/4382570094551211}) [ +1 ms] Sending to VM service: ext.flutter.inspector.isWidgetCreationTracked({isolateId: isolates/4382570094551211}) [+1906 ms] Result: {value: android, type: _extensionType, method: ext.flutter.platformOverride} [+2003 ms] Result: {enabled: true, type: _extensionType, method: ext.flutter.inspector.structuredErrors} [ +1 ms] Result: {result: null, type: _extensionType, method: ext.flutter.inspector.setPubRootDirectories} [ ] Result: {result: true, type: _extensionType, method: ext.flutter.inspector.isWidgetCreationTracked} ``` Flutter doctor: ``` [√] Flutter (Channel unknown, v1.12.13+hotfix.5, on Microsoft Windows [Version 10.0.18362.720], locale en-US) • Flutter version 1.12.13+hotfix.5 at C:\Users\isaac\Desktop\slate\flutter_sdk\flutter • Framework revision 27321ebbad (4 months ago), 2019-12-10 18:15:01 -0800 • Engine revision 2994f7e1e6 • Dart version 2.7.0 [√] Android toolchain - develop for Android devices (Android SDK version 28.0.3) • Android SDK at C:\Users\isaac\AppData\Local\Android\sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.3 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) • All Android licenses accepted. [√] Visual Studio - develop for Windows (Visual Studio Community 2017 15.9.12) • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2017\Community • Visual Studio Community 2017 version 15.9.28307.665 [√] Android Studio (version 3.2) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin version 31.3.1 • Dart plugin version 181.5656 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) [√] IntelliJ IDEA Community Edition (version 2018.3) • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.2 • Flutter plugin version 33.3.2 • Dart plugin version 183.5901 [√] VS Code (version 1.43.2) • VS Code at C:\Users\isaac\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.8.0 [√] Connected device (1 available) • Windows • Windows • windows-x64 • Microsoft Windows [Version 10.0.18362.720] • No issues found! ``` </details>
engine,dependency: skia,a: quality,has reproducible steps,P2,found in release: 3.3,found in release: 3.6,team-engine,triaged-engine
low
Critical
595,210,198
go
x/tools/gopls: use telemetry library to check if completion exceeded its timeout
As part of debugging https://github.com/golang/go/issues/38269, we've been discussing how we can indicate in tests that completion failed because of a timeout instead of a genuine failure. We don't want to return an error in this case because we still want to return whatever completion items we were able to produce before the timeout. @findleyr suggested that we could use the telemetry library for this. /cc @ianthehat
help wanted,gopls,Tools
low
Critical
595,247,570
PowerToys
Detect when apps that can conflict and alert users
On startup, we should alert users that there are known apps that can interfere with PowerToys. "PowerToys has detected a known app, APP_THAT_IS_AFFECTING, running that could impact your experience" I know we have others but from #1943, #1493: - AutoHotkey - start10 - Dell Display manager - Rivatuner Statistics Server (https://github.com/microsoft/PowerToys/issues/1872) - Corperate app causing SentryBay #5414
Idea-Enhancement,Area-Quality,Needs-Spec
low
Major
595,256,941
flutter
TextFields (and TextFormFields) should allow displaying error state without error text
<!-- Thank you for using Flutter! If you are looking for support, please check out our documentation or consider asking a question on Stack Overflow: * https://flutter.dev/ * https://api.flutter.dev/ * https://stackoverflow.com/questions/tagged/flutter?sort=frequent If you have found a bug or if our documentation doesn't have an answer to what you're looking for, then fill our the template below. Please read our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports --> ## Use case There are occasions where multiple `TextField` (or more likely `TextFormField`) are used on a page and the UX could call for a custom error solution instead of each textfield displaying an error message. We want to maintain the validate logic that exists on the Form but allow the developer to decide whether each textfield should show its error text. ## Proposal Adding a new parameter to `InputDecoration` that tells TextFields they should not display their error text but still display any other error specific content (errorBorder, etc) This would have to also work with the validate logic of `TextFormField` as well so that if a form is validated the error text can choose to not be displayed on each text field. cc @justinmc Similar to https://github.com/flutter/flutter/issues/52634
a: text input,c: new feature,framework,f: material design,c: proposal,P2,team-design,triaged-design
low
Critical
595,262,033
flutter
Test that defer-loading flutter_localizations is effective
According to @perclasson's research loading all localizations eagerly costs us >1 MB in gzipped code size (>7 MB of ungzipped JavaScript). Defer-loading localizations removes all that cost. For example, the new Flutter Gallery goes from 2.2 MB down to 0.9 MB gzipped (or from 11 MB to 3.6 MB ungzipped). We should write a test that verifies that defer-loading localizations is effective. This test will protect us from accidentally loading localizations eagerly due changes in the framework or in the compiler.
framework,c: performance,a: internationalization,a: size,platform-web,perf: app size,P2,team-web,triaged-web
low
Minor
595,279,413
nvm
nvm is not compatible with the npm config "prefix" option: currently set to "/usr" in alpine
<!-- Thank you for being interested in nvm! Please help us by filling out the following form if you‘re having trouble. If you have a feature request, or some other question, please feel free to clear out the form. Thanks! --> #### Operating system and version: mhart/alpine-node:8.10.0 #### `nvm debug` output: <details> <!-- do not delete the following blank line --> ```sh ``` </details> #### `nvm ls` output: <details> <!-- do not delete the following blank line --> ```sh ``` </details> #### How did you install `nvm`? <!-- (e.g. install script in readme, Homebrew) --> I tried installing the nvm in docker image #### What steps did you perform? ```sh FROM mhart/alpine-node:8.10.0 RUN apk add -U curl bash ca-certificates openssl ncurses coreutils python2 make gcc g++ libgcc linux-headers grep util-linux binutils findutils # nvm environment variables ENV NVM_DIR /root/.nvm ENV NODE_VERSION 8.10.0 RUN /bin/bash -c 'touch ~/.bashrc' # install nvm RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash RUN npm config delete prefix # install node and npm RUN source $NVM_DIR/nvm.sh \ && nvm install $NODE_VERSION # && nvm unalias default \ # && nvm alias default $NODE_VERSION \ # && nvm use default ``` #### What happened? ```sh z013jd8@a483e70e95bb:~/Development/git/quality/spectra/cypress/docker$ docker build -t spectra:latest -f Dockerfile . Sending build context to Docker daemon 3.059MB Step 1/10 : FROM mhart/alpine-node:8.10.0 ---> 7f037b85e70f Step 2/10 : RUN apk add -U curl bash ca-certificates openssl ncurses coreutils python2 make gcc g++ libgcc linux-headers grep util-linux binutils findutils ---> Using cache ---> fadbe966b4ec Step 3/10 : ENV NVM_DIR /root/.nvm ---> Running in 196094a69ff1 Removing intermediate container 196094a69ff1 ---> 459b6a1aa558 Step 4/10 : ENV NODE_VERSION 8.10.0 ---> Running in 34703dedf3bc Removing intermediate container 34703dedf3bc ---> b679a1ea4226 Step 5/10 : RUN /bin/bash -c 'touch ~/.bashrc' ---> Running in f3b64545d569 Removing intermediate container f3b64545d569 ---> c70c0f544dcb Step 6/10 : RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash ---> Running in a445e6041de4 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 13527 100 13527 0 0 16065 0 --:--:-- --:--:-- --:--:-- 16046 => Downloading nvm as script to '/root/.nvm' => Appending nvm source string to /root/.bashrc => Appending bash_completion source string to /root/.bashrc => Installing Node.js version 8.10.0 Downloading and installing node v8.10.0... Downloading https://nodejs.org/dist/v8.10.0/node-v8.10.0-linux-x64.tar.gz... ######################################################################## 100.0% Computing checksum with sha256sum Checksums matched! nvm is not compatible with the npm config "prefix" option: currently set to "/usr" Run `npm config delete prefix` or `nvm use --delete-prefix v8.10.0` to unset it. Failed to install Node.js 8.10.0 => Close and reopen your terminal to start using nvm or run the following to use it now: export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion Removing intermediate container a445e6041de4 ---> cd1179842fc5 Step 7/10 : RUN npm config delete prefix ---> Running in 1a3f9fe38cd2 Removing intermediate container 1a3f9fe38cd2 ---> 6f58064bf85f Step 8/10 : RUN source $NVM_DIR/nvm.sh && nvm install $NODE_VERSION ---> Running in 23a6c182215d v8.10.0 is already installed. nvm is not compatible with the npm config "prefix" option: currently set to "/usr" Run `npm config delete prefix` or `nvm use --delete-prefix v8.10.0` to unset it. Creating default alias: default -> 8.10.0 (-> v8.10.0 *) Removing intermediate container 23a6c182215d ---> db8cac5cb7df Step 9/10 : ADD bundle.tar / ---> 31989d8735ce Step 10/10 : RUN source ~/.bashrc node --version npm --version yarn --version nvm --version ---> Running in 365eae4bd36a nvm is not compatible with the npm config "prefix" option: currently set to "/usr" Run `npm config delete prefix` or `nvm use --delete-prefix v8.10.0 --silent` to unset it. /bin/sh: /root/.nvm/bash_completion: line 13: syntax error: unexpected "(" (expecting "}") The command '/bin/sh -c source ~/.bashrc node --version npm --version yarn --version nvm --version' returned a non-zero code: 2 z013jd8@a483e70e95bb:~/Development/git/quality/spectra/cypress/docker$ ``` #### What did you expect to happen? Install node, yarn, nvm and cypress in docker image #### Is there anything in any of your profile files that modifies the `PATH`? <!-- (e.g. `.bashrc`, `.bash_profile`, `.zshrc`, etc) --> ```sh / # echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin / # cat ~/.bashrc export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion / # ``` <!-- Please remove the following section if it does not apply to you --> #### If you are having installation issues, or getting "N/A", what does `curl -I --compressed -v https://nodejs.org/dist/` print out? <details> <!-- do not delete the following blank line --> ```sh / # curl -I --compressed -v https://nodejs.org/dist/ * Trying 104.20.22.46... * TCP_NODELAY set * Connected to nodejs.org (104.20.22.46) port 443 (#0) * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none * TLSv1.2 (OUT), TLS handshake, Client hello (1): * TLSv1.2 (IN), TLS handshake, Server hello (2): * TLSv1.2 (IN), TLS handshake, Certificate (11): * TLSv1.2 (IN), TLS handshake, Server key exchange (12): * TLSv1.2 (IN), TLS handshake, Server finished (14): * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): * TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1): * TLSv1.2 (OUT), TLS handshake, Finished (20): * TLSv1.2 (IN), TLS change cipher, Change cipher spec (1): * TLSv1.2 (IN), TLS handshake, Finished (20): * SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305 * ALPN, server accepted to use http/1.1 * Server certificate: * subject: OU=Domain Control Validated; OU=PositiveSSL Wildcard; CN=*.nodejs.org * start date: Oct 21 00:00:00 2019 GMT * expire date: Jan 18 23:59:59 2022 GMT * subjectAltName: host "nodejs.org" matched cert's "nodejs.org" * issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Domain Validation Secure Server CA * SSL certificate verify ok. > HEAD /dist/ HTTP/1.1 > Host: nodejs.org > User-Agent: curl/7.61.1 > Accept: */* > Accept-Encoding: deflate, gzip > < HTTP/1.1 200 OK HTTP/1.1 200 OK < Date: Mon, 06 Apr 2020 17:10:45 GMT Date: Mon, 06 Apr 2020 17:10:45 GMT < Content-Type: text/html Content-Type: text/html < Connection: keep-alive Connection: keep-alive < Set-Cookie: __cfduid=ddae03beacac9d398a95895eaae430bcc1586193045; expires=Wed, 06-May-20 17:10:45 GMT; path=/; domain=.nodejs.org; HttpOnly; SameSite=Lax Set-Cookie: __cfduid=ddae03beacac9d398a95895eaae430bcc1586193045; expires=Wed, 06-May-20 17:10:45 GMT; path=/; domain=.nodejs.org; HttpOnly; SameSite=Lax < Cache-Control: max-age=14400 Cache-Control: max-age=14400 < CF-Cache-Status: HIT CF-Cache-Status: HIT < Age: 234 Age: 234 < Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" < Vary: Accept-Encoding Vary: Accept-Encoding < Server: cloudflare Server: cloudflare < CF-RAY: 57fd1fc61aafdd93-SIN CF-RAY: 57fd1fc61aafdd93-SIN < Content-Encoding: gzip Content-Encoding: gzip < * Connection #0 to host nodejs.org left intact / # ``` </details>
needs followup
low
Critical
595,295,765
flutter
Document how to write a speed performance test
See https://github.com/flutter/flutter/pull/52063 for an example speed performance test. We should document that in README or wiki so future test writers don't have to dig out a PR to learn how to write a test.
a: tests,framework,c: performance,d: wiki,perf: speed,P2,team-framework,triaged-framework
low
Major
595,298,719
flutter
Document how to write an app size performance test
See https://github.com/flutter/flutter/pull/18522 for an example speed performance test. We should document that in README or wiki so future test writers don't have to dig out a PR to learn how to write a test.
a: tests,framework,c: performance,d: api docs,perf: app size,P2,team-framework,triaged-framework
low
Major
595,300,578
flutter
Document how to write an energy performance test
See https://github.com/flutter/flutter/pull/41578 for an example speed performance test. We should document that in README or wiki so future test writers don't have to dig out a PR to learn how to write a test. This is currently blocked by https://github.com/flutter/flutter/issues/45435
a: tests,framework,c: performance,d: api docs,perf: energy,P3,team-framework,triaged-framework
low
Major
595,323,877
flutter
Consider a different strategy of launching and embedding devtools
Currently the tool can launch dev_tools via calling dev_tools server directly. This is advantageous, because all of the devtools resources will be bundled into flutter and can be accessed without additional downloads. On the other hand, the devtools version used from the command line is now tied to the flutter release. While devtools is still in the process of maturing, pinning to an older version delays bug fixes and feature updates. devtools and the flutter tool only interact through the vm service protocol, so even major changes in the devtools app should not effect the flutter tool. Another approach would be something like `pub global activate devtools`, which would always pull the latest version. fyi @jacob314 @zanderso
c: new feature,tool,d: devtools,P3,team-tool,triaged-tool
low
Critical
595,325,883
excalidraw
Explore migrating to IndexedDB for data storage
Based on https://github.com/excalidraw/excalidraw/issues/1245#issuecomment-609481939 it might be worthwhile to consider IndexedDB for an asynchronous API to store data. ~Also need to evaluate if libraries like [localForage](https://github.com/localForage/localForage) that has options for IndexDB ~~,WebSQL~~ and falls back to localStorage.~ cc @dwelle
enhancement,discussion
low
Major
595,331,066
terminal
Feature request: Input focus follows mouse
<!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement Focus follows mouse allows one to direct input into the exposed terminal tab while another window is selected so long as the mouse pointer is positioned anywhere over the Windows Terminal window. <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> This will reduce extra mouse clicks and make switching input focus more streamlined. # Proposed technical implementation details (optional) <!-- A clear and concise description of what you want to happen. --> Given that another window is selected and active, focus follows mouse allows one to direct input into the exposed terminal tab when the mouse pointer is positioned anywhere over the Windows Terminal window. One does not have to click on the Windows Terminal window to active input focus.
Help Wanted,Area-UserInterface,Product-Terminal,Issue-Task
low
Critical
595,335,980
react-native
ESLint does not find React Native components
Please provide all the information requested. Issues that do not follow this format are likely to stall. ## Description I'm getting these ESLint errors in all of my js files, which import React Native components. Imports from all other libraries work just fine and the app also compiles and runs without problems. Any idea what could be the reason? ``` 3:3 error Text not found in 'react-native' import/named 4:3 error View not found in 'react-native' import/named 5:3 error ScrollView not found in 'react-native' import/named 6:3 error StyleSheet not found in 'react-native' import/named ``` ``` import { Text, View, ScrollView, StyleSheet } from 'react-native'; ``` ``` "react-native": "0.62.0", "eslint": "6.8.0", "eslint-plugin-react-native": "3.8.1", "@react-native-community/eslint-config": "1.0.0", "flow-bin": "0.121.0" (not using in my code) ``` ## React Native version: ``` System: OS: macOS 10.15.3 CPU: (4) x64 Intel(R) Core(TM) i7-6567U CPU @ 3.30GHz Memory: 1.27 GB / 16.00 GB Shell: 5.7.1 - /bin/zsh Binaries: Node: 12.16.1 - /usr/local/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 6.13.4 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2 Android SDK: API Levels: 28, 29 Build Tools: 21.1.1, 21.1.2, 22.0.0, 22.0.1, 23.0.1, 23.0.2, 23.0.3, 24.0.1, 25.0.0, 25.0.2, 25.0.3, 26.0.0, 26.0.2, 27.0.3, 28.0.0, 28.0.2, 28.0.3, 29.0.2 Android NDK: Not Found IDEs: Android Studio: 3.6 AI-192.7142.36.36.6241897 Xcode: 11.4/11E146 - /usr/bin/xcodebuild Languages: Python: 2.7.17 - /usr/local/bin/python npmPackages: @react-native-community/cli: Not Found react: 16.13.1 => 16.13.1 react-native: 0.62.1 => 0.62.1 npmGlobalPackages: *react-native*: Not Found ``` ## Steps To Reproduce Provide a detailed list of steps that reproduce the issue. 1. eslint ## Expected Results Describe what you expected to happen. No errors. ## Snack, code example, screenshot, or link to a repository: https://stackoverflow.com/questions/60973737/eslint-does-not-find-react-native-components
Needs: Repro,Needs: Attention
medium
Critical
595,349,289
flutter
Adding debuggable:true to Android release build prevents VM initialization
## Steps to Reproduce 1. Run `flutter create bug`. 2. Update the `./android/app/build.gradle` file by adding the following inside the `android` tag :- ``` buildTypes { release { signingConfig signingConfigs.debug debuggable true } debug { applicationIdSuffix ".debug" versionNameSuffix "-debug" } } flavorDimensions "version" productFlavors { dev { dimension "version" applicationIdSuffix ".dev" resValue "string", "app_name", "DEV App" } prod { dimension "version" resValue "string", "app_name", "App" } } ``` 3. do `flutter clean` and then `flutter run --release --flavor dev` ``` **Expected results:** The DevRelease variant of the app should be installed and running on your android device. **Actual results:** The app crashes as soon as it starts and gives the following logs ``` ``` E/flutter (32009): [ERROR:flutter/runtime/dart_vm_data.cc(18)] VM snapshot invalid and could not be inferred from settings. E/flutter (32009): [ERROR:flutter/runtime/dart_vm.cc(248)] Could not setup VM data to bootstrap the VM from. E/flutter (32009): [ERROR:flutter/runtime/dart_vm_lifecycle.cc(84)] Could not create Dart VM instance. F/flutter (32009): [FATAL:flutter/shell/common/shell.cc(268)] Check failed: vm. Must be able to initialize the VM. ``` <details> <summary>Logs</summary> <b>flutter run --release --flavor dev --verbose</b> ``` [ +26 ms] executing: [/Users/abhriyaroy/flutter-sdk/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +38 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] f139b11009aeb8ed2a3a3aa8b0066e482709dde3 [ ] executing: [/Users/abhriyaroy/flutter-sdk/flutter/] git describe --match v*.*.* --first-parent --long --tags [ +12 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags [ ] v1.12.13+hotfix.9-0-gf139b1100 [ +7 ms] executing: [/Users/abhriyaroy/flutter-sdk/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/stable [ ] executing: [/Users/abhriyaroy/flutter-sdk/flutter/] git ls-remote --get-url origin [ +12 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +66 ms] executing: [/Users/abhriyaroy/flutter-sdk/flutter/] git rev-parse --abbrev-ref HEAD [ +13 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] stable [ +9 ms] executing: sw_vers -productName [ +25 ms] Exit code 0 from: sw_vers -productName [ ] Mac OS X [ ] executing: sw_vers -productVersion [ +14 ms] Exit code 0 from: sw_vers -productVersion [ ] 10.15.4 [ ] executing: sw_vers -buildVersion [ +15 ms] Exit code 0 from: sw_vers -buildVersion [ ] 19E266 [ +38 ms] executing: /usr/bin/xcode-select --print-path [ +8 ms] Exit code 0 from: /usr/bin/xcode-select --print-path [ ] /Applications/Xcode.app/Contents/Developer [ +1 ms] executing: /usr/bin/xcodebuild -version [ +704 ms] Exit code 0 from: /usr/bin/xcodebuild -version [ +2 ms] Xcode 11.4 Build version 11E146 [ +52 ms] executing: /Users/abhriyaroy/Library/Android/sdk/platform-tools/adb devices -l [ +6 ms] Exit code 0 from: /Users/abhriyaroy/Library/Android/sdk/platform-tools/adb devices -l [ ] List of devices attached ZY2238HLHP device usb:336592896X product:athene_f model:Moto_G__4_ device:athene_f transport_id:8 [ +16 ms] executing: /Users/abhriyaroy/flutter-sdk/flutter/bin/cache/artifacts/libimobiledevice/idevice_id -h [ +58 ms] /usr/bin/xcrun simctl list --json devices [ +114 ms] /Users/abhriyaroy/Library/Android/sdk/platform-tools/adb -s ZY2238HLHP shell getprop [ +74 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ +3 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. [ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] 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. [ +163 ms] Generating /Users/abhriyaroy/AndroidStudioProjects/flutter_app/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java [ +24 ms] ro.hardware = qcom ⣽[ +18 ms] executing: [/Users/abhriyaroy/AndroidStudioProjects/flutter_app/ios/Runner.xcodeproj/] /usr/bin/xcodebuild -project /Users/abhriyaroy/AndroidStudioProjects/flutter_app/ios/Runner.xcodeproj -target Runner -showBuildSettings [ +3 ms] executing: [/Users/abhriyaroy/AndroidStudioProjects/flutter_app/ios/Runner.xcodeproj/] /usr/bin/xcodebuild -project /Users/abhriyaroy/AndroidStudioProjects/flutter_app/ios/Runner.xcodeproj -target Runner -showBuildSettings ⡿ (This is taking an unexpectedly long time.)⢿[+2681 ms] Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project /Users/abhriyaroy/AndroidStudioProjects/flutter_app/ios/Runner.xcodeproj -target Runner -showBuildSettings Build settings for action build and target Runner: ACTION = build AD_HOC_CODE_SIGNING_ALLOWED = NO ALTERNATE_GROUP = staff ALTERNATE_MODE = u+w,go-w,a+rX ALTERNATE_OWNER = abhriyaroy ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO ALWAYS_SEARCH_USER_PATHS = NO ALWAYS_USE_SEPARATE_HEADERMAPS = NO APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer APPLE_INTERNAL_DIR = /AppleInternal APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools APPLICATION_EXTENSION_API_ONLY = NO APPLY_RULES_IN_COPY_FILES = NO APPLY_RULES_IN_COPY_HEADERS = NO ARCHS = armv7 arm64 ARCHS_STANDARD = armv7 arm64 ARCHS_STANDARD_32_64_BIT = armv7 arm64 ARCHS_STANDARD_32_BIT = armv7 ARCHS_STANDARD_64_BIT = arm64 ARCHS_STANDARD_INCLUDING_64_BIT = armv7 arm64 ARCHS_UNIVERSAL_IPHONE_OS = armv7 arm64 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator BITCODE_GENERATION_MODE = marker BUILD_ACTIVE_RESOURCES_ONLY = NO BUILD_COMPONENTS = headers build BUILD_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios BUILD_LIBRARY_FOR_DISTRIBUTION = NO BUILD_ROOT = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios BUILD_STYLE = BUILD_VARIANTS = normal BUILT_PRODUCTS_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Release-iphoneos BUNDLE_CONTENTS_FOLDER_PATH_deep = Contents/ BUNDLE_EXECUTABLE_FOLDER_NAME_deep = MacOS BUNDLE_FORMAT = shallow BUNDLE_FRAMEWORKS_FOLDER_PATH = Frameworks BUNDLE_PLUGINS_FOLDER_PATH = PlugIns BUNDLE_PRIVATE_HEADERS_FOLDER_PATH = PrivateHeaders BUNDLE_PUBLIC_HEADERS_FOLDER_PATH = Headers CACHE_ROOT = /var/folders/mn/qk63sz493090bymc1l0c2nrc0000gn/C/com.apple.DeveloperTools/11.4-11E146/Xcode CCHROOT = /var/folders/mn/qk63sz493090bymc1l0c2nrc0000gn/C/com.apple.DeveloperTools/11.4-11E146/Xcode CHMOD = /bin/chmod CHOWN = /usr/sbin/chown CLANG_ANALYZER_NONNULL = YES CLANG_CXX_LANGUAGE_STANDARD = gnu++0x CLANG_CXX_LIBRARY = libc++ CLANG_ENABLE_MODULES = YES CLANG_ENABLE_OBJC_ARC = YES CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES CLANG_WARN_BOOL_CONVERSION = YES CLANG_WARN_COMMA = YES CLANG_WARN_CONSTANT_CONVERSION = YES CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR CLANG_WARN_EMPTY_BODY = YES CLANG_WARN_ENUM_CONVERSION = YES CLANG_WARN_INFINITE_RECURSION = YES CLANG_WARN_INT_CONVERSION = YES CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES CLANG_WARN_OBJC_LITERAL_CONVERSION = YES CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR CLANG_WARN_RANGE_LOOP_ANALYSIS = YES CLANG_WARN_STRICT_PROTOTYPES = YES CLANG_WARN_SUSPICIOUS_MOVE = YES CLANG_WARN_UNREACHABLE_CODE = YES CLANG_WARN__DUPLICATE_METHOD_MATCH = YES CLASS_FILE_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/JavaClasses CLEAN_PRECOMPS = YES CLONE_HEADERS = NO CODESIGNING_FOLDER_PATH = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Release-iphoneos/Runner.app CODE_SIGNING_ALLOWED = YES CODE_SIGNING_REQUIRED = YES CODE_SIGN_CONTEXT_CLASS = XCiPhoneOSCodeSignContext CODE_SIGN_IDENTITY = iPhone Developer CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES COLOR_DIAGNOSTICS = NO COMBINE_HIDPI_IMAGES = NO COMPILER_INDEX_STORE_ENABLE = Default COMPOSITE_SDK_DIRS = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/CompositeSDKs COMPRESS_PNG_FILES = YES CONFIGURATION = Release CONFIGURATION_BUILD_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Release-iphoneos CONFIGURATION_TEMP_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos CONTENTS_FOLDER_PATH = Runner.app COPYING_PRESERVES_HFS_DATA = NO COPY_HEADERS_RUN_UNIFDEF = NO COPY_PHASE_STRIP = NO COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES CORRESPONDING_SIMULATOR_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform CORRESPONDING_SIMULATOR_PLATFORM_NAME = iphonesimulator CORRESPONDING_SIMULATOR_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk CORRESPONDING_SIMULATOR_SDK_NAME = iphonesimulator13.4 CP = /bin/cp CREATE_INFOPLIST_SECTION_IN_BINARY = NO CURRENT_ARCH = arm64 CURRENT_PROJECT_VERSION = 1 CURRENT_VARIANT = normal DEAD_CODE_STRIPPING = YES DEBUGGING_SYMBOLS = YES DEBUG_INFORMATION_FORMAT = dwarf-with-dsym DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0 DEFAULT_DEXT_INSTALL_PATH = /System/Library/DriverExtensions DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions DEFINES_MODULE = NO DEPLOYMENT_LOCATION = NO DEPLOYMENT_POSTPROCESSING = NO DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET DEPLOYMENT_TARGET_CLANG_FLAG_NAME = miphoneos-version-min DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -miphoneos-version-min= DEPLOYMENT_TARGET_LD_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET DEPLOYMENT_TARGET_LD_FLAG_NAME = ios_version_min DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4 12.0 12.1 12.2 12.3 12.4 13.0 13.1 13.2 13.3 13.4 DERIVED_FILES_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources DERIVED_FILE_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources DERIVED_SOURCES_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr DEVELOPMENT_LANGUAGE = en DOCUMENTATION_FOLDER_PATH = Runner.app/en.lproj/Documentation DONT_GENERATE_INFOPLIST_FILE = NO DO_HEADER_SCANNING_IN_JAM = NO DSTROOT = /tmp/Runner.dst DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain DWARF_DSYM_FILE_NAME = Runner.app.dSYM DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO DWARF_DSYM_FOLDER_PATH = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Release-iphoneos EFFECTIVE_PLATFORM_NAME = -iphoneos EMBEDDED_CONTENT_CONTAINS_SWIFT = NO EMBEDDED_PROFILE_NAME = embedded.mobileprovision EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO ENABLE_BITCODE = NO ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES ENABLE_HARDENED_RUNTIME = NO ENABLE_HEADER_DEPENDENCIES = YES ENABLE_NS_ASSERTIONS = NO ENABLE_ON_DEMAND_RESOURCES = YES ENABLE_STRICT_OBJC_MSGSEND = YES ENABLE_TESTABILITY = NO ENABLE_TESTING_SEARCH_PATHS = NO ENTITLEMENTS_ALLOWED = YES ENTITLEMENTS_DESTINATION = Signature ENTITLEMENTS_REQUIRED = YES EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj EXECUTABLES_FOLDER_PATH = Runner.app/Executables EXECUTABLE_FOLDER_PATH = Runner.app EXECUTABLE_NAME = Runner EXECUTABLE_PATH = Runner.app/Runner EXPANDED_CODE_SIGN_IDENTITY = EXPANDED_CODE_SIGN_IDENTITY_NAME = EXPANDED_PROVISIONING_PROFILE = FILE_LIST = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects/LinkFileList FIXED_FILES_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/FixedFiles FLUTTER_APPLICATION_PATH = /Users/abhriyaroy/AndroidStudioProjects/flutter_app FLUTTER_BUILD_DIR = build FLUTTER_BUILD_NAME = 1.0.0 FLUTTER_BUILD_NUMBER = 1 FLUTTER_FRAMEWORK_DIR = /Users/abhriyaroy/flutter-sdk/flutter/bin/cache/artifacts/engine/ios FLUTTER_ROOT = /Users/abhriyaroy/flutter-sdk/flutter FLUTTER_TARGET = lib/main.dart FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks FRAMEWORK_FLAG_PREFIX = -framework FRAMEWORK_SEARCH_PATHS = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/ios/Flutter FRAMEWORK_VERSION = A FULL_PRODUCT_NAME = Runner.app GCC3_VERSION = 3.3 GCC_C_LANGUAGE_STANDARD = gnu99 GCC_INLINES_ARE_PRIVATE_EXTERN = YES GCC_NO_COMMON_BLOCKS = YES GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++ GCC_SYMBOLS_PRIVATE_EXTERN = YES GCC_THUMB_SUPPORT = YES GCC_TREAT_WARNINGS_AS_ERRORS = NO GCC_VERSION = com.apple.compilers.llvm.clang.1_0 GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0 GCC_WARN_64_TO_32_BIT_CONVERSION = YES GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR GCC_WARN_UNDECLARED_SELECTOR = YES GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE GCC_WARN_UNUSED_FUNCTION = YES GCC_WARN_UNUSED_VARIABLE = YES GENERATE_MASTER_OBJECT_FILE = NO GENERATE_PKGINFO_FILE = YES GENERATE_PROFILING_CODE = NO GENERATE_TEXT_BASED_STUBS = NO GID = 20 GROUP = staff HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES HEADERMAP_INCLUDES_PROJECT_HEADERS = YES HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES HEADERMAP_USES_VFS = NO HIDE_BITCODE_SYMBOLS = YES HOME = /Users/abhriyaroy ICONV = /usr/bin/iconv INFOPLIST_EXPAND_BUILD_SETTINGS = YES INFOPLIST_FILE = Runner/Info.plist INFOPLIST_OUTPUT_FORMAT = binary INFOPLIST_PATH = Runner.app/Info.plist INFOPLIST_PREPROCESS = NO INFOSTRINGS_PATH = Runner.app/en.lproj/InfoPlist.strings INLINE_PRIVATE_FRAMEWORKS = NO INSTALLHDRS_COPY_PHASE = NO INSTALLHDRS_SCRIPT_PHASE = NO INSTALL_DIR = /tmp/Runner.dst/Applications INSTALL_GROUP = staff INSTALL_MODE_FLAG = u+w,go-w,a+rX INSTALL_OWNER = abhriyaroy INSTALL_PATH = /Applications INSTALL_ROOT = /tmp/Runner.dst IPHONEOS_DEPLOYMENT_TARGET = 8.0 JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8 JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub JAVA_ARCHIVE_CLASSES = YES JAVA_ARCHIVE_TYPE = JAR JAVA_COMPILER = /usr/bin/javac JAVA_FOLDER_PATH = Runner.app/Java JAVA_FRAMEWORK_RESOURCES_DIRS = Resources JAVA_JAR_FLAGS = cv JAVA_SOURCE_SUBDIR = . JAVA_USE_DEPENDENCIES = YES JAVA_ZIP_FLAGS = -urg JIKES_DEFAULT_FLAGS = +E +OLDCSO KASAN_DEFAULT_CFLAGS = -DKASAN=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow KEEP_PRIVATE_EXTERNS = NO LD_DEPENDENCY_INFO_FILE = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal/arm64/Runner_dependency_info.dat LD_GENERATE_MAP_FILE = NO LD_MAP_FILE_PATH = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/Runner-LinkMap-normal-arm64.txt LD_NO_PIE = NO LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES LD_RUNPATH_SEARCH_PATHS = @executable_path/Frameworks LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer LEX = lex LIBRARY_DEXT_INSTALL_PATH = /Library/DriverExtensions LIBRARY_FLAG_NOSPACE = YES LIBRARY_FLAG_PREFIX = -l LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions LIBRARY_SEARCH_PATHS = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/ios/Flutter LINKER_DISPLAYS_MANGLED_NAMES = NO LINK_FILE_LIST_normal_arm64 = LINK_FILE_LIST_normal_armv7 = LINK_WITH_STANDARD_LIBRARIES = YES LLVM_TARGET_TRIPLE_OS_VERSION = ios8.0 LLVM_TARGET_TRIPLE_VENDOR = apple LOCALIZABLE_CONTENT_DIR = LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/en.lproj LOCALIZED_STRING_MACRO_NAMES = NSLocalizedString CFCopyLocalizedString LOCALIZED_STRING_SWIFTUI_SUPPORT = YES LOCAL_ADMIN_APPS_DIR = /Applications/Utilities LOCAL_APPS_DIR = /Applications LOCAL_DEVELOPER_DIR = /Library/Developer LOCAL_LIBRARY_DIR = /Library LOCROOT = LOCSYMROOT = MACH_O_TYPE = mh_execute MAC_OS_X_PRODUCT_BUILD_VERSION = 19E266 MAC_OS_X_VERSION_ACTUAL = 101504 MAC_OS_X_VERSION_MAJOR = 101500 MAC_OS_X_VERSION_MINOR = 1504 METAL_LIBRARY_FILE_BASE = default METAL_LIBRARY_OUTPUT_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Release-iphoneos/Runner.app MODULES_FOLDER_PATH = Runner.app/Modules MODULE_CACHE_DIR = /Users/abhriyaroy/Library/Developer/Xcode/DerivedData/ModuleCache.noindex MTL_ENABLE_DEBUG_INFO = NO NATIVE_ARCH = armv7 NATIVE_ARCH_32_BIT = i386 NATIVE_ARCH_64_BIT = x86_64 NATIVE_ARCH_ACTUAL = x86_64 NO_COMMON = YES OBJECT_FILE_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects OBJECT_FILE_DIR_normal = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal OBJROOT = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios ONLY_ACTIVE_ARCH = NO OS = MACOS OSAC = /usr/bin/osacompile PACKAGE_TYPE = com.apple.package-type.wrapper.application PASCAL_STRINGS = YES PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:/Users/abhriyaroy/.rbenv/shims:/Users/abhriyaroy/.rbenv/bin:/Users/abhriyaroy/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr /sbin:/sbin:/Library/Apple/usr/bin:/Users/abhriyaroy/flutter-sdk/flutter/.pub-cache/bin:/Users/abhriyaroy/flutter-sdk/flutter/bin:/Users/abhriyaroy/firebase-tools-macos PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms PBDEVELOPMENTPLIST_PATH = Runner.app/pbdevelopment.plist PFE_FILE_C_DIALECTS = objective-c PKGINFO_FILE_PATH = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/PkgInfo PKGINFO_PATH = Runner.app/PkgInfo PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Applications PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Tools PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform PLATFORM_DISPLAY_NAME = iOS PLATFORM_NAME = iphoneos PLATFORM_PREFERRED_ARCH = arm64 PLATFORM_PRODUCT_BUILD_VERSION = 17E255 PLIST_FILE_OUTPUT_FORMAT = binary PLUGINS_FOLDER_PATH = Runner.app/PlugIns PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES PRECOMP_DESTINATION_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/PrefixHeaders PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterapp PRODUCT_BUNDLE_PACKAGE_TYPE = APPL PRODUCT_MODULE_NAME = Runner PRODUCT_NAME = Runner PRODUCT_SETTINGS_PATH = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/ios/Runner/Info.plist PRODUCT_TYPE = com.apple.product-type.application PROFILING_CODE = NO PROJECT = Runner PROJECT_DERIVED_FILE_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/DerivedSources PROJECT_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/ios PROJECT_FILE_PATH = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/ios/Runner.xcodeproj PROJECT_NAME = Runner PROJECT_TEMP_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build PROJECT_TEMP_ROOT = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios PROVISIONING_PROFILE_REQUIRED = YES PUBLIC_HEADERS_FOLDER_PATH = Runner.app/Headers RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES REMOVE_CVS_FROM_RESOURCES = YES REMOVE_GIT_FROM_RESOURCES = YES REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES REMOVE_HG_FROM_RESOURCES = YES REMOVE_SVN_FROM_RESOURCES = YES RESOURCE_RULES_REQUIRED = YES REZ_COLLECTOR_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/ResourceManagerResources REZ_OBJECTS_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/ResourceManagerResources/Objects SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO SCRIPTS_FOLDER_PATH = Runner.app/Scripts SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk SDK_DIR_iphoneos13_4 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk SDK_NAME = iphoneos13.4 SDK_NAMES = iphoneos13.4 SDK_PRODUCT_BUILD_VERSION = 17E255 SDK_VERSION = 13.4 SDK_VERSION_ACTUAL = 130400 SDK_VERSION_MAJOR = 130000 SDK_VERSION_MINOR = 400 SED = /usr/bin/sed SEPARATE_STRIP = NO SEPARATE_SYMBOL_EDIT = NO SET_DIR_MODE_OWNER_GROUP = YES SET_FILE_MODE_OWNER_GROUP = NO SHALLOW_BUNDLE = YES SHARED_DERIVED_FILE_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Release-iphoneos/DerivedSources SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks SHARED_PRECOMPS_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/SharedPrecompiledHeaders SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport SKIP_INSTALL = NO SOURCE_ROOT = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/ios SRCROOT = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/ios STRINGS_FILE_OUTPUT_ENCODING = binary STRIP_BITCODE_FROM_COPIED_FILES = YES STRIP_INSTALLED_PRODUCT = YES STRIP_STYLE = all STRIP_SWIFT_SYMBOLS = YES SUPPORTED_DEVICE_FAMILIES = 1,2 SUPPORTED_PLATFORMS = iphoneos SUPPORTS_MACCATALYST = NO SUPPORTS_TEXT_BASED_API = NO SWIFT_COMPILATION_MODE = wholemodule SWIFT_OBJC_BRIDGING_HEADER = Runner/Runner-Bridging-Header.h SWIFT_OPTIMIZATION_LEVEL = -O SWIFT_PLATFORM_TARGET_PREFIX = ios SWIFT_VERSION = 5.0 SYMROOT = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities SYSTEM_APPS_DIR = /Applications SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices SYSTEM_DEMOS_DIR = /Applications/Extras SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities SYSTEM_DEXT_INSTALL_PATH = /System/Library/DriverExtensions SYSTEM_DOCUMENTATION_DIR = /Library/Documentation SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions SYSTEM_LIBRARY_DIR = /System/Library TAPI_VERIFY_MODE = ErrorsOnly TARGETED_DEVICE_FAMILY = 1,2 TARGETNAME = Runner TARGET_BUILD_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Release-iphoneos TARGET_NAME = Runner TARGET_TEMP_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build TEMP_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build TEMP_FILES_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build TEMP_FILE_DIR = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build TEMP_ROOT = /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/ios TEST_FRAMEWORK_SEARCH_PATHS = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks TEST_LIBRARY_SEARCH_PATHS = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO UID = 501 UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app UNSTRIPPED_PRODUCT = NO USER = abhriyaroy USER_APPS_DIR = /Users/abhriyaroy/Applications USER_LIBRARY_DIR = /Users/abhriyaroy/Library USE_DYNAMIC_NO_PIC = YES USE_HEADERMAP = YES USE_HEADER_SYMLINKS = NO USE_LLVM_TARGET_TRIPLES = YES USE_LLVM_TARGET_TRIPLES_FOR_CLANG = YES USE_LLVM_TARGET_TRIPLES_FOR_LD = YES USE_LLVM_TARGET_TRIPLES_FOR_TAPI = YES VALIDATE_PRODUCT = YES VALIDATE_WORKSPACE = NO VALID_ARCHS = arm64 arm64e armv7 armv7s VERBOSE_PBXCP = NO VERSIONING_SYSTEM = apple-generic VERSIONPLIST_PATH = Runner.app/version.plist VERSION_INFO_BUILDER = abhriyaroy VERSION_INFO_FILE = Runner_vers.c VERSION_INFO_STRING = "@(#)PROGRAM:Runner PROJECT:Runner-1" WRAPPER_EXTENSION = app WRAPPER_NAME = Runner.app WRAPPER_SUFFIX = .app WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode XCODE_PRODUCT_BUILD_VERSION = 11E146 XCODE_VERSION_ACTUAL = 1140 XCODE_VERSION_MAJOR = 1100 XCODE_VERSION_MINOR = 1140 XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices YACC = yacc arch = arm64 variant = normal [ +154 ms] executing: /Users/abhriyaroy/Library/Android/sdk/build-tools/29.0.3/aapt dump xmltree /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/app/outputs/apk/app.apk AndroidManifest.xml [ +22 ms] Exit code 0 from: /Users/abhriyaroy/Library/Android/sdk/build-tools/29.0.3/aapt dump xmltree /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/app/outputs/apk/app.apk AndroidManifest.xml [ ] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0") A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9") A: package="com.example.flutterapp.dev" (Raw: "com.example.flutterapp.dev") A: platformBuildVersionCode=(type 0x10)0x1c A: platformBuildVersionName=(type 0x10)0x9 E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c E: application (line=17) A: android:label(0x01010001)="flutterapp" (Raw: "flutterapp") A: android:icon(0x01010002)=@0x7f080000 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication") A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory") E: activity (line=23) A: android:theme(0x01010000)=@0x7f0a0000 A: android:name(0x01010003)="com.example.flutterapp.MainActivity" (Raw: "com.example.flutterapp.MainActivity") A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: intent-filter (line=30) E: action (line=31) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=33) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=40) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 [ +9 ms] Launching lib/main.dart on Moto G 4 in release mode... [ +8 ms] executing: /Users/abhriyaroy/Library/Android/sdk/platform-tools/adb -s ZY2238HLHP shell -x logcat -v time -t 1 [ +80 ms] Exit code 0 from: /Users/abhriyaroy/Library/Android/sdk/platform-tools/adb -s ZY2238HLHP shell -x logcat -v time -t 1 [ +1 ms] --------- beginning of main 04-07 00:13:42.120 I/MicroDetectionState(17599): Should stop hotword detection immediately - false [ +13 ms] executing: /Users/abhriyaroy/Library/Android/sdk/platform-tools/adb version [ +1 ms] executing: /Users/abhriyaroy/Library/Android/sdk/platform-tools/adb -s ZY2238HLHP logcat -v time -T 04-07 00:13:42.120 [ +22 ms] Android Debug Bridge version 1.0.41 Version 29.0.6-6198805 Installed as /Users/abhriyaroy/Library/Android/sdk/platform-tools/adb [ +5 ms] executing: /Users/abhriyaroy/Library/Android/sdk/platform-tools/adb start-server [ +15 ms] Building APK [ +30 ms] Running Gradle task 'assembleDevRelease'... [ +2 ms] gradle.properties already sets `android.enableR8` [ +6 ms] Using gradle from /Users/abhriyaroy/AndroidStudioProjects/flutter_app/android/gradlew. [ +12 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist [ +17 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist [ ] {"CFBundleName":"Android Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Contents\/lib\/jdom.jar :$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1.8+","WorkingDirectory":"$APP_PACKAGE\/Contents\/bin","Mai nClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio3.6","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.home.path":"$APP_PACKAGE\/Contents"}} ,"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-192.7142.36.36.6241897","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeName":"All documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APP L","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"3.6","NSMicrophoneUsageDescription":"An application in Android Studio requests access to the device's microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests access to the user's location information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]}],"CFBundleIdentifier":"com.google.andr oid.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFolderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network volume.","CFBundleGetInfoString":"Android Studio 3.6, build AI-192.7142.36.36.6241897. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An application in Android Studio requests access to files on a removable volume."} [ +12 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version [ +111 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version [ ] openjdk version "1.8.0_212-release" OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) OpenJDK 64-Bit Server VM (build 25.212-b4-5784211, mixed mode) [ +3 ms] executing: [/Users/abhriyaroy/AndroidStudioProjects/flutter_app/android/] /Users/abhriyaroy/AndroidStudioProjects/flutter_app/android/gradlew -Pverbose=true -Ptarget=/Users/abhriyaroy/AndroidStudioProjects/flutter_app/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-arm assembleDevRelease [+4234 ms] > Task :app:compileFlutterBuildDevRelease [ ] [ +22 ms] executing: [/Users/abhriyaroy/flutter-sdk/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ +78 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ ] f139b11009aeb8ed2a3a3aa8b0066e482709dde3 [ ] [ ] executing: [/Users/abhriyaroy/flutter-sdk/flutter/] git describe --match v*.*.* --first-parent --long --tags [ ] [ +73 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags [ ] [ ] v1.12.13+hotfix.9-0-gf139b1100 [ ] [ +12 ms] executing: [/Users/abhriyaroy/flutter-sdk/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ ] [ +24 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] [ ] origin/stable [ ] [ ] executing: [/Users/abhriyaroy/flutter-sdk/flutter/] git ls-remote --get-url origin [ ] [ +22 ms] Exit code 0 from: git ls-remote --get-url origin [ ] [ ] https://github.com/flutter/flutter.git [ ] [ +119 ms] executing: [/Users/abhriyaroy/flutter-sdk/flutter/] git rev-parse --abbrev-ref HEAD [ ] [ +27 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] [ ] stable [ ] [ +62 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ ] [ +35 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. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ +17 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] 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. [ +9 ms] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] [ +170 ms] Initializing file store [ ] [ +21 ms] Done initializing file store [+1569 ms] [+2095 ms] Skipping target: kernel_snapshot [ +199 ms] [ +154 ms] debug_android_application: Starting due to {InvalidatedReason.outputMissing} [ +400 ms] [ +394 ms] debug_android_application: Complete [ ] [ +31 ms] Persisting file store [ ] [ +19 ms] Done persisting file store [ ] [ +7 ms] build succeeded. [ +101 ms] [ +36 ms] "flutter assemble" took 3,065ms. [ ] > Task :app:packLibsflutterBuildDevRelease UP-TO-DATE [ ] > Task :app:preBuild UP-TO-DATE [ ] > Task :app:preDevReleaseBuild UP-TO-DATE [ +98 ms] > Task :app:checkDevReleaseManifest UP-TO-DATE [ ] > Task :app:generateDevReleaseBuildConfig UP-TO-DATE [ ] > Task :app:compileDevReleaseAidl NO-SOURCE [ ] > Task :app:compileDevReleaseRenderscript NO-SOURCE [ ] > Task :app:cleanMergeDevReleaseAssets [ ] > Task :app:mergeDevReleaseShaders UP-TO-DATE [ ] > Task :app:compileDevReleaseShaders UP-TO-DATE [ ] > Task :app:generateDevReleaseAssets UP-TO-DATE [ ] > Task :app:mergeDevReleaseAssets [ +396 ms] > Task :app:copyFlutterAssetsDevRelease [ ] > Task :app:mainApkListPersistenceDevRelease UP-TO-DATE [ +204 ms] > Task :app:generateDevReleaseResValues UP-TO-DATE [ ] > Task :app:generateDevReleaseResources UP-TO-DATE [ +95 ms] > Task :app:mergeDevReleaseResources UP-TO-DATE [ +501 ms] > Task :app:createDevReleaseCompatibleScreenManifests UP-TO-DATE [ ] > Task :app:processDevReleaseManifest UP-TO-DATE [ ] > Task :app:processDevReleaseResources UP-TO-DATE [ ] > Task :app:compileDevReleaseKotlin UP-TO-DATE [ ] > Task :app:javaPreCompileDevRelease UP-TO-DATE [ ] > Task :app:compileDevReleaseJavaWithJavac UP-TO-DATE [ ] > Task :app:compileDevReleaseSources UP-TO-DATE [ ] > Task :app:processDevReleaseJavaRes NO-SOURCE [ +96 ms] > Task :app:mergeDevReleaseJavaResource UP-TO-DATE [ ] > Task :app:checkDevReleaseDuplicateClasses UP-TO-DATE [ ] > Task :app:transformClassesWithDexBuilderForDevRelease UP-TO-DATE [ ] > Task :app:desugarDevReleaseFileDependencies UP-TO-DATE [ ] > Task :app:validateSigningDevRelease UP-TO-DATE [ ] > Task :app:signingConfigWriterDevRelease UP-TO-DATE [ ] > Task :app:mergeExtDexDevRelease UP-TO-DATE [ ] > Task :app:mergeDexDevRelease UP-TO-DATE [ ] > Task :app:mergeDevReleaseJniLibFolders UP-TO-DATE [ ] > Task :app:mergeDevReleaseNativeLibs UP-TO-DATE [ +97 ms] > Task :app:stripDevReleaseDebugSymbols UP-TO-DATE [ ] Compatible side by side NDK version was not found. [ ] > Task :app:packageDevRelease UP-TO-DATE [ ] > Task :app:assembleDevRelease UP-TO-DATE [ ] BUILD SUCCESSFUL in 7s [ ] 30 actionable tasks: 4 executed, 26 up-to-date [ +372 ms] Running Gradle task 'assembleDevRelease'... (completed in 8.5s) [ +20 ms] calculateSha: LocalDirectory: '/Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/app/outputs/apk'/app.apk [ +24 ms] calculateSha: reading file took 23us [ +292 ms] calculateSha: computing sha took 292us [ +5 ms] ✓ Built build/app/outputs/apk/dev/release/app-dev-release.apk (15.5MB). [ +4 ms] executing: /Users/abhriyaroy/Library/Android/sdk/build-tools/29.0.3/aapt dump xmltree /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/app/outputs/apk/app.apk AndroidManifest.xml [ +14 ms] Exit code 0 from: /Users/abhriyaroy/Library/Android/sdk/build-tools/29.0.3/aapt dump xmltree /Users/abhriyaroy/AndroidStudioProjects/flutter_app/build/app/outputs/apk/app.apk AndroidManifest.xml [ +1 ms] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0") A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9") A: package="com.example.flutterapp.dev" (Raw: "com.example.flutterapp.dev") A: platformBuildVersionCode=(type 0x10)0x1c A: platformBuildVersionName=(type 0x10)0x9 E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c E: application (line=17) A: android:label(0x01010001)="flutterapp" (Raw: "flutterapp") A: android:icon(0x01010002)=@0x7f080000 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication") A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory") E: activity (line=23) A: android:theme(0x01010000)=@0x7f0a0000 A: android:name(0x01010003)="com.example.flutterapp.MainActivity" (Raw: "com.example.flutterapp.MainActivity") A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: intent-filter (line=30) E: action (line=31) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=33) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=40) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 [ +3 ms] Stopping app 'app.apk' on Moto G 4. [ +2 ms] executing: /Users/abhriyaroy/Library/Android/sdk/platform-tools/adb -s ZY2238HLHP shell am force-stop com.example.flutterapp.dev [ +926 ms] executing: /Users/abhriyaroy/Library/Android/sdk/platform-tools/adb -s ZY2238HLHP shell pm list packages com.example.flutterapp.dev [ +967 ms] package:com.example.flutterapp.dev [ +6 ms] executing: /Users/abhriyaroy/Library/Android/sdk/platform-tools/adb -s ZY2238HLHP shell cat /data/local/tmp/sky.com.example.flutterapp.dev.sha1 [ +44 ms] 5f82ca4d135b76507eacc0d175c6e468d37c07da [ +1 ms] Latest build already installed. [ ] Moto G 4 startApp [ +3 ms] executing: /Users/abhriyaroy/Library/Android/sdk/platform-tools/adb -s ZY2238HLHP shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true com.example.flutterapp.dev/com.example.flutterapp.MainActivity [ +930 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.flutterapp.dev/com.example.flutterapp.MainActivity (has extras) } [ +2 ms] Application running. [ +2 ms] To quit, press "q". [ +94 ms] E/flutter (11341): [ERROR:flutter/runtime/dart_vm_data.cc(18)] VM snapshot invalid and could not be inferred from settings. [ ] E/flutter (11341): [ERROR:flutter/runtime/dart_vm.cc(241)] Could not setup VM data to bootstrap the VM from. [ ] E/flutter (11341): [ERROR:flutter/runtime/dart_vm_lifecycle.cc(84)] Could not create Dart VM instance. [ ] F/flutter (11341): [FATAL:flutter/shell/common/shell.cc(234)] Check failed: vm. Must be able to initialize the VM. ``` <!-- flutter analyze --> ``` Analyzing flutter_app... No issues found! (ran in 2.3s) ``` <!-- Finally, paste the output of running `flutter doctor -v` here. --> ``` [✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Mac OS X 10.15.4 19E266, locale en-IN) • Flutter version 1.12.13+hotfix.9 at /Users/abhriyaroy/flutter-sdk/flutter • Framework revision f139b11009 (7 days ago), 2020-03-30 13:57:30 -0700 • Engine revision af51afceb8 • Dart version 2.7.2 [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3) • Android SDK at /Users/abhriyaroy/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-29, build-tools 29.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.4, Build version 11E146 • CocoaPods version 1.9.1 [✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 45.0.1 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) ``` </details> However, I noticed that when I set debuggable in the release variant to false by `debuggable: false` instead of `debuggable:true` in the `android/app/build.gradle` file, the app works smoothly. However, it should work with debuggable set to true as well since otherwise, it would be very difficult to debug production issues or to print any form of logs.
platform-android,tool,t: gradle,a: release,has reproducible steps,P3,team-android,triaged-android,found in release: 3.19,found in release: 3.20
medium
Critical
595,356,899
vscode
Trim Final Newlines integrates poorly with EditorConfig for Windows files
Overall VSCode does a decent job integrating with EditorConfig. Including the Trim Final Newlines setting once enabled. However, where final EOLs are disabled (such as for .AHK and other Windows-centric files), then Trim Final Newlines fails to delete final EOLs. How can we make sure that VSCode respects more EditorConfig configurations? In particular: * Binary files should be ignored/preserved as-is. * .PATCH files should be ignored/preserved as-is. * Text files with contents consisting of exactly one EOL (CRLF, LF, or CR) should be ignored/preserved as-is. * .CS, .FS, .FSX, .VBS, .BAT, .COM, .PS1, .AHK, and other Windows-centric files should have zero trailing EOLs at the end of the buffer. * All other files should have exactly one (LF) EOL at the end of the buffer. VSCode 1.43.2 Windows 10
feature-request,editor-core
medium
Major
595,359,072
flutter
Various flutter tool commands neglect to document positional arguments
A number of `flutter` tool commands neglect to document positional arguments. For example: ```$ flutter help version List or switch flutter versions. Usage: flutter version [arguments] -h, --help Print this usage information. -f, --[no-]force Force switch to older Flutter versions that do not include a version command Run "flutter help" to see global options. ``` It just lists `[arguments]` without specifying what they are. One can deduce that you can pass a version number, but does it require a `v` prefix? `[arguments]` also implies that there can be more than one. Contrast to `flutter help channel` which instead specifies `Usage: flutter channel [<channel-name>]`. `flutter install` also neglects to document positional arguments. The help for any of the `flutter build` subcommands also neglect to mention positional arguments, but it seems like they accept filenames. Without looking at the code, I don't know what happens or what's intended to happen. I'm sure there are others, but it's hard to tell which commands expect positional arguments.
tool,d: api docs,has reproducible steps,P3,team-tool,triaged-tool,found in release: 3.19,found in release: 3.20
low
Minor
595,378,768
pytorch
[quantization] torch.quantized_lstm and torch.quantized_gru not documented
These functions don't seem to have docstrings associated with them. I noticed this after moving them to c10 dispatch and aliasing the names in the `torch` namespace to those. Currently added to the whitelist in `test_docs_coverage.py` cc @svekars @carljparker @jerryzh168 @jianyuh @raghuramank100 @vkuzo @jgong5 @Xia-Weiwen @leslie-fang-intel @dzhulgakov @jamesr66a
module: docs,oncall: quantization,low priority,triaged
low
Minor
595,392,681
godot
SetCell and atlas not work
**Godot version:** 3.2.1 mono 64 **OS/device including version:** win10 64 **Issue description:** A tile that is part of an atlas cannot be referenced with SetCell. For example, you cannot use SetCell with a tile that is part of an atlas, you cannot refer to a tile that is part of an atlas. **Steps to reproduce:** Build an atlas with some tiles. Try using SetCell and print some of those tiles on the screen. You will not be able to because there is no way to reference the tiles in an atlas. **Minimal reproduction project:** [testAtlas.zip](https://github.com/godotengine/godot/files/4440560/testAtlas.zip)
documentation
low
Minor
595,393,295
flutter
Add `-Werror=undeclared-selector` to engine builds
This seems to be on for g3 builds but not local builds/ See also: https://github.com/flutter/engine/pull/17535
engine,c: proposal,P3,team-engine,triaged-engine
low
Critical
595,398,156
flutter
iOS: Add `-Werror=overriding-method-mismatch` to engine builds
This should be a pretty benign warning to follow. I ran into one place where we were violating it.
engine,c: proposal,P3,team-engine,triaged-engine
low
Critical
595,412,372
opencv
matchShapes turns large mismatches into perfect matches
https://github.com/opencv/opencv/blob/master/modules/imgproc/src/matchcontours.cpp An issue was described in StackOverflow with OpenCV matchShapes not well matching a given (supposedly unknown) shape to a shape in a set of known, predefined shapes (various computer related device connecting plugs). https://stackoverflow.com/questions/55529371/opencv-shape-matching-between-two-similar-shapes/ It was obvious what shape the test "unknown" was supposed to match but matchShapes wasn't reporting the right answer. There were helpful hints given for matching shapes but I thought macthShapes should have done this particular matching without having to force substantial preprocessing. The HuMoments are intended to remove scale differences but matchShapes wasn't picking that up. I coded a Java translation of matchShapes and changed the "eps" variable to a much smaller number (1.e-20 is plenty small enough for these data). matchShapes works correctly with a smaller "eps." I could not find the basis for the current value of 1.e-5 and it apparently is intended to protect the Log10 from a 0 argument and ignore too big of discrepancies. Unfortunately the true large discrepancy then appears as a perfect match resulting in incorrect matching. If this were my code with limited distribution, I'd fix the eps with value no more than 1.e-20. There is a chance there is usage somewhere that is now relying on the inappropriate value of eps. So what to do? If it is your policy not to make such corrections and you can't correct eps now, then please at least document the restriction and ramification of the too small value wherever matchShapes is referenced. Another possibility is to add eps to the parameter list and make it the default of 1.e-5. I use Java and I'm not sure how that would flow through to my usage but I am hopeful you could take care of the problem that way. The other method of correction is to make the eps a parameter with a default small value say 1.e-20 on a new method called matchShapes2.
feature,category: imgproc,Hackathon
low
Major
595,422,984
pytorch
In AutogradContext, get_saved_variables() should be renamed to get_saved_tensors()
This is to better match the Python API `ctx.saved_tensors`. I believe we originally named it `get_saved_variables()` because there was still a Tensor vs. Variable distinction at that time. Now that Tensor and Variable are the same, we can deprecate `get_saved_variables()` and replace it with `get_saved_tensors()`. cc @yf225
module: cpp,triaged
low
Minor
595,441,357
PowerToys
[FZ Editor] GridResizer is not centrally aligned
# Steps to reproduce Use the FancyZones grid editor. # Expected behavior The GridResizer thumbs should be horizontally and vertically aligned with the zone. # Actual behavior The GridResizers are added, but should have a negative Left (horizontal) or Top (vertical) margin so they are in the center of the zone. This results in a bad visual representation where the zone label and GridResizer are not aligned. # Screenshots <img width="846" alt="Annotation 2020-04-06 232708" src="https://user-images.githubusercontent.com/9866362/78607083-acd32880-785e-11ea-97eb-e822c781c511.png">
Good first issue,FancyZones-Editor,Product-FancyZones,Area-Quality,Priority-3
low
Major
595,461,721
flutter
Target debug_universal_framework failed: Exception: Unsupported iOS arch name "i386" build failed
I tried running on a iPhone 5 iOS 10.3 simulator in Xcode, and `debug_universal_framework` fails. Note the `-dIosArchs=i386`: ``` Showing Recent Messages ... Showing Recent Messages ♦ /Users/m/Projects/flutter/bin/flutter --verbose assemble --output=/Users/m/Projects/test_create/ios/Flutter/ -dTargetPlatform=ios -dTargetFile=/Users/m/Projects/test_create/lib/main.dart -dBuildMode=debug -dIosArchs=i386 -dSplitDebugInfo= -dTreeShakeIcons=false -dTrackWidgetCreation=true -dDartObfuscation=false -dEnableBitcode= -dDartDefines= -dExtraFrontEndOptions= debug_ios_bundle_flutter_assets [+1570 ms] debug_universal_framework: Starting due to {InvalidatedReason.inputChanged} ... [ +6 ms] Target debug_universal_framework failed: Exception: Unsupported iOS arch name "i386" build failed. #0 throwToolExit (package:flutter_tools/src/base/common.dart:14:3) #1 AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:197:7) ``` ``` $ flutter doctor -v [✓] Flutter (Channel unknown, v1.18.1-pre.14, on Mac OS X 10.15.4 19E266, locale en-US) • Flutter version 1.18.1-pre.14 at /Users/m/Projects/flutter • Framework revision 0a8b590943 (18 minutes ago), 2020-04-06 14:54:52 -0700 • Engine revision 9b8dcc7ecf • Dart version 2.8.0 (build 2.8.0-dev.20.0 05103dfe5a) [✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3) • Android SDK at /Users/m/Library/Android/sdk • Platform android-28, build-tools 28.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.4) • Xcode at /Users/m/Applications/Xcode-11-4.app/Contents/Developer • Xcode 11.4, Build version 11E146 • CocoaPods version 1.9.0 [✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 44.0.2 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [✓] IntelliJ IDEA Community Edition (version 2019.2.4) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 41.1.3 • Dart plugin version 192.7402 [✓] VS Code (version 1.43.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.6.0 [✓] Connected device (2 available) • iPhone 8 Plus • D919CFD4-7DB9-4CE3-B3A1-8A56B33E9901 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-4 (simulator) • iPhone 5 10_3 • C9076A75-FF73-408F-850B-8034CB75CA03 • ios • com.apple.CoreSimulator.SimRuntime.iOS-10-3 (simulator) ```
platform-ios,tool,P3,team-ios,triaged-ios
low
Critical
595,465,417
godot
Consider always saving the rendering API name
If you set a project to use GLES 2, this is saved in the `project.godot` file: ``` [rendering] quality/driver/driver_name="GLES2" ``` However, this string is not saved with a GLES 3 project in Godot 3.2, or in a Vulkan project in the current master. I think it would make sense for this string to always be saved. This would help with #31171, since we could use this information to show warnings in the project manager if the project is using an unsupported API, such as if the list of rendering APIs in Godot changes in the future (ex: Opening a 3.2 GLES 3 project in Godot 4.0), or if compiling for a platform without specific APIs (ex: We'd want to show warnings for Vulkan projects if you tried to open them on a possible future ~~Raspberry Pi~~ *uh, non-Vulkan* version of Godot).
enhancement,discussion,topic:editor
low
Major
595,473,416
pytorch
Allow grid_sample to accept pixel units (absolute coordinates)
_This issue is expanded from #24870 for reference and for additional discussions on implementation details. See that issue for context._ Add an option for the grid/flow input to `grid_sample` to be expressed in pixel units (absolute coordinates). This is much more natural for some applications, including image registration, where the grid-like input is actually a displacement field, and this eliminates the need for the user to convert to normalized [-1,1] coordinates, which is prone to user error, (especially when users don’t know which setting of `align_corners` to target). This, along with #36108, would help simplify the implementation of convolutional networks to do Optical Flow Estimation and Image Registration tasks. cc @fmassa
proposal accepted,module: nn,triaged,module: vision
low
Critical
595,474,254
pytorch
Add a flow_sample function to sample optical flows and displacement fields
_This issue is expanded from #24870 for reference and for additional discussions on implementation details. See that issue for context._ Add a function `flow_sample` to `torch.nn.functional` which mimicks `grid_sample`, but for sampling using only the residual displacement/flow. This eliminates the need to constantly add an identity grid to the flow/displacement field, which is imprecise, slow, and very [prone to user error](https://discuss.pytorch.org/t/warp-video-frame-from-optical-flow/6013). The function signatures for both `flow_sample` and `grid_sample` will be nearly identical, and both will dispatch to the same underlying kernel (the existing `grid_sample` kernel). This, along with #36107, would help simplify the implementation of convolutional networks to do Optical Flow Estimation and Image Registration tasks.
module: nn,triaged,enhancement
low
Critical
595,486,206
kubernetes
default storage class for RWO vs RWM
We have multiple storage classes and its always unclear what to set as default, as there can be one best default for ReadWriteOnce vs ReadWriteMany. I'd like the option to mark one storage class that is ReadWriteOnce as storageclass.kubernetes.io/is-default-class and one that is ReadWriteMany as storageclass.kubernetes.io/is-default-class and have Kubernetes pick the right default based on the users ReadWriteX request in the pvc.
sig/storage,kind/feature,needs-triage
high
Critical
595,495,748
rust
When supressing possibly-uninitialized errors, prefer showing the textually earlier error
<!-- Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug. --> I tried [this code](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=308dcd45b3f1758d4924113403202780): ```rust pub fn transliterate(mut origin: String) -> String { let counter: usize = origin.chars().count(); let mut j: usize = 0; let mut i: usize = 0; let origin_vec: Vec<char> = origin.chars().collect(); let mut origin_mutated: Vec<char>; if j <= counter { while j <= counter { match origin_vec[j] { 'А' => { origin_mutated[i] = 'A'; i += 1; j += 1; } // snip 'Я' => { origin_mutated[i] = 'Y'; i += 1; j += 1; origin_mutated[i] = 'a'; i += 1; } _ => { j += 1; } } } } else if j > counter { origin_mutated[i] = '\n'; } else { origin = origin_mutated.into_iter().collect(); } //origin = origin_mutated.into_iter().collect(); (origin) } ``` I expected to see this happen: the possibly-uninitialized error would report the textually first usage of `origin_mutated` ``` error[E0381]: borrow of possibly-uninitialized variable: `origin_mutated` --> src/lib.rs:11:21 | 11 | origin_mutated[i] = 'A'; | ^^^^^^^^^^^^^^ use of possibly-uninitialized `origin_mutated` ``` Instead, this happened: the possibly-uninitialized error reports the textually last usage of `origin_mutated` ``` error[E0381]: borrow of possibly-uninitialized variable: `origin_mutated` --> src/lib.rs:188:21 | 188 | origin_mutated[i] = 'Y'; | ^^^^^^^^^^^^^^ use of possibly-uninitialized `origin_mutated` ``` Originally reported by [L0uisc on irlo](https://internals.rust-lang.org/t/unexpected-location-for-compiler-error-reported/12100/2). @rustbot modify labels: +A-diagnostics, +D-papercut
A-diagnostics,T-compiler,C-bug,D-papercut
low
Critical
595,533,101
godot
`Directory` dir_exists` fails on exported projects on subpaths & paths with more than 2 slashes in `res`
**Godot version:** 3.2.1 **OS/device including version:** Arch Linux, up to date as of April 6th, 2020 **Issue description:** `Directory`, and `File` classes fail to find directories, or files, using `dir_exists`, `file_exists` on exported projects. **Steps to reproduce:** Create Directory object, and attempt to check whether directory/file exists, note that it shows the file/directory exists when the project is run from the editor, but shows that the file/directory does not export when project is exported, and the resulting binary is run. Note: `dir.open` does work with the same path, so it seems to be exclusive to how `dir_exists` work. **Minimal reproduction project:** [Sorry for the OneDrive link](https://1drv.ms/u/s!AlyWBEjLKwQ5hElu-2_zveAEJjdf?e=9W59nT) There are similar issues (including [26009](https://github.com/godotengine/godot/issues/26009)), but was directed to create my own, so here it is.
bug,topic:core,confirmed
low
Major
595,564,046
pytorch
build Pytorch-1.5.0-rc1 from source fail
I am trying to build pytorch 1.5.0-rc1 from source and i am seeing this error. Linking libnccl.so.2.4.8 > /sources/pytorch/build/nccl/lib/libnccl.so.2.4.8 Generating nccl.pc.in > /sources/pytorch/build/nccl/lib/pkgconfig/nccl.pc Archiving libnccl_static.a > /sources/pytorch/build/nccl/lib/libnccl_static.a /sources/pytorch/third_party/nccl/nccl/src [ 27%] No install step for 'nccl_external' [ 27%] Completed 'nccl_external' [ 27%] Built target nccl_external gmake: *** [all] Error 2 Building wheel torch-1.5.0a0+bcd3f6d -- Building version 1.5.0a0+bcd3f6d cmake -DBUILD_PYTHON=True -DBUILD_TEST=True -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/sources/pytorch/torch -DCMAKE_PREFIX_PATH=/usr/local/conda/bin/../ -DNUMPY_INCLUDE_DIR=/usr/local/conda/lib/python3.6/site-packages/numpy/core/include -DPYTHON_EXECUTABLE=/usr/local/conda/bin/python -DPYTHON_INCLUDE_DIR=/usr/local/conda/include/python3.6m -DPYTHON_LIBRARY=/usr/local/conda/lib/libpython3.6m.so.1.0 -DTORCH_BUILD_VERSION=1.5.0a0+bcd3f6d -DUSE_NUMPY=True -DUSE_SYSTEM_NCCL=0 /sources/pytorch cmake --build . --target install --config Release -- -j 48 Traceback (most recent call last): File "setup.py", line 745, in <module> build_deps() File "setup.py", line 316, in build_deps cmake=cmake) File "/sources/pytorch/tools/build_pytorch_libs.py", line 62, in build_caffe2 cmake.build(my_env) File "/sources/pytorch/tools/setup_helpers/cmake.py", line 339, in build self.run(build_args, my_env) File "/sources/pytorch/tools/setup_helpers/cmake.py", line 141, in run check_call(command, cwd=self.build_dir, env=env) File "/usr/local/conda/lib/python3.6/subprocess.py", line 311, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '48']' returned non-zero exit status 2. The command '/bin/sh -c cd /sources && git clone --recursive --branch v1.5.0-rc1 --single-branch --depth 1 https://github.com/pytorch/pytorch.git && cd pytorch && source scl_source enable devtoolset-4 && export TORCH_CUDA_ARCH_LIST="3.5 5.2 6.0 6.1 7.0+PTX" && export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"} && USE_SYSTEM_NCCL=0 /usr/local/conda/bin/python setup.py bdist_wheel -d /tmp/pytorch_pkg && pip3 install -i https://pypi.sankuai.com/simple /tmp/pytorch_pkg/*.whl && rm -rf /sources/pytorch && rm -rf /tmp/pytorch_pkg && rm -rf /root/.cache/pip' returned a non-zero code: 1 The full log is in this link: https://gist.github.com/522730312/1976c4793b83446f60a14eb9960cd7ac
module: build,triaged
low
Critical
595,591,210
TypeScript
tsserver protocol is missing notification message type. (maybe?)
While implementing a tsserver client, I found out not all request messages will reply with a response. For example, the open request extends the `Request` interface. But it really notifies (as the documentation implies). This was a bit confusing for me, because I understood that if I send an open request, I must wait for the response... but it never came. https://github.com/microsoft/TypeScript/blob/a2609b1f1b58f9b6ef62cb3b6ff47efb35059eee/lib/protocol.d.ts#L1113-L1124 I understand that the interface documentation says the server will not send a response. I didn't read the full command documentation until now. But maybe the documentation could be a bit more explicit about a kind of message where a response is not expected, for certain commands (maybe notify?).
Needs Investigation
low
Minor
595,658,099
go
os: permit Rename to read-only file on Windows
On Windows 10, in Go 1.13, it used to be possible to rename over a read only file (like it is in Unix). In Go 1.14 it is not. I'm not seeing anything specific about this in the release notes, was this an intentional change? ``` func TestRenameRO(t *testing.T) { os.Remove("a") os.Remove("b") defer os.Remove("a") defer os.Remove("b") if err := ioutil.WriteFile("a", []byte("some data"), 0644); err != nil { // rw t.Fatal(err) } if err := ioutil.WriteFile("b", []byte("some data"), 0444); err != nil { // ro t.Fatal(err) } if err := os.Rename("a", "b"); err != nil { t.Error(err) } } ``` ``` PS C:\Users\JakobBorg\dev\test> go1.13.9 test PASS ok _/C_/Users/JakobBorg/dev/test 0.048s PS C:\Users\JakobBorg\dev\test> go1.14.1 test --- FAIL: TestRenameRO (0.01s) rename_test.go:22: rename a b: Access is denied. FAIL exit status 1 FAIL _/C_/Users/JakobBorg/dev/test 0.046s PS C:\Users\JakobBorg\dev\test> ```
OS-Windows,NeedsInvestigation
low
Critical
595,694,441
opencv
Crash due to negative focal length in bundle adjustment
##### System information (version) - OpenCV => 4.2 ##### Detailed description I'm working with the stitching pipeline and sometimes happen that it crashes during the bundle adjustment process. I found out that is an [old issue](https://github.com/opencv/opencv/issues/4322) but no one is assigned to resolve it. In the `BundleAdjusterRay::calcError(Mat &err)` function sometimes the focal lengths `f1` or `f2` become negative so `mult = sqrt(f1 * f2)` is `NaN` and it makes the program crash in a further call of SVD to a `NaN` matrix. https://github.com/opencv/opencv/blob/cf2a3c8e7430cc92569dd7f114609f9377b12d9e/modules/stitching/src/motion_estimators.cpp#L553-L563 ##### Steps to reproduce I managed to reproduce this bug with the [stitching_detailed sample](https://github.com/opencv/opencv/blob/master/samples/cpp/stitching_detailed.cpp ) with the attached images. Negative focal length occurs when the `edge` processed has fields `first = 0` and `second = 2`. [crash.zip](https://github.com/opencv/opencv/files/4442933/crash.zip) ##### Issue submission checklist - [x] I report the issue, it's not a question <!-- OpenCV team works with answers.opencv.org, Stack Overflow and other communities to discuss problems. Tickets with question without real issue statement will be closed. --> - [x] I checked the problem with documentation, FAQ, open issues, answers.opencv.org, Stack Overflow, etc and have not found solution <!-- Places to check: * OpenCV documentation: https://docs.opencv.org * FAQ page: https://github.com/opencv/opencv/wiki/FAQ * OpenCV forum: https://answers.opencv.org * OpenCV issue tracker: https://github.com/opencv/opencv/issues?q=is%3Aissue * Stack Overflow branch: https://stackoverflow.com/questions/tagged/opencv --> - [x] I updated to latest OpenCV version and the issue is still there <!-- master branch for OpenCV 4.x and 3.4 branch for OpenCV 3.x releases. OpenCV team supports only latest release for each branch. The ticket is closed, if the problem is not reproduced with modern version. --> - [x] There is reproducer code and related data files: videos, images, onnx, etc <!-- The best reproducer -- test case for OpenCV that we can add to the library. Recommendations for media files and binary files: * Try to reproduce the issue with images and videos in opencv_extra repository to reduce attachment size * Use PNG for images, if you report some CV related bug, but not image reader issue * Attach the image as archite to the ticket, if you report some reader issue. Image hosting services compress images and it breaks the repro code. * Provide ONNX file for some public model or ONNX file with with random weights, if you report ONNX parsing or handling issue. Architecture details diagram from netron tool can be very useful too. See https://lutzroeder.github.io/netron/ -->
bug,category: stitching,needs investigation
low
Critical
595,733,662
material-ui
[core] The hidden prop does not always visually hide elements
Im using the `hidden` prop of `Container` to show only the current Tab and to hide the rest (copied from the Tabs example) was working fine until i upgraded to version 4.9.9 from version 4.9.1 (could be higher version but i think 4.9.1) - [x] The issue is present in the latest release. - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Current Behavior 😯 <!-- Describe what happens instead of the expected behavior. --> `<Container hidden={tabIndex != 1}> </Container>` The Container is not hidden even though tabIndex = 1 ## Expected Behavior 🤔 Container should not be visible ## Steps to Reproduce 🕹 `<Container hidden={tabIndex != 1}>sdfsdfsdfds</Container>` https://codesandbox.io/s/empty-browser-n8fwh?fontsize=14&hidenavigation=1&theme=dark * Works on 4.9.1 * Steps: 1. upgrade to version 4.9.9 2. use a Container with hidden prop as True | Tech | Version | | ----------- | ------- | | Material-UI | v4.9.9 | | React | v16.12.0 | | Chrome | |
bug 🐛
medium
Major
595,739,130
rust
Misleading error message talks about return value of closure when the issue is about Fn vs FnOnce
In this code: ```rust pub struct Shared {} pub trait State { fn new(shared: Rc<RefCell<Shared>>) -> Self where Self: Sized; } pub struct StateManager { factories: HashMap<String, Box<dyn Fn() -> Box<dyn State>>>, shared: Rc<RefCell<Shared>> } impl StateManager { pub fn new() -> Self { Self { factories: HashMap::new(), shared: Rc::new(RefCell::new(Shared {})) } } pub fn register_state<S: State + 'static>(&mut self, name: String) { let shared = self.shared.clone(); self.factories.insert(name, Box::new(move || { // uncomment this to make it compile: // let shared = shared.clone(); Box::new(S::new(shared)) as Box<dyn State> }) as Box<dyn Fn() -> Box<dyn State>>); } } ``` [playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=9efce4d01d986d3decac7f581d5be7fc) I expected to see this happen: An error that explains that the closure is `FnOnce` due to giving `shared` away. Instead, this happened: An error that says the closure is not `dyn Fn()`, which appears to be talking about its return value. Note in particular the `help` note about wrapping it in a closure with no arguments. The error is: ``` error[E0277]: expected a `std::ops::Fn<()>` closure, found `[closure@src/lib.rs:25:46: 29:10 shared:std::rc::Rc<std::cell::RefCell<Shared>>]` --> src/lib.rs:25:37 | 25 | self.factories.insert(name, Box::new(move || { | _____________________________________^ 26 | | // uncomment this to make it compile: 27 | | // let shared = shared.clone(); 28 | | Box::new(S::new(shared)) as Box<dyn State> 29 | | }) as Box<dyn Fn() -> Box<dyn State>>); | |__________^ expected an `Fn<()>` closure, found `[closure@src/lib.rs:25:46: 29:10 shared:std::rc::Rc<std::cell::RefCell<Shared>>]` | = help: the trait `std::ops::Fn<()>` is not implemented for `[closure@src/lib.rs:25:46: 29:10 shared:std::rc::Rc<std::cell::RefCell<Shared>>]` = note: wrap the `[closure@src/lib.rs:25:46: 29:10 shared:std::rc::Rc<std::cell::RefCell<Shared>>]` in a closure with no arguments: `|| { /* code */ } = note: required for the cast to the object type `dyn std::ops::Fn() -> std::boxed::Box<dyn State>` ``` By moving things around a little bit, you get the expected error message: ```rust pub fn register_state<S: State + 'static>(&mut self, name: String) { let shared = self.shared.clone(); let closure: Box<dyn Fn() -> Box<dyn State>> = Box::new(move || { // uncomment this to make it compile: // let shared = shared.clone(); Box::new(S::new(shared)) as Box<dyn State> }); self.factories.insert(name, closure); } ``` [playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=c472f559ddb95739f3dfa95f9c74de9a) ``` error[E0507]: cannot move out of `shared`, a captured variable in an `Fn` closure --> src/lib.rs:29:29 | 24 | let shared = self.shared.clone(); | ------ captured outer variable ... 29 | Box::new(S::new(shared)) as Box<dyn State> | ^^^^^^ move occurs because `shared` has type `std::rc::Rc<std::cell::RefCell<Shared>>`, which does not implement the `Copy` trait ```
A-diagnostics,A-closures,T-compiler,D-confusing,D-terse
low
Critical
595,773,567
godot
2D CanvasModulate happens before light is applied, making light reset modulation
Godot version: 3.2.1 stable Issue description: When Canvas Modulate is applied to scene, but Light2D is also used in scene in "Mask" mode (To apply transparency to show player when he's behind some objects), modulation of sprite is reset when it gets in Light texture range. Minimal reproduction project: [CanvasModulateBug.zip](https://github.com/godotengine/godot/files/4443722/CanvasModulateBug.zip)
bug,topic:rendering,confirmed,topic:2d
low
Critical
595,859,487
TypeScript
Cannot assign to ... because it is a read-only property when using type guard in ctor
A common pattern is declaring narrower types for members in derived classes. However, when combined with type guards, assignement to readonly members fails with an unexpected "Cannot assign to ... because it is a read-only property" error. **TypeScript Version:** 3.7.2 **Search Terms:** class member read-only property type narrowing covariant type guard **Code** ```ts class Foo { public readonly x: string | number; constructor() { if (isBar(this)) // error TS2540: Cannot assign to 'x' because it is a read-only property. this.x = 'string'; else // no error here this.x = 123; } } class Bar extends Foo { // Declare narrower type for member in derived class public readonly x: string; } function isBar(foo: Foo): foo is Bar { return foo instanceof Bar; } ``` **Expected behavior:** Assignment to this.x should be allowed with or without type guard in the constructor **Actual behavior:** error TS2540: Cannot assign to 'x' because it is a read-only property. **Playground Link:** https://www.typescriptlang.org/play/?ssl=2&ssc=1&pln=22&pc=1#code/FAYwNghgzlAEBiB7RsDexadgBwK4CMwBLEWAJwFMIATRAOzAE9YAPALligBcyi6BzWAB9YdXAFt8FMgG5gGLCHrcyuEF0RkAFAEo0CrFiIAzWFqJQAQhG1cAFhZ06Dh1wHo3saWU2wAKgDKAEwArAAsAAwcAMIQdHSIXLDQUET8dLAasADkLNmwUiAQuFAUsERJFsnkVNQAtPRMOD7Y0lyMAHQurlj2Fh0ssAC8sACMQQDMcj2YFGCl3TMeoijevnbSFIs9fVADw2OT01gAvsBnoJAwsNZkXixcFHTUcEgo6IZ4hCQ1NI3M7E4PD4-DkF2MuDo6iI9HKVhsWmMyA4bx0HCRKCqt30hkoXFwZAyGPKdG4cRAFEQpluYOAQA **Related Issues:** It is as if the type guard creates an invisible alias (cf https://github.com/microsoft/TypeScript/issues/14241), and asignment inside the type guard fails.
Bug,Help Wanted,PursuitFellowship
low
Critical
595,887,627
vscode
Scrollbar doens't respond to touch screen dragging
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ --> <!-- Use Help > Report Issue to prefill these. --> - VSCode Version: Version: 1.43.2 (system setup) Commit: 0ba0ca52957102ca3527cf479571617f0de6ed50 Date: 2020-03-24T07:36:51.261Z Electron: 7.1.11 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Windows_NT ia32 10.0.18363 Steps to Reproduce: 1. Touch and drag the scrollbar in the code editor 2. Nothing happens <!-- Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: Yes
feature-request,windows,editor-scrollbar
low
Critical
595,911,133
pytorch
Inconsistent ProcessGroupMPI work data structure for send/recv and collectives
In the current `ProcessGroupMPI` implementation, `send`/`recv`/`recvAnySource` returns a `shared_ptr` of `AsyncWork` to the application, which is the only reference to the `AsyncWork` data object. Hence, its lifetime of the `AsyncWork` item is dictated by the application. However, the `AsyncWork` contains the input tensor of the operation. If not deleted in time, it would unnecessarily consume memory even after the communication is done. This behavior is different from other collective communication APIs where a different `WorkEntry` object is added into a queue, and there is a separate thread processing works from the queue, meaning that the lifetime of the input tensors are controlled by ProcessGroupMPI itself. If there is no reason to keep these two implementations inconsistent, it would be better to consolidate them to have the same behavior. cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @xush6528 @osalpekar @VitalyFedyunin @ngimel
module: performance,oncall: distributed,triaged,better-engineering
low
Minor
595,919,500
youtube-dl
Request for iQiyi/us/play
- [ ] I'm reporting a new site support request - [X] I've verified that I'm running youtube-dl version **2020.03.24** - [X] I've checked that all provided URLs are alive and playable in a browser - [X] I've checked that none of provided URLs violate any copyrights - [X] I've searched the bugtracker for similar site support requests including closed ones ## Example URLs https://www.iqiyi.com/us/play/19rwtrqwgg https://www.iqiyi.com/us/play/19rwtrp7ik ## Description This is the only way that iQiyi posts its English subbed videos. I thought youtube-dl would support this since it says it supports iQiyi, but it doesn't. Please fix this soon! :)
site-support-request
low
Critical
595,950,331
flutter
Allow Hero widgets to have transitions within the same screen
## Use case If i have a design similar to the gif below - ![20200405_225909](https://user-images.githubusercontent.com/38868279/78686790-17dd3780-7911-11ea-9f44-f661626ce96d.gif) and I want to avoid using another page, I will be unable to implement it since Hero widget does not seem to have the functionality to work on the same page. I have tried to search for a similar package which would hopefully work as intended as per my case but there does not seem to be a lot of them. ## Proposal Allow Hero widgets to work on the same page without having to navigate to another page.
c: new feature,framework,a: animation,customer: crowd,c: proposal,P2,team-framework,triaged-framework
low
Critical
595,972,272
go
cmd/compile: anonymous structs consume space in binary
Anonymous structs can take quite a significant amount of space in the compiled binary. Since anonymous structs do not have a proper name hence the full anonymous struct description used as the name. As a quick experiment, by replacing some anonymous structs in Go compiler with a named type the compiler shrunk 14KB and the gofmt shrunk by 10KB. As an extreme example: by changing: https://github.com/golang/go/blob/553a8626ba04981d362ee5937583d2592b305eae/src/runtime/mgc.go#L945 to a named type, the compiler binary shrunk ~5KB. ```diff diff --git a/src/runtime/mgc.go b/src/runtime/mgc.go index 7a8ab5314f..94693e5e87 100644 --- a/src/runtime/mgc.go +++ b/src/runtime/mgc.go @@ -945 +945,4 @@ const gcOverAssistWork = 64 << 10 -var work struct { +var work _work + +//go:notinheap +type _work struct { ``` Related issues #6853, #36313 ### Go Version <pre> $ go version go version devel +74d6de03fd Mon Apr 6 18:06:41 2020 +0000 windows/amd64 </pre>
NeedsInvestigation,binary-size,compiler/runtime
low
Major
595,979,314
neovim
Moving through files with long lines cause neovim to pause for a long time
- `nvim --version`: `NVIM v0.4.3` - `vim -u DEFAULTS` (version: 8.0) behaves differently? Yes it does not pause when moving through files with long lines. - Operating system/version:`Linux 5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64` - Terminal name/version: `Gnome terminal 3.28.2` - `$TERM`: `xterm-256color` ### Steps to reproduce using `nvim -u NORC` Open https://raw.githubusercontent.com/ethereum/go-ethereum/b0ed083ead2d58cc25754eacdb48046eb2bc81cb/core/genesis_alloc.go and move the cursor down with 'j'. ### Actual behaviour When the cursor gets to the line starting `const mainnetAllocData` notice that nvim freezes for about 30 seconds before displaying the message. `'redrawtime' exceeded, syntax highlighting disabled` After which the cursor becomes responsive. ### Expected behaviour I would expect behaviour to match that of vim. Which is no long pauses when navigating long lines, and not having syntax highlighting disabled due to redrawtime being exceeded.
bug
low
Minor
596,002,706
godot
CONNECT_ONESHOT only disconnects after idle frame
**Godot version:** 3.2.1 **OS/device including version:** Windows 10 **Issue description:** one_shot signal don't actually disconnect after emission. This leads to cases were the signal does not want to connect, but disconnects automatically AFTER the function/method call which is unwanted behaviour in my opinion. ``` E 0:00:01.887 connect: Signal 'pressed' is already connected to given method '_on_button_pressed' in that object. <C++ Error> Method failed. Returning: ERR_INVALID_PARAMETER <C++ Source> core/object.cpp:1464 @ connect() <Stack Trace> Control.gd:8 @ _on_button_pressed() ``` **Minimal reproduction project:** Following code demonstrates the issue: ```gdscript extends Control func _ready(): $VBoxContainer/Button.connect("pressed", self, "_on_button_pressed", [], CONNECT_ONESHOT) func _on_button_pressed(): print("I WAS PRESSED!") $VBoxContainer/Button.connect("pressed", self, "_on_button_pressed", [], CONNECT_ONESHOT) ``` This minimal reproduction project might be a strange use of signal connection, but the actual use-case is too complex to demonstrate here. Is this behaviour intended?
discussion,topic:core,documentation
low
Critical
596,005,533
flutter
DropdownMenuItem is still inside the widget tree even when the DropdownButton has not been tapped yet
https://b.corp.google.com/issues/153422899, which has a minimal reproducible case.
framework,f: material design,customer: money (g3),P2,team-design,triaged-design
low
Major
596,038,033
pytorch
Seg Fault: import vaex with torch
## 🐛 Bug We are experiencing a seg fault issue when importing the vaex package when torch is installed. ## To Reproduce Steps to reproduce the behavior: Dockerfile used `FROM nvidia/cuda:9.2-base RUN apt-get update RUN apt-get install -y software-properties-common RUN add-apt-repository -y ppa:deadsnakes/ppa RUN apt-get update && \ apt-get install -y \ tree \ unzip \ wget \ curl \ sudo RUN apt-get install -y \ python3.7 \ python3.7-dev \ python3-pip RUN apt-get install -y libpcre3-dev build-essential RUN python3.7 -m pip install vaex \ torch==1.4.0+cu92 torchvision==0.5.0+cu92 -f https://download.pytorch.org/whl/torch_stable.html` `root@c27474117131:/# python3.7 Python 3.7.7 (default, Mar 10 2020, 17:25:08) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import torch >>> import vaex Segmentation fault ` Error Log `root@a30a347a9c71:/# python3.7 -q -X faulthandler >>> import torch >>> import vaex Fatal Python error: Segmentation fault Current thread 0x00007f520a7b3700 (most recent call first): File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external>", line 1043 in create_module File "<frozen importlib._bootstrap>", line 583 in module_from_spec File "<frozen importlib._bootstrap>", line 670 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/usr/local/lib/python3.7/dist-packages/vaex/strings.py", line 7 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external>", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/usr/local/lib/python3.7/dist-packages/vaex/column.py", line 9 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external>", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/usr/local/lib/python3.7/dist-packages/vaex/utils.py", line 24 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external>", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/usr/local/lib/python3.7/dist-packages/vaex/dataframe.py", line 17 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external>", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/usr/local/lib/python3.7/dist-packages/vaex/__init__.py", line 39 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external>", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "<stdin>", line 1 in <module> Segmentation fault root@a30a347a9c71:/#` Expected Behavior No seg fault ## Environment root@c27474117131:/# python3.7 collect_env.py Collecting environment information... PyTorch version: 1.4.0+cu92 Is debug build: No CUDA used to build PyTorch: 9.2 OS: Ubuntu 16.04.6 LTS GCC version: (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 CMake version: Could not collect Python version: 3.7 Is CUDA available: No CUDA runtime version: No CUDA GPU models and configuration: No CUDA Nvidia driver version: No CUDA cuDNN version: No CUDA Versions of relevant libraries: [pip] Could not collect [conda] Could not collect root@c27474117131:/# ## Additional context Conda is not an option right now, we prefer to stick with pip. Since there is a lot of code working with pip. Created an Issue on the vaex github repo. They suggested contacting the torch developers. https://github.com/vaexio/vaex/issues/606 cc @ezyang @seemethere
module: binaries,module: crash,triaged
low
Critical
596,043,079
electron
Dialogs aren't centered to the window when calling showMessageBox(win, ...)
### Preflight Checklist * [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project. * [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to. * [x] I have searched the issue tracker for an issue that matches the one I want to file, without success. ### Issue Details * **Electron Version:** 8.2.0 * **Operating System:** Windows 10 (version 1709) * **Last Known Working Electron version:** not sure ### Expected Behavior I expect that opening a dialog via `dialog.showMessageBox(...)` and passing in a window as the first argument will create a dialog that's centered to the window. ### Actual Behavior The dialog is centered to the screen. ### To Reproduce Run the app below and observe that the dialog isn't centered to the window. ``` const { app, BrowserWindow, dialog } = require('electron') async function createWindow() { const mainWindow = new BrowserWindow({ x: 1000, y: 1000 }); await mainWindow.loadURL("https://google.com"); dialog.showMessageBox(mainWindow, { message: "message" }); } app.on('ready', createWindow) ``` It's not clear whether this is a bug or a feature request. A similar issue [here](https://github.com/electron/electron/issues/7324) suggests that centering to the window is the expected behavior when using `showMessageBox(win, ...)`: >If you want to center the dialog in a window, you should use showMessageBox and pass the window to it.
enhancement :sparkles:,platform/windows
low
Critical
596,043,128
kubernetes
Clean up scheduler dependencies on k8s.io/kubernetes packages
To make it easier for out-of-tree developers to import the scheduler framework, among other scheduling helpers and constants, we should explore areas that we can remove dependencies on `k8s.io/kubernetes`. Places that could be easily removed are, for example, using internal APIs where not required or importing unrelated packages for simple helpers which can be trivially implemented. This will clean up the dependency tree for importing scheduler code externally. This is related to: [Proposal to migrate scheduler code to staging](https://docs.google.com/document/d/1WO-ixERpqkCSEXEq30YtEH_z_G-BoLKeCbkRJcKq3xA/edit). While the proposal includes all scheduler code, we are only focusing on scheduler framework code. However identifying anywhere in the scheduler code that these dependencies can be cleaned up will be helpful as well. This will probably be an ongoing cleanup effort, and breaking the work into smaller PRs may actually help with review and preventing code breaking in the process. /kind cleanup /sig scheduling PRs opened so far: * https://github.com/kubernetes/kubernetes/pull/90105 `pkg/apis/core` @xiaoanyunfei * moving the default scheduler name and references to the external api * ~~https://github.com/kubernetes/kubernetes/pull/90006~~ `pkg/api/core/v1/helper` @gavinfish (part 1) * copies `GetPersistentVolumeClaimClass`, which is used in several other areas around pkg/volume * replaced by https://github.com/kubernetes/kubernetes/pull/98433 * https://github.com/kubernetes/kubernetes/issues/91782 Overview issue of `pkg/api/core/v1/helper` @ingvagabund * ~~https://github.com/kubernetes/kubernetes/pull/90041 `pkg/api/testing` @tanjunchen~~ * https://github.com/kubernetes/kubernetes/pull/90039 ~~`pkg/scheduler/util`~~ `pkg/api/v1/pod` @yuzhiquan 🔹 * move `GetPodPriority` to scheduler utils * ~~https://github.com/kubernetes/kubernetes/pull/90703 `pkg/api/v1/pod` @yiyang5055 🔹~~ * https://github.com/kubernetes/kubernetes/pull/90046 `pkg/controller/volume/scheduling/metrics` @tanjunchen * copies metrics registration and definitions around volume binding * https://github.com/kubernetes/kubernetes/pull/90111 `pkg/features` @gavinfish 🔹 * held on https://github.com/kubernetes/kubernetes/issues/90136 discussion on feature gating for staging components * ~~https://github.com/kubernetes/kubernetes/pull/90000 `pkg/master/ports` @SataQiu~~ * ~~https://github.com/kubernetes/kubernetes/pull/90040~~ `pkg/util/node` @tanjunchen 🔹 * copies Node util `GetZoneKey`, which should be moved to external and imported by both * replaced by https://github.com/kubernetes/kubernetes/pull/97818 * https://github.com/kubernetes/kubernetes/pull/90008 `pkg/util/parsers` @gavinfish * removes `DefaultImageTag` (":latest") const only used by us and kubelet * https://github.com/kubernetes/kubernetes/pull/90007 `pkg/volume/util` @gavinfish * still have dependency on VolumeBinder 🔹 = Adds code to `pkg/scheduler/util`, which should be externalized
kind/cleanup,sig/scheduling
high
Critical
596,064,812
PowerToys
Tool to add / remove shortcuts from "This PC"
It would be super useful to be able to tweak File Explorer to be more useful in the scene that we have shortcuts that are relevate for me. For me personally, i don't need "3D Objects" but it would be sweet if I had my Source\Repos folder ("C:\Users\crutkas\source\repos")
Idea-New PowerToy,Product-Tweak UI Design,Product-File Explorer
low
Minor
596,072,837
flutter
[tool_crash] FileSystemException: writeFrom failed, OS Error: No space left on device, errno = 28
## Command ``` flutter packages get ``` ## Steps to Reproduce 1. ... 2. ... 3. ... ## Logs FileSystemException: writeFrom failed, OS Error: No space left on device, errno = 28 ``` #0 _RandomAccessFile.writeFrom.<anonymous closure> (dart:io/file_impl.dart:858:9) #1 _rootRunUnary (dart:async/zone.dart:1192:38) #2 _CustomZone.runUnary (dart:async/zone.dart:1085:19) #3 _FutureListener.handleValue (dart:async/future_impl.dart:141:18) #4 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45) #5 Future._propagateToListeners (dart:async/future_impl.dart:711:32) #6 Future._completeWithValue (dart:async/future_impl.dart:526:5) #7 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:556:7) #8 _rootRun (dart:async/zone.dart:1184:13) #9 _CustomZone.run (dart:async/zone.dart:1077:19) #10 _CustomZone.runGuarded (dart:async/zone.dart:979:7) #11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23) #12 _microtaskLoop (dart:async/schedule_microtask.dart:43:21) #13 _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5) #14 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13) #15 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5) ``` ``` [✓] Flutter (Channel master, v1.18.1-pre.5, on Mac OS X 10.14.5 18F2059, locale en) • Flutter version 1.18.1-pre.5 at /Users/OperationsSpecialist/desktop/flutter • Framework revision 1fa0f0d122 (7 minutes ago), 2020-04-07 11:17:41 -0700 • Engine revision 49891e0653 • Dart version 2.8.0 (build 2.8.0-dev.20.0 1210d27678) [!] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Users/OperationsSpecialist/Library/Android/sdk • Platform android-29, build-tools 29.0.2 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses [✓] Xcode - develop for iOS and macOS (Xcode 11.3.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.3.1, Build version 11C504 • CocoaPods version 1.8.4 [✓] Android Studio (version 3.5) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 44.0.1 • Dart plugin version 191.8593 • Java version 93412 [✓] VS Code (version 1.43.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.9.1 [✓] Connected device (1 available) • iPhone 11 • B3FD25C1-E657-4335-AC35-19631156A60C • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator) ! Doctor found issues in 1 category. ``` ## Flutter Application Metadata **Type**: app **Version**: 1.1.2+14 **Material**: true **Android X**: false **Module**: false **Plugin**: false **Android package**: null **iOS bundle identifier**: null **Creation channel**: stable **Creation framework version**: 9f5ff2306bb3e30b2b98eee79cd231b1336f41f4 ### Plugins camera-0.5.7+4 firebase_analytics-5.0.11 firebase_core-0.4.4+3 firebase_core_web-0.1.1+2 firebase_database-3.1.3 firebase_messaging-6.0.13 flutter_launch flutter_local_notifications-0.9.1+3 location-3.0.2 location_web-1.0.0 native_mixpanel-0.1.2 path_provider-1.6.5 path_provider_macos-0.0.4 sqflite_sqlcipher-1.0.0+5 url_launcher-5.4.2 url_launcher_macos-0.0.1+4 url_launcher_web-0.1.1+1
c: crash,tool,P2,team-tool,triaged-tool
low
Critical
596,083,071
TypeScript
Automatic Type Acquisition should give the ability to prioritize jsconfig.json types over node_modules types
<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Describe the feature you'd like. --> # Feature request Visual Studio Code should download @types/jest with this jsconfig.json configuration : ```json { "typeAcquisition": { "include": [ "jest" ] } } ``` But Automatic Type Acquisition give priority to Jest types coming from node_modules : ``` [23:20:24.533] Explicitly included types: ["jest"] [23:20:24.534] Typing names in '/data/www/jest-vscode-ata/package.json' dependencies: ["jest"] [23:20:24.578] Searching for typing names in /data/www/jest-vscode-ata/node_modules; all files: [...] [23:20:24.632] Package 'jest' provides its own types. ``` Provided Jest types seems to be useless and they are not globally available. Automatic Type Acquisition should give the ability to prioritize jsconfig.json configuration over node_modules types. # Configuration - VSCode Version: 1.43.2 - OS Version: Debian 10 / Xfce 4.12 # Demo repository - Clone Git repository with following command *git clone https://github.com/cedricmn/jest-vscode-ata.git* - Go to project folder and type *npm install* - Open index.test.js with Visual Studio Code - IntelliSense for Jest does not works # Workaround - Installing @types/jest as dev dependency fix the issue but typing should be Automatic Type Acquisition responsibility - Installing Jest globally and removing it from dev dependency fix the issue but Jest should be listed as dev dependency
Suggestion,Awaiting More Feedback
low
Minor
596,088,381
godot
Material looks metallic and pretty smooth/shiny surface with GLES2 on Android
**Godot version:** 3.2.2 df87601c88 **OS/device including version:** Linux mint 19.3 / Galaxy s8+ **Issue description:** Material looks metallic and pretty smooth with GLES2 on Android. This is how it looks on desktop ![desktop](https://user-images.githubusercontent.com/8281454/78708838-b4bdc600-794d-11ea-992b-78528632dec5.gif) This is how it looks on Android ![phone](https://user-images.githubusercontent.com/8281454/78708846-b5eef300-794d-11ea-9e66-7eb153a21a97.gif) it looks pretty metallic and smooth/shiny surface. too shiny on front side, and too dark bottom of the sphere. ![image](https://user-images.githubusercontent.com/8281454/78709254-534a2700-794e-11ea-80b4-678d010764bb.png) **Steps to reproduce:** 1. Download attached sample project 2. run on PC and Android **Minimal reproduction project:** [mat_test.zip](https://github.com/godotengine/godot/files/4446529/mat_test.zip)
bug,platform:android,topic:rendering,confirmed,topic:3d
low
Major
596,112,638
flutter
Closure serialization for web does not match expectations
(Skip Audit) It seems that closure serialization does not work the same on the web. Referring to this skip: https://github.com/flutter/flutter/blob/2ce36f6199028b54db30b518012ab14afa80d15e/packages/flutter/test/foundation/diagnostics_test.dart#L1235 <details><summary>Logs</summary> ``` 01:10 +102 ~10 -1: /tmp/flutter sdk/packages/flutter/test/foundation/diagnostics_test.dart: missing callback property test [E] Expected: 'onClick: Closure: () => void' Actual: 'onClick:\n' ' Closure: () => void from: function onClick() {\n' ' }' Which: is different. Expected: onClick: Closure: ... Actual: onClick:\n Closur ... ^ Differ at offset 8 package:dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 195:49 throw_ package:test_api expect$ package:flutter_test/src/widget_tester.dart 348:3 expect$ diagnostics_test.dart 1228:5 <fn> package:test_api <fn> package:dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 47:50 onValue package:stack_trace <fn> package:dart-sdk/lib/async/zone.dart 1192:38 _rootRunUnary package:dart-sdk/lib/async/zone.dart 1085:19 runUnary package:dart-sdk/lib/async/future_impl.dart 141:18 handleValue package:dart-sdk/lib/async/future_impl.dart 682:44 handleValueCallback package:dart-sdk/lib/async/future_impl.dart 711:32 _propagateToListeners package:dart-sdk/lib/async/future_impl.dart 391:9 <fn> package:stack_trace <fn> package:dart-sdk/lib/async/zone.dart 1184:13 _rootRun package:dart-sdk/lib/async/zone.dart 1077:19 run package:dart-sdk/lib/async/zone.dart 979:7 runGuarded package:dart-sdk/lib/async/zone.dart 1019:23 callback package:dart-sdk/lib/async/schedule_microtask.dart 43:11 _microtaskLoop package:dart-sdk/lib/async/schedule_microtask.dart 52:5 _startMicrotaskLoop package:dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 168:15 <fn> ===== asynchronous gap =========================== package:dart-sdk/lib/async/zone.dart 1109:19 registerUnaryCallback package:dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 69:19 _async package:test_api <fn> package:dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 86:54 runBody package:dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 125:12 _async package:test_api <fn> package:dart-sdk/lib/async/zone.dart 1184:13 _rootRun package:dart-sdk/lib/async/zone.dart 1077:19 run package:dart-sdk/lib/async/zone.dart 1618:67 _runZoned package:dart-sdk/lib/async/zone.dart 1539:10 runZoned package:test_api <fn> package:dart-sdk/lib/async/zone.dart 1184:13 _rootRun package:dart-sdk/lib/async/zone.dart 1077:19 run package:dart-sdk/lib/async/zone.dart 1618:67 _runZoned package:dart-sdk/lib/async/zone.dart 1539:10 runZoned package:test_api <fn> package:dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 86:54 runBody package:dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 125:12 _async package:test_api <fn> package:dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 86:54 runBody package:dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 125:12 _async package:test_api <fn> package:dart-sdk/lib/async/future.dart 176:37 <fn> package:stack_trace <fn> package:dart-sdk/lib/async/zone.dart 1180:38 _rootRun package:dart-sdk/lib/async/zone.dart 1077:19 run package:dart-sdk/lib/async/zone.dart 979:7 runGuarded package:dart-sdk/lib/async/zone.dart 1019:23 <fn> package:stack_trace <fn> package:dart-sdk/lib/async/zone.dart 1184:13 _rootRun package:dart-sdk/lib/async/zone.dart 1077:19 run package:dart-sdk/lib/async/zone.dart 1003:23 <fn> package:dart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart 50:19 internalCallback ===== asynchronous gap =========================== package:dart-sdk/lib/async/zone.dart 1101:19 registerCallback package:dart-sdk/lib/async/zone.dart 1018:22 bindCallbackGuarded package:dart-sdk/lib/async/timer.dart 54:45 new package:dart-sdk/lib/async/timer.dart 91:9 run package:dart-sdk/lib/async/future.dart 174:11 new package:test_api <fn> package:dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 86:54 runBody package:dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 125:12 _async package:test_api <fn> package:dart-sdk/lib/async/zone.dart 1184:13 _rootRun package:dart-sdk/lib/async/zone.dart 1077:19 run package:dart-sdk/lib/async/zone.dart 1618:67 _runZoned package:dart-sdk/lib/async/zone.dart 1539:10 runZoned package:stack_trace <fn> package:dart-sdk/lib/async/zone.dart 1184:13 _rootRun package:dart-sdk/lib/async/zone.dart 1077:19 run package:dart-sdk/lib/async/zone.dart 1618:67 _runZoned package:dart-sdk/lib/async/zone.dart 1539:10 runZoned package:test_api [_onRun] package:dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 306:14 _checkAndCall package:dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 370:10 callMethod package:dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 374:5 dsend package:test_api <fn> package:dart-sdk/lib/async/zone.dart 1184:13 _rootRun package:dart-sdk/lib/async/zone.dart 1077:19 run package:dart-sdk/lib/async/zone.dart 1618:67 _runZoned package:dart-sdk/lib/async/zone.dart 1539:10 runZoned package:test_api <fn> package:dart-sdk/lib/async/zone.dart 1192:38 _rootRunUnary package:dart-sdk/lib/async/zone.dart 1085:19 runUnary package:dart-sdk/lib/async/zone.dart 987:7 runUnaryGuarded package:dart-sdk/lib/async/stream_impl.dart 339:11 [_sendData] package:dart-sdk/lib/async/stream_impl.dart 266:7 [_add] package:dart-sdk/lib/async/stream_controller.dart 779:19 [_sendData] package:dart-sdk/lib/async/stream_controller.dart 655:7 [_add] package:dart-sdk/lib/async/stream_controller.dart 597:5 add package:dart-sdk/lib/async/zone.dart 1196:13 _rootRunUnary package:dart-sdk/lib/async/zone.dart 1085:19 runUnary package:dart-sdk/lib/async/zone.dart 987:7 runUnaryGuarded package:dart-sdk/lib/async/stream_impl.dart 339:11 [_sendData] package:dart-sdk/lib/async/stream_impl.dart 266:7 [_add] package:dart-sdk/lib/async/stream_controller.dart 779:19 [_sendData] package:dart-sdk/lib/async/stream_controller.dart 655:7 [_add] package:dart-sdk/lib/async/stream_controller.dart 597:5 add package:dart-sdk/lib/async/stream_controller.dart 873:13 add package:stream_channel <fn> package:dart-sdk/lib/async/zone.dart 1374:10 runUnaryGuarded package:dart-sdk/lib/async/stream_impl.dart 339:11 [_sendData] package:dart-sdk/lib/async/stream_impl.dart 266:7 [_add] package:dart-sdk/lib/async/stream_controller.dart 779:19 [_sendData] package:dart-sdk/lib/async/stream_controller.dart 655:7 [_add] package:dart-sdk/lib/async/stream_controller.dart 597:5 add package:dart-sdk/lib/async/zone.dart 1374:10 runUnaryGuarded package:dart-sdk/lib/async/stream_impl.dart 339:11 [_sendData] package:dart-sdk/lib/async/stream_impl.dart 266:7 [_add] package:dart-sdk/lib/async/stream_controller.dart 779:19 [_sendData] package:dart-sdk/lib/async/stream_controller.dart 655:7 [_add] package:dart-sdk/lib/async/stream_controller.dart 597:5 add package:dart-sdk/lib/async/stream_controller.dart 873:13 add package:dart-sdk/lib/async/zone.dart 1374:10 runUnaryGuarded package:dart-sdk/lib/async/stream_impl.dart 339:11 [_sendData] package:dart-sdk/lib/async/stream_impl.dart 266:7 [_add] package:dart-sdk/lib/async/stream_controller.dart 779:19 [_sendData] package:dart-sdk/lib/async/stream_controller.dart 655:7 [_add] package:dart-sdk/lib/async/stream_controller.dart 597:5 add package:dart-sdk/lib/async/zone.dart 1374:10 runUnaryGuarded package:dart-sdk/lib/async/stream_impl.dart 339:11 [_sendData] package:dart-sdk/lib/async/stream_impl.dart 266:7 [_add] package:dart-sdk/lib/async/stream_controller.dart 779:19 [_sendData] package:dart-sdk/lib/async/stream_controller.dart 655:7 [_add] package:dart-sdk/lib/async/stream_controller.dart 597:5 add package:dart-sdk/lib/async/stream_controller.dart 873:13 add package:stream_channel add diagnostics_test.dart.browser_test.dart 52:17 <fn> package:dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 306:14 _checkAndCall package:dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 311:39 dcall package:dart-sdk/lib/html/dart2js/html_dart2js.dart 37108:58 <fn> ``` </details>
a: tests,team,framework,platform-web,has reproducible steps,P3,c: tech-debt,team: skip-test,found in release: 3.12,team-web,triaged-web
low
Critical
596,115,912
flutter
Generate a local web page for visual diffs
Idea from @HansMuller :) When testing golden files locally, instead of just generating image files to view visual differences, it may be a nicer experience to generate a local web page to view all of them together in a nice format.
a: tests,c: new feature,framework,a: quality,c: proposal,will affect goldens,P3,team-framework,triaged-framework
low
Minor
596,118,591
pytorch
Decouple DDP from CUDA
After #28068, we now support 3rd party c10d extensions. However, DDP still hard-code calls into`torch.cuda.comm` APIs. https://github.com/pytorch/pytorch/blob/8afa001d898914a48d6b9e3d944a99607d2819c1/torch/nn/parallel/distributed.py#L493-L496 To allow DDP to decouple from cuda, we have a few options: 1. Deprecating single-process-multi-device training support, i.e., deprecating `device_ids` arg in DDP. 2. Use c10d libraries to do local broadcast. We probably can do this by creating a subgroup for each DDP instance that only contains its own pg instance and then using the `broadcast_multigpu` API to perform local broadcast. 3. Allow `torch.cuda.comm` to support 3rd party extensions. cc @ngimel @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @xush6528 @osalpekar
oncall: distributed,feature,module: cuda,triaged
low
Minor
596,140,363
godot
Input class not handling Switch Pro Controller joystick axis properly
**Godot version:** v3.2.1.stable.official **OS/device including version:** Windows 10 Home 1903 **Issue description:** Using only the Nintendo Switch Pro Controller analog sticks, whenever I request `Input.get_joy_axis(0, JOYSTICK_AXIS_* )` or `Input.get_action_strength("ui_*")`, where "ui_*" was assigned to one of the left analog stick directions on the input map ("ui_up" -> Device 0, Axis 1 -; "ui_down" -> Device 0, Axis 1 +; ...) I only recieve discrete values. That is, the values I get are floats, but rounded ones, such that negative values round to -1 and positive value round to 1. The result is an input system only able to utilize 4 input vectors : (1, 1); (1, -1); (-1, 1); (-1, -1). As so, for instance, a character with this input configuration would only be able to move diagonally. Also, because the values recieved are rounded up, there is no way to calculate a deadzone, so the controls twitch randomly on game even when they are supposed to be centered, as they are never 100% centered. I tested this on a Xbox Controller, and all results came as expected, that is, the values are floats between -1 and 1 representing the right "strength" of input on the analog sticks. Also, the fault isn't on my particular controller, as the sensitivity of the analog is working on Switch and PC games. **Steps to reproduce:** 1. Grab a Nintendo Switch Pro Controller and connect it Bluetooth-wise on your PC 2. Execute the code on the _process() function of a Node: ``` print(Vector2(Input.get_joy_axis(0,JOY_ANALOG_LX), Input.get_joy_axis(0,JOY_ANALOG_LY)), Vector2(Input.get_joy_axis(0,JOY_ANALOG_RX), Input.get_joy_axis(0,JOY_ANALOG_RY))) ``` 3. Mess around with both analogs and check results **Minimal reproduction project:** [ProControllerBug.zip](https://github.com/godotengine/godot/files/4446910/ProControllerBug.zip)
bug,topic:input
low
Critical
596,146,128
kubernetes
Allow Changing Kubelet's Internal Housekeeping Period
**What would you like to be added**: The ability to adjust Kubelet's housekeeping frequency. Ideally via the config file as an `internalHousekeepingPeriod`. There is already a housekeeping interval CLI flag that I assume is related to cAdvisor but had trouble tracking down where it was actually used. Kubelet has a "housekeeping"/cleanup routine that it performs every 2s to remove orphaned resources and remove unwanted pods. See: https://github.com/kubernetes/kubernetes/blob/7bd48eb3f66bb545ddda54b671de726f4af45614/pkg/kubelet/kubelet.go#L145 **Why is this needed**: This is primarily a performance improvement for lowering CPU usage on low-churn nodes or environments where this trade-off can happen, such as a local development Kubernetes (minikube/kind).
sig/node,kind/feature,needs-triage
medium
Major
596,147,713
go
x/playground: support non-source input files
(This is somewhat related to #32403.) Now that the Playground supports multi-file inputs, it would be nice if those files could include non-source files, which the program could then open using the usual `os` functions and use as inputs to various I/O libraries (for example, `encoding/csv` as in https://play.golang.org/p/PST2BvzIBPE). That would make it easier, for example, for users to use [the `txtar` command](https://pkg.go.dev/golang.org/x/exp/cmd/txtar) to convert a local reproducer for a bug to be runnable in the Playground with minimal additional modification. (CC @golang/osp-team)
NeedsInvestigation,FeatureRequest
low
Critical
596,174,793
pytorch
New dtype ComplexPolarFloat (phasor)
## 🚀 Feature New ScalarType::ComplexPolarFloat and c10::complex_polar C++ type that would allow expressing complex numbers with theirs magnitudes and angles. Original idea comes from @dylanbespalko comments on #35563. ## Motivation Multiplication and division is much simpler and faster for complex numbers in polar form. This is balanced though by slower addition and subtraction in this form. Overall I think it might be good to give users option to choose between different forms and letting them decide what is best for them. ## Pitch Similar dtype to existing ComplexFloat but for complex number in polar form. And similar to a `c10::complex` from a #35524 `c10::complex_polar`. ## Alternatives I guess alternative is to just ignore and have only standard complex dtypes. ## Additional context I have run some benchmarks locally. Standard multiplication of complex numbers: ``` # ---------------------------------------- # PyTorch/Caffe2 Operator Micro-benchmarks # ---------------------------------------- # Tag : long # Benchmarking PyTorch: mul # Mode: Eager # Name: mul_M32_N2048_dtypetorch.complex64 # Input: M: 32, N: 2048, dtype: torch.complex64 Forward Execution Time (us) : 35.701 # Benchmarking PyTorch: mul # Mode: Eager # Name: mul_M32_N2048_dtypetorch.complex128 # Input: M: 32, N: 2048, dtype: torch.complex128 Forward Execution Time (us) : 101.595 # Benchmarking PyTorch: mul # Mode: Eager # Name: mul_M32_N512_dtypetorch.complex64 # Input: M: 32, N: 512, dtype: torch.complex64 Forward Execution Time (us) : 11.781 # Benchmarking PyTorch: mul # Mode: Eager # Name: mul_M32_N512_dtypetorch.complex128 # Input: M: 32, N: 512, dtype: torch.complex128 Forward Execution Time (us) : 19.879 # Benchmarking PyTorch: mul # Mode: Eager # Name: mul_M32_N128_dtypetorch.complex64 # Input: M: 32, N: 128, dtype: torch.complex64 Forward Execution Time (us) : 4.325 # Benchmarking PyTorch: mul # Mode: Eager # Name: mul_M32_N128_dtypetorch.complex128 # Input: M: 32, N: 128, dtype: torch.complex128 Forward Execution Time (us) : 6.809 ``` Polar multiplication ``` # ---------------------------------------- # PyTorch/Caffe2 Operator Micro-benchmarks # ---------------------------------------- # Tag : long # Benchmarking PyTorch: mul # Mode: Eager # Name: mul_N2048_M32_dtypetorch.complex64 # Input: N: 2048, M: 32, dtype: torch.complex64 Forward Execution Time (us) : 34.734 # Benchmarking PyTorch: mul # Mode: Eager # Name: mul_N2048_M32_dtypetorch.complex128 # Input: N: 2048, M: 32, dtype: torch.complex128 Forward Execution Time (us) : 68.603 # Benchmarking PyTorch: mul # Mode: Eager # Name: mul_N512_M32_dtypetorch.complex64 # Input: N: 512, M: 32, dtype: torch.complex64 Forward Execution Time (us) : 10.872 # Benchmarking PyTorch: mul # Mode: Eager # Name: mul_N512_M32_dtypetorch.complex128 # Input: N: 512, M: 32, dtype: torch.complex128 Forward Execution Time (us) : 18.276 # Benchmarking PyTorch: mul # Mode: Eager # Name: mul_N128_M32_dtypetorch.complex64 # Input: N: 128, M: 32, dtype: torch.complex64 Forward Execution Time (us) : 3.764 # Benchmarking PyTorch: mul # Mode: Eager # Name: mul_N128_M32_dtypetorch.complex128 # Input: N: 128, M: 32, dtype: torch.complex128 Forward Execution Time (us) : 6.678 ``` Polar overhead ``` # ---------------------------------------- # PyTorch/Caffe2 Operator Micro-benchmarks # ---------------------------------------- # Tag : long # Benchmarking PyTorch: polar # Mode: Eager # Name: polar_M32_dtypetorch.complex64_N2048 # Input: M: 32, dtype: torch.complex64, N: 2048 Forward Execution Time (us) : 432.961 # Benchmarking PyTorch: polar # Mode: Eager # Name: polar_M32_dtypetorch.complex64_N512 # Input: M: 32, dtype: torch.complex64, N: 512 Forward Execution Time (us) : 112.252 # Benchmarking PyTorch: polar # Mode: Eager # Name: polar_M32_dtypetorch.complex64_N128 # Input: M: 32, dtype: torch.complex64, N: 128 Forward Execution Time (us) : 28.107 # Benchmarking PyTorch: polar # Mode: Eager # Name: polar_M32_dtypetorch.complex128_N2048 # Input: M: 32, dtype: torch.complex128, N: 2048 Forward Execution Time (us) : 933.347 # Benchmarking PyTorch: polar # Mode: Eager # Name: polar_M32_dtypetorch.complex128_N512 # Input: M: 32, dtype: torch.complex128, N: 512 Forward Execution Time (us) : 222.800 # Benchmarking PyTorch: polar # Mode: Eager # Name: polar_M32_dtypetorch.complex128_N128 # Input: M: 32, dtype: torch.complex128, N: 128 Forward Execution Time (us) : 58.198 ``` For small sizes speed up seems roughly about 10%, it is interesting that for complex64 for the largest benchmark speedup is almost not existing but for complex124 is about 35% . Although the overhead of calling polar before multiplication looks a bit intimidating. cc @ezyang @anjali411 @dylanbespalko
low priority,triaged,module: complex,enhancement
low
Major
596,182,129
go
net/rpc: client's DialHTTPPath() treats http CONNECT response incorrectly
https://tools.ietf.org/html/rfc7231#section-4.3.6 - says: 'Any 2xx (Successful) response indicates that the sender (and all inbound proxies) will switch to tunnel mode immediately after the blank line that concludes the successful response's header section;' but DialHTTPPath() requires exactly `resp.Status == "200 Connected to Go RPC"` https://github.com/golang/go/blob/master/src/net/rpc/client.go#L258 `if err == nil && resp.Status == connected {` https://github.com/golang/go/blob/master/src/net/rpc/server.go#L688 `var connected = "200 Connected to Go RPC"`
NeedsInvestigation
low
Minor
596,196,847
terminal
Provide a 'Paste mode' to allow a paste keybinding to be 'smart'.
<!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement As part of the discussion in https://github.com/microsoft/terminal/issues/968 there was a suggestion that, while creating a selection was a good cue for enabling a smart copy mode, there was no equivalent cue for smart paste. Implementing a paste mode may be a good addition to assist those that wish to use Ctrl+V as both a paste key and a key combination in terminal apps. # Proposed technical implementation details (optional) My idea is frankly quite vague. Apologies if it feels unreasonable. Perhaps the terminal could, on app activation and in the event of a clipboard addition, detect the presence of a compatible item in the clipboard and enable a paste 'mode'. This would provide a visual cue that the paste keybinding(s) would paste rather than be sent through to the terminal. Once in this mode, an opportunity to cancel the mode would be available to the user, through a UI element and/or another keybinding.
Issue-Feature,Area-Extensibility,Product-Terminal
low
Critical
596,208,594
flutter
Sibling FloatingActionButtons nested under a Wrap slow to repaint on the Web
Sample app that reproduces the issue: https://gist.github.com/clocksmith/240a6bbe1a0f72847ee4139fe493a712. This is reproducible on the HTML backend. We should also check CanvasKit, just in case. Hat tip to @clocksmith for narrowing it down to a reproducible app.
engine,c: performance,platform-web,perf: speed,e: web_html,has reproducible steps,customer: web10,P3,team-web,triaged-web,found in release: 3.13,found in release: 3.17
low
Major
596,211,838
pytorch
## 🐛 Bug: QNNPACK tests failing on master on Nexus 6
## 🐛 Bug: QNNPACK tests failing on master on Nexus 6 QNNPACK tests not passing on Android armv7 on clean master (Nexus 6) ## To Reproduce Steps to reproduce the behavior: 1. check out ebf743a63a nshulga (master*, HEAD) Fix bazel-test linking issue (#36157) 2. build the tests and push to device: cd aten/src/ATen/native/quantized/cpu/qnnpack scripts/build-android-armv7.sh adb push ./build/android/armeabi-v7a/{your_binary} /data/qnnpack 3. run tests adb shell for t in $(ls /data/qnnpack); do /data/qnnpack/$t; done 4. results: failing excerpts: ``` [----------] Global test environment tear-down [==========] 152 tests from 8 test cases ran. (1969 ms total) [ PASSED ] 122 tests. [ FAILED ] 30 tests, listed below: [ FAILED ] Q8GEMM_4x8c2_XZP__AARCH32_NEON.k_eq_8 [ FAILED ] Q8GEMM_4x8c2_XZP__AARCH32_NEON.k_eq_8_strided_a [ FAILED ] Q8GEMM_4x8c2_XZP__AARCH32_NEON.k_eq_8_strided_c [ FAILED ] Q8GEMM_4x8c2_XZP__AARCH32_NEON.k_eq_8_qmin128 [ FAILED ] Q8GEMM_4x8c2_XZP__AARCH32_NEON.k_eq_8_qmax128 [ FAILED ] Q8GEMM_4x8c2_XZP__AARCH32_NEON.k_eq_8_bzp0 [ FAILED ] Q8GEMM_4x8c2_XZP__AARCH32_NEON.k_gt_8 [ FAILED ] Q8GEMM_4x8c2_XZP__AARCH32_NEON.k_gt_8_strided_a [ FAILED ] Q8GEMM_4x8c2_XZP__AARCH32_NEON.k_gt_8_strided_c [ FAILED ] Q8GEMM_4x8c2_XZP__AARCH32_NEON.k_gt_8_bzp0 [ FAILED ] Q8GEMM_4x8c2_XZP__AARCH32_NEON.k_gt_8_subtile [ FAILED ] Q8GEMM_4x8c2_XZP__AARCH32_NEON.k_div_8 [ FAILED ] Q8GEMM_4x8c2_XZP__AARCH32_NEON.k_div_8_strided_a [ FAILED ] Q8GEMM_4x8c2_XZP__AARCH32_NEON.k_div_8_strided_c [ FAILED ] Q8GEMM_4x8c2_XZP__AARCH32_NEON.k_div_8_subtile [ FAILED ] Q8GEMM_4x8c2_XZP__NEON.k_eq_8 [ FAILED ] Q8GEMM_4x8c2_XZP__NEON.k_eq_8_strided_a [ FAILED ] Q8GEMM_4x8c2_XZP__NEON.k_eq_8_strided_c [ FAILED ] Q8GEMM_4x8c2_XZP__NEON.k_eq_8_qmin128 [ FAILED ] Q8GEMM_4x8c2_XZP__NEON.k_eq_8_qmax128 [ FAILED ] Q8GEMM_4x8c2_XZP__NEON.k_eq_8_bzp0 [ FAILED ] Q8GEMM_4x8c2_XZP__NEON.k_gt_8 [ FAILED ] Q8GEMM_4x8c2_XZP__NEON.k_gt_8_strided_a [ FAILED ] Q8GEMM_4x8c2_XZP__NEON.k_gt_8_strided_c [ FAILED ] Q8GEMM_4x8c2_XZP__NEON.k_gt_8_bzp0 [ FAILED ] Q8GEMM_4x8c2_XZP__NEON.k_gt_8_subtile [ FAILED ] Q8GEMM_4x8c2_XZP__NEON.k_div_8 [ FAILED ] Q8GEMM_4x8c2_XZP__NEON.k_div_8_strided_a [ FAILED ] Q8GEMM_4x8c2_XZP__NEON.k_div_8_strided_c [ FAILED ] Q8GEMM_4x8c2_XZP__NEON.k_div_8_subtile ``` ## Expected behavior tests pass ## Environment Please copy and paste the output from our [environment collection script](https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py) (or fill out the checklist below manually). Collecting environment information... PyTorch version: 1.6.0a0+443369a Is debug build: No CUDA used to build PyTorch: Could not collect OS: CentOS Linux 7 (Core) GCC version: (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5) CMake version: version 3.14.0 Python version: 3.8 Is CUDA available: No CUDA runtime version: Could not collect GPU models and configuration: GPU 0: Tesla M40 GPU 1: Tesla M40 Nvidia driver version: 396.69 cuDNN version: Could not collect Versions of relevant libraries: [pip] numpy==1.18.1 [pip] torch==1.6.0a0+8092465 [conda] blas 1.0 mkl [conda] magma-cuda92 2.5.1 1 pytorch [conda] mkl 2020.0 166 [conda] mkl-include 2020.0 166 [conda] mkl-service 2.3.0 py38he904b0f_0 [conda] mkl_fft 1.0.15 py38ha843d7b_0 [conda] mkl_random 1.1.0 py38h962f231_0 [conda] numpy 1.18.1 py38h4f9e942_0 [conda] numpy-base 1.18.1 py38hde5b4d6_1 [conda] torch 1.5.0a0+15c6d93 pypi_0 pypi (pytorch) [[email protected] ~/local/pytorch/aten/src/ATen/native/quantized/cpu/qnnpack] ## Additional context <!-- Add any other context about the problem here. -->
oncall: mobile
low
Critical
596,224,812
flutter
Remove extraneous Samsung keyboard hacks from the Android embedder.
As part of https://github.com/flutter/flutter/issues/31512 and https://github.com/flutter/flutter/issues/51893, we introduced workarounds for various Samsung keyboard bugs in InputConnectionAdaptor.java in the Android embedder. Many of these can be removed. We should go through and verify which workarounds are no longer necessary and remove them as appropriate.
a: text input,team,platform-android,engine,dependency: android,P2,c: tech-debt,team-android,triaged-android
low
Critical
596,229,226
excalidraw
Collaboration performance on slow upload connections
We've been using Excalidraw collaborative sessions and encountered issues where the updates being sent take an exceptionally long time to make it to other participants. The updates seem to get queued up and slowly propagated to the receiving participant at a rate slower than the updates are being sent, leading to one participant's view potentially being minutes behind another's. How can we go about diagnosing this? Could it be upload latency to the server? We're all in Australia if that helps.
performance ⚡️,collaboration
low
Major
596,230,843
TypeScript
Cannot mix both fixed and rest arguments using '.call' when using '--strictBindCallApply'
**TypeScript Version:** 3.9.0-dev.20200328 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** strict call rest arguments **Code** ```ts class C { use<A extends any[]>(fn: (this: this, obj: this, ...args: A) => void, ...args: A) { fn.bind(this, this)(...args); // ok fn.bind(this)(this, ...args); // error fn.call(this, this, ...args); // error } } ``` **Expected behavior:** The 2nd and 3rd cases above should be ok **Actual behavior:** The 2nd and 3rd cases above report errors. **Playground Link:** [Playground](https://www.typescriptlang.org/play/index.html?ts=Nightly#code/MYGwhgzhAEDC0G8BQ1XQK4QKYB4CC0WAHgC5YB2AJjGOQJ4DaAugHwAUAZuQFzRskALAJYRegkQBpoAewBGAKzHCIUgHTqwAJwDmo6HgCU0ALwtoAN2lDKajTr2HEKNC66rZQqv2VTxEA2zqqlq6BgDczi6obh5efgF+tsH24ZFRbsBgICDektCJ0EEh-hEuAL5IZUA) **Related Issues:**
Needs Investigation
low
Critical
596,281,560
ant-design
ConfigProvider componentSize 能否支持区分配置组件?
- [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate. ### What problem does this feature solve? 我们目前的项目中只想配置Table组件默认尺寸为`middle`,不改变其他组件的尺寸 ### What does the proposed API look like? ```jsx <ConfigProvider componentSize={{table: 'middle'}}></ConfigProvider> ``` <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
💡 Feature Request,Inactive
low
Minor
596,286,527
go
x/build/devapp/owners: use owners to mark packages deprecated
Can we use a special string to mark packages as deprecated / unsupported in the owners file? If someone sends a review for the project, we can just have GopherBot send an automated message letting the contributor know. I was inspired by https://golang.org/cl/225297, where I almost merged a change for code that's been unsupported since 1.5. For context, I'm not familiar with most of the packages in x/tools, but I check GitHub PRs biweekly to make sure they get assigned reviewers (due to https://github.com/golang/go/issues/31658). This change looked simple enough to merge, and I only didn't because I decided to attempt to figure out who the owner for that package was (the lack of owners for x/tools is a whole separate issue I hope to tackle one day...).
Builders,NeedsInvestigation,FeatureRequest
low
Minor
596,301,312
PowerToys
Path copy copy integration
# Summary of the new feature/enhancement It would be nice if `Path copy copy` software gets integrated into PowerToys! https://github.com/clechasseur/pathcopycopy It has features for copying path and in different styles: Using preview enabled: ![image](https://user-images.githubusercontent.com/16418197/78745404-b1184800-7929-11ea-9ec2-54453d8d7f55.png) Default: ![image](https://user-images.githubusercontent.com/16418197/78745364-8f1ec580-7929-11ea-9d23-39fa3112f58a.png)
Idea-New PowerToy,Product-File Explorer
low
Major
596,308,014
node
Optional Memory benchmark flag in benchmarking scripts
<!-- Thank you for suggesting an idea to make Node.js better. Please fill in as much of the template below as you're able. --> **Is your feature request related to a problem? Please describe.** Recently i am trying. to reduce the memory allocation in some implementation and wanted to benchmark my solution, to avoid speed reduction and promote memory reduction. However, to my surprise, `compare.js` script currently only does the speed benchmarking. **Describe the solution you'd like** I wanted to propose a flag that enables the memory benchmarks in the comparison script. This can be used along with the speed benchmarking to infer that changes do not reduce the speed of already running code. **Describe alternatives you've considered** Open to possible hacks but would be great if it is included.
benchmark
low
Minor
596,318,311
flutter
i have this error when try to google sign in...o aslo try to outh constant screen and added sha1 and sha256.but still error
I/flutter ( 3443): Error signin in: PlatformException(sign_in_required, com.google.android.gms.common.api.ApiException: 4: 4: , null)
c: crash,platform-android,p: google_sign_in,package,found in release: 1.12,P2,team-android,triaged-android
low
Critical
596,319,275
pytorch
[JIT] support self.named_buffers and self.named_parameters in TorchScript
## 🚀 Feature support self.named_buffers and self.named_parameters in TorchScript ## Motivation Since `self.named_models` had been supported in torchscript [#29495 ]( https://github.com/pytorch/pytorch/pull/29495), it will be more convenient to support `self.named_buffers` and `self.named_parameters`. Projects like object detection and model compression use buffers to stores important things (e.g. anchor box and pruning mask). ## Pitch ``` class MyMod(torch.nn.Module): def __init__(self): super(MyMod, self).__init__() self.register_buffer('x', torch.zeros(1)) def forward(self, x): for name, buffer in self.named_buffers() x = x + buffer return x model = MyMod() torch.jit.script(model) ``` cc @suo
triage review,oncall: jit,triaged,enhancement
low
Major
596,325,844
material-ui
[ScopedCssBaseline] The box-sizing style of the child components is overwritten
<!-- Provide a general summary of the issue in the Title above --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked checkbox should look like this: [x] --> - [x] The issue is present in the latest release. - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Current Behavior 😯 - ScopedCssBaseline is setting `box-sizing: 'inherit'` for all child components. -> [souce](https://github.com/mui-org/material-ui/blob/c776d34ffdf79dc9eadcb3a37c6e630b4d92707f/packages/material-ui/src/ScopedCssBaseline/ScopedCssBaseline.js#L12) - The above takes precedence over CSS classes which generated by material-ui itself (like `.MuiInputBase-input` ). - Therefore, the default box-sizing of material-ui not being used. <!-- Describe what happens instead of the expected behavior. --> ## Expected Behavior 🤔 - `.MuiInputBase-input` should be used as precedence over `box-sizing: 'inherit'` like CssBaseline. <!-- Describe what should happen. --> ## Steps to Reproduce 🕹 https://codesandbox.io/s/the-box-sizing-style-of-the-child-components-is-overwritten-htv0c <!-- Provide a link to a live example (you can use codesandbox.io) and an unambiguous set of steps to reproduce this bug. Include code to reproduce, if relevant (which it most likely is). You should use the official codesandbox template as a starting point: https://material-ui.com/r/issue-template If you have an issue concerning TypeScript please start from this TypeScript playground: https://material-ui.com/r/ts-issue-template Issues without some form of live example have a longer response time. --> Steps: 1. Please check box-sizing of each element. ## Context 🔦 - Do not have to set box-sizing to each component. - Use Material-UI default styles easier under ScopedCssBaseline like CssBaseline. <!-- What are you trying to accomplish? How has this issue affected you? Providing context helps us come up with a solution that is most useful in the real world. --> ## Your Environment 🌎 <!-- Include as many relevant details about the environment with which you experienced the bug. If you encounter issues with typescript please include version and tsconfig. --> | Tech | Version | | ----------- | ------- | | Material-UI | v4.9.9 | | React | v16.13.1 | | Browser | chrome 80.0.3987.149 |
bug 🐛,waiting for 👍,component: CssBaseline,package: styled-engine
medium
Critical
596,356,332
opencv
Get the list of camera‘s resolutions
##### System information (version) <!-- Example - OpenCV => 4.2 - Operating System / Platform => Windows 64 Bit - Compiler => Qt Creator 4.11.2 --> - OpenCV => 4.2 - Operating System / Platform => Ubuntu 18.04 - Compiler => Qt Creator 4.11.2 ##### Detailed description <!-- your description --> When I use the VideoCapture , is there any way to get the list of camera's resolutions? ##### Steps to reproduce <!-- to add code example fence it with triple backticks and optional file extension ```.cpp // C++ code example ``` or attach as .txt or .zip file --> ##### Issue submission checklist - [x] I report the issue, it's not a question <!-- OpenCV team works with answers.opencv.org, Stack Overflow and other communities to discuss problems. Tickets with question without real issue statement will be closed. --> - [x] I checked the problem with documentation, FAQ, open issues, answers.opencv.org, Stack Overflow, etc and have not found solution <!-- Places to check: * OpenCV documentation: https://docs.opencv.org * FAQ page: https://github.com/opencv/opencv/wiki/FAQ * OpenCV forum: https://answers.opencv.org * OpenCV issue tracker: https://github.com/opencv/opencv/issues?q=is%3Aissue * Stack Overflow branch: https://stackoverflow.com/questions/tagged/opencv --> - [x] I updated to latest OpenCV version and the issue is still there <!-- master branch for OpenCV 4.x and 3.4 branch for OpenCV 3.x releases. OpenCV team supports only latest release for each branch. The ticket is closed, if the problem is not reproduced with modern version. --> - [x] There is reproducer code and related data files: videos, images, onnx, etc <!-- The best reproducer -- test case for OpenCV that we can add to the library. Recommendations for media files and binary files: * Try to reproduce the issue with images and videos in opencv_extra repository to reduce attachment size * Use PNG for images, if you report some CV related bug, but not image reader issue * Attach the image as archite to the ticket, if you report some reader issue. Image hosting services compress images and it breaks the repro code. * Provide ONNX file for some public model or ONNX file with with random weights, if you report ONNX parsing or handling issue. Architecture details diagram from netron tool can be very useful too. See https://lutzroeder.github.io/netron/ -->
feature,priority: low,category: videoio(camera),effort: few weeks
low
Critical
596,398,747
react-native
Image prefetch does not work on iOS
Please provide all the information requested. Issues that do not follow this format are likely to stall. ## Description - Using image prefetch does not work at all on iOS. - Preloading the images and then checking `Image.queryCache` shows an empty query cache - Attempting to display images that have been prefetched using `cache: 'only-if-cached'` will result in no image shown - Works absolutely fine on Android - There are a number of other issues reporting the same thing in the past [this one](https://github.com/facebook/react-native/issues/17137) [and another](https://github.com/facebook/react-native/issues/15004) - https://www.npmjs.com/package/react-native-fast-image provides the same behaviour so perhaps this isn't getting much traction but I'm keen to not add on libraries for something that is supposed to be supported ## React Native version: System: OS: macOS 10.15.3 CPU: (4) x64 Intel(R) Core(TM) i7-7660U CPU @ 2.50GHz Memory: 289.63 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 10.16.3 - /usr/local/opt/node@10/bin/node Yarn: 1.15.2 - ~/.yarn/bin/yarn npm: 6.9.0 - /usr/local/opt/node@10/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.9.1 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1 Android SDK: API Levels: 28 Build Tools: 28.0.3 System Images: android-29 | Google Play Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: 3.3 AI-182.5107.16.33.5199772 Xcode: 11.3/11C29 - /usr/bin/xcodebuild Languages: Java: 1.8.0_192 - /usr/bin/javac Python: 2.7.16 - /usr/bin/python npmPackages: @react-native-community/cli: Not Found react: 16.11.0 => 16.11.0 react-native: 0.62.1 => 0.62.1 npmGlobalPackages: *react-native*: Not Found ## Steps To Reproduce Provide a detailed list of steps that reproduce the issue. 1. Preload an image using `Image.prefetch(img)` 2. display the image using `only-if-cached` OR 1. Preload an image using `Image.prefetch(img)` 2. display the image ## Expected Results Scenario 1 1. Image is shown Scenario 1 1. Image is instantly shown ## Snack, code example, screenshot, or link to a repository: https://snack.expo.io/yseyl0_9N
Platform: iOS,Component: Image,Impact: Platform Disparity
medium
Critical
596,430,922
youtube-dl
How can i download this video by solution this problem 403 forbidden
<!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.03.24. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights. - Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a new site support request - [x] I've verified that I'm running youtube-dl version **2020.01.15** - [x] I've checked that all provided URLs are alive and playable in a browser ## Example URLs <!-- Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours. http://www.gdtv.cn/tv/tvs2/ --> - Single video: - Single video: http://www.gdtv.cn/tv/ - Playlist: http://stream1.grtn.cn/tvs2/sd/live.m3u8?_upt= ## Description <!-- Provide any additional information. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> WRITE DESCRIPTION HERE How can i download this video by solution this problem 403 forbidden.
site-support-request
low
Critical
596,445,778
excalidraw
Feature: Marker / Highlighter
This can almost be done with the line tool, however the stroke is too small, and by default it goes on top of the already existing drawing. My suggestion would be: Thickness: text + some margin Place at background so the text can still clearly be read
enhancement,discussion
medium
Major
596,455,948
pytorch
Rectify docs for MultiLabelSoftMarginLoss
## 📚 Documentation <!-- A clear and concise description of what content in https://pytorch.org/docs is an issue. If this has to do with the general https://pytorch.org website, please file an issue at https://github.com/pytorch/pytorch.github.io/issues/new/choose instead. If this has to do with https://pytorch.org/tutorials, please file an issue at https://github.com/pytorch/tutorials/issues/new --> Concern about MultiLabelSoftMarginLoss, I think there is still a problem with its doc. As @DNGros pointed out, there is a lot of confusion when using MultiLabelMarginLoss and MultiLabelSoftMarginLoss, and he improved the docs. #15863 However, for the docs of MultiLabelSoftMarginLoss it's still not correct. Since if you set the label as the docs > Target: (N, C)(N,C) , label targets padded by -1 ensuring same shape as the input. pad it like [0,3,-1,-1], the result will be wrong. If we look at the equation ![image](https://user-images.githubusercontent.com/23011317/78770175-cf7d5280-79c0-11ea-85ec-5e7122cd5480.png) we will find it, in fact, write clearly that label y need to be 0 or 1. If we feed the -1 padded label, the loss actually sometimes will become negative number, and this is shown by my experiment. So I think the right Target format for MultiLabelSoftMarginLoss is just one_hot vector. And we can give a good example code as MultiLabelMarginLoss has.
module: docs,module: nn,triaged
low
Major
596,463,727
rust
[libs] Add Read::take_while
In https://github.com/rust-lang/rust/pull/70772 I proposed adding `BufRead::read_while`. But as @HeroicKatora pointed out in https://github.com/rust-lang/rust/pull/70772#issuecomment-609485938 `Read::take_while` would achieve many of the same benefits with fewer downsides. This would act as a counterpart to `Read::take`, similar to [`Iterator::take_while`](https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.take_while). ## Examples ```rust let mut param_name = vec![]; source .by_ref() .take_while(|b| !matches!(b, b';' | b'=')) .read_to_end(&mut param_name)?; ```
T-libs-api,C-feature-request
low
Minor
596,476,428
PowerToys
General->Run as Administrator not available if not a admin user.
Windows 10 without admin privileges. ``` Windows build number: 10.0.18363.657 PowerToys version: Power Toys 0.16.1 PowerToy module for which you are reporting the bug (if applicable): Fancy Zones ``` Did not find anything regarding this issue. On my Maschine I run as a user which does not have admin privileges, but I can start programs as an user which has admin rights. Power Toys notifies me that applicatons run under admin rights and lets me open the wiki page. (Visual Studio) But under General-> I don't have a setting to restart as admin, I guess since my user has no admin rights. Is it possible to tell Power toys to run as an different user? Or at least Grey out the setting with a description why. Greetings.
Product-Settings,Issue-Docs,Area-User Interface
low
Critical
596,524,828
flutter
Add support for RefreshIndicator to be used with SliverAppBar
## Use case It's impossible to implement a pull-to-refresh below the app bar using slivers. You can wrap the parent `CustomScrollView` in a `RefreshIndicator`, but then the indicator will be pulled from the top of the app bar, which is not ideal. See below: ``` RefreshIndicator( onRefresh: () { return model.onRefreshList(); }, child: CustomScrollView( slivers: [ SliverAppBar( backgroundColor: Color(PRIMARY_LIGHT), title: SearchBar(), pinned: false, floating: true, expandedHeight: 186, flexibleSpace: FlexibleSpaceBar( background: Padding( padding: EdgeInsets.only(top: 82), child: Container(color: Color(PRIMARY_LIGHT), child: SearchActions()), ), ), ), SliverList( delegate: SliverChildBuilderDelegate( (BuildContext context, int index) { return ShopItem(model.shops[index], model.userLocation); }, childCount: model.shops.length, ), ), ], ), ); ``` ## Proposal The ideal solution would be to wrap `SliverList` in a `RefreshIndicator`
c: new feature,framework,f: material design,f: scrolling,c: proposal,good first issue,P3,team-design,triaged-design
medium
Critical
596,526,374
tensorflow
Add MPI cluster resolver
**System information** - TensorFlow version (you are using): 2.1.0 - Are you willing to contribute it (Yes/No): Yes **Describe the feature and the current behavior/state.** There should be a cluster resolver that works inside any MPI jobs by querying properties of MPI_COM_WORLD. This allows running TF easily inside any HPC cluster environment independent of the Batch system **Will this change the current api? How?** New class added. **Who will benefit with this feature?** HPC users. **Any Other info.** Existing PR with implementation: https://github.com/tensorflow/tensorflow/pull/38112 CCing @jhseu @frankchn
stat:awaiting tensorflower,type:feature
low
Minor
596,527,766
rust
No warning when using "descending range" in for loop
I tried this code: ```rust for i in 10..=0 { println!("{}", i); } ``` I expected this to just work, but the resulting range is empty and the loop does not run at all. Later I found that I need `(0..=10).rev()`. If descending ranges can't work, I'd expect a warning from the compiler, at least when the bounds are known at compile time / literals.
C-enhancement,A-lints,T-lang
low
Major
596,529,899
rust
Suboptimal error message when comma at the end of match arm is typo'd as a dot
Simplified version of what I wrote ([Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=b98831828ecba1894bf9032de13e48a2)): ```rust enum MyError { Variant { field: u32 }, } fn main() { match Ok(()) { // ↓ typo here Ok(x) => Some(x). Err(MyError::Variant { .. }) => None, } } ``` Relevant error message bits: ``` error: expected expression, found `}` --> src/main.rs:9:35 | 9 | Err(MyError::Variant { .. }) => None, | ^ expected expression error: expected one of `,`, `.`, `?`, `}`, or an operator, found `=>` --> src/main.rs:9:38 | 8 | Ok(x) => Some(x). | -- while parsing the `match` arm starting here 9 | Err(MyError::Variant { .. }) => None, | ^^ expected one of `,`, `.`, `?`, `}`, or an operator error: aborting due to 3 previous errors ``` The second error message is more helpful than the first, but still doesn't point at the actual problem. When changing the `MyError::Variant { .. }` to `_` or just a binding, it disappears, making it somewhat easier to find the actual problem. However, it would be great if the compiler had some heuristic that would allow it to pinpoint the actual typo here. Thanks to everyone involved in the already great error messages! :hearts:
C-enhancement,A-diagnostics,A-parser,T-compiler
low
Critical
596,530,310
youtube-dl
ADD --console-title-prefix command line option OR more formatting for --console-title
- [x] I'm reporting a feature request - [x] I've verified that I'm running youtube-dl version **2020.03.24** - [x] I've searched the bugtracker for similar feature requests including closed ones ## Description ### minimal use case: I wanna prefix the terminal title with my own prefix (static string) that signifies which youtube-dl alias is running and whats it doing `**myprefix** youtube-dl 1.5% of 67.69MiB at 3.09MiB/s ETA 00:21` ### paradise level use case: complete terminal title formatting for **--console-title** with all the variables that *--output* supports
request
low
Critical
596,554,768
excalidraw
Bug: Moving browser between hi-res screen and regular external screen rescales drawings and shows wrongly sized boundary boxes
Hey, I use `MacBook Pro Mid 2015` with `retina screen`. I have also plugged in external screen `nec 27'`. While moving the browser between those screens, all drawings are weirdly rescaled and have wrong boundary boxes, please see video below which shows the issue. **Watch video:** https://imgur.com/a/yAXgHdB Probably related with https://github.com/excalidraw/excalidraw/issues/105
bug
low
Critical
596,570,547
godot
Breakpoints don't work in C#
**Godot version:** v.3.2.1.stable.mono.official **OS/device including version:** Windows 10 **Issue description:** Set a breakpoint in C#, it gets ignored. **Steps to reproduce:** Create a minimal project, add a C# script, put break in _Ready function then run it. Breakpoints are ignored. **Minimal reproduction project:** [bug-report-080420.zip](https://github.com/godotengine/godot/files/4450684/bug-report-080420.zip)
enhancement,topic:dotnet
low
Critical
596,590,759
node
Build fails when cross compiling v12.x host x86-64 to arm
I am trying to cross compile node v12.16.1 for arm. It appears that part of the build process is to build the **bytecode_builtins_list_generator executable** that will be used in the host machine to create header files dynamically. However the build process is using target compiler instead of host compiler where the final binary can not to be executed in the host machine. **bytecode_builtins_list_generator:** node/out/Release/bytecode_builtins_list_generator: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=27e85c210648cdd73a0e84e1c367c3915259ff85, not stripped **compiler:** arm-linux-gnueabi-g++ version 5.5.0 **Host Platform:** Linux 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux **Target Platform:** -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon **Node version:** v12.16.1 **Configure:** ./configure --prefix=/work/deploy/node --shared --cross-compiling --shared-openssl --with-arm-fpu=neon --with-arm-float-abi=softfp --shared-openssl-includes= /work/sdk/openssl/1.0.2s/include/ --shared-openssl-libname=crypto,ssl --shared-openssl-libpath=/work/sdk/openssl/1.0.2s/lib/ --dest-cpu=arm --dest-os=linux --without-snapshot --without-node-snapshot --without-report --without-dtrace --without-etw --without-npm --no-browser-globals --wi thout-inspector --without-intl **config.gypi** ######################################################## Do not edit. Generated by the configure script. { 'target_defaults': { 'cflags': [], 'default_configuration': 'Release', 'defines': [], 'include_dirs': [ '/work/sdk/openssl/1.0.2s/include/'], 'libraries': [ '-L/work/sdk/include/oss/openssl/1.0.2s/lib/', '-lcrypto', '-lssl']}, 'variables': { 'arm_float_abi': 'softfp', 'arm_fpu': 'neon', 'arm_thumb': 0, 'arm_version': '7', 'asan': 0, 'build_v8_with_gn': 'false', 'coverage': 'false', 'debug_nghttp2': 'false', 'enable_lto': 'false', 'enable_pgo_generate': 'false', 'enable_pgo_use': 'false', 'force_dynamic_crt': 1, 'host_arch': 'x64', 'icu_small': 'false', 'is_debug': 0, 'llvm_version': '0.0', 'napi_build_version': '5', 'node_byteorder': 'little', 'node_debug_lib': 'false', 'node_enable_d8': 'false', 'node_install_npm': 'false', 'node_module_version': 72, 'node_no_browser_globals': 'true', 'node_prefix': '/work/deploy/node', 'node_release_urlbase': '', 'node_report': 'false', 'node_shared': 'true', 'node_shared_cares': 'false', 'node_shared_http_parser': 'false', 'node_shared_libuv': 'false', 'node_shared_nghttp2': 'false', 'node_shared_openssl': 'true', 'node_shared_zlib': 'false', 'node_tag': '', 'node_target_type': 'shared_library', 'node_use_bundled_v8': 'true', 'node_use_dtrace': 'false', 'node_use_etw': 'false', 'node_use_large_pages': 'false', 'node_use_large_pages_script_lld': 'false', 'node_use_node_code_cache': 'false', 'node_use_node_snapshot': 'false', 'node_use_openssl': 'true', 'node_use_v8_platform': 'true', 'node_with_ltcg': 'false', 'node_without_node_options': 'false', 'openssl_fips': '', 'openssl_is_fips': 'false', 'shlib_suffix': 'so.72', 'target_arch': 'arm', 'v8_enable_gdbjit': 0, 'v8_enable_i18n_support': 0, 'v8_enable_inspector': 0, 'v8_no_strict_aliasing': 1, 'v8_optimized_debug': 1, 'v8_promise_internal_field_count': 1, 'v8_random_seed': 0, 'v8_trace_maps': 0, 'v8_use_siphash': 1, 'v8_use_snapshot': 0, 'want_separate_host_toolset': 0}} **error message:** ``` ##################################################### LD_LIBRARY_PATH=/node/out/Release/lib.host:/node/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../tools/v8_gypfiles; mkdir -p /node/out/Release/obj/gen/generate-bytecode-output-root/builtins-generated; python ../../deps/v8/tools/run.py "/node/out/Release/bytecode_builtins_list_generator" "/node/out/Release/obj/gen/generate-bytecode-output-root/builtins-generated/bytecodes-builtins-list.h" Traceback (most recent call last): File "../../deps/v8/tools/run.py", line 12, in <module> sys.exit(subprocess.call(sys.argv[1:])) File "/usr/lib/python2.7/subprocess.py", line 523, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child raise child_exception OSError: [Errno 8] Exec format error tools/v8_gypfiles/generate_bytecode_builtins_list.target.mk:13: recipe for target '/node/out/Release/obj/gen/generate-bytecode-output-root/builtins-generated/bytecodes-builtins-list.h' failed make[2]: *** [/node/out/Release/obj/gen/generate-bytecode-output-root/builtins-generated/bytecodes-builtins-list.h] Error 1 make[2]: *** Waiting for unfinished jobs.... ../deps/v8/src/torque/implementation-visitor.cc: In member function 'v8::internal::torque::VisitResult v8::internal::torque::ImplementationVisitor::InlineMacro(v8::internal::torque::Macro*, v8::base::Optional<v8::internal::torque::LocationReference>, const std::vector<v8::internal::torque::VisitResult>&, std::vector<v8::internal::torque::Block*>)': ../deps/v8/src/torque/implementation-visitor.cc:258:32: warning: 'macro_end' may be used uninitialized in this function [-Wmaybe-uninitialized] assembler().Bind(macro_end); ^ ../deps/v8/src/torque/torque-parser.cc: In function 'v8::base::Optional<v8::internal::torque::ParseResult> v8::internal::torque::{anonymous}::MakeTypeswitchStatement(v8::internal::torque::ParseResultIterator*)': ../deps/v8/src/torque/torque-parser.cc:1026:30: warning: 'accumulated_types' may be used uninitialized in this function [-Wmaybe-uninitialized] : cases[i].type; ^ Makefile:101: recipe for target 'node' failed make[1]: *** [node] Error 2 ```
build,arm
low
Critical
596,643,494
flutter
Provide a localized message for screenreaders for TextFields when character limit is exceeded
Internal: b/150477021 <!-- Thank you for using Flutter! If you are looking for support, please check out our documentation or consider asking a question on Stack Overflow: * https://flutter.dev/ * https://api.flutter.dev/ * https://stackoverflow.com/questions/tagged/flutter?sort=frequent If you have found a bug or if our documentation doesn't have an answer to what you're looking for, then fill our the template below. Please read our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports --> ## Use case When the number of characters exceeds the limit for say a TextFormField, it would be useful to have a standard localized message to communicate to how many characters the user is over by. Otherwise, for an A11y user it can be very difficult to understand what they have to do to correct the error unless we manually code this into our input fields. ## Proposal Add a localized message that the screenreader announces when the character limit is exceeded in a textfield cc @goderbauer @xster
a: text input,platform-ios,framework,engine,f: material design,a: accessibility,a: internationalization,customer: mulligan (g3),c: proposal,P2,team-ios,triaged-ios
low
Critical
596,678,042
kubernetes
HPA conversion serializes internal struct to annotation
**What happened**: Found while fixing #88738 in #89963 The internal Spec.Behavior field is serialized to annotations when converting to v1 or v2beta1 HPA types. This causes several problems: * The internal type does not have json tags, so the data is serialized upper-case * The internal type is not guaranteed to preserve field layout/names, so the serialized data can become incompatible if that happens To fix this, we should do something like the following: 1. Freeze the internal Behavior type schema 2. Update the unmarshaling in conversion to first try to unmarshal to a v2beta2 Behavior struct, and fall back to unmarshaling to an internal Behavior struct on error or if the result is an empty struct 3. Release 4. Update the marshaling in conversion to convert to a v2beta2 Behavior struct and marshal that to the annotation 5. Determine a way to force existing HPA objects with a serialized behavior annotation to remarshal on upgrade 6. Release 7. Unfreeze the internal Behavior type schema @kubernetes/sig-autoscaling-api-reviews cc @DirectXMan12 @smarterclayton
kind/bug,priority/important-soon,sig/autoscaling,kind/api-change,lifecycle/frozen
low
Critical
596,683,052
neovim
Setting the timeoutlen on a per-mapping basis
Say you `ino` re-mapped `hh` to `<Esc>` like some people do to be able to escape insert mode faster. When you type text and end with `h`, like `mouth`, and want to escape insert mode right after, you end up having to wait for the timeout to occur. I believe that being able to set the `timeoutlen` on a per-mapping setting would be a good customisation of neovim's behaviour.
enhancement,mappings
low
Major
596,726,189
go
x/build: missing failure output from windows-amd64-2008 builder
https://build.golang.org/log/59a049ac56f1c7dbcf9de1f6002512a70f765e0c is marked as a failure on the dashboard, but its output doesn't contain the word `FAIL` anywhere. It's not obvious to me whether the test timed out, or failed without output. Better output from `cmd/dist` and/or the Builder infrastructure would probably help. (CC @andybons @cagedmantis @toothrot @dmitshur)
Builders,NeedsInvestigation
low
Critical
596,755,895
vscode
Search does not respect `workbench.editor.revealIfOpen`
Selecting a search result will reveal an existing editor in an unfocused group even when `workbench.editor.revealIfOpen` is set to false. Steps to Repro * Set `workbench.editor.revealIfOpen` to false * Open two editor groups * Focus an editor in one of the groups * Perform a search that will find results in the unfocused group (note that focus state is maintained while searching. The editor title color reflects this and `workbench.action.focusActiveEditorGroup` will focus the correct group). * Select the result * Notice it focuses the unfocused group instead of opening a new editor in the focused group
bug,search,confirmed
medium
Major
596,760,638
go
x/net/idna: adds 680KiB to binary when imported but unreferenced
I'm working on a Go program in a severely constrained environment and found that I can save 680 KiB of disk (and disk == RAM in this environment) by making sure x/net/idna is never imported (even if unused). That is, the init tasks for x/net/idna and its deps don't layout in memory such that the linker can discard enough: ```go package main import ( _ "golang.org/x/net/idna" ) func main() { println("hi") } ``` It adds 680KiB to binary compared to just the `println("hi")` line without the import. Linker says: ``` dev:underidna $ go build --ldflags=-dumpdep 2>&1 | grep idna # _/home/bradfitz/tailscale/size-reduce/testidna/underidna main..inittask -> golang.org/x/net/idna..inittask golang.org/x/net/idna..inittask -> fmt..inittask golang.org/x/net/idna..inittask -> strings..inittask golang.org/x/net/idna..inittask -> golang.org/x/text/secure/bidirule..inittask golang.org/x/net/idna..inittask -> golang.org/x/text/unicode/bidi..inittask golang.org/x/net/idna..inittask -> golang.org/x/text/unicode/norm..inittask golang.org/x/net/idna..inittask -> math..inittask golang.org/x/net/idna..inittask -> golang.org/x/net/idna.init golang.org/x/net/idna.init -> golang.org/x/net/idna.idnaSparse golang.org/x/net/idna.init -> golang.org/x/net/idna.idnaSparseValues golang.org/x/net/idna.init -> golang.org/x/net/idna.idnaSparseOffset golang.org/x/net/idna.idnaSparseOffset -> golang.org/x/net/idna..stmp_8 golang.org/x/net/idna.idnaSparseValues -> type.[1997]golang.org/x/net/idna.valueRange golang.org/x/net/idna.idnaSparse -> type.golang.org/x/net/idna.sparseBlocks golang.org/x/net/idna..stmp_8 -> type.[276]uint16 type.golang.org/x/net/idna.sparseBlocks -> type..namedata.*idna.sparseBlocks- type.golang.org/x/net/idna.sparseBlocks -> type.*golang.org/x/net/idna.sparseBlocks type.golang.org/x/net/idna.sparseBlocks -> type..importpath.golang.org/x/net/idna. type.golang.org/x/net/idna.sparseBlocks -> type..namedata.values- type.golang.org/x/net/idna.sparseBlocks -> type.[]golang.org/x/net/idna.valueRange type.*golang.org/x/net/idna.sparseBlocks -> type..namedata.lookup- type.[]golang.org/x/net/idna.valueRange -> type..namedata.*[]idna.valueRange- type.[]golang.org/x/net/idna.valueRange -> type.golang.org/x/net/idna.valueRange type.golang.org/x/net/idna.valueRange -> type..namedata.*idna.valueRange- type.golang.org/x/net/idna.valueRange -> type.*golang.org/x/net/idna.valueRange type.[1997]golang.org/x/net/idna.valueRange -> type..eqfunc7988 type.[1997]golang.org/x/net/idna.valueRange -> type..namedata.*[1997]idna.valueRange- ``` /cc @randall77 @mpvl @rsc @ianlancetaylor
NeedsInvestigation,binary-size
low
Minor
596,761,126
TypeScript
emit code miss return type in .d.ts ( 3.9.0-dev.20200408 )
<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section! Please help us by doing the following steps before logging an issue: * Search: https://github.com/Microsoft/TypeScript/search?type=Issues * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ Please fill in the *entire* template below. --> <!-- Please try to reproduce the issue with the latest published version. It may have already been fixed. For npm: `typescript@next` This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly --> **TypeScript Version:** Version 3.9.0-dev.20200408 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** **Code** ```ts export declare const lifecycleMap: { install: { readonly name: "install"; readonly before: readonly ["preinstall"]; readonly after: readonly ["postinstall", "prepublish", "prepare", "preshrinkwrap", "shrinkwrap", "postshrinkwrap"]; }; pack: { readonly name: "pack"; readonly ignoreSelf: true; readonly before: readonly ["prepublish", "prepare", "prepack"]; readonly after: readonly ["postpack"]; }; publish: { readonly name: "publish"; readonly before: readonly ["prepublish", "prepare", "prepublishOnly", "prepack", "postpack"]; readonly after: readonly ["postpublish"]; }; }; export interface ILifecycleEntry { readonly name: string; readonly ignoreSelf?: boolean; readonly before: readonly string[]; readonly after: readonly string[]; } export type ILifecycleMapKeys = keyof typeof lifecycleMap; export type ILifecycleMap<K extends string = string> = typeof lifecycleMap & Record<K, ILifecycleEntry>; export function getLifecycleCore<K extends ILifecycleMapKeys>(scriptName: string | K) { if (isKnownLifecycleKey(scriptName)) { return lifecycleMap[scriptName] } return (lifecycleMap as ILifecycleMap)[scriptName] } export function getLifecycle<K extends string | ILifecycleMapKeys>(scriptName: K) { return getLifecycleCore(scriptName) ?? { name: scriptName, before: [ `pre${scriptName}` ], after: [ `post${scriptName}` ], } } export function isKnownLifecycleKey<K extends ILifecycleMapKeys>(scriptName: string | K): scriptName is ILifecycleMapKeys { return scriptName in lifecycleMap } ``` tsconfig.json ```json { "compilerOptions": { "module": "commonjs", "target": "es2019", "jsx": "preserve", "moduleResolution": "node", "allowJs": false, "allowUmdGlobalAccess": false, "sourceMap": true, "inlineSourceMap": false, "inlineSources": true, "declaration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "allowSyntheticDefaultImports": true, "resolveJsonModule": true, "strict": false, "strictBindCallApply": true, "strictNullChecks": false, "strictFunctionTypes": true, "noImplicitThis": true, "preserveConstEnums": true, "forceConsistentCasingInFileNames": true, "incremental": true, "noErrorTruncation": true, "locale": "zh-TW", "removeComments": false, "traceResolution": false, "newLine": "lf", "esModuleInterop": true }, ``` **Expected behavior:** same as Playground https://www.typescriptlang.org/v2/en/play?target=6&module=1&ts=3.9.0-beta#code/KYDwDg9gTgLgBAE2AYwDYEMrDsiA7AZ3lQEsAzFATzWAFl0wAuOAbwCgBIEwmdVVZuw4cs6BPlSU4edAFtgzAETcifVIoDcnEcDESpAI2BloCuKPF5JcANqKwWFb36KAuluEX9cdGRjAoZi8rKTtIIic1RQAaOHssMABXA1ICAAsYuIdgMExgTPjgdKhuAGsAdygGAuKyyurY+wgiWrwKqrA3DwBfD1zkUsFtYOsZeSV+0s1h3UtrEgBzPFMAZWBUMmYYKETgDx09ELgjEywg2e8whOTUjMbs3KwCh-QBrpnD619-QPMLo7CzRgk3eHF6nCSKRI6SGnn+ozkZnsN2hGX2I0MxlM50+oUKkNuzwSeSJORR6QA8iFSSD7kCQe4PnMpN8AjjmbYmkQCajQeDwWxQJBYHBuD8yK9sABJAAy5CoNAAonhtpQ2EIMdJEcwiCU8AsPJrFsssGsNgB+ZgGCAQVC6PCG+GY05mTW67gLGyMg4c1m-N3bD1erTdNiC8DQeAwShgaVyijIah2+hgADSwEoBDgAF44KUMxAyHBo7HC3BSAmk3QGFpw8KozG4-LEzQUwAeVNwUD+PAILPu-U5uADhYAPiHJeAZYrCuTDDgADI4AAlFDQBAd2Ky5tV5Wq0e1uuRuBkRJ4ZAwEj4OALYAweOz4AAYVMHa7IB7fbg28rrYY6czUcAAoCGQEowBgAA5bVh0DQcAB84FTABKdVOHIOAgOhVNlnKPAHxbO0AJAsCSAg6D5GQ1COCEHQYESKA8HLHc-zAGxQPAqDEVcThQ04LB6MYzCZ0I6swB8LMf0fFNkPY0jyO4tg+KFY9T3PS9r1ve8WLtN9u2AXt+zghY4EQqTRJTACCGAjiyK48YkNQjU7wYpitIIqsXywEjOIo4BkLgc1zVYbQxjMWyFPkaJtBObFbG0DgAANsgAEhYCL7OAbpEu0VxouEP1mBsBLkqBNKMr87Lcvy0NlIjEU1IvK8mOw3D8J04AAL0j8DK-cyq0sjNrJ8uy-J1YzTMcnV5My0VJI81irLQujXOHGa-NFJiRIGhglLYIA tsc Version 3.9.0-dev.20200408 node v13.12.0 ```ts export declare function getLifecycle<K extends string | ILifecycleMapKeys>(scriptName: K): { readonly name: "install"; readonly before: readonly ["preinstall"]; readonly after: readonly ["postinstall", "prepublish", "prepare", "preshrinkwrap", "shrinkwrap", "postshrinkwrap"]; } | { readonly name: "pack"; readonly ignoreSelf: true; readonly before: readonly ["prepublish", "prepare", "prepack"]; readonly after: readonly ["postpack"]; } | { readonly name: "publish"; readonly before: readonly ["prepublish", "prepare", "prepublishOnly", "prepack", "postpack"]; readonly after: readonly ["postpublish"]; } | ILifecycleEntry; ``` **Actual behavior:** ```ts export declare function getLifecycle<K extends string | ILifecycleMapKeys>(scriptName: K): { readonly name: "install"; readonly before: readonly ["preinstall"]; readonly after: readonly ["postinstall", "prepublish", "prepare", "preshrinkwrap", "shrinkwrap", "postshrinkwrap"]; } | { readonly name: "publish"; readonly before: readonly ["prepublish", "prepare", "prepublishOnly", "prepack", "postpack"]; readonly after: readonly ["postpublish"]; } | ILifecycleEntry; ``` ```patch export declare function getLifecycle<K extends string | ILifecycleMapKeys>(scriptName: K): { readonly name: "install"; readonly before: readonly ["preinstall"]; readonly after: readonly ["postinstall", "prepublish", "prepare", "preshrinkwrap", "shrinkwrap", "postshrinkwrap"]; } | { - readonly name: "pack"; - readonly ignoreSelf: true; - readonly before: readonly ["prepublish", "prepare", "prepack"]; - readonly after: readonly ["postpack"]; - } | { readonly name: "publish"; readonly before: readonly ["prepublish", "prepare", "prepublishOnly", "prepack", "postpack"]; readonly after: readonly ["postpublish"]; } | ILifecycleEntry; ``` **Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior --> **Related Issues:** <!-- Did you find other bugs that looked similar? -->
Needs Investigation
low
Critical
596,763,107
javascript
Misleading documentation 10.8
The documentation for [10.8](https://github.com/airbnb/javascript#modules--multiline-imports-over-newlines) references [`object-curly-newline`](https://github.com/airbnb/javascript#modules--multiline-imports-over-newlines) however object-curly-newline does not catch this rule. Furthermore airbnb's set of rules also doesn't catch this rule. See [Example](https://eslint.org/demo#eyJ0ZXh0IjoiaW1wb3J0IHtmb28sIFxuICAgICAgICBiYXIsIGJheiwgYmFuZ30gZnJvbSAnZm9vLWJhcic7XG5cbmNvbnN0IHRoaW5nID0ge1xuICBmaXJzdCA6IGZvbyxcbiAgc2Vjb25kIDogYmFyLCBcbiAgdGhpcmQgOiBiYXosIGZvdXJ0aCA6IGJhbmdcbn1cblxuY29uc3QgbGlzdCA9IFtcbiAgZm9vLFxuICBiYXIsXG4gIGJheiwgYmFuZ1xuXTtcblxuKGxpc3QhPT10aGluZykiLCJvcHRpb25zIjp7InBhcnNlck9wdGlvbnMiOnsiZWNtYVZlcnNpb24iOjExLCJzb3VyY2VUeXBlIjoibW9kdWxlIiwiZWNtYUZlYXR1cmVzIjp7fX0sInJ1bGVzIjp7ImNvbnN0cnVjdG9yLXN1cGVyIjoyLCJmb3ItZGlyZWN0aW9uIjoyLCJnZXR0ZXItcmV0dXJuIjoyLCJuby1hc3luYy1wcm9taXNlLWV4ZWN1dG9yIjoyLCJuby1jYXNlLWRlY2xhcmF0aW9ucyI6Miwibm8tY2xhc3MtYXNzaWduIjoyLCJuby1jb21wYXJlLW5lZy16ZXJvIjoyLCJuby1jb25kLWFzc2lnbiI6Miwibm8tY29uc3QtYXNzaWduIjoyLCJuby1jb25zdGFudC1jb25kaXRpb24iOjIsIm5vLWNvbnRyb2wtcmVnZXgiOjIsIm5vLWRlYnVnZ2VyIjoyLCJuby1kZWxldGUtdmFyIjoyLCJuby1kdXBlLWFyZ3MiOjIsIm5vLWR1cGUtY2xhc3MtbWVtYmVycyI6Miwibm8tZHVwZS1rZXlzIjoyLCJuby1kdXBsaWNhdGUtY2FzZSI6Miwibm8tZW1wdHkiOjIsIm5vLWVtcHR5LWNoYXJhY3Rlci1jbGFzcyI6Miwibm8tZW1wdHktcGF0dGVybiI6Miwibm8tZXgtYXNzaWduIjoyLCJuby1leHRyYS1ib29sZWFuLWNhc3QiOjIsIm5vLWV4dHJhLXNlbWkiOjIsIm5vLWZhbGx0aHJvdWdoIjoyLCJuby1mdW5jLWFzc2lnbiI6Miwibm8tZ2xvYmFsLWFzc2lnbiI6Miwibm8taW5uZXItZGVjbGFyYXRpb25zIjoyLCJuby1pbnZhbGlkLXJlZ2V4cCI6Miwibm8taXJyZWd1bGFyLXdoaXRlc3BhY2UiOjIsIm5vLW1pc2xlYWRpbmctY2hhcmFjdGVyLWNsYXNzIjoyLCJuby1taXhlZC1zcGFjZXMtYW5kLXRhYnMiOjIsIm5vLW5ldy1zeW1ib2wiOjIsIm5vLW9iai1jYWxscyI6Miwibm8tb2N0YWwiOjIsIm5vLXByb3RvdHlwZS1idWlsdGlucyI6Miwibm8tcmVkZWNsYXJlIjoyLCJuby1yZWdleC1zcGFjZXMiOjIsIm5vLXNlbGYtYXNzaWduIjoyLCJuby1zaGFkb3ctcmVzdHJpY3RlZC1uYW1lcyI6Miwibm8tc3BhcnNlLWFycmF5cyI6Miwibm8tdGhpcy1iZWZvcmUtc3VwZXIiOjIsIm5vLXVuZGVmIjoyLCJuby11bmV4cGVjdGVkLW11bHRpbGluZSI6Miwibm8tdW5yZWFjaGFibGUiOjIsIm5vLXVuc2FmZS1maW5hbGx5IjoyLCJuby11bnNhZmUtbmVnYXRpb24iOjIsIm5vLXVudXNlZC1sYWJlbHMiOjIsIm5vLXVudXNlZC12YXJzIjoyLCJuby11c2VsZXNzLWNhdGNoIjoyLCJuby11c2VsZXNzLWVzY2FwZSI6Miwibm8td2l0aCI6MiwicmVxdWlyZS15aWVsZCI6MiwidXNlLWlzbmFuIjoyLCJ2YWxpZC10eXBlb2YiOjIsIm9iamVjdC1jdXJseS1uZXdsaW5lIjoyLCJvYmplY3QtY3VybHktc3BhY2luZyI6Miwib2JqZWN0LXByb3BlcnR5LW5ld2xpbmUiOjIsImFycmF5LWJyYWNrZXQtbmV3bGluZSI6MiwiYXJyYXktYnJhY2tldC1zcGFjaW5nIjoyLCJhcnJheS1lbGVtZW50LW5ld2xpbmUiOjJ9LCJlbnYiOnt9fX0=) The guidance is good, however the documentation leads you to believe the linter will catch you if you put imports on the same line, which it doesn't.
needs eslint rule change/addition
low
Major
596,774,099
TypeScript
Enhance event type of ServiceWorker `onstatechange` listener
<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section! Please help us by doing the following steps before logging an issue: * Search: https://github.com/Microsoft/TypeScript/search?type=Issues * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ Please fill in the *entire* template below. --> <!-- Please try to reproduce the issue with the latest published version. It may have already been fixed. For npm: `typescript@next` This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly --> **TypeScript Version:** 3.8.3 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** - serviceworker listener - serviceworker statechange - serviceworker typing - serviceworker onstatechange **Code** The current master branch is still with the issue: https://github.com/microsoft/TypeScript/blob/126c6ab80d2dca28d4a3d1889f19ad3504c1f74d/lib/lib.dom.d.ts#L14872 ```ts registration.wait.addEventListener('statechange', (event) => { console.log(event?.target?.state); } ``` **Expected behavior:** Above `event.target` is `ServiceWorker` type **Actual behavior:** Above `event.target` is `EventTarget` type ``` Property 'state' does not exist on type 'EventTarget'. ``` **Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior --> **Related Issues:** <!-- Did you find other bugs that looked similar? -->
Bug,Domain: lib.d.ts
low
Critical