sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: java.lang.RuntimeException: Unable to get provider io.flutter.plugins.imagepicker.ImagePickerFileProvider
Labels: c: crash,platform-android,p: image_picker,package,P3,team-android,triaged-android

Hi there!
I tried to run my Flutter application on an old Android 4.4.2 phone. It works fine on newer devices but I like to offer support for older devices as well.
So, when I try to start my application I get the following error:

```
√ Built build\app\outputs\flutter-apk\app-debug.apk.
E/AndroidRuntime(12820): FATAL EXCEPTION: main
E/AndroidRuntime(12820): Process: com.foo.foo, PID: 12820
E/AndroidRuntime(12820): java.lang.RuntimeException: Unable to get provider io.flutter.plugins.imagepicker.ImagePickerFileProvider: java.lang.ClassNotFoundException: Didn't find class "io.flutter.plugins.imagepicker.ImagePickerFileProvider" on path: DexPathList[[zip file "/data/app/com.foo.foo-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.foo.foo-1, /vendor/lib, /system/lib]]
E/AndroidRuntime(12820): 	at android.app.ActivityThread.installProvider(ActivityThread.java:5236)
E/AndroidRuntime(12820): 	at android.app.ActivityThread.installContentProviders(ActivityThread.java:4828)
E/AndroidRuntime(12820): 	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4711)
E/AndroidRuntime(12820): 	at android.app.ActivityThread.access$1600(ActivityThread.java:175)
E/AndroidRuntime(12820): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1368)
E/AndroidRuntime(12820): 	at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(12820): 	at android.os.Looper.loop(Looper.java:146)
E/AndroidRuntime(12820): 	at android.app.ActivityThread.main(ActivityThread.java:5602)
E/AndroidRuntime(12820): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(12820): 	at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(12820): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
E/AndroidRuntime(12820): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
E/AndroidRuntime(12820): 	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(12820): Caused by: java.lang.ClassNotFoundException: Didn't find class "io.flutter.plugins.imagepicker.ImagePickerFileProvider" on path: DexPathList[[zip file "/data/app/com.foo.foo-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.foo.foo-1, /vendor/lib, /system/lib]]
E/AndroidRuntime(12820): 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:67)
E/AndroidRuntime(12820): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
E/AndroidRuntime(12820): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
E/AndroidRuntime(12820): 	at android.app.ActivityThread.installProvider(ActivityThread.java:5221)
E/AndroidRuntime(12820): 	... 12 more

```

Do you have any idea how I can fix this?
Repository: excalidraw
Issue: Publish Excalidraw PWA to available stores (Microsoft Store, Play Store)
Labels: pwa

### Eventually we would like to publish to the following stores

