sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Create Pull Request button is a noop
Labels: bug,vscode.dev

Type: <b>Bug</b>

Happened while I am working against a repo GitHub repo.

The SCM has a Create PR button but clicking it focuses the commit message input.

<img width="421" alt="image" src="https://user-images.githubusercontent.com/8599/205822630-cfc2769c-b722-48cd-84fd-6b563529833e.png">

`log.ts:292 TRACE CommandService#executeCommand remoteHub.createPullRequest`

During branch switching my VS Code somehow ended up without GHPRI, while the Create PR button was still added by the remoteHub extension.

<img width="467" alt="image" src="https://user-images.githubusercontent.com/8599/205822757-bfa85494-c1c7-4b5e-917d-d4495742d24a.png">


VS Code version: Code - Insiders 1.74.0-insider (5235c6bb189b60b01b1f49062f4ffa42384f8c91, 2022-12-05T10:19:00.076Z)
OS version: Darwin x64 22.1.0
Modes:
Sandboxed: Yes

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>metal: disabled_off<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_renderer: enabled_on<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: disabled_off|
|Load (avg)|6, 5, 4|
|Memory (System)|64.00GB (6.87GB free)|
|Process Argv|--enable-proposed-api donjayamanne.kusto --log trace --crash-reporter-id 4cf0a6f0-aaf8-4da3-9b2b-81f6c639c12b|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (42)</summary>

Extension|Author (truncated)|Version
---|---|---
Bookmarks|ale|13.3.1
tsl-problem-matcher|amo|0.6.2
docs-view|bie|0.0.11
emojisense|bie|0.9.1
github-markdown-preview|bie|0.3.0
markdown-checkbox|bie|0.4.0
markdown-emoji|bie|0.3.0
markdown-footnotes|bie|0.1.1
markdown-mermaid|bie|1.15.3
markdown-preview-github-styles|bie|1.0.1
markdown-yaml-preamble|bie|0.1.0
vscode-github-actions|csc|0.24.4
kusto|don|0.3.8
gitlens|eam|2022.12.504
auto-close-tag|for|0.5.14
auto-rename-tag|for|0.1.10
codespaces|Git|1.13.2
copilot-labs|Git|0.4.488
remotehub|Git|0.46.0
github-security-alerts|los|0.0.2
symbols|mig|0.0.7
theme-monokai-pro-vscode|mon|1.2.0
dotnet-interactive-vscode|ms-|1.0.3602041
isort|ms-|2022.9.13271012
python|ms-|2022.19.13351014
vscode-pylance|ms-|2022.12.11
jupyter|ms-|2023.1.1003411034
jupyter-keymap|ms-|1.0.0
jupyter-renderers|ms-|1.0.12
remote-containers|ms-|0.266.0
remote-ssh|ms-|0.93.2022112815
remote-ssh-edit|ms-|0.84.0
azure-repos|ms-|0.23.2022120501
remote-repositories|ms-|0.25.2022120501
remote-server|ms-|1.0.0
vscode-selfhost-test-provider|ms-|0.3.10
vsliveshare|ms-|1.0.5788
vscode-xml|red|0.22.0
vscode-yaml|red|1.10.1
vscode-mdx|uni|1.0.3
volar|Vue|1.0.11
markdown-all-in-one|yzh|3.5.0

(1 theme extensions excluded)

</details>
<!-- generated by issue reporter -->
Repository: rust
Issue: Weird cyclic type error
Labels: A-diagnostics,T-compiler,D-confusing

Given

```rust
use std::io::{Error, ErrorKind};
fn main() {
    let invalide2 = || Error::new(ErrorKind::InvalidInput, "");
    let invalid2 = || Err(invalide2);
    let capture = vec![None, Some("42".to_string())];
    let v = capture.iter().skip(1)
        .map(|x| match x {
          None => invalid2(),
          Some(x) => x.as_str().parse::<usize>().map(|_|invalid2())
        }).collect::<Result<Vec<usize>, ()>>()
        .unwrap();
}
```

The output is

```
error[E0308]: `match` arms have incompatible types
  --> f54.rs:9:22
   |
7  |           .map(|x| match x {
   |  __________________-
8  | |           None => invalid2(),
   | |                   ---------- this is found to be of type `Result<_, [closure@f54.rs:3:21: 3:23]>`
9  | |           Some(x) => x.as_str().parse::<usize>().map(|_|invalid2())
   | |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cyclic type of infinite size
10 | |         }).collect::<Result<Vec<usize>, ()>>()
   | |_________- `match` arms have incompatible types
```

This is confusing and not very actionable. Changing the label to show the tracked type inside of `CyclicTy` we get

```
error[E0308]: `match` arms have incompatible types
  --> f54.rs:9:22
   |
7  |           .map(|x| match x {
   |  __________________-
8  | |           None => invalid2(),
   | |                   ---------- this is found to be of type `Result<_, [closure@f54.rs:3:21: 3:23]>`
9  | |           Some(x) => x.as_str().parse::<usize>().map(|_|invalid2())
   | |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cyclic type of infinite size `Result<_, [closure@f54.rs:3:21: 3:23]>`
10 | |         }).collect::<Result<Vec<usize>, ()>>()
   | |_________- `match` arms have incompatible types
```

which still doesn't give enough context and really is more confusing than anything.
_Taken from https://github.com/mcclure/rust-bug/blob/infinite/src/main.rs_

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

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

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: pytorch
Issue: Why torch.mode return different value between CPU and GPU
Labels: module: cuda,triaged

### 🐛 Describe the bug

For this case,
```
tensor_input = torch.Tensor([[[[-0.6572, -0.0377,  0.2676, -0.2568, -1.6279, -0.3259, -0.1349,
           -0.6699,  1.0273,  0.0203, -0.7080,  0.9360,  0.8535,  0.0132,
            1.2920, -0.4414, -0.5073, -0.5352,  0.2313,  0.1196, -0.7681,
           -0.9087, -0.4175, -0.0583, -1.1299,  1.5000,  0.0756,  0.4622,
           -0.5273,  1.7432, -0.8896,  1.7295, -0.7310, -0.7080, -0.0253,
            0.7202,  2.2656,  1.2324,  1.0000,  0.8584, -3.2207,  0.0425,
           -1.3242, -0.0217,  0.2297, -0.3833, -0.0539,  1.2920, -0.6719,
            0.3425,  1.4785,  0.6108,  0.5913, -1.3027, -1.0791]]]])
value_gpu, index_gpu = torch.mode(tensor_input.cuda(), -1, False)
value_cpu, index_cpu = torch.mode(tensor_input.cpu(), -1, False)
print("value_gpu is:  ", value_gpu)
print("value_cpu is: ", value_cpu)
```
the running result is:
```
value_gpu is:   tensor([[[1.2920]]], device='cuda:0')
value_cpu is:  tensor([[[-0.7080]]])
```
For the input tensor, 1.2920 and -0.7080, both values ​​above appear twice, why CPU return -0.7080, while GPU return 1.2920 ?

If all point values ​​appear only once, CPU and GPU will return the minimum, why partial point value appear twice, CPU still return the minimum, while GPU will not return the minimum? 

I wonder if this phenomenon is reasonable?

### Versions

pytorch v1.10.2 with CUDA10.2

cc @ngimel
Repository: pytorch
Issue: Is it possible to add a parameter in torch.onnx.export to skip the prim::PythonOp subgraph process when exporting the autograd function?
Labels: module: onnx,triaged

### 🚀 The feature, motivation and pitch

Torch 1.13 adds a new feature: Inlined prim::PythonOp for Autograd Function Export (https://github.com/pytorch/pytorch/pull/74765). When tracing, all operations in the autograd function will be recorded as a subgraph of autograd function node. However, this subgraph seems to be useless if a custom symbolic function is implemented in autograd function defination or registered by register_custom_symbolic_op, in which cases the autograd function will be exported as one single node.
In my cases, some operations in my custom autograd functions may also be incompatible with this subgraph process or the following passes. Is it possible that a parameter is added in torch.onnx.export interface to control this subgraph trace or just skip subgraph tracing when a symbolic function is registered by register_custom_op_symbolic or implemented in the autograd function defination?

### Alternatives

_No response_

### Additional context

_No response_
Repository: stable-diffusion-webui
Issue: [Feature Request]: Checkpoint Style Merger of 2.0 model with 1.5 models
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

Allow 1.5 styles to blend with 2.0 models.

### Proposed workflow

1. Go to .... 
2. Press ....
3. ...
allow custom models already made, to be combined with 2.0v model

### Additional information

IS THERE A WAY ALREADY TO MERGE CUSTOM MODELS WITH 2.0 ???
Repository: vscode
Issue: Support CPU and memory usages for remote processes in the Process Explorer
Labels: feature-request,workbench-diagnostics

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.73.1
- OS Version: Client Windows 11, Remote: Ubuntu

Steps to Reproduce:

1. Connect to SSH remote development machine
2. Open Process Explorer

See that CPU and Memory are shown as 0, while it should display actual values (local information works).

![image](https://user-images.githubusercontent.com/29799350/205850017-177a4e83-d7d6-424a-9457-029287333f8d.png)
Repository: PowerToys
Issue: Keyboard manager remaped shortcuts to itself
Labels: Product-Keyboard Shortcut Manager,Needs-Triage

### Description of the new feature / enhancement

Enable to remap shortcut to it self

### Scenario when this would be used?

My laptop default layout is qwerty.
I remaped the keys to the colemak layout. (in keyboard manager)
In the colemak layout they moved the key "s" and replaced it by "r"
Now i want to create a shortcut that saves with ctrl+r (colemak). So that is ctrl+s (qwerty)
So what I need is to set: 
+ Physical shortcut: 
   - ctrl+s (qwerty)
+  Mapped to: 
    - (ctrl+s).
But you can't do that because it says: "Cannot remap a shortcut to itself"

It is hard to explain, I hope someone understands.

### Supporting information

_No response_
Repository: excalidraw
Issue: [Feature Request] Allow Degrouping and Regrouping of Label Text with Arrows
Labels: Labeled Arrows

Purpose: To resize and rotate the text without modifying the arrow.
Repository: material-ui
Issue: onMouseDown in a portal inside ClickAwayListener and onMouseUp inside the ClickAwayListener triggers onClickAway
Labels: component: ClickAwayListener,status: expected behavior

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Steps to reproduce 🕹

Link to live example: https://codesandbox.io/s/mui-clickawaylistener-portal-issue-8oftui?file=/src/App.js

Steps:

1. Open the console
2. Click (but don't release) in the blue area
3. Move the cursor to the green area and release


### Current behavior 😯

`onClickAway` is called on the `ClickAwayListener`

### Expected behavior 🤔

`onClickAway` is not called on the `ClickAwayListener` because the portal is nested inside the `ClickAwayListener`

### Context 🔦

We have a panel wrapped with `ClickAwayListener` that contains some form elements like a dropdown where we noticed this behaviour.

### Your environment 🌎

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
System:
    OS: macOS 12.6.1
  Binaries:
    Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.15.1/bin/yarn
    npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npm
  Browsers:
    Chrome: 107.0.5304.121
    Edge: Not Found
    Firefox: 107.0
    Safari: 16.1
  npmPackages:
    @mui/base: 5.0.0-alpha.106 => 5.0.0-alpha.106 
    @mui/types:  7.2.2 
    @mui/utils:  5.10.16 
    @types/react: 17.0.30 => 17.0.30 
    react: 17.0.2 => 17.0.2 
    react-dom: 17.0.2 => 17.0.2 
    typescript: 4.6.4 => 4.6.4 
```
</details>
Repository: stable-diffusion-webui
Issue: [Bug]: sdwebui failed to create an image successfully with '--precision full --no-half' option on RX 5700.
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

When creating an image with rx 5700, only a blank screen is created.
However, if the '--precision full --no-half' or '--no-half' options are used, the image is created normally.

The Radeon RX 6000 Series and the RX 500 Series have been verified to function normally without the option ' --precision full --no-half'.
Is this a problem with rocm or pytorch?

And I think it would be better to update the wiki that you don't need to use the '--precision full --no-half' option or the '--no-half' option on the rx 6000 series and rx 500 series.
If you do not use this option, you can save a lot of vram.

### Steps to reproduce the problem

1. install ubuntu and rocm and pytorch and sdwebui on system with rx 5700 (gfx1010)
2. generate image 
3. The system is normally loaded, but finally a blank image is created.

### What should have happened?

The rx 6000 series or rx 500 series have been confirmed to function normally
only rx 5700 systems seem to experience this issue

### Commit where the problem happens

latest

### What platforms do you use to access UI ?

Linux

### What browsers do you use to access the UI ?

Mozilla Firefox

### Command Line Arguments

_No response_

### Additional information, context and logs

_No response_
Repository: godot
Issue: [TRACKER] OpenXR in Godot 4
Labels: tracker,topic:xr

We've identified several outstanding issues with OpenXR. Just raising this issue to keep track of them.

### Core features

- [ ] Auto exposure only works in left eye #69000
- [x] VRS being made available even when not supported #69091
- [ ] Query OpenXR for a density map once supported
- [ ] Render order issue #68469 (this is likely caused by the depth buffer issues, see below)
- [ ] Only background is being rendered #65864 (this is likely caused by depth buffer issues, see below)
- [ ] Action map save issue #68041
- [x] Fix various issues around the action map #68528
- [x] Fix sky orientation issue #69636
- [x] Fix stereo issue in sky #62738

### Extensions

- [ ] Support implementing OpenXR extensions as GDExtensions #68259
- [ ] add support for various composition layers (as extra (2D) Viewports rendering to XRSwapChains)
- [ ] add support for Dpad bindings in Action map: https://registry.khronos.org/OpenXR/specs/1.0/html/xrspec.html#XR_EXT_dpad_binding
- [ ] Port performance settings extension from Godot 3 plugin: https://registry.khronos.org/OpenXR/specs/1.0/html/xrspec.html#XR_EXT_performance_settings
- [ ] Implement render models API once core version becomes available
- [ ] Implement Metas Scene capture extension: https://github.com/migeran/godot_openxr_meta
- [ ] Ensure interfaces avoid multiple inheritance of classes with data members #69694

### Depth buffer

OpenXR allows supplying the depth buffer, the XR runtime can use this information to perform more accurate re-projection when framerates are not met. On Quest the depth buffer can be combined with a motion vector buffer to enable application spacewarp, a more advanced version of re-projection. Motion vector support is not yet available on the mobile renderer but solving the issues already found will be paramount to solving this.

- [x] Left eye depth buffer is supplied for the right eye #69648
- [ ] Mobile renderer is not resolving MSAA depth buffer to final depth buffer
- [ ] Clustered renderer fails to resolve MSAA depth buffer to final depth buffer if compute shaders are used, it's not possible to set the `VK_IMAGE_USAGE_STORAGE_BIT`
- [ ] Make depth buffer support optional so it can be turned off when effects are used that break the solution #69654

### Vulkan specific

### OpenGL specific

- [x] Image flip issue when presenting preview image on desktop #69581

### DX12 specific

- [ ] Implement multiview support
- [ ] Add DX12 extension for OpenXR

### Misc

- [ ] WMR devices over SteamVR are not always working #67398 (possible driver issue with MS)
Repository: godot
Issue: Unable to delete group in godot version 4
Labels: discussion,topic:editor,usability

### Godot version

v4.0.beta7.official [0bb1e89fb]

### System information

Windows10

### Issue description

![image](https://user-images.githubusercontent.com/113050645/205880429-8ad5925e-edd4-42f1-b111-c393f8611bf9.png)
There is no delete group button
![image](https://user-images.githubusercontent.com/113050645/205881334-dccd19e0-2178-4c1d-8c38-84872859f02b.png)
There is a remove group button in the group manager, but clicking on it has no effect, as well as trying to remove a player from this group

### Steps to reproduce

I accessed the group through the code, but then deleted this call and saved the file, but I still can’t delete the group

### Minimal reproduction project

[Survivors Clone.zip](https://github.com/godotengine/godot/files/10165013/Survivors.Clone.zip)
Repository: PowerToys
Issue: Blank TickTick window appears when opening and moving to last known zone
Labels: Issue-Bug,Product-FancyZones,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.64.1

### Installation method

WinGet

### Running as admin

No

### Area(s) with issue?

FancyZones

### Steps to reproduce

Upon opening the TickTick app on Windows 10 with Fancy Zonzes configured to move a new open window to the last known zone for this window, a blank white window appears, and cannot be closed, moved or minimized. This is in addition to the main TickTick window. 
The issue is resolved with Fancy Zones option to move the new open window to last location disabled. Then just the normal TickTick window appears, but in a default location.
It does not happen to any other app on my computer.
![ticktick_fancyzones_bug](https://user-images.githubusercontent.com/33698492/205887415-2302ca8e-a3a7-4abb-b16d-2356f89c3781.jpg)
![ticktick_fancyzones_bug2](https://user-images.githubusercontent.com/33698492/205887423-349f1aa2-9234-4f82-b433-e07f05593811.jpg)


### ✔️ Expected Behavior

Opened window moved to the last known zone, but without any additional windows.

### ❌ Actual Behavior

Opened window moved to the last known zone, but with immovable window as a bonus.

### Other Software

TiickTick version 4.3.4.0
Repository: stable-diffusion-webui
Issue: [Feature Request]: Show image creation progress every N steps for every batch that is in process
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

My feature must show image of creation not only of first batch, which is in progress (not finished yet), but every batch. This feature must work with “Show image creation progress every N sampling steps...” > 0 in settings and “Batch size” > 1 in img2img or txt2img.

### Proposed workflow

1. Go to txt2img of img2img set prompt (and img for img2img). Set in settings Show image creation progress to 1 for example, and set batch size to 2.
2. Press Generate.
3. When generation started, there must be left and right arrows (maybe under the style1 and style2) for  changing of what batch creation is displayed on webui right now.


### Additional information

_No response_
Repository: TypeScript
Issue: tsconfig extends with bare path ".." works when it should not
Labels: Bug,Help Wanted

# Bug Report

<!--
  Please fill in each section completely. Thank you!
-->

### 🔎 Search Terms

tsconfig extends parent

### 🕗 Version & Regression Information

- This changed between versions 3.1.8 and 3.2.1

### ⏯ Playground Link

Playground links with relevant code:
A. https://stackblitz.com/edit/node-adwy3r
B. https://stackblitz.com/edit/node-aiwgcb

### 💻 Code

#### Playground A

`tsconfig.json`:

```json
{}
```

`foo/tsconfig.json`:

```json
{"extends": ".."}
```

#### Playground B

`tsconfig.json`:

```json
{"extends": "./foo"}
```

`foo/tsconfig.json`:

```json
{}
```

### 🙁 Actual behavior

In playground A, running `tsc --showConfig` in directory `foo` works.

In playground B, running `tsc --showConfig` in project root fails:

```
tsconfig.json:2:14 - error TS6053: File './foo' not found.

2   "extends": "./foo"
               ~~~~~~~
```

### 🙂 Expected behavior

Both playgrounds are kind of symmetrical. I expect either both A and B to work, or both of them to fail.

I expect the ["extends" specification](https://www.typescriptlang.org/tsconfig#extends) to be either followed: _"The value of extends is a string which contains **a path to another configuration file** to inherit from. The path may use Node.js style resolution."_, or adjusted to reflect the actual behaviour.

I expected the [Typescript 3.2 changelog](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-2.html#tsconfigjson-inheritance-via-nodejs-packages) to be either followed: _"TypeScript 3.2 now resolves tsconfig.jsons from node_modules. **When using a bare path** for the extends field in tsconfig.json, TypeScript will **dive into node_modules** packages for us."_ or adjusted to reflect the actual behaviour.

Neither of `..` and `./foo` are located inside `node_modules`. Both of them do have `package.json` and `node_modules`. I don't see what causes the different behaviour.
Repository: rust
Issue: Hard to understand error when trying to create an use a mutable string literal
Labels: A-diagnostics,T-compiler

```rust
fn bar(_: &mut str) {
}
fn foo() {
    let mut x = "qwerty";  // x is declared as `mut`
    bar(&mut x);           // <-- this line doesn’t compiles
}
```

The current output is:

```rust
error[[E0596]](https://doc.rust-lang.org/stable/error-index.html#E0596): cannot borrow data in a `&` reference as mutable
 --> src/lib.rs:5:9
  |
5 |     bar(&mut x);
  |         ^^^^^^ cannot borrow as mutable

For more information about this error, try `rustc --explain E0596`.
error: could not compile `playground` due to previous error
```

---

I think that the error should be on the line above (`let mut x = "qwerty"`) since, from what I understand, string literals are always immutable. So it shouldn’t be possible to create a `mut` binding to them.

[playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=94ac533d21fc3d2312a2062458d306c8)