sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: InputDecoration padding isn't enough for text with OutlineInputBorder
Labels: a: text input,framework,f: material design,a: quality,has reproducible steps,found in release: 3.3,found in release: 3.7,team-design,triaged-design

This code:

```dart
TextFormField(
      decoration: const InputDecoration(
        hintText: 'Ex: Batman',
        labelText: 'Gotham',
        border: OutlineInputBorder(),
      ),
    );
```

Generates this output:

![image](https://user-images.githubusercontent.com/8120472/95144452-115c3b00-074f-11eb-9824-2877669e675d.png)

As we can see, `Gotham` is being cut by the `AppBar` on top of it:

![image](https://user-images.githubusercontent.com/8120472/95144492-2afd8280-074f-11eb-8f57-4d8306f8da9d.png)

This is the complete code for generating this error:

```dart
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('Adicionar Transfer')),
      body: Form(
        key: _formKey,
        child: Padding(
          padding: const EdgeInsets.only(left: 16, right: 16, bottom: 16),
          child: Column(
            children: <Widget>[
              TextFormField(
                decoration: const InputDecoration(
                  hintText: 'Ex: Batman',
                  labelText: 'Gotham',
                  border: OutlineInputBorder(),
                ),
                validator: (value) => value.isEmpty ? 'olhaa' : null,
              ),
              Padding(
                padding: const EdgeInsets.symmetric(vertical: 16.0),
                child: RaisedButton(
                  onPressed: () {
                    // Validate will return true if the form is valid, or false if
                    // the form is invalid.
                    if (_formKey.currentState.validate()) {
                      // Process data.
                    }
                  },
                  child: Text('Submit'),
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
```
Repository: vscode
Issue: Inconsistencies with Trigger (full) completions when (incomplete) completions are already active
Labels: suggest,under-discussion

<!-- ⚠️⚠️ 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: 1.49.3
- OS Version: 10.15.7

@jrieken 

This is a follow up to https://github.com/microsoft/vscode/issues/99504. The issue is fixed in some instances, but not in others.

Here's an example with a Go file where I have space enabled as a trigger char and then retype the line with space disabled as a trigger character.

![ezgif-7-a4e9f3bb5ac4](https://user-images.githubusercontent.com/47993402/95147591-03e68700-0736-11eb-9bae-fd88a0a976b4.gif)

Previously, upon typing `return n`, only Kite's completions would display. This has since been fixed via #99504. But, you can see in the gif that `return nil, e` results in Intellisense completions being suppressed, unless the trigger for space is turned off. 

Similarly for JS:

![ezgif-7-67a5306dd896](https://user-images.githubusercontent.com/47993402/95147594-0648e100-0736-11eb-9129-80aa636f5af9.gif)

Previously, IntelliSense completions for `setAutoInstallPluginsEnabled: (e` were being suppressed. This has since been fixed. But,
`setAutoInstallPluginsEnabled: (enabled) => dis` results in completions being suppressed. If I turn off space as a trigger, VSCode is able to suggest `dispatch` and `disabled`, as you can see at the end of the screen capture.
Repository: rust
Issue: Allow using uncompressed metadata for proc-macros and dylibs
Labels: C-enhancement,A-metadata,T-compiler

Currently, we always compress crate metadata for dylibs and proc-macros:

https://github.com/rust-lang/rust/blob/ea7e131435a960d154e9a5d6a9297039574ffd7d/compiler/rustc_interface/src/passes.rs#L928-L940

This prevents us from `mmap`-ing the metadata into memory when we decode it, since we need to read the entire file in order to decompress it.

We should allow configuring this setting via a `-Z` flag (and maybe through the `Cargo.toml` at some point), to allow users to trade disk space for speed. In addition to avoiding the overhead of compressing/decompressing, gaining the ability to `mmap` the crate metadata means that we may avoid loading unused portions from disk entirely. This is less important for proc-macros after https://github.com/rust-lang/rust/pull/76897, but might still have a noticable performance impact for dylibs.

Suggested by @joshtriplett on Zulip.
Repository: rust
Issue: `mir::Constant::span` is a footgun for mir optimizations
Labels: A-diagnostics,E-mentor,T-compiler,A-MIR,E-medium,A-mir-opt

The field is part of the `PartialEq` impl, and thus two constants that are equal except in their span will compare inequal. This causes problems in https://github.com/rust-lang/rust/pull/77551#discussion_r499759161 and https://github.com/rust-lang/rust/pull/77549#discussion_r499462146 and possibly in other places.

The "trivial" way to resolve this is to manually implement `PartialEq` and make it skip the `Span` field.
Downside: now we may cause weird diagnostics after such an optimization has been applied, because if one of the constants is eliminated, all diagnostics are reported on the other diagnostic's site. We'd need a multispan and properly combine it. That will be hard to ensure to happen if we just silently change `PartialEq`

cc @rust-lang/wg-mir-opt
Repository: youtube-dl
Issue: Want to have a thumbnail format conversion function.
Labels: request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

- [x] I'm reporting a feature request
- [x] I've verified that I'm running youtube-dl version **2020.09.20**
- [x] I've searched the bugtracker for similar feature requests including closed ones

## Description

When I download YouTube video using --write-thumbnail, I always got a webp format image file. However, this format is not pretty convenient for my further use. Thus, I have to convert it to a png or jpg file using MS paint "saving as ...”. I thought if there is a thumbnail format conversion function, it will be quite helpful.
You see, the main download function of YouTube-dl such as download video/audio/subtitle, all have their format convert function (as --audio-format  FORMAT, --recode-video FORMAT, --convert-subs FORMAT). So thumbnail format conversion function seems reasonable.
The Implementation of this function could simply use FFmpeg, as other convert function already does.

Thanks a lot!
Repository: opencv
Issue: OpenCV does not find_dependency(Eigen3) for transitive link dependency
Labels: feature,priority: low,category: build/install

##### System information (version)
- OpenCV => 4.2
- Operating System / Platform => All
- Compiler => All
- cmake => 3.18.3

##### Detailed description

OpenCV can be used very easily with cmake. The typical workflow is:
```
find_package(OpenCV REQUIRED)
target_link_libraries(MY_TARGET_NAME ${OpenCV_LIBS})
```
However this currently fails if OpenCV was configured with Eigen3 enabled. The reason is that `OpenCVConfig.cmake` does not have a call to `find_dependency(Eigen3)`, but `Eigen3::Eigen` is listed in the `INTERFACE_LINK_LIBRARIES` of `OpenCVModules.cmake`.

According to modern cmake standards, the dependencies that transitively passed down through `INTERFACE_LINK_LIBRARIES` should also be detected via `find_dependency()`.

##### Steps to reproduce

 - Configure OpenCV with Eigen3 enabled
 - Use OpenCV in a downstream project like outlined above
 - The cmake config step will fail with error:
```
CMake Error at add_executable:
  Target "BasicCppPropertiesBenchmark" links to target "Eigen3::Eigen" but
  the target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  CMakeLists.txt:451 (add_executable)
```

##### Issue submission checklist

 - [x] I report the issue, it's not a question
 - [x] I checked the problem with documentation, FAQ, open issues,
       answers.opencv.org, Stack Overflow, etc and have not found solution
 - [x] I updated to latest OpenCV version and the issue is still there
  - I did not update to the master branch, only to the latest release version
 - [x] There is reproducer code and related data files: videos, images, onnx, etc
Repository: flutter
Issue: [animations] add `fullscreenDialog` support to OpenContainer as provided by MaterialPageRoute
Labels: framework,a: animation,f: material design,c: proposal,team-design,triaged-design

## Use case

The main use case is a FAB which opens into fullscreen dialog when tapped. 

Currently when using `OpenContainer` the dialog will be opened as another page in the app with a "Back" button at the start of the AppBar instead of a "Close" button, as expected in fullscreen dialogs.

## Proposal

Add support for `fullscreenDialog` as provided by `MaterialPageRoute`. Passing `fullscreenDialog: true` will show a "Close" button at the start of the AppBar, as expected in fullscreen dialogs.

Currently:
<img width="537" alt="Screen Shot 2020-10-06 at 13 19 42" src="https://user-images.githubusercontent.com/654041/95189588-bd953480-07d6-11eb-905a-e36f94d49d9f.png">

With `fullscreenDialog: true`:
<img width="537" alt="Screen Shot 2020-10-06 at 13 20 06" src="https://user-images.githubusercontent.com/654041/95189684-d998d600-07d6-11eb-99a3-194183d020f8.png">
Repository: storybook
Issue: Infer multiple select control for arg type Array<Enum>
Labels: feature request,inactive,addon: controls

If an arg can be an array of an enum, we could infer a control of type `multi-select`, `check` or `inline-check`. Currently it just shows the default JSON textfield.

Maybe we can use `inline-check` if its 1-4 options and `multi-select` for more than that?

Example:

```
interface Props {
  fileType: 'directory' | 'file';
  fileTypes: ('directory' | 'file')[];
}
```
<img width="631" alt="Screen Shot 2020-10-06 at 19 06 04" src="https://user-images.githubusercontent.com/898549/95188144-fd741000-0806-11eb-80c3-d2dec68738f9.png">

(Using union type here since enum types aren't working, but that's another issue #12531)
Repository: flutter
Issue: Never uninstall APK without permission
Labels: tool,c: proposal,P3,team-tool,triaged-tool

<!-- 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 out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Use case

<!--
     Please tell us the problem you are running into that led to you wanting
     a new feature.

     Is your feature request related to a problem? Please give a clear and
     concise description of what the problem is.

     Describe the alternative solutions you've considered. Is there a package
     on pub.dev/flutter that already solves this?
-->

Currently, "flutter run" on Android will attempt to install the APK and if it fails, it will uninstall the old version and try to install the app again. This is very bad, because it has the effect of wiping all of the app's storage without permission, potentially deleting important data.

## Proposal

<!--
     Briefly but precisely describe what you would like Flutter to be able to do.

     Consider attaching images showing what you are imagining.

     Does this have to be provided by Flutter directly, or can it be provided
     by a package on pub.dev/flutter? If so, maybe consider implementing and
     publishing such a package rather than filing a bug.
-->

Add a command-line option to force removal of the old version, and suggest this option to the user if a normal invocation of "flutter run" fails, but don't let "flutter run" uninstall an app without permission.
Repository: flutter
Issue: Disabled TextField InputDecoration errorText allocates space but is not shown
Labels: a: text input,framework,f: material design,a: typography,has reproducible steps,found in release: 3.3,found in release: 3.6,team-design,triaged-design

## Steps to Reproduce

1. Create a `TextField` that has `enabled: false` and has `decoration: InputDecoration()`.

2. Code of the sample app:
```dart
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) => MaterialApp(
        title: 'Flutter Demo',
        home: MyHomePage(),
      );
}

class MyHomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) => Scaffold(
        body: Center(
          child: Padding(
            padding: EdgeInsets.all(16),
            child: Column(mainAxisAlignment: MainAxisAlignment.center, children: [
              Container(
                color: Colors.green.withOpacity(0.4),
                child: TextField(
                  enabled: false,
                  decoration: InputDecoration(
                    hintText: 'hintText',
                  ),
                ),
              ),
              SizedBox(height: 8),
              Container(
                color: Colors.orange.withOpacity(0.4),
                child: TextField(
                  enabled: false,
                  decoration: InputDecoration(hintText: 'hintText', errorText: 'Error text'),
                ),
              ),
              SizedBox(height: 8),
              Container(
                color: Colors.red.withOpacity(0.4),
                child: TextField(
                  decoration: InputDecoration(hintText: 'hintText', errorText: 'Error text'),
                ),
              ),
            ]),
          ),
        ), // This trailing comma makes auto-formatting nicer for build methods.
      );
}
```

**Expected results:**
To my mind, `TextField` should not allocate the space if it is disabled or it should still display the errorText;

**Actual results:**
At the moment it allocates the space but does not show the error itself;

Example image:

![image](https://user-images.githubusercontent.com/26345923/95198977-c4c33f00-07e4-11eb-922c-fe1c66235342.png)
Repository: go
Issue: os: executable FileMode bit is not set on Windows
Labels: OS-Windows,NeedsInvestigation

<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.13.8 windows/amd64

</pre>

### Does this issue reproduce with the latest release?

Yes

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\june.yi\AppData\Local\go-build
set GOENV=C:\Users\june.yi\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\june.yi\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\june.yi\Aset GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\june.yi\A
ppData\Local\Temp\go-build564788466=/tmp/go-build -gno-record-gcc-switches



</pre></details>

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->

I ran the code to check if a file is executable on Windows.

```go
package main

import "os"

func main() {
	f, err := os.Stat("C:\\Users\\june.yi\\Downloads\\SopsSecretGenerator_1.3.1_windows_amd64.exe")

	if err == nil {
		println(f.Mode())
		println(f.Mode() & 0111 == 0000)
	}
}
```

### What did you expect to see?

Bit operation was performed to implement a function that checks whether a file is executable. However, it seems that the executable bit is not set even though it is an executable file on Windows.

```
493
false
```

(493==0755)

### What did you see instead?

```
438
true
```

(438==0644)
Repository: vscode
Issue: Support for Apple Pencil scribble
Labels: feature-request,ios-ipados

<!-- ⚠️⚠️ 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. -->
I would like to be able to use Apple Pencil's scribble function to type into VSCode while using it in Sidecar. Currently, it only works as a mouse.

I tried it in http://codesandbox.io and it worked more as expected but there was a very annoying effect when writing sometimes it thinks it should scroll.
Repository: godot
Issue: Godot Crash while in background
Labels: bug,platform:windows,topic:editor,needs testing,crash

**Godot version:**
3.2.3 x64 version. Using the standalone zip version.


**OS/device including version:**
Windows 7
OpenGL ES 3.0 Renderer: GeForce GTX 1050/PCIe/SSE2


**Issue description:**
I had 3 instances of Godot Editor running under a different Explorer instance. incredibly simply demo's. I went off to watch something in MPV (https://mpv.io/), and after about 5 minutes MPV went black, then I got the windows "this application has crashed" dialog for one of the Godots.

Shortly thereafter while I was looking into that trying to find where Godot keeps its logs, the other two instances of Godot crashed too.
I can only find versions of godot.log and they all only have the two lines that appear at startup.

I have no clue what triggered it I'm afraid. There was an error in the console window, but unfortunately I didn't get it down before the other instances crashed.

**Steps to reproduce:**
Unknown

**Minimal reproduction project:**
Unknown.
Repository: opencv
Issue: Error While Reading the RTSP video stream
Labels: feature,priority: low,category: videoio

System information (version)
- OpenCV = 4.4.0
- Operating System / Platform = Ubuntu
- Compiler = Python 3.6.9

Getting Encoding error while Reading a video stream using RTSP as shown below. Initially the reading process starts and while running it shows this errors

[hevc @ 0x83b9940] Could not find ref with POC 0
[rtsp @ 0x8325a00] RTP: PT=60: bad cseq ced0 expected=c18a
[rtsp @ 0x8325a00] RTP: PT=60: bad cseq de79 expected=d168
[hevc @ 0x83aefc0] The cu_qp_delta 64 is outside the valid range [-26, 25].
[hevc @ 0x83b9940] Could not find ref with POC 8
[hevc @ 0x83aefc0] CABAC_MAX_BIN : 7
[hevc @ 0x83aefc0] The cu_qp_delta 1094995529 is outside the valid range [-26, 25].
[hevc @ 0x83a05c0] The cu_qp_delta -59 is outside the valid range [-26, 25].
[hevc @ 0x833aa00] The cu_qp_delta 35 is outside the valid range [-26, 25].

The code is as shown below

        cap = cv2.VideoCapture("rtsp://********@192.168.0.46:33/Streaming/Channels/101",cv2.CAP_FFMPEG) 
        cap.set(cv2.CAP_PROP_FPS,3)
        if (cap.isOpened()== False):  
            print("Error Opening the file")
        previous_face = None
  
        # Read until video is completed 
        while(cap.isOpened()):  # Capture frame-by-frame 
            ret, frame = cap.read()
            if(np.shape(frame) != ()):
                frame = cv2.resize(frame, (780, 540), interpolation=cv2.INTER_AREA)
                cv2.imshow('video', frame)

We tried using nohup in to run this continuously. The code starts running successfully and it reads the stream properly but after a short period of time (Not with in a specific interval of time) the error is been throws and the and stops running.
Repository: You-Dont-Know-JS
Issue: for types & grammar 2nd-edition: cover % operator nuances
Labels: for second edition

https://twitter.com/getify/status/1313481495785476099
Repository: flutter
Issue: [web] support custom local server scenarios
Labels: c: new feature,tool,platform-web,c: proposal,P3,team-web,triaged-web


## Use case
Consider you're working with a relatively large system and your developers are spinning up everything behind a reverse proxy to mimic your production environment locally with an internal sub-domain.  i.e. *.dev.somesite.com.

With --web-hostname you CAN set it to 0.0.0.0 but this doesn't appear to work properly in most cases other than accessing on localhost or the specific ip of the machine.  For instance, test.dev.somesite.com won't work as it starts to load the site and then requirejs starts erroring on further loads with or without a reverse proxy running.

Further, vs code will try and debug in chrome on 0.0.0.0 which of course won't work.

This means that properly proxying the flutter web app doesn't work correctly and defeats the built in dev server which makes debugging in vs code difficult in this scenario at best.

## Proposal
Please use --web-hostname for what chrome will be launched as and debug as.
And then have --listen-ip or something that specifies that it should listen on whatever ip or universal 0.0.0.0 that is specified.

(or something similar that makes it work effectively the same so that I can tell launch.json to launch with test.somesite.com which is an nginx proxy that uses host.docker.internal as the upstream and the flutter dev server will still work and listen on all ips so it will respond on host.docker.internal as well because i have --listen-ip 0.0.0.0

And of course make it so that this doesn't freak out requirejs and this scenario works correctly where you're proxying to get a proper request host name etc. and not an ip address with ssl (let's encrypt) and everything just works so that we can have full https with flutter dev and thus test the entire pipeline.