sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: terminal
Issue: WindowsTerminal.UIA.Tests fail to run when launched from Visual Studio > Run Tests
Labels: Help Wanted,Issue-Bug,Area-Build,Product-Terminal

### Windows Terminal version

_No response_

### Windows build number

10.0.22000.556

### Other Software

Visual Studio 2022 (17.1.1)

### Steps to reproduce

Build the solution
Right click WindowsTerminal.UI.Tests and Click "Run Tests"


### Expected Behavior

The tests should run and pass

### Actual Behavior

It fails to launch the private build of Terminal and instead a new OS-installed Termianl window pops up and displays an error.
![image](https://user-images.githubusercontent.com/46852402/157980228-db8bb34d-9398-45ea-95d5-d58a45924df6.png)
Repository: material-ui
Issue: [Select] Doesn't reset value after clicking Clear form by using autofill values by the browser
Labels: bug 🐛,component: select

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

I've been struggling with a strange behavior that I think is more like a bug of the `Select` component itself. I just want to make sure that I'm not doing anything wrong or am not missing some properties to set.

Okay the thing is, I'm using material ui and when I use the autofill feature provided by the browser everything seem to work fine. But when clearing the form the Select value is not resetting to the default one. This behavior  only happens with the `Select` component, if a use the select on `native` mode works fine but I want to use the mui Select.

This is what is happening now

https://user-images.githubusercontent.com/31553757/157980857-eb4ecfb9-f2d4-4fd8-992a-dfe815028fe4.mov




### Expected behavior 🤔

Being able to use the autofill feature and clear the form including the select component

https://user-images.githubusercontent.com/31553757/157980265-92ec94e2-17c3-4fee-b1e0-7eb74e0a68f7.mov



### Steps to reproduce 🕹

# Use this [link](https://codesandbox.io/s/dreamy-hugle-dxuvj3?file=/src/App.js) to follow the steps 

Steps:

1. Fill up all the information and chose a different value from Select component) and click submit, then reload the sandbox and you will be able to see the autofill option when focusing an input.

![image](https://user-images.githubusercontent.com/31553757/157979442-959d4d26-108b-4037-be7b-e241b2694f67.png)

2. next, When I click on Clear form

![image](https://user-images.githubusercontent.com/31553757/157979565-59ac1bf1-768c-46ea-baa1-91f7e4f2b17b.png)

All the values are being reseted except the value in the select component.
![image](https://user-images.githubusercontent.com/31553757/157979770-cd9267b8-85ba-46ff-8632-40199b0cfd6a.png)



### Context 🔦

_No response_

### Your environment 🌎

_No response_
Repository: godot
Issue: Rotation Gizmo not drawn in Display Overdraw mode
Labels: bug,topic:editor,usability,topic:3d

### Godot version

3.4.3, 3.4.4.rc1

### System information

macOS

### Issue description

The rotation gizmo is shown in every mode except Overdraw

### Steps to reproduce

Click (E) to enter Rotate Mode, change the viewport to Display Overdraw and the gizmo will be missing
<img width="1001" alt="Move" src="https://user-images.githubusercontent.com/2546522/157982252-ef2a851e-e0de-40c0-9440-864450129b57.png">
<img width="979" alt="Rotate" src="https://user-images.githubusercontent.com/2546522/157982269-2ef07642-73e8-446c-8f2b-b111dba5f4db.png">



### Minimal reproduction project

_No response_
Repository: godot
Issue: Gizmos are hard to see in Display Overdraw mode, need color
Labels: enhancement,topic:editor,usability,topic:3d

### Godot version

3.4.3, 3.4.4.rc1

### System information

macOS

### Issue description

Using Overdraw the gizmos become really hard to see. They should be colored to standout like in the other modes

<img width="968" alt="c1" src="https://user-images.githubusercontent.com/2546522/157983703-fb8d78d1-c73f-420b-bbb6-c04e6fa7ca79.png">
<img width="953" alt="c2" src="https://user-images.githubusercontent.com/2546522/157983707-a08991b3-749e-4cd8-bfc8-a0d588b09e58.png">



### Steps to reproduce

Change the viewport to Display Overdraw mode

### Minimal reproduction project

_No response_
Repository: pytorch
Issue: No module named 'pygame': soft_actor_critic
Labels: triaged,module: lazy
Repository: rust
Issue: bootstrap: CARGO_TARGET_$TARGET_RUSTFLAGS is appended to RUSTFLAGS
Labels: T-bootstrap,C-bug

In the bootstrap build, we respect `CARGO_TARGET_$TARGET_RUSTFLAGS` so that users can set target-specific rustflags if they wish. Unfortunately, the semantics of `CARGO_TARGET_$TARGET_RUSTFLAGS` in bootstrap do not match those of Cargo. In Cargo, `CARGO_TARGET_$TARGET_RUSTFLAGS` are equivalent to setting `target.$target.rustflags`, and it is _overridden_ by the `RUSTFLAGS` environment variable. Whereas what bootstrap currently does is concatenate them:

https://github.com/rust-lang/rust/blob/2c6a29af35a81e20f8af4c32bf1b55c59b89eccd/src/bootstrap/builder.rs#L1802-L1807

Now, bootstrap is in a slightly weird position where it _always_ sets `RUSTFLAGS`, so the "usual" rules don't really make sense. Instead, the intention is probably to allow users to set a "general" set of flags for `rustc` (through `RUSTFLAGS`) more akin to `build.rustflags` and then _override_ them for specific targets if desired. But unfortunately that doesn't match today's semantics either since the two environment variables are simply merged.

The big downside of having them always merge is that it makes it much more difficult to deal with targets that need _fewer_ flags than the "general" set. For example, I have to set `-Clink-arg=--gcc-toolchain=...` in `RUSTFLAGS`. But when trying to build for Android targets that particular GCC toolchain won't work. So, I need to "reset" rustflags to _not_ include the general set from `RUSTFLAGS` for those targets. But today, I have no way of doing that.

Now, in theory, I could just _not_ set `RUSTFLAGS` and all would be well. But unfortunately that won't work _either_ because `RUSTFLAGS` is the only environment variable that can be set to pass flags to `rustc` for building `rustbuild` itself (see, for example, https://github.com/rust-lang/rust/issues/94234). And since in my environment `--gcc-toolchain=` is a _required_ argument to the linker, I'm stuck between a rock and a hard place — either I set `RUSTFLAGS` and my Android builds fail, or I don't set it and the `rustbuild` build fails.


### Meta

`rustc --version --verbose`:
```
rustc 1.59.0 (9d1b2106e 2022-02-23)
binary: rustc
commit-hash: 9d1b2106e23b1abd32fce1f17267604a5102f57a
commit-date: 2022-02-23
host: x86_64-unknown-linux-gnu
release: 1.59.0
LLVM version: 13.0.0
```
Repository: neovim
Issue: searchpos broken for backwards movements ('bnz' and 'bz')
Labels: bug-vim,needs:vim-patch

### Neovim version (nvim -v)

NVIM v0.7.0-dev+1233-gabbc9148d

### Vim (not Nvim) behaves the same?

yes

### Operating system/version

linux

### Terminal name/version

alacritty

### $TERM environment variable

xterm-256color

### Installation

build from repo

### How to reproduce the issue

nvim file
file:
```txt
{  }
   x (pos1)
{  }
   x (pos2)
```
Cursor position is at x (first example)
:call searchpos('{', 'bz', 1)
pos1: no match
pos2: match
:call searchpos('{', 'bz', 1)

1. bug does move to wrong position (one line upwards) or not at all
2. with 'n' and at least in lua does fail, if not at least row-1 is used (resulting in 0 or any match for line=1)
This requires then additional quirky checks, ie with
```lua
  if (srow == 0 and scol == 0 and backwards == true) or srow ~= crow
    or (backwards == true and ccol < scol) then
    print 'no matching backwards character'
    return
  end
```

### Expected behavior

1. correct stopline logic (end of line for forward and begin of line for backwards)
2. correct cursor movement (no jumping over result, though I did not test the vimscript result for 'nbz')

### Actual behavior

1. stopline logic is broken for backwards movements
2. jumping over result for 'bz'
Repository: godot
Issue: [mobile HTML5]when running in the backend , the videoplayer would not paused, and making noise.
Labels: bug,platform:web,platform:android,topic:thirdparty

### Godot version

3.3.4.stable

### System information

Android， HarmonyOS 2.0

### Issue description

when running in the backend , the videoplayer would not paused, and making  noise.

### Steps to reproduce

Run the Minimal reproduction project in mobile phone HTML5, then run into backend. and you will hear the noise.

### Minimal reproduction project

[videoPlayer_noise_making_in_mobile_html5.zip](https://github.com/godotengine/godot/files/8237032/videoPlayer_noise_making_in_mobile_html5.zip)
Repository: storybook
Issue: Composition API only works if host storybook starts after external storybooks are built
Labels: bug,has workaround,composition

## Summary

I was at first first experiencing what seemed like a cors issue when trying to load `stories.json`:
```
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ‘http://localhost:6006/stories.json’. (Reason: Credential is not supported if the CORS header ‘Access-Control-Allow-Origin’ is ‘*’).
```

Upon further inspection, I noticed that my ref was being set to `unknown` in [`manager-webpack5/src/manager-config.ts`](https://github.com/storybookjs/storybook/blob/c806e2b517a791de3bb09a9a552cabbe1c0f245f/lib/manager-webpack5/src/manager-config.ts#L141).

I was starting my host storybook and referenced storybook locally in parallel, so when [`checkRef`](https://github.com/storybookjs/storybook/blob/c806e2b517a791de3bb09a9a552cabbe1c0f245f/lib/manager-webpack5/src/manager-config.ts#L44) was called, it was not available because the referenced/external storybook was still building. My setup works if I start my referenced storybook first, wait until it builds, then start my host storybook.

Setting `credentials` to `omit` in [`modules/refs.ts` ](https://github.com/storybookjs/storybook/blob/c806e2b517a791de3bb09a9a552cabbe1c0f245f/lib/api/src/modules/refs.ts#L175) also fixes my issue. i.e. storybook startup order does not matter and I do not have to restart my host storybook even if it initially couldn't access `http://localhost:6006/iframe.html`. I think it makes more sense if the reference type is determined on page load rather than being stuck in memory.

## To Reproduce

- Start a host storybook and let it build before its referenced storybooks are built
- Open the host storybook and let it fail when accessing `iframe.html`

The referenced storybooks cannot load now unless you restart the host storybook entirely.

## Further Information
Storybook version: 6.5.0-alpha.47

Host storybook `main.js`:
```
const path = require("path");

module.exports = {
  core: {
    builder: "webpack5"
  },
  stories: ["../stories/**/*.stories.@(js|mdx)"],
  addons: ["@storybook/addon-docs", "@storybook/preset-scss"],
  framework: "@storybook/react",
  staticDirs: ["./assets"],
  refs: (_, { configType }) => {
    const isDev = configType === "DEVELOPMENT";

    return {
      next: {
        title: isDev ? "Next (Dev)" : "Next",
        url: isDev ? "http://localhost:6006" : "http://my-production-url.com"
      }
    };
  }
};

```

Npm scripts:
```
"start:sb:host": "start-storybook --port 7006"
```
Repository: flutter
Issue: [in_app_purchase]: Proposal to add current purchased product history.
Labels: c: new feature,p: in_app_purchase,package,c: proposal,team-ecosystem,P3,triaged-ecosystem

i want to get the history of the products from the store that user buy and get the current subscription details so i can do according to the subscription details
Repository: PowerToys
Issue: Power Rename - Hotkey
Labels: Idea-Enhancement,Product-PowerRename,Needs-Triage

### Description of the new feature / enhancement

It would be great to be able to access Power Rename via a shortcut.
Similar way Rename files are usually associated with F2, maybe a Win+F2 or Shift+Win+F2 could give us direct access to Power Rename.

It would be such a time saver when dealing with bulk file management and renaming processes.

Thanks so much.

### Scenario when this would be used?

Bulk file management and renaming processes.

I deal with situations where I have to constantly copy paste different assets into different folders in bulk many times.
Usually, keyboard shortcuts make life a way eassier.

### Supporting information

_No response_
Repository: yt-dlp
Issue: gagaoolala
Labels: site-request,account-needed,can-share-account

### Checklist

- [X] I'm reporting a new site support request
- [X] I've verified that I'm running yt-dlp version **2022.03.08.1**. ([update instructions](https://github.com/yt-dlp/yt-dlp#update))
- [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](https://github.com/ytdl-org/youtube-dl#can-you-add-support-for-this-anime-video-site-or-site-which-shows-current-movies-for-free) or contain any [DRM](https://en.wikipedia.org/wiki/Digital_rights_management) to the best of my knowledge
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues including closed ones. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and am willing to share it if required

### Region

ALL

### Example URLs

https://www.gagaoolala.com/en/videos/2361/the-fairy-fox-2017-e01

### Description

Hi.
It would be nice to add gagaoolala.com support.

### Verbose log

```shell
[generic] the-fairy-fox-2017-e01: Requesting header
WARNING: [generic] Could not send HEAD request to https://www.gagaoolala.com/en/videos/2361/the-fairy-fox-2017-e01: HTTP Error 405: Method Not Allowed
[generic] the-fairy-fox-2017-e01: Downloading webpage
WARNING: [generic] Falling back on generic information extractor.
[generic] the-fairy-fox-2017-e01: Extracting information
ERROR: Unsupported URL: https://www.gagaoolala.com/en/videos/2361/the-fairy-fox-2017-e01
```
Repository: rust
Issue: Investigate computing crate_hash by hashing metadata
Labels: E-mentor,T-compiler,E-help-wanted,E-medium

The `crate_hash` query is used to detect is metadata has changed before attempting to decode more complex information from it.
Until now, this crate hash has been computed manually using HIR.
Computing it while encoding metadata itself may be more robust and exhaustive.

General instructions:
- add a `StableHasher` and a `StableHashingContext` in `rustc_metadata::rmeta::encoder::EncodeContext`;
- double all accesses to the embedded `opaque` encoder by a call to `hash_stable` with the same data;
- manually reimplement encoding and hashing for special datatypes (`CrateNum`, `DefId`, `LocalDefId`...);
- remove the implementation of the `crate_hash` query in `rustc_middle::hir::map`, and reimplement it from the just-encoded metadata;
- evaluate effect on performance.

Please reach out on zulip if more details are required.
cc @michaelwoerister 

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":null}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: PowerToys
Issue: [FR] Displaying tooltip near cursor(or under prompt) for showing current language input mode when writing text
Labels: Idea-New PowerToy,Needs-Triage

### Description of the new feature / enhancement

As a mouse or other utility, I suggest a feature that showing a tooltip beside mouse cursor or under the input prompt for reminding which language input mode you are in according to current IME. The tooltip is displayed as long as you are typing a text or selecting text box, address bar, etc. Tooltip doesn't need to be big, it just should have a little character or sign. And, when you change the input mode, the tooltip change or disappear.


### Scenario when this would be used?

I use Korean IME in Windows 11. There are two modes supported in Korean IME. One is Korean only mode. The other is English only mode. Many things are written in English today, so you have to shift frequently between those modes. But the problem is that you forget so easily which mode you are in. When you were trying to type Korean, most of the time you were typing in English. Then you have to use backspace to delete then shift to Korean and type again. This is repeated many times a day.

With tooltip. you can check before type a letter whether you are in English mode or Korean mode. So you might be able to reduce inconvenience. I don't think this is only for Korean IME. I guess this feature would be useful for almost all language users beside English IME users. For English IME, caps lock status could be displayed instead.

### Supporting information

There are a few progame for this feature. They are useful but need polish.

1. Of those programs, KorTooltip is AutoHotKey script that enableing cursor tooltip. I hope you check it out.
[KorTooltip Githup page](https://github.com/selfiens/KorTooltip)

This is youtube video of my rough demonstration of KorTooltip
[Quick Demo](https://youtu.be/o6fgDAzxgnc)

2. I suggested a mouse tooltip above. But there is another approach to achieve the goal. It is having tooltip show under input prompt. I think this way is much better in many cases. I prefer this method. And actually there is a program implementing this feature called jwShiftSpaceKey. It is good program and works on Notepad, other Windows native programs. However this program doesn't support for web browsers like Google chrome, etc.

Below is video for jwShiftSpaceKey.

[Quick Demo](https://youtu.be/d9FcW_VBQRY)

I wish PowerToys have this feature. Thanks.
Repository: go
Issue: cmd/go: consider erroring if `go list -f` requests a field that can't be available
Labels: NeedsDecision,GoCommand

    go version devel go1.19-c1f22134f2 Fri Mar 11 06:03:26 2022 +0000 linux/amd64

I just spent a couple of minutes wondering why this printed nothing:

    go list -f {{.BuildID}}

I was of course forgetting the `-export` flag, which fills fields like `BuildID`.

Instead of silently using the field that will always be unset, it would be nice if cmd/go failed with an obvious message, like: did you forget to set the `-export` flag?
Repository: vscode
Issue: Option buttons for the inputs.
Labels: feature-request,quick-pick

<!-- ⚠️⚠️ 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. -->
Please provide **option buttons** option for `window.createInputBox` & `window.showInputBox`.

![Group 2](https://user-images.githubusercontent.com/57541158/158027829-2822508f-8f9d-4cb4-bc81-ff8bf67102b9.png)
Repository: terminal
Issue: Windows 10: Terminal does not update when the OS theme changes
Labels: Help Wanted,Issue-Bug,Area-UserInterface,Product-Terminal,Priority-3

### Windows Terminal version

1.13.10395.0

### Windows build number

10.0.19044.0

### Other Software

_No response_

### Steps to reproduce

Open Terminal -> Settings -> Appearance -> Theme and make sure that "Use Windows theme" is active.

After changing the OS color theme the Terminal interface is not updated only after an app restart.



### Expected Behavior

Update theme based on OS preferred color scheme without restarting the app.

### Actual Behavior

The theme is not updated without a restart.
Repository: godot
Issue: Can't get DTLS SSL to work (TLS handshake error: -9984)
Labels: needs testing,topic:network

### Godot version

3.4.3

### System information

windows 10, linux CentOS

### Issue description

I'm using godot 3.4.3 to edit and export my projects. I'm running the server projects through godot 3.4.2 linux_server version. I have my server code running in the document root of a dedicated server. I bought an SSL from a 3rd party. I tried runnning the server project as the root user, as well as a non-root user. My cert and keys load properly in godot on the server and on the client ( I checked by having it print them when they're loaded) I tried loading the cert and key directly from where they are installed on the server, AND i tryed loading copies of them from the res:// directory in godot instead. My SSL definately works in some respect because when I go to the URL that's connected to my server I do get the little lock icon.

THE PROBLEM: when I try to use this dang SSL for a DTLS connection when the player signs in (and change setdtlsvarifyenabled() to TRUE) I just keep getting a handshake error. When I keep it false, everything works fine. But when I try to use my newly aquired SSL and switch it to true. Handshake errors for days. This is the error I get TLS handshake error: -9984
I've been grappling with this issue for weeks now. I really need this DTLS to work for sign in. Does anyone have any idea what could be wrong? I'm losing my mind over here.

Please help.

Godot version Godot 3.4.3 + Godot 3.4.2_linux_server.64

### Steps to reproduce

Just download and run the minumal reproduction project. You'll see that it connects to the server with dtls disabled but when you set it to true using the 3rd party signed SSL (WHICH IS NOT FROM LETSENCRYPT) you get handshake errors.

I WILL KEEP MY SERVER RUNNING INDEFINATELY SO YOU BEAUTIFUL PEOPLE CAN TEST THIS.

### Minimal reproduction project

[Reproduction.zip](https://github.com/godotengine/godot/files/8247961/Reproduction.zip)
Repository: PowerToys
Issue: Ability to disable FancyZones unwanted zones used to center wanted zones
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

Ability to disable FancyZones unwanted zones used to center wanted zones.

### Scenario when this would be used?

Using PowerToys v0.56.2 feature FancyZones, setup 5 snap-zones with 1.5in column strips on both sides of the display screen to be able to access desktop icons and sidebar. The Launch layout editor created 5 more snap-zones that I would like to disable so that when using the Win+Arrow to move windows between zones would only switch to the 5 center snap-zones only. 
![layout](https://user-images.githubusercontent.com/7645697/158039378-7f491dfa-6845-4e13-8691-be0c171fa64f.png)
Help would be appreciated.
Thanks

### Supporting information

_No response_
Repository: youtube-dl
Issue: Feature: Format filter: Rotation-independent measurements `longside` and `shortside` to help with portrait video
Labels: request

## Checklist

- [x] I'm reporting a feature request
- [x] I've verified that I'm running youtube-dl version **2021.12.17**
- [x] I've searched the bugtracker for similar feature requests including closed ones


## Description

I used to filter formats by height, but more and more often, this trips up due to portrait video (height > width).

Rather than making complicated rules about combinations of height and width, I'd like to have rotation-independent measurements `longside` (`=max(w,h)`) and `shortside` (`=min(w,h)`) available for my format filter.


## Patch

[Available](https://github.com/ytdl-org/youtube-dl/compare/master...mk-pmb:fmtsel-longside-shortside?expand=1), albeit far from ideal, see discussion below.