sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: Bug when remapping keys º to ~, + to ´, ~ to º and ´ to +
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Needs-Triage

### Microsoft PowerToys version

0.61.1

### Running as admin

- [X] Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

Having Portuguese (Brazil) as your main language, remap 4 keys as follows:
![image](https://user-images.githubusercontent.com/99078404/187881821-f57d0ac9-7fb6-4d16-ab26-0d353bfc50b2.png)

(these keys are from the Portuguese (Portugal) keyboard layout)

### ✔️ Expected Behavior

Keys would be switched and function as normal.

### ❌ Actual Behavior

After a clean boot, it's a matter of time (not sure what the trigger is) for the following behavior to appear (and stay):
- Pressing the physical key "+" results in "´" (as expected)
- Pressing the physical key "º" results in "~" (as expected)
- Pressing the physical key "´" results in "´+" (double characters, not expected!)
- Pressing the physical key "~" results in "~º" (double characters, not expected!)

The exact same behavior is found when using the same keys with Shift pressed (~ key becomes ^ª, ` key becomes `*).

### Other Software

_No response_
Repository: vscode
Issue: Consider consolidating git repository detection
Labels: feature-request,github

The GitHub Pull Requests and Issues extension exposes extension API to detect repositories that are discovered by other extensions. It uses this API to register the built in git extension as a git provider. Remote Hub uses this API to register itself as a git provider, as does Live Share. This extension API is how GHPRI works both in browser and on desktop.

Having this repository consolidation in GHPRI means that only GHPRI knows about all the git repos from various sources. This is a problem if, for example, we want the built in GitHub extension to know about all repositories. Specifically, we might want to move all the "Copy as" GitHub links out of GHPRI and into the built in GitHub extension. 

Instead of having GHPRI be the repository consolidator, we could have the built in GitHub extension or the git-base extension do this. Then, any extension could benefit from this repository consolidation.
Repository: PowerToys
Issue: FancyZones: Cannot set layout per virtual desktop from editor
Labels: Issue-Bug,Product-FancyZones,Needs-Triage

### Microsoft PowerToys version

0.61.1

### Running as admin

- [X] Yes

### Area(s) with issue?

FancyZones

### Steps to reproduce

1. Define multiple desktops (e.g. Work, Personal, and "Gaming)
2. Create/define a layout in fancy zones.

Note that only one desktop is shown. To workaround this:

3. Set the Powertoys settings window to display on all monitors. (Open PowerToys Settings, Task view -> right-click window)
4. Move to another desktop, and launch the layout editor.
5. Select a new layout for the desktop
6. Exit the layout editor and move some windows to a zone.
7. Repeat steps 4-6 for each desktop.


### ✔️ Expected Behavior

I expect the editor to display a monitor for each defined virtual desktop, so that I can define persistent layouts for different workloads at once.

### ❌ Actual Behavior

In the editor, only one monitor/desktop is shown, even though there is 1 physical monitor, with multiple virtual desktops. 
In order to change the settings, I must relaunch the editor on each desktop.

### Other Software

_No response_
Repository: go
Issue: x/tools/gopls: weird files treated as packages
Labels: NeedsInvestigation,gopls,Tools

If one edits a random text file, say /tmp/foof, go/packages/golist.go treats it as a Go file. The comment at line 349 is
"// If we get nothing back from `go list`,
// try to make this file into its own ad-hoc package.
// TODO(rstambler): Should this check against the original response?"

One would think it should look to see if there is a .go file involved somehow. Otherwise the gopls output is polluted by a lot of messages like

[Error - 10:22:27 AM] 2022/09/01 10:22:27 analyzer "tests" failed: analysis tests for package /tmp/foof panicked: runtime error: invalid memory address or nil pointer dereference
Repository: godot
Issue: Editing gradient with inspector plugin does not update it in running app
Labels: bug,topic:editor

### Godot version

4.0 alpha 15

### System information

Linux mint

### Issue description

When I edit gradient (but this is probably true for any resource) in editor inspector changes aren't always reflected in running game. Sometimes they are - it is the case when we do edition by changing values using `EditorProperties`, because changing them emits `property_changed` event. However when we edit gradient using inspector color ramp plugin, then even though properties of resource are changed, event is not emitted and changes are not visible in running game. Application needs to be rerun for changes to be visible.

I hope that following gif explains it a little better. I have very simple setup - one node with gradient texture. When I run game and modify gradient colors using list (rawData/colors) then gradient in running application also changes. However when I edit gradient by clicking on this fancy gradient color picker plugin, then nothing happens, changes are not visible in game.

![color_picker](https://user-images.githubusercontent.com/9964886/187942678-e7c42234-adb0-4918-8605-a9bde6c6f4be.gif)




### Steps to reproduce

1. Create scene with gradient texture
2. Run it
3. Modify gradient in editor using color ramp plugin (or whatever its called)

### Minimal reproduction project

_No response_
Repository: flutter
Issue: [Proposal] Create a selected parameter for PlatformMenuItem
Labels: c: new feature,framework,f: material design,c: proposal,P3,team-design,triaged-design


## Use case

It would be helpful if `PlatformMenuItem` had a `selected` parameter so we could create menus like this one from vscode.

<img width="316" alt="image" src="https://user-images.githubusercontent.com/47798920/187949933-ff61400c-af18-4213-a45b-a2530eec3feb.png">


## Proposal
Add a selected parameter in `PlatformMenuItem` just like `ListTile`
Repository: flutter
Issue: Canvaskit datepicker skiagold tests are flaky
Labels: dependency: skia,platform-web,P1,customer: huggsy (g3),team-web

Internal: b/292548039

Since the most recent canvaskit roll, these tests are producing new skia diffs on nearly every run. This is closing the framework tree, and blocking rolls.

cc @yjbanov
Repository: PowerToys
Issue: [PowerRename] "Apply" Button Missclick Protection
Labels: Idea-Enhancement,Product-PowerRename,Needs-Triage

### Description of the new feature / enhancement

Please consider disabling the apply button after one click to protect against accidental clicks.
Maybe involve a delay (2 seconds) before enabling it again?

### Scenario when this would be used?

After clicking the "apply" button to rename.

### Supporting information

_No response_
Repository: go
Issue: x/build: corellium builders failing with signal: killed
Labels: Builders,OS-Android,NeedsFix

```
#!watchflakes
post <- builder ~ `.*-corellium` && log ~ `signal: killed`
```

[2022-09-01T15:27:07-b5b2cf5/android-arm-corellium](https://build.golang.org/log/d2b99a257cf6921233ac3e5b4bd62701c958102e)
[2022-09-01T02:24:14-91ef076/android-arm-corellium](https://build.golang.org/log/b475487b3a738df05ade4070417a2c4750bf15e3)
[2022-09-01T00:42:27-64b260d/android-arm-corellium](https://build.golang.org/log/bcb6f12a6d7c00345051f659618e53ff5681fadc)
[2022-09-01T00:42:27-64b260d/android-arm64-corellium](https://build.golang.org/log/505bf241e11f117bc81a4298c4010036de6d7186)
[2022-08-31T23:52:00-ca634fa/android-arm-corellium](https://build.golang.org/log/64f833b5ef7ac670e8ddced7f70434f4d4892540)
[2022-08-31T23:52:00-ca634fa/android-arm64-corellium](https://build.golang.org/log/c791394a4d59bd8c5869fe41ed4c659602b044d8)
[2022-08-31T22:22:43-e4b624e/android-arm-corellium](https://build.golang.org/log/042ed829ecbcbdf6bc338396c8e9d294136414be)
[2022-08-31T22:09:44-5f5c018/android-arm-corellium](https://build.golang.org/log/d346543ea881b46ec4dad8de398e6fabe291b855)
[2022-08-31T22:04:55-af7f067/android-arm-corellium](https://build.golang.org/log/cf3c2683cecc516997310601e6cd84c38e86326f)
[2022-08-31T21:10:41-52d9e7f/android-arm64-corellium](https://build.golang.org/log/c084820ca7e05c9118aef16fbe8387798fef6555)
[2022-08-31T20:05:46-239115c/android-arm-corellium](https://build.golang.org/log/2b7a4aa7e8a7d08801d738d5d49733962133bc76)
[2022-08-31T20:05:06-9085ff5/android-arm64-corellium](https://build.golang.org/log/2e76c98cdb9817de29c06fec963634df6fc23cf6)
[2022-08-31T16:37:20-ebc75ac/android-arm64-corellium](https://build.golang.org/log/8775bcc92d619d32d5b1c4aa25f931c2e0f504a4)
[2022-08-31T15:33:00-fa0e3bf/android-arm-corellium](https://build.golang.org/log/c8a60c1909e4664ced7bb55fb3b3118f046fc432)
[2022-08-31T15:30:57-d01200e/android-arm-corellium](https://build.golang.org/log/2c0ba1f32995011e1c99e1b7bd8cc8587a68e8ff)
[2022-08-31T15:30:26-a25a34a/android-arm64-corellium](https://build.golang.org/log/88083995336ec1474aac9a9e08fb782f168b0bf5)
[2022-08-31T15:12:21-d3b35a4/android-arm64-corellium](https://build.golang.org/log/b5cd7491d1a8f7cd1d7616c4a0b3501bc0efaf6d)
[2022-08-31T15:12:18-28e3885/android-arm64-corellium](https://build.golang.org/log/ad1a0f034ebbe538c0c2bbb7aa0ad8918202c937)
[2022-08-31T09:35:10-d2e0587/android-arm-corellium](https://build.golang.org/log/6240accd88791906ea03f161b5dc4f121506d534)
[2022-08-31T01:16:54-ee0e40a/android-arm-corellium](https://build.golang.org/log/7620539ad9a4cd6d7d81bda33216cc44ff125f00)

cc @golang/android
Repository: flutter
Issue: Remove files from `integration_tests` that can be generated
Labels: tool,framework,c: proposal,P3,team-framework,triaged-framework

The flutter repository has checked in files that could be generated with `flutter create`.  For example: https://github.com/flutter/flutter/tree/master/dev/integration_tests/ui/macos

The benefits of our current approach (checking in the files) are:
1) There are less steps that can flake CI
1) It's easier for people to execute

The disadvantages are:
1) We have to maintain those files (they get stale)
1) They increase the repository size
1) It's harder to do code reviews (a lot of boilerplate is checked in).

We could potentially mitigate the usability problem by making the tool a bit smarter to run `create` automatically or to suggest it if the files are missing.  Maybe a flag `flutter run --with-create`.

cc @jonahwilliams
Repository: neovim
Issue: matchadd for buffers instead of windows
Labels: enhancement,highlight

### Feature already in Vim?

No

### Feature description

The `matchadd()` function (and related functions / commands) is scoped to windows rather than to buffers. This usually makes little sense - if the buffer changes in the window, the matches are quite likely to be nonsensical. Many suggestions on the internet try to work around this problem, but they usually have a variety of oversights / shortcomings, e.g., ones that suggest using BufWinEnter but don't account for the fact that it's not triggered on a window split. Developing a setup that reliably adds the highlight for all windows with the buffer and reliably removes it when the buffer changes is quite difficult, and requires modeling the auto-commands as a state machine that accounts for different sorts of scenarios. Having `matchadd()` (and related functions / commands) that can operate on a buffer instead of on a window would make this a lot simpler.
Repository: terminal
Issue: Titlebar rendering bug when mousing over window buttons
Labels: Needs-Repro,Issue-Bug,Area-UserInterface,Product-Terminal,Priority-3,Impact-Visual

### Windows Terminal version

1.14.2281.0

### Windows build number

10.0.19044.0

### Other Software

_No response_

### Steps to reproduce

Move the terminal window to secondary monitor (4K 150%)  (main monitor is 1080p 125%)
Mouse over window buttons (close, maximize, minimize)

### Expected Behavior

Each buttons highlights as the mouse enters, and unhighlights as the mouse exits

### Actual Behavior

The highlight appears to redraw every frame, reapplying the highlight on top of the existing highlight.  
Additionally, the highlight drawing follows the mouse across the title bar, even outside of the buttons.
Even stranger, the highlight seems to take some cue from pixel color behind the mouse.  I can sometimes turn the buttons blue by moving the mouse out of the terminal window and onto my (blue) desktop.

Unfortunately, I'm having trouble actually capturing evidence of this. I've tried 2 different screen recording softwares, and the highlighting looks completely normal when recorded.  I'll try posting a video from my phone once this is opened..
Repository: opencv
Issue: iOS: Binary operator '+' cannot be applied to two 'Mat' operands
Labels: category: core,category: swift/objc bindings

##### System information (version)

- OpenCV => 4.6.0
- Operating System / Platform => iOS

##### Detailed description

Try to add two mat and get this: 
```
Binary operator '+' cannot be applied to two 'Mat' operands
```

##### Steps to reproduce

```swift
let mat1 = Mat.ones(rows: 3, cols: 3, type: CvType.CV_64F)
let mat2 = Mat.zeros(3, cols: 3, type: CvType.CV_64F)
let tmp = mat1 + mat2
print("tmp: \n\(tmp.dump())\n")
```

##### Issue submission checklist

 - [ ] I report the issue, it's not a question
   <!--
   OpenCV team works with forum.opencv.org, Stack Overflow and other communities
   to discuss problems. Tickets with questions without a real issue statement will be
   closed.
   -->
 - [ ] I checked the problem with documentation, FAQ, open issues,
       forum.opencv.org, Stack Overflow, etc and have not found any solution
   <!--
   Places to check:
   * OpenCV documentation: https://docs.opencv.org
   * FAQ page: https://github.com/opencv/opencv/wiki/FAQ
   * OpenCV forum: https://forum.opencv.org
   * OpenCV issue tracker: https://github.com/opencv/opencv/issues?q=is%3Aissue
   * Stack Overflow branch: https://stackoverflow.com/questions/tagged/opencv
   -->
 - [ ] I updated to the latest OpenCV version and the issue is still there
   <!--
   master branch for OpenCV 4.x and 3.4 branch for OpenCV 3.x releases.
   OpenCV team supports only the latest release for each branch.
   The ticket is closed if the problem is not reproduced with the modern version.
   -->
 - [ ] There is reproducer code and related data files: videos, images, onnx, etc
   <!--
   The best reproducer -- test case for OpenCV that we can add to the library.
   Recommendations for media files and binary files:
   * Try to reproduce the issue with images and videos in opencv_extra repository
     to reduce attachment size
   * Use PNG for images, if you report some CV related bug, but not image reader
     issue
   * Attach the image as an archive to the ticket, if you report some reader issue.
     Image hosting services compress images and it breaks the repro code.
   * Provide ONNX file for some public model or ONNX file with random weights,
     if you report ONNX parsing or handling issue. Architecture details diagram
     from netron tool can be very useful too. See https://lutzroeder.github.io/netron/
   -->
Repository: bitcoin
Issue: combinerawtransaction confusing with distinct transactions
Labels: Bug,good first issue

If passed two unrelated transactions, `combinerawtransaction` seems to take the first and ignore the rest.

We should probably either throw an error or actually combine them somehow?
Repository: create-react-app
Issue: Can I run CRA programmatically using a js API?
Labels: needs triage

Can I run CRA programmatically using a js API like vite: https://vitejs.dev/guide/api-javascript.html#createserver?

```
import {CRA} from 'create-react-app';

CRA.runServer(3000);
```
Repository: electron
Issue: [Bug]: Programmatic focus doesn't respect modal dialog box 
Labels: platform/windows,bug :beetle:,has-repro-gist,21-x-y,22-x-y,23-x-y

### 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 bug report that matches the one I want to file, without success.

### Electron Version

20.1.0

### What operating system are you using?

Windows

### Operating System Version

Windows 10 Enterprise Version 21H2

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

While a modal dialog box is blocking interaction, a programmatic .focus() on an element in the blocked window should be ignored.

### Actual Behavior

A programmatic .focus() call will give focus to and allow keyboard interaction with a blocked window while a blocking modal dialog box is still open.


https://user-images.githubusercontent.com/16943267/188006640-ae6c13b5-bd12-4c0b-ae79-f6a3e6389802.mp4

Achieved by opening a dialog.showMessageBox(), then having an asynchronous task call .focus() on an element after the dialog is already showing. As can be seen in the video, the button, which is blocked from mouse input, still receives focus, and can be interacted with via the keyboard.




### Testcase Gist URL

https://gist.github.com/7a181f43403dba9c752e3bd6f6d35b85

### Additional Information

_No response_
Repository: three.js
Issue: Add support for space warp in WebXR
Labels: Enhancement

The Oculus browser is in the process of adding support for [Space Warp](https://www.facebook.com/watch/?v=2968524790068355).
TLDR , this is a technology that allows an experience to render at half the frame rate but display at the full display frame rate.

To make this work, the site needs to submit a low resolution motion vector texture and a low resolution depth texture in addition to the regular color texture.

How hard would it be add support for this to three.js?
Repository: pytorch
Issue: Strange cuda illegal memory allocation error
Labels: module: cuda,triaged

### 🐛 Describe the bug

I am trying to run the following GitHub repository.

https://github.com/neuroailab/EISEN

 However, I am receiving a strange Cuda illegal memory allocation error. 
![image](https://user-images.githubusercontent.com/52120948/188027404-12098a5c-bcc2-4af9-ba7b-ceaaa01ab117.png)
It does not seem to be the code since the repo author states that the code is running fine on his machine. It will be great if someone can help to verify if this is specific to my machine or not. Any idea if this is an issue with my Cuda/torch version? I have tried to debug this but was not successful. I did find that the error seems to come from this line: `indices = sample_inds[-1].view(B, T * K).unsqueeze(-1).expand(-1, -1, D)` from core/utils/utils.py line 97.

When trying to print the max value of the indices variable, it also throws the cuda illegal memory allocation error. The error is gone when I remove the `.expand(-1, -1, D)`, but it leads to a dimension issue further down the code.

The following is my environment.
![image](https://user-images.githubusercontent.com/52120948/188026199-9b1d8661-0709-44df-bb0e-0b505158d586.png)
I am also running this on wsl2 with the following nvidia-smi output:
![image](https://user-images.githubusercontent.com/52120948/188027473-74c14413-b74b-473d-b599-72d4052aa1c8.png)


### Versions

![image](https://user-images.githubusercontent.com/52120948/188027978-e81a3420-bcee-48c2-8396-48a8fd850a8a.png)


cc @ngimel
Repository: TypeScript
Issue: [Microsoft.TypeScript.MSBuild] Incremental build is broken for .NET (Core)
Labels: Visual Studio,Rescheduled

Building a project that uses `Microsoft.TypeScript.MSBuild` NuGet using e.g. `dotnet build` will compile typescript files each run even though there were no changes.

NuGet version: 4.8.2

## Details

The target `PreComputeCompileTypeScriptWithTSConfig` will run before the actual typescript compilation and use the `GenerateOutputLogs` task to check whether there is already a valid cache file in the obj folder in the form of `Tsc<NUMBERS>.out`. Unfortunately this `<NUMBERS>` block is generated by using the `string.GetHashCode()` method on the file path of the passed `tsconfig.json` file.
This hash code function is not stable in .NET (Core) and will be different for each new process, see also _Remarks_ in the [documentation](https://docs.microsoft.com/en-us/dotnet/api/system.string.gethashcode?view=net-6.0#system-string-gethashcode). That's why the normal hash code of a `string` cannot be used to persist data.

## Proposed Fix

There was a similar issue for the incremental build in the WPF repo. The fix was just to replace the hash code generation with a stable version. See also [this PR](https://github.com/dotnet/wpf/pull/4053/files).

_I could not find the code of the Microsoft.TypeScript.MSBuild NuGet in this repo else I had also made a PR containing the fix._
Repository: TypeScript
Issue: Can’t resolve `@types` when vendoring dependencies for browser ESM imports
Labels: Needs Proposal,Domain: ES Modules

# Bug Report

### 🔎 Search Terms

 - native modules alias relative paths
 - Relative references must start with either "/", "./", or "../".

### 🕗 Version & Regression Information

- This is the behavior in every version I tried, and I reviewed the FAQ for entries about declaration files

### ⏯ Playground Link

N/A (behavior is documented)

### 💻 Code

Related frustrations have been posted many times before - so I've hesitated to post this: 

https://github.com/microsoft/TypeScript/issues/16577
https://github.com/microsoft/TypeScript/issues/13422
https://github.com/microsoft/TypeScript/issues/28288
https://github.com/microsoft/TypeScript/issues/42151

My case, and workaround, are documented here: https://stackoverflow.com/questions/67725840/how-can-i-use-threejs-es6-native-modules-with-typescript/73575993#73575993

### 🙁 Actual behavior

1. The Declaration File must be included with an alias, e.g. `import * as THREE from 'three'`
2. es6 modules require extensions, which the alias does not allow.  TypeScript does and will not support URL rewriting.
3. As a result, I cannot use Declaration Files + TypeScript without importing additional software 

### 🙂 Expected behavior

There could be multiple possible solutions here:

1. Just document it better, here: https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html If this was described as a known limitation, it would have saved me half a day.

2. Support aliases with extensions in one of two ways:
 a) Allow the alias itself to be of the final expected form `./js/lib/three.module.js`
 b) Allow some sort of a custom mapping, which I can use to tell tsc to look for an `.d.ts` alias `three` when it sees `./js/lib/three.module.js`

Thanks in advance!