- [Microsoft Store](https://www.microsoft.com/en-us/store/apps/windows)
- [Play Store](https://play.google.com/store)


### What needs to be done (anything that comes to mind)

- [ ] Create Organization (Name, Email, Address, etc)
- [ ] Automate packaging for each platform
- [ ] Automate publishing (would be nice to do to as little as possible when publishing)
- [ ] 2-3 Screenshots per publication
- [ ] Title & Description for each platform (would be nice to keep it the same)
- [ ] ...
Repository: terminal
Issue: Profile reordering for Settings UI
Labels: Issue-Feature,Help Wanted,Product-Terminal,Area-SettingsUI

# Description of the new feature/enhancement

The Settings UI doesn't have a way of reordering your profiles. In the JSON, we're able to just reorder the array of `profiles.list`.

Some considerations to keep in mind include:
- [**New Tab Menu Customization**](https://github.com/microsoft/terminal/blob/main/doc/specs/%231571%20-%20New%20Tab%20Menu%20Customization/%231571%20-%20New%20Tab%20Menu%20Customization.md):
  - allow actions in the dropdown
  - nesting profiles/actions in the dropdown

_Ideally_, we could have a design that's future-proof. But since we don't know when the above will be implemented, we could just go with a simple non-future-proof design now, then redesign later.

EDIT: We should also consider deprecating `hidden` once this is in.

# Proposed technical implementation details (optional)

A few ideas have come to mind, but @cinnamon-msft and I haven't actually taken the time to sit down and design this yet. I'll list a few ideas here, but I'm excited to see what ideas the community can come up with:

## 1. Drag and drop NavigationView's menu items

Pretty straightforward. The idea is that you can drag and drop the menu items for profiles.

![NavigationView](https://user-images.githubusercontent.com/11050425/106053841-1d725c80-60a0-11eb-95ac-758887b344cb.png)

Concerns:
- knowing that those menu items are drag-able isn't intuitive. Maybe we could add some kind of 
gripper icon? 
![gripper icon example](https://user-images.githubusercontent.com/11050425/106054056-5f9b9e00-60a0-11eb-8c39-152d886709db.png)
- not really future-proof
- TECHNICALLY: I don't believe the items in a nav view can be re-ordered trivially (without implementing a fork of nav view, quite likely). 
  - Open question: Can we just stick the list of profiles as a `ListView` with `CanReorder=true` inside the NavView? 
  - This would almost certainly require a huge refactor of how navigation works in the settings UI

## 2. Add an index "setting" in Profile > General

This would probably be a number box on each Profile > General page (not base layer).

Concerns:
- don't like that you can't see all the overall order
Repository: TypeScript
Issue: Modifier for bitflag enums
Labels: Suggestion,In Discussion

Consider the following code

```ts
export enum ScriptKind {
  Unknown = 0,
  JS = 1,
  JSX = 2,
  TS = 3,
  TSX = 4,
  External = 5,
  JSON = 6,
}
```

If a user tries to pass along the expression `ScriptKind.JSX | ScriptKind.TSX` to a parameter that expects a `ScriptKind`, then will end up constructing a value equal to `ScriptKind.JSON`.

Really, the user should have been told that this enum wasn't intended to be used in bitwise operations! But unfortunately, TypeScript doesn't catch this because you can assign any number to any numeric enum.

One could imagine a mode that prevents both the construction and the assignment for certain enums. In this mode, an enum has to be declared with the `bitflags` modifier if it wants to opt in to these types of bitwise operations, and to allow `number` to be assignable to that enum.

```
bitflags enum SymbolFlags {
    // ...
}
```

Alternatively, this could be something more akin to `/** @deprecated */` or `/** @internal */`.

```
/// @bitflags
enum SymbolFlags {
    // ...
}
```

This is in some part inspired by Rust's [`bitflags`](https://docs.rs/bitflags/1.2.1/bitflags/) macro.
Repository: PowerToys
Issue: Keyboard manager and better RDP interactions
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Planning-Consideration

There are a host of issues filed against KBM regarding RDP.  We believe they are the same 'class' of bugs where if we fix one, we'll fix them all.

We'll be using this as the primary tracker issue for this host of bugs and break it into further issues once investigation is complete.
Repository: terminal
Issue: SUI: Starting directory/background image checkboxes recheck themselves automatically
Labels: Issue-Bug,Product-Terminal,Priority-3,Area-SettingsUI

<!-- 
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨

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!
-->

<!--
This bug tracker is monitored by Windows Terminal development team and other technical folks.

**Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**.
Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue.

If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link.

Please use this form and describe your issue, concisely but precisely, with as much detail as possible.

-->

# Environment

```none
Windows build number: Microsoft Windows [Version 10.0.19042.746]
Windows Terminal version (if applicable): Version: 1.6.10252.0

Any other software?
```

# Steps to reproduce

<!-- A description of how to trigger this bug. -->

**Starting directory**
1. Open up the settings UI
2. Go to any profile's tab
3. Clear all the text in the "starting directory" text box
4. Check the 'use parent process directory' check box
5. The checkbox immediately unchecks itself

**Background image**
1. Open up the settings UI
2. Go to any profile's tab
3. Go to the appearance tab for that profile
4. Type in "desktopWallpaper" into the "background image path" text box
5. Check the 'use desktop wallpaper' check box
6. The checkbox immediately unchecks itself

# Expected behavior

The checkbox remains checked
<!-- A description of what you're expecting, possibly containing screenshots or reference material. -->
Repository: flutter
Issue: Create an option for specifying default timeline streams at startup
Labels: c: new feature,team,engine,team: benchmark,P3,team-engine,triaged-engine

See context in https://github.com/flutter/flutter/issues/74648. Benchmarks may wish to disable all streams to reduce overhead introduced by tracing.
Repository: PowerToys
Issue: Unify Naming Structure for Telemetry Events
Labels: Area-Telemetry,Cost-Large,Issue-Refactoring

The naming conventions for telemetry across the different utilities is inconsistent. A unified structure will make it easier to track and organize events going forward.

Proposed Convention: Microsoft.PowerToys.[utility]_[event]

Ex:
Microsoft.PowerToys.SvgFileHandlerLoaded -> Microsoft.PowerToys.FileExplorer_SvgFileHandlerLoaded

Also, we should make sure [event] has a clear, easily understood label. I wouldn't know what the difference is between Microsoft.PowerToys.ImageResizer_Invoked and Microsoft.PowerToys.ImageResizer_InvokedRet as they're currently labeled without having to dig through the code.

Checklist:
 - [x] Color Picker (#10476)
 - [ ] FancyZones
 - [ ] File Explorer add-ons
 - [ ] Image Resizer
 - [ ] Keyboard Manager
 - [ ] Power Rename
 - [ ] PowerToys Run
    - [ ] PowerToys Run - Plugin Manager
 - [ ] Shortcut Guide
 - [ ] Runner
 - [ ] Installer
Repository: pytorch
Issue: [search] duplicated entries in results
Labels: module: docs,triaged

## 📚 Documentation

e.g. https://pytorch.org/docs/master/search.html?q=DATA+PARALLEL&check_keywords=yes&area=default

returns many doubles of each entry:

![snapshot_10](https://user-images.githubusercontent.com/10676103/106075181-fb89d180-60c1-11eb-8f04-0c4cef18b903.png)

and more if you scroll down

and some entries have yet another entry of the same, but with a different title, e.g. here there are 2 on top and 1 at the bottom of the snapshot - all pointing to the [exact same page](https://pytorch.org/docs/master/generated/torch.nn.DataParallel.html?highlight=data%20parallel#torch.nn.DataParallel):

![snapshot_11](https://user-images.githubusercontent.com/10676103/106075638-e5304580-60c2-11eb-8a03-687ea781eb41.png)


cc @jlin27 @mruberry
Repository: go
Issue: x/blog: pprof example doesn't trigger reallocation
Labels: 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.15.6 linux/amd64
</pre>

### Does this issue reproduce with the latest release?
Not related


### What operating system and processor architecture are you using (`go env`)?
i5/ubuntu

### What did you do?
In the golang blog of pprof, they demonstrate the performance of golang via a benchmarking code and then comparing with cpp counterpart. The blog tells about reallocartion of memory and its time complexities in multiple loops.

The blog => https://blog.golang.org/pprof

So, I builded the examples mentioned in the havlak repository.
But to find out, that the variable "size" is static throught the execution, to be precise, 252013.
<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->



### What did you expect to see?
The constant value of size parameter, doesn't triggers the the memory re-allocation, measuring whose cost is the most focused part of the blog.


### What did you see instead?
As the blog uses the havlok example as a memory critical task, It isn't actually.
Repository: youtube-dl
Issue: Is it possible for youtube-dl prefer certain formats within a given resolution?
Labels: question

<!--

######################################################################
  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:
- Look through the README (http://yt-dl.org/readme) and FAQ (http://yt-dl.org/faq) for similar questions
- Search the bugtracker for similar questions: http://yt-dl.org/search-issues
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm asking a question
- [x] I've looked through the README and FAQ for similar questions
- [x] I've searched the bugtracker for similar questions including closed ones


## Question

<!--
Ask your question in an arbitrary form. Please make sure it's worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient.
-->

Hello!

I would like youtube-dl to always download the highest resolution video available. However, if a particular resolution is available as either a VP9 or an H.264 stream, I want youtube-dl to prefer H.264.

So, I want youtube-dl to select the VP9 stream for [this](https://www.youtube.com/watch?v=thOifuHs6eY) video, because the highest resolution available is not offered in H.264. However, I want youtube-dl to select the H.264 for [this](https://www.youtube.com/watch?v=w5UnNpnGSNI) and [this](https://www.youtube.com/watch?v=rZ3ETK7-ZM8) video, because the highest resolutions available (1080p and 540x480, respectively) are offered in both H.264 and VP9.

The format selector I'm currently using (`bestvideo[vcodec!^=av01]+bestaudio[ext=m4a]/best`) downloads the 1080p video as H264 as desired, but it downloads the 540x480 video as VP9.

Is there a format selector that will make youtube-dl do what I want? Thank you so much!
Repository: godot
Issue: SkeletonIK crashes when selecting node in hierarchy
Labels: bug,topic:editor,confirmed,crash

**Godot version:**
3.2.3


**OS/device including version:**
Linux (5.4) Manjaro Nibia 20.2.1
Linux (5.9) Manjaro Nibia 20.2.1
(tried on two different machines)


**Issue description:**
I'm exporting to gltf2 (*.glb) from Blender (2.91.0), a simple mesh and armature, just trying to test IK and get it working. It works in the viewport for me but not when actually playing the scene. And then trying to fix that I ran into this crashing issue. It doesn't seem to happen totally consistently, but I managed to figure out probably the bare minimum steps to produce this, and following these steps I was able to get it to crash pretty consistently on the 3rd or 4th time. 

I tested the IK demo on the asset library and that seemed to work okay so I think it might be something with what I'm doing, but I tried exporting from Blender to both .dae as well as .escn and IK was broken with those, too. Not sure what else to try...


**Steps to reproduce:**

1. Open test.tscn
2. Click on SkeletonIK in the hierarchy in the Scene tab
![SkeletonIK2](https://user-images.githubusercontent.com/51466587/106094609-8634f580-60ef-11eb-8332-4f39bfa4b249.png)

3. Play Scene (F6)
4. Close the play scene window
![SkeletonIK4](https://user-images.githubusercontent.com/51466587/106094138-c47de500-60ee-11eb-92d9-67bc13570fea.png)

5. Close the scene
![SkeletonIK5](https://user-images.githubusercontent.com/51466587/106094153-c9db2f80-60ee-11eb-8915-0bc98db07647.png)

6. Repeat 1-3 times and it should crash on step 2

**Minimal reproduction project:**
[SkeletonIKTest.zip](https://github.com/godotengine/godot/files/5884951/SkeletonIKTest.zip)
Repository: create-react-app
Issue: Can i change eslintFormatter.js ???
Labels: needs triage

i use visual source code.
When error(or warning) occurs in eslint, i cannot jump to VS Code.
because output as follows......

```
src\AddTodo.tsx
  Line 1:10:   'AnyAction' is defined but never used             @typescript-eslint/no-unused-vars
```

Therefore, I would like to change the output to the following.

```
src\AddTodo.tsx
  C:\work\src\AddTodo.tsx:1:10:   'AnyAction' is defined but never used             @typescript-eslint/no-unused-vars
```

Now, i edited 'node_modules/eslintFormatter.js' as follows.

```
let position = chalk.bold(result.filePath + ':' + line + ':');
```
Repository: ant-design
Issue: Image在IE浏览器下点击预览关闭之后，滚轮事件无响应
Labels: Internet Explorer,Inactive,IE | Firefox | Safari

- [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.

### Reproduction link
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/antd-reproduction-template-forked-x6mc4?file=/index.js)

### Steps to reproduce
1.渲染一个Image组件，使用官方用例代码即可。
2.在IE11浏览器打开该页面，并且页面高度足够出现滚动条。
3.点击图片进行预览，然后关闭。
4.滚动鼠标滚轮，发现无法触发浏览器滚动条滚动。

### What is expected?
滚轮能够触发滚动条上下移动

### What is actually happening?
滚轮无法触发滚动条上下移动

| Environment | Info |
|---|---|
| antd | 4.11.2 |
| React | react 16.14.2 |
| System | windows 10 |
| Browser | IE 11 |


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: godot
Issue: StreamPeer::get_<NumberFormat>() method ignore error from get_data()
Labels: discussion,usability,topic:network

**Godot version:**
Both `3.2` and `master` branches

**Issue description:**
In the following WAT test, `get_8()` returns values beyond the end of the buffer:

```gdscript
func test_end_of_buffer():
    var stream = StreamPeerBuffer.new()
    stream.data_array = PoolByteArray([1,2,3])

    asserts.is_equal(1, stream.get_u8(), "First u8 value")
    asserts.is_equal(2, stream.get_u8(), "Second u8 value")
    asserts.is_equal(3, stream.get_u8(), "Third u8 value")
    # End of buffer

    # What? Why? 0 is a valid value!
    asserts.is_equal(0, stream.get_u8(), "EOF u8 value") 
```

Looking at the source of `core/io/stream_peer.cpp` ([master](https://github.com/godotengine/godot/blob/master/core/io/stream_peer.cpp#L225) and [3.2 branch](https://github.com/godotengine/godot/blob/3.2/core/io/stream_peer.cpp#L235)):

```cpp
uint8_t StreamPeer::get_u8() {
	uint8_t buf[1];
	get_data(buf, 1);
	return buf[0];
}
```

`get_data(..)` returns an error code, but it is thrown away, and `buf` is never written. The code is near identical for all `get_number(..)` methods.

As written, there is no way to determine if a EOF is encountered on any StreamPeer implementation in one of these methods.

**Possible Solution:**
 At the very least, the error code should be stored and accessible.  Perhaps a read_only `last_error` property.
Repository: TypeScript
Issue: Make ParameterDecorator and the like generic
Labels: Suggestion,Awaiting More Feedback

# lib Update Request

## Missing / Incorrect Definition

ParameterDecorator is currently not generic, it can be attachted to any parameter. However, when a decorator is used for e.g. Dependency Injection purposes, some decorators require the type of the parameter to be consistent with the type of the decorator

## Sample Code

E.g. we want this to work
```typescript
class MyController {
  requestThings(@UserId() userId: number): Thing[] { return [] }
}
```

But this to fail:
```typescript
class MyController {
  requestThings(@UserId() userId: string): Thing[] { return [] }
}
```

(as userId will be a number, not a string so the injection should ideally not be possible (at compile time)

Currently UserId is done more or less this way:
```typescript
const UserId = (): ParameterDecorator => (target, key, index) => { 
  // do stuff
}
```

while I'd like to add `number` to `ParameterDecorator`: 

```typescript
const UserId = (): ParameterDecorator<number> => (target, key, index) => { 
  // do stuff
}
```
and I'd like typescript to check this when applying a decorator.
Repository: pytorch
Issue: Error of running
Labels: needs reproduction,triaged

## 🐛 Bug

<!-- A clear and concise description of what the bug is. -->

Hello,
I wanted to use `torch.jit.load()`. However I got en error when I tried to run my script.

## To Reproduce

Steps to reproduce the behavior:

1.import torch
2.create a file
3.Use torch.jit.load(<your_file>)


```
with open("weights", "wb") as f:
    f.write(weights)


model_object = torch.jit.load("weights")
```


## Expected behavior

I expected a return of a ScriptModule. 

 - PyTorch Version (e.g., 1.0): 1.7.1
 - OS (e.g., Linux): Ubuntu 18.04
 - How you installed PyTorch (`conda`, `pip`, source): pip
 - Build command you used (if compiling from source): 

> pip install torch==1.7.1+cpu torchvision==0.8.2+cpu torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html

 - Python version: 3.6.5
 - CUDA/cuDNN version: None
 - GPU models and configuration: AMD Radeon Vega Graphics
Repository: godot
Issue: Valid JPG file fails to load using `Image::load_jpg_from_buffer()`
Labels: bug,confirmed,topic:import

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
3.2, bc90bcb65c30ddc4f0ef4c39d51978784b5fd25b


**OS/device including version:**
Arch and Windows 10


**Issue description:**
Loading a valid JPG file using Image.load_jpg_from_buffer returns an ERR_PARSE_ERROR


**Steps to reproduce:**
Load the offending file (attached in the repo project) it will fail to load.

**Minimal reproduction project:**
<!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. -->
[JPGRepro.zip](https://github.com/godotengine/godot/files/5886462/JPGRepro.zip)