sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: terminal
Issue: Curly quotes randomly become straight quotes
Labels: Help Wanted,Area-Input,Issue-Bug,Product-Terminal,Priority-2

### Windows Terminal version (or Windows build number)

Windows 10.0.19042.0, Windows Terminal 1.8.1521.0

### Other Software

[msys2](https://www.msys2.org/), up to date as of 22 June 2021

Happens in at least `bash`, `fish` and `vim`, but apparently not `cat` or `python`. Also does not happen with msys2’s default console emulator.

The keyboard layout is [bépo](https://bepo.fr/) 1.0.3.40.

### Steps to reproduce

In an msys2 session (`"commandline": "C:/msys64/msys2_shell.cmd -defterm -here -no-start -msys"`) in Windows Terminal with the bépo layout, repeatedly press either of these combinations:

- Shift+AltGr+«
- Shift+AltGr+»
- AltGr+,
- Shift+AltGr+y
- Shift+AltGr+x

### Expected Behavior

A string of curly characters is inserted depending on the combination that was chosen:

- `““““““““““““““““““““““““““““““`
- `””””””””””””””””””””””””””””””`
- `’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’`
- `‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘`
- `’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’`

### Actual Behavior

Some of the characters are randomly straight.

- `""““"““"“““"““"““"““"“““"““""“`
- `"””””””””"”””””””””"”"”"”"”””"`
- `’'’’’’’’'’'’’'’’''’’’'’’’'’’’’`
- `‘‘''‘‘‘‘‘'‘'‘‘'‘'‘''‘‘‘‘‘‘‘‘'‘`
- `’'’'’'’’''’’''’’’''’’'’’’’'’’'`
Repository: rust
Issue: cargo check failed but cargo run always work
Labels: C-bug,S-needs-repro

<!--
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 can't reproduce this but it happens every day, 3 days in a row for me. When developing helix, after I checked out other commits using `git rebase` or `git revert`, quite a few time I do `cargo check`, `cargo check` will always fail even though `cargo run` works.

Note that this happens in the past for me, but that was after switching features and not as often as getting it daily, but last time it was very rare for me, maybe once a few months like after upgrades or after version updates. But this happen daily just because I checked out different commits.

So the solution is to do `cargo clean` every time this happen, at least daily for me when working on helix project, note that I don't code so frequently but it happens very frequently whenever I switch commits. Maybe due to workspace? Or maybe due to git conflicts like `<<<`? https://github.com/helix-editor/helix

I expected to see this happen: if `cargo run` works, `cargo check` should work

Instead, this happened: `cargo check` failed always, then I tried `cargo run`, it still failed, even after I fixed the errors, `cargo check` failed but `cargo run` can work

### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

`rustc --version --verbose`:
```
rustc 1.53.0 (53cb7b09b 2021-06-17)
binary: rustc
commit-hash: 53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b
commit-date: 2021-06-17
host: x86_64-unknown-linux-gnu
release: 1.53.0
LLVM version: 12.0.1
```

I haven't tried this on nightly. Not quite sure how to get a minimum reproducible bug but it happen quite often. If anything I can do please suggest any methods to help out.
Repository: vscode
Issue: Support for "related code" in tests
Labels: feature-request,on-testplan,api-proposal,testing

@connor4312 Is there any consideration to how I would present one or more tests as being related to a code item like a function?

For instance, in Pester you can tag tests with anything. If I allowed a special tag that let you say a test was assigned to a certain function named `Invoke-MyFunction`, I'd want to expose a "play" button right next to the `Invoke-MyFunction` definition to run all tests "tagged" to that function. In this case though I don't want it to be tracked with a separate ID, I want it to invoke those individual tests as part of the tag "rollup" which might be scattered across different files. Also tricky is how you would present a failure to the user in this case.

Ideally this would work with AutoRun as well whenever I change the function.

At any rate this is definitely a "nice to have" as opposed to a "must have" and could come at a later iteration, just a thought that would make testing really simple for people and not have to lose the context of where they are directly working on the application. I was inspired by your markdown test adapter example.

With the existing implementation it could just be offered under a "Function Test Rollup" header or something and aggregate the results together somehow, but when run it wouldn't update the "referenced" tests necessarily (though I guess I could do this within the context of the extension) so its fragmented and not ideal.

_Originally posted by @JustinGrote in https://github.com/microsoft/vscode/issues/107467#issuecomment-861177620_
Repository: flutter
Issue: [iOS] Keyboard is not synchronized with edge swiping gesture
Labels: c: new feature,platform-ios,engine,a: fidelity,f: cupertino,f: routes,has reproducible steps,P3,found in release: 2.2,found in release: 2.3,team-ios,triaged-ios

Keyboard should be animated on edge swiping back gesture as it is on iOS apps, but it isn't. Indeed, it is instantly dismissed with a little touch, causing a bad user experience.


**Expected results:**

![expected_1](https://user-images.githubusercontent.com/12843244/122974169-afa23680-d39a-11eb-9638-a4366e81d5be.png)


**Actual results:**

![actual_1](https://user-images.githubusercontent.com/12843244/122974716-4f5fc480-d39b-11eb-886b-843718cc8b92.png)
Repository: godot
Issue: `ScriptEditor` `editor_script_changed` signal is emitted twice when opening a script
Labels: bug,topic:editor,topic:plugin

### Godot version

3.3 stable

### System information

Linux

### Issue description

When opening a script in any way (from `FileSystem` - doubleclick/drag-n-drop or using `ScriptEditor` `File`-`Open` etc) `editor_script_changed` signal is emitted twice if the script wasn't opened in the script list.

### Steps to reproduce

1. Create a plugin to see how many times the signal is emitted:

```gdscript
tool
extends EditorPlugin

func _enter_tree():
	get_editor_interface().get_script_editor().connect("editor_script_changed", self, 'on_scr_changed')

func on_scr_changed(scr:Script):
	print(scr)

```

2. Close all opened scripts (`ScriptEditor` `File` - `Close All`)

3. Open any script.
As you can see the same script printed twice in the `Output`.

### Minimal reproduction project

_No response_
Repository: godot
Issue: Potential problem in look_at()
Labels: bug,topic:core,confirmed

### Godot version

3.3.2.stable.official

### System information

macOS 11.3.1 GLES3

### Issue description

When using the `look_at()` function in a script attached to a camera, there seems to be some sort of discretization effect occurring in my tests; for a camera positioned at e.g. `(0,90,0)` looking towards `(0,0,0)`, I see rendering artifacts. These artifacts persist for a small region around `(0,0,0)` on the `x,z` plane (approx. +/- 0.1 units).

This effect is particularly jarring when it manifests as part of an animated movement, producing an effect almost like a magnet snapping the camera view direction onto the target location at `(0,0,0)`.

I've attached an example project to demonstrate this effect; a camera is located at `(0,90,0)` above a simple plane, and the `look_at()` method is invoked in the camera's `_process()` method. The target position is slowly moved left and right via a `sin()` function, and the effect is visible when the camera looks in the vicinity of `(0,0,0)`.

Am I missing something important, here?

### Steps to reproduce

See issue description, and attached project file.

### Minimal reproduction project

[Weird.zip](https://github.com/godotengine/godot/files/6697007/Weird.zip)
Repository: ant-design
Issue: Add optional property labelId to formItem, to be able to set the id of the generated <label/> tag.
Labels: Inactive

- [ ] 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?
I am currently in the situation, where I want to use the aria-labelledBy attribute on an <Input/>, to correctly associate the <input/> with it's label.
The aria-labelledby attribute requires the label to have an id set.

In general form labels in ant design don't seem to have the id attribute set, which also causes issues when using automated testing frameworks.
In this case to make the whole thing work I'd need a possibility to set the id on the generated <label/>.

### What does the proposed API look like?
I'd suggest adding a labelId attribute to the <Form.Item/>, enabling the developer to set an id to the label tag.
If no labelId is provided I'd default to something like `lbl_${formName}_{formItemName}`.

Suggestion:
```
 <Form.Item
        label="Username"
        labelId="lbl_username"
        name="username"
        rules={[
          {
            required: true,
            message: 'Please input your username!',
          },
        ]}
      >
        <Input />
      </Form.Item>
```

The labelId parameter is then applied to the generated label tag.

Another more generic possibility would be to add a labelProps property, which is an object of attributes, that are then applied to the label tag.

```
 <Form.Item
        label="Username"
        labelProps: { id: "lbl_username" }
        name="username"
        rules={[
          {
            required: true,
            message: 'Please input your username!',
          },
        ]}
      >
        <Input />
      </Form.Item>
```

I'd prefer the second solution, as this would allow developers to set whatever attribute they want ont the <label/>.

I'm happy to discuss the issue. If this is an acceptable change let me know and I can make a PR.


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: terminal
Issue: "Open Windows Terminal here"/"Open in Windows Terminal" not showing up with Shift+Right-click on folder background
Labels: Issue-Bug,Product-Terminal,Priority-3,Area-ShellExtension

### Windows Terminal version (or Windows build number)

10.0.19041.1052, 1.8.1521.0

### Other Software

_No response_

### Steps to reproduce

1. Go to any directory in your user folder (for me I went to my Downloads folder)
2. Shift + Right-click any empty space in the background of the folder.

### Expected Behavior

There should be a context menu item for "Open Windows Terminal here"/"Open in Windows Terminal".

### Actual Behavior

There is no context menu item for Windows Terminal.

Note: Doing this on a folder icon/item still works.
Repository: rust
Issue: Tracking Issue for RFC 2528: type-changing struct update syntax
Labels: B-RFC-approved,T-lang,C-tracking-issue,F-type-changing-struct-update,S-tracking-needs-summary

This is a tracking issue for RFC 2528 (rust-lang/rfcs#2528), type-changing struct update syntax.

The feature gate for the issue will be `#![feature(type_changing_struct_update)]`.

There is a dedicated Zulip stream: [`#project-type-changing-struct-update`](https://rust-lang.zulipchat.com/#narrow/stream/293397-project-type-changing-struct-update)

### About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

### Steps

- [x] Implementation: https://github.com/rust-lang/rust/issues/86618
- [ ] https://github.com/rust-lang/rust/issues/101970
- [ ] Adjust documentation ([see instructions on rustc-dev-guide][doc-guide])
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])

[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs

### Unresolved Questions

- [ ] Type inference: when implementing this, we need to confirm that it won't adversely affect type inference.

"Further generalization" in the RFC would be the subject of future RFCs, not something we need to track in this tracking issue.

### Implementation history

<!--
Include a list of all the PRs that were involved in implementing the feature.
-->
* Feature gate: https://github.com/rust-lang/rust/pull/89730
* Implementation: https://github.com/rust-lang/rust/pull/90035
Repository: PowerToys
Issue: FancyZones: Force windows to open in zones
Labels: Idea-Enhancement,Product-FancyZones

### Description of the new feature / enhancement

An option to force new windows to always open in a zone would be great.

### Scenario when this would be used?

Fancy Zones should at least have an option to behave more like a true tiling window manager.
This includes FORCING windows to ALWAYS open inside zones.
No matter what happens, new windows (of new and known/previously opened applications) should always have to open inside zones.


### Supporting information

There was already feature request #4102 which was incorrectly closed, as 
1. "Move newly created windows to their last known zone" is NOT the same as forcing all windows to open inside a zone and
2. often times fails in a wide variety of scenarios

Here is the comment I made on the other feature request:
Please show me, where the option is to force new Windows into zones.
Even with the "move newly created windows to their last knonw zone" (which is NOT the same as forcing new windows into zones) it does not work correctly.
The first instance usually works fine (at least when opened on the same virtual desktop with the same zone settings as before).
But even opening another instance of the same application already breaks that behavior and the new window does NOT adhere to the zones anymore (see attached picture, which simply shows a Typora window opened twice).

And there are so many instances, when new windows do NOT adhere to those zones (mostly related to opening several instances, moving windows to other virtual desktops with other zones, which then SHOULD force those windows into the zones of the new desktop but does not, or opening windows on other virtual desktops, with different zone settings, than on which those windows were last closed).

So fancy zones is FAR away from forcing new windows into zones.

![image](https://user-images.githubusercontent.com/45376324/122999189-3f051500-d3ae-11eb-9431-767b2448ca94.png)
Repository: youtube-dl
Issue: Using both "--write-auto-sub" and "--write-sub" results in file overwritting
Labels: request

<!--

######################################################################
  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 2021.06.06. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Search the bugtracker for similar feature 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 feature request
- [x] I've verified that I'm running youtube-dl version **2021.06.06**
- [x] I've searched the bugtracker for similar feature requests including closed ones


## Description

<!--
Provide an explanation of your issue in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible.
-->

I want to download both the automatic caption and the subtitle when available, I tried with a video that has both, but if I use both parameters "--write-auto-sub" and "--write-sub"  it will result in a single file. If I run one after the other, I can see that it overwrittes the file as they have the same name.

I checked the -o option but there's no subtitles specific format to differentiate the captions from the subtitles.

It would be nice if we have:
1) automatic differentiate the name like adding "cap" or "sub" when using "--write-auto-sub" and "--write-sub"  params
2) Or at least add specific OUTPUT TEMPLATE for subtitles to the -o parameter
Repository: go
Issue: x/tools/gopls: update unstable version installation instruction
Labels: gopls,Tools

Neither works quietly. In favor of the experimental workspace module option, can we remove the use of `replace`?

```
~$ gotip get golang.org/x/tools/gopls@master golang.org/x/tools@master
go: downloading golang.org/x/tools/gopls v0.0.0-20210622191215-6d3e43932267
go: downloading golang.org/x/tools v0.1.4-0.20210622191215-6d3e43932267
go get: installing executables with 'go get' in module mode is deprecated.
	Use 'go install pkg@version' instead.
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.

~$ gotip install golang.org/x/tools/gopls@master golang.org/x/tools@master
go install: golang.org/x/tools/gopls@master (in golang.org/x/tools/gopls@v0.0.0-20210622191215-6d3e43932267):
	The go.mod file for the module providing named packages contains one or
	more replace directives. It must not contain directives that would cause
	it to be interpreted differently than if it were the main module.
```
Repository: flutter
Issue: Artifacts should contain provenance information
Labels: team,tool,engine,P3,team-engine,triaged-engine

We download a bunch of binaries in zip files, for example, font-subset.zip or artfacts.zip. These files don't include provenance information, so anyone who wants to figure out what source code led to these files being created has no leads.

Anyway I think it'd be nice to at least have a short txt file in each .zip file that points to the right repo. (Eventually we'd want proper SLSA provenance attestations but that's a stretch goal.)
Repository: rust
Issue: Can't infer type
Labels: C-enhancement,T-compiler,A-inference

```rust
fn row_groups(
    state: &[[usize;5];5],
    sr: &[usize; 5],
    br: &[usize; 5],
) -> Vec<Vec<usize>>
{
    let mut groups = Vec::new();
    for row in 0..5
    {
        let mut fits_existing_group = false;
        for g in groups
        {
            if same_row_group(&state, &sr, &br, row, g[0])
            {
                g.push(row);
                fits_existing_group = true;
                break;
            }
        }
        if fits_existing_group == false
        {
            let mut g = vec![row];
            groups.push(g);
        }
    }

    groups
}

fn same_row_group(
    state: &[[usize;5];5],
    sr: &[usize; 5],
    br: &[usize; 5],
    r1: usize,
    r2: usize,
) -> bool
{
    if br[r1] == br[r2]
    {
        let mut rs1 = sr[r1];
        let mut rs2 = sr[r2];
        let mut same_pattern = true;

        for c in 0..5
        {
            if (state[r2][c] != 0) != (state[r1][c] != 0)
            {
                same_pattern = false;
                break;
            }

            if state[r2][c] != 0
            {
                rs1 -= state[r1][c];
                rs2 -= state[r2][c];
            }
        }

        if same_pattern && rs1 == rs2
        {
            return true;
        }
    }

    return false;
}
```

While programming in Rust the compiler told me that it can't infer the type of g[0] even though it's obviously of type usize.
Don't know whether it's a bug, but I guess the inference could be more powerful here, so maybe a suggestion for the future?


Best regards, Tobi
Repository: flutter
Issue: reconcile and rename fuchsia variables used in GN build rules
Labels: engine,dependency: fuchsia,a: build,P2,team-engine,triaged-engine

`flutter/buildroot` `build/fuchsia/sdk.gni` has a `declare_args` section that defines a set of "global" variables reused by many other `.gni` and `BUILD.gn` files, such as `fuchsia_sdk_root`.

Some of these variables are ambiguous (`fuchsia_sdk_root` vs. `fuchsia_sdk_path`, for instance), and some variable names may misrepresent the state of the build environment.

For example, `using_fuchsia_gn_sdk = false`. As part of flutter/engine#26880, I'm currently updating `DEPS` to import the Fuchsia GN SDK (instead of the Fuchsia SDK), but it doesn't appear to be possible (or at least, practical) to set `using_fuchsia_gn_sdk = true`. I suspect that the variable's value may not actually correspond to whether flutter is building with the Fuchsia GN SDK, or with the Fuchsia SDK, so if the variable still has value, it would help to update the variable name, and expand on the associated comment in `sdk.gni` to better reflect its purpose.

Perhaps this should be done as part of #67373 (if it's easier to make all of these changes at once), or separately if not.
Repository: godot
Issue: AudioStreamMicrophone Causes Android Crash
Labels: bug,platform:android,topic:audio,crash

### Godot version

3.3.2 

### System information

Windows 10, Kindle Fire 7 5th Generation

### Issue description

Creating a program to deploy on Kindle Fire 7 5th Generation.

When I use AudioStreamMicrophone in an AudioPlayer2D to capture the microphone input, the program crashes after an indefinite amount of time.  Sometimes 5 minutes.  Sometimes 2 hours. 

When I change AudioStreamMicrophone to AudioGenerator or MP3, the program does not crash after 24 hours.

The program just quits.  I could not find any log of any error using adb or the godot debug.

It behaves very much like the system is filling up and running out of memory.  

When run on PC, it does not crash but does occasionally print a "buffer underrun" error.

I found others encountered similar errors, one person posted they had no issue with 3.2.4.  I tested that version and experienced no difference.  

### Steps to reproduce

2D Scene
AudioStreamPlayer2D with AudioStreamMicrophone assigned to a Record Bus.
use AudioServer.get_bus_peak_volume_left_db() to monitor volume input

deploy to Android using standard template with Enable Record permission (specifically Kindle Fire 7 5th Generation) and wait up to 4 hours.  

### Minimal reproduction project

[MicTestTroubleshoot.zip](https://github.com/godotengine/godot/files/6698057/MicTestTroubleshoot.zip)