sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: Remapping physical [Left Win] -> to [Left Alt] key, cause issues with shortcuts in some app
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.63.0-x64

### Installation method

GitHub

### Running as admin

- [X] Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

I have very specific issue, but I think there is more to it than just my case. I'm a Macbook user but recently I decided to switch teams to PC however - my muscle memory and the fact that for most tasks I still use Macbook, made me to remap keyboard to be as simillar as possible to macbook's - so here's the issue I encounter: 

1) in keyboard manager remap key [left Win] (physical) -> Left Alt (mapped)
2) run blender app
3) change location of the default cube
4) hit ALT+G  [physical LEFT WIN + G]
5) shortcut doesn't work

Blender seems to not react with ALT+G (clear location) shortcut, although it works with other shortcuts like ALT+S (clear scale). 
The issue started that every time when I hit Left ALT+G [physical Left Win+G] the XBOX Game Bar popped up. I removed the app completely via PowerShell. After uninstalling the xbox apps, the xbox game bar does not appear - however it feels like some system service still tries to react to the alt+g [physical left win+g] shortcut - if I turn off the powerToys and use physical ALT+G shortcut in Blender, it works correctly.

My idea is that the mapping is ignored by some system service and still interprets some shortcuts as Win key instead of mapped ALT, but it's not like that for all other shortcuts cause as I mentioned, ALT+S [physical WIN+S] works correctly when mapped. 

### ✔️ Expected Behavior

Remapping Left WIN -> Left ALT works with every shortcut  

### ❌ Actual Behavior

some shortcuts are overridden (?) and do not fire up 

### Other Software

Blender 3.3.x
Windows 11
Repository: stable-diffusion-webui
Issue: Task Control: Check and terminate ongoing batch
Labels: enhancement

**Is your feature request related to a problem? Please describe.**
I started using network sharing features to access my plotting rig through a smartphone. I chose a style and ran a large batch.
As I shared the output folder through SFTP, I soon found out I've chosen an obsolete style.
Sadly, modern smartphones kill background apps. The webui page reloaded after the browser being killed.
What's left is a big orange GENERATE button. I have to start a new batch, interrupting it, having to wait some connection errors to clear, then I can start a new flow.
A more common case is, one accidently closed the webui tab or refreshed it.

**Describe the solution you'd like**
A task control. The webui can check if there is an ongoing task and its progress, and allowing me to terminate it, even at a fresh load or reload.

**Describe alternatives you've considered**
Pressing control-c in console window and restarting the webui.

**Additional context**
If this will be implemented, being able to retrieving prompts from the ongoing batch would be cool.
Repository: storybook
Issue: adding headers support to @storybook/server
Labels: feature request,needs triage

**Is your feature request related to a problem? Please describe**
Today I'm using `@storybook/server` to help me serve `ejs` layouts. The `ejs` server sits behind a basic authentication mechanism (simple user and password). Today there is no way to add specific headers to the storybook server requests therefore, I can't supply this username and password. 
when trying to use it with in URL I get an error 

```
Error: Evaluation failed: TypeError: Failed to execute 'fetch' on 'Window': Request cannot be constructed from a URL that includes credentials: https://someuser:somepass@storybookserver.url/storybook_render/footer?measureEnabled=false&outline=false&templateDataPath=.%2FFooter.data.js&footerText=%C2%A9+%23%7Byear%7D+-+accessiBe+Inc.+All+Rights+Reserved.
    at _callee$ (https://634dcccc34b7a3df868f961b-ltcuawimdj.capture.chromatic.com/99.fb148721.iframe.bundle.js:2:319366)
    at tryCatch (https://634dcccc34b7a3df868f961b-ltcuawimdj.capture.chromatic.com/99.fb148721.iframe.bundle.js:2:947232)
```
 

**Describe the solution you'd like**
as for `@storybook/server` I would like to have the ability to pass specific headers to the request being sent from the storybook app to the storybook server

**Describe alternatives you've considered**
If adding headers is too much open, try to allow specific headers to work with.

**Are you able to assist to bring the feature to reality?**
I can try

**Additional context**
nothing
Repository: vscode
Issue: Git - Sync Changes Button Should Not Pull When There Are No Incoming Changes
Labels: feature-request,git

In this example, master is ahead one commit of the master remote branch:

![image](https://user-images.githubusercontent.com/2931520/196423749-c311ce47-a3c1-49e2-aaeb-228d79efee9a.png)

Clicking on the sync button produces this git log:

```
[2022-10-18T12:02:13.091Z] > git log --oneline --cherry master...master@{upstream} -- [84ms]
[2022-10-18T12:02:15.028Z] > git pull --tags origin master [1927ms]
[2022-10-18T12:02:15.028Z] From github.com:hediet/git-demo
 * branch            master     -> FETCH_HEAD
[2022-10-18T12:02:16.809Z] > git push origin master:master [1775ms]
[2022-10-18T12:02:16.809Z] To github.com:hediet/git-demo.git
   d6efe65..8979521  master -> master
[2022-10-18T12:02:16.891Z] > git status -z -uall [76ms]
[2022-10-18T12:02:16.979Z] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) refs/heads/master refs/remotes/master [81ms]
[2022-10-18T12:02:17.070Z] > git for-each-ref --sort -committerdate --format %(refname) %(objectname) %(*objectname) [84ms]
[2022-10-18T12:02:17.075Z] > git remote --verbose [83ms]
[2022-10-18T12:02:17.088Z] > git config --get commit.template [89ms]
[2022-10-18T12:02:17.207Z] > git config --local branch.master.github-pr-owner-number [77ms]
[2022-10-18T12:02:19.189Z] > git status -z -uall [70ms]
[2022-10-18T12:02:19.261Z] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) refs/heads/master refs/remotes/master [66ms]
[2022-10-18T12:02:19.347Z] > git for-each-ref --sort -committerdate --format %(refname) %(objectname) %(*objectname) [79ms]
[2022-10-18T12:02:19.351Z] > git remote --verbose [76ms]
[2022-10-18T12:02:19.364Z] > git config --get commit.template [81ms]

```

The sync button indicates that there are no incoming changes.
However, the log shows that `git pull --tags origin master [1927ms]` is done nonetheless.

This could be confusing if changes come in in the meantime, as git might perform an auto-merge and push these changes without review.

I think it makes sense to skip the pull in the case that the git extension believes that there are no incoming commits.

@NickCraver had this concern initially
Repository: pytorch
Issue: Missing `docker` directory in `tools/` 
Labels: module: docs,triaged,module: docker

### 🐛 Describe the bug

The `docker` directory mentioned in README of build `tools` is missing
https://github.com/pytorch/pytorch/blob/dbccccb7a2f724fc57e42bd1f347212f12984a67/tools/README.md?plain=1#L56

The link listing all runtime Docker images could be used here.


cc @svekars @holly1238
Repository: go
Issue: runtime/trace: execution trace doesn't include pprof labels
Labels: NeedsInvestigation,FeatureRequest,compiler/runtime

Labels set through [`runtime/pprof.SetGoroutineLabels`](https://pkg.go.dev/runtime/pprof#SetGoroutineLabels) don't show up in execution traces. In the CPU and goroutine profiles, samples include the labels from the sampled goroutine. Labels are quite useful for associating CPU usage with trace span IDs, HTTP endpoints, user IDs, etc.

It would be useful to have these labels in execution traces as well. For example, since execution traces now include timestamped CPU profile samples, trace events could be associated with an application-level trace span ID using labels to get a breakdown of on-CPU and off-CPU time for an individual request. We can further bridge runtime/pprof and runtime/trace by making labels, which are already available in some profiles, available in traces as well.

Arguably there's already support for something similar to this through `trace.WithRegion` and `trace.NewTask`. However, these values are one-dimensional and seem to be intended for breaking down a process into steps (read an event stream, query a database, etc...). To record additional contextual information, like a specific distributed trace ID or user ID, you'd need to do something ad-hoc like pack that information into the task name, or show it in a designated `trace.Log` category.

Perhaps profile labels could be added to the trace as a new event that is emitted whenever the labels for a goroutine are updated? (See this [comment](https://cs.opensource.google/go/go/+/refs/tags/go1.19.2:src/runtime/trace.go;l=750-754))

See also #41554
Repository: vscode
Issue: Support validating all markdown files in a workspace
Labels: help wanted,feature-request,markdown

<!-- ⚠️⚠️ 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. -->
Thanks much for the new `markdown.validate` features. However, currently validation is applicable only within a document. It would be most beneficial if we could enable validation for all documents in a containing parent folder (which would hopefully be configurable, since the root parent folder might be several levels up).

Best.
Repository: flutter
Issue: Improve licenses page
Labels: framework,f: material design,a: quality,c: proposal,P3,team-design,triaged-design

Based on user feedback:

- [ ] "Powered by Flutter" isn't localized. Consider localizing and making optional, OR removing altogether.
- [ ] UI renders inside an elevated card-Material that uses a non-standard background color. Consider rendering directly on background.
- [ ] Lack of `SafeArea`, content overlaps with on-screen controls. Easy fix.

Related, initial proposal: https://github.com/flutter/flutter/issues/57226
Repository: rust
Issue: Unhelpful diagnostic when parsing fails because of wrong metavariable kind
Labels: A-diagnostics,T-compiler

Given this code ([playground link](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=77020b9373e7a8a0820e4ab45577f69f)):

```rust
macro_rules! declare_struct {
    ($StructName:ty) => {
        struct $StructName;
    }
}

declare_struct!(Foobar);
```

The compiler outputs:

```txt
error: expected identifier, found `Foobar`
 --> src/lib.rs:4:16
  |
4 |         struct $StructName;
  |                ^^^^^^^^^^^ expected identifier
...
8 | declare_struct!(Foobar);
  | ----------------------- in this macro invocation
```

The basic shape of the error is unhelpful. "expected identifier, found \[\[\[some identifier]]]" doesn't tell me what's wrong.

The actual error is that I declared my metavariable with the wrong kind `StructName:ty`, which I guess doesn't fit in the parser when instantiated. If I declare `StructName:ident` instead, the code compiles.

Assuming this is the desired behavior, the compiler should at least add a note like:

```txt
3 |    ($StructName:ty) => {
  |                 ^^ $StructName metavariable is declared as 'ty'
```

Probably the error should be something like

```txt
error: expected identifier, found metavariable `$StructName` of kind `ty`
```
Repository: electron
Issue: Persistent notifications for Windows
Labels: enhancement :sparkles:

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

I couldnt find a way to make persistent notifications to work on Windows. I'm wrong or Electron don't have this working on Windows? On MacOS it works as intended.

### Proposed Solution

Is this a possible candidate for it? https://github.com/electron/electron/pull/35810

### Alternatives Considered

I tried creating a new window and using it as a notification to be possible to make it work as intended. But it has some drawbacks like the memory usage being huge.

### Additional Information

_No response_
Repository: electron
Issue: Actions on notifications for Windows
Labels: enhancement :sparkles:

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

I couldnt find a way to make actions on notifications to work on Windows. I'm wrong or Electron don't have this working on Windows? On MacOS it works as intended.

### Proposed Solution

Is this a possible candidate for it? https://github.com/electron/electron/pull/35810

### Alternatives Considered

I tried creating a new window and using it as a notification to be possible to make it work as intended. But it has some drawbacks like the memory usage being huge.

### Additional Information

_No response_
Repository: material-ui
Issue: Make component theme default props variant-aware
Labels: new feature,package: system

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

When passing component overrides to `createTheme()`, allow the `variants` objects for each component to define their own default props as a callback with theme as its argument (same as `style` on the same object). This would mean that given a minimum set of required props for the component to qualify as a 'variant', we can assign any other default props for that variant.

### Examples 🌈

```
export const MuiAutocompleteOverrides: Components<Theme>['MuiAutocomplete'] = {
  defaultProps: { // THIS IS NOT VARIANT AWARE
    popupIcon: (
      <CaretDownOutlineIcon size={theme.iconScale['x-small']} color={theme.colors['neutral-75']} />
    )
  },
  variants: [
    {
      props: {
        size: 'medium'
      },
      style: (theme) => ({
        padding: 0
      }),
      defaultProps: (theme) => ({ // THIS IS VARIANT AWARE
        popupIcon: (
          <CaretDownOutlineIcon size={theme.iconScale['medium']} color={theme.colors['neutral-75']} />
        )
      })
    }
  ]
};
```

### Motivation 🔦

I want to be able to define what the default props for a component should be given that it matches a specific variant which i have defined. Specifically, i want to define a default icon for the Autocomplete component whose size changes according to the `size` prop passed to the component. Without this ability, i am forced to use a default icon whose size won't intelligently match the Autocomplete depending on the size. Instead, i have to pass the icon as the appropriate size everywhere that i use the Autocomplete.
Repository: material-ui
Issue: [Tooltip] All click events are overridden inside the tooltip
Labels: bug 🐛,component: tooltip

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Steps to reproduce 🕹

https://codesandbox.io/s/kind-kowalevski-xnncgc?file=/demo.tsx

1. Click the icon button. (Just hovering doesn't reproduce the issue.)
2. Click the link, or try to select the tooltip text. 

### Current behavior 😯

The tooltip closes on the second `mousedown` event, and the link doesn't open.

### Expected behavior 🤔

The tooltip stays open on the second `mousedown` events, so that the link opens.

### Context 🔦

The link opens if you only hover the icon button.

We're using the following imperfect workaround (added to default props of Tooltip):

```tsx
    PopperProps: {
      onPointerDown: e => {
        if (
          e.target instanceof Element &&
          !e.target.classList.contains("MuiTooltip-tooltip")
        ) {
          e.preventDefault();
        }
      },
    },
``` 

### Your environment 🌎
Chrome - Version 106.0.5249.119 (Official Build) (x86_64)
macOS Monterey 12.6
Repository: transformers
Issue: Lite Transformer with Long-Short Range Attention
Labels: New model

### Model description

Abstract : 

> Transformer has become ubiquitous in natural language processing (e.g., machine translation, question answering); however, it requires enormous amount of computations to achieve high performance, which makes it not suitable for mobile applications that are tightly constrained by the hardware resources and battery. In this paper, we present an efficient mobile NLP architecture, Lite Transformer to facilitate deploying mobile NLP applications on edge devices. The key primitive is the Long-Short Range Attention (LSRA), where one group of heads specializes in the local context modeling (by convolution) while another group specializes in the long-distance relationship modeling (by attention). Such specialization brings consistent improvement over the vanilla transformer on three well-established language tasks: machine translation, abstractive summarization, and language modeling. Under constrained resources (500M/100M MACs), Lite Transformer outperforms transformer on WMT’14 English-French by 1.2/1.7 BLEU, respectively. Lite Transformer reduces the computation of transformer base model by 2.5× with 0.3 BLEU score degradation. Combining with pruning and quantization, we further compressed the model size of Lite Transformer by 18.2×. For language modeling, Lite Transformer achieves 1.8 lower perplexity than the transformer at around 500M MACs. Notably, Lite Transformer outperforms the AutoML-based Evolved Transformer by 0.5 higher BLEU for the mobile NLP setting without the costly architecture search that requires more than 250 GPU years.

### Open source status

- [x] The model implementation is available
- [x] The model weights are available

### Provide useful links for the implementation

[Paper](https://arxiv.org/pdf/2004.11886.pdf)
[Code](https://github.com/mit-han-lab/lite-transformer)
[Old version of the paper, when the model was called `Mobile Transformer (MBT)`](https://openreview.net/attachment?id=ByeMPlHKPH&name=original_pdf)
Repository: vscode
Issue: Actions to add paths to include/exclude in search results unclear wording
Labels: ux,search,polish

<img width="245" alt="image" src="https://user-images.githubusercontent.com/31675041/196500906-4bbbecf8-de1c-4969-96fb-fe5a7a9ae9a6.png">

This is the context menu when you right-click on a folder in the search result (when a user wants to do a find+replace)

`Restrict Search to Folder` adds the path to the "files to include" text field.
`Exclude Folder from Search` adds the path to the "files to exclude" text field.

Is this wording unclear? Should it explicitly say "Add to files to include/exclude" instead of the wording we have here?
Repository: vscode
Issue: API to disable bracket pair colorization for specific ranges
Labels: feature-request,editor-bracket-matching,bracket-pair-colorization

This is related to an issue reported against the C/C++ Extension: https://github.com/microsoft/vscode-cpptools/issues/10022

The C/C++ Extension can dim/color ranges associated with disabled C/C++ conditional preprocessor ranges.  When this range includes one or more single-brackets, pairs are mismatched.

<img width="236" alt="problem_1" src="https://user-images.githubusercontent.com/72905618/196109664-32b377b5-cd0f-4044-bff0-136afd279cbb.png">
Repository: godot
Issue: Input.get_axis() returns non consistent values with different controllers
Labels: bug,topic:input

### Godot version

v4.0.beta2.mono.official [f8745f2f7]

### System information

Windows 10, Nvidia GTX 950, Vulkan Forward+ 

### Issue description

The `Input.get_axis()` method seems to return non consistent values. 
When I plug my PS5 Controller in and return the values from the left stick it returns values from `-1 to 1` which is fine
but when I try the exact same thing with my nintendo switch pro controller it returns values ranging from `-0.54 to 0.48`.
This behaviour is not what I would expect when using the method. I am not sure if it is an issue with the way windows handles the switch controller or if it is an issue with the way godot handles it. 

### Steps to reproduce

* Create an Project
* Attach a Nintendo Switch Pro Controller
* Create 2 actions on for the left stick - left one for the left stick right
* Create a label 
* Attach a script to the label
* Output the Input.get_axis("left","right") to the labels text property

### Minimal reproduction project

[InputAxisBug.zip](https://github.com/godotengine/godot/files/9813719/InputAxisBug.zip)
Repository: pytorch
Issue: `custom_jvp` and `custom_vjp`
Labels: triaged,module: functorch

### 🚀 The feature, motivation and pitch

`functorch` equivalents to [jax.custom_jvp](https://jax.readthedocs.io/en/latest/_autosummary/jax.custom_jvp.html#jax.custom_jvp) and [jax.custom_vjp](https://jax.readthedocs.io/en/latest/_autosummary/jax.custom_vjp.html#jax.custom_vjp), i.e., decorators to define custom derivatives:

#### PyTorch API

```Python
class F(Function):
    @staticmethod
    def jvp():
        pass

    @staticmethod
    def vjp():
        pass

f = F()
```

#### Hypothetical functorch API

```Python
@functorch.custom_jvp
@functorch.custom_vjp
def f(x: Tensor) -> Tensor:
    pass

@f.x_jvp
def f_x_jvp():
    pass

@f.x_vjp
def f_x_vjp():
    pass
```

### Alternatives

_No response_

### Additional context

_No response_

cc @zou3519 @Chillee @samdow @soumith