sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Texture previews are misaligned and with a missing pixel
Labels: bug,topic:editor

### Godot version

4.1.beta3 (again)

### System information

4.1.beta3 - Ubuntu 22.04.2 LTS 22.04 - Vulkan (Forward+) - integrated Intel(R) HD Graphics 4400 (HSW GT2) () - Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz (4 Threads)

### Issue description

For example:

![image](https://github.com/godotengine/godot/assets/85438892/7db23be8-af19-4957-96ac-c505957f4e26)

### Steps to reproduce

Anything handled by EditorTexturePreviewPlugin seems to have this problem. The above example is GradientTexture2D with Square mode, centered exactly.

### Minimal reproduction project

N/A
Repository: go
Issue: x/pkgsite: /syscall?GOOS=solaris page is empty
Labels: pkgsite

https://pkg.go.dev/syscall?GOOS=solaris returns an empty page.
https://pkg.go.dev/syscall?GOOS=windows works.

`GOOS=solaris go doc syscall` works.
Repository: vscode
Issue: EditorContextKeys.inDiffEditor should be EditorContextKeys.isInDiffEditor
Labels: debt

Notice the missing `is`. The old diff editor widget sets `isInDiffEditor`.
However, `EditorContextKeys.inDiffEditor` does not include the `is`.
Probably this is a bug, some commands use `inDiffEditor` as precondition, I don't think these commands works.

Edit: I am confused, apparently both context keys are set. I think one of them should be removed?
Repository: PowerToys
Issue: [Peek] Shortcuts swallowed by WebView2
Labels: Issue-Bug,Needs-Triage,Product-Peek

### Microsoft PowerToys version

0.70.1

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

Peek

### Steps to reproduce

After clicking in the WebView2 (PDF file or Monaco source code) ESC and arrow keys shortcuts are swallowed by the WebView2.
Post repro:
- Close the preview
- Try to preview an image
- ESC and arrow keys are still broken
- You can't even move the focus on open/pin buttons on the taskbar using TAB/SHIFT+TAB

### ✔️ Expected Behavior

Keyboard accelerator are still working

### ❌ Actual Behavior

Keyboard accelerator stop working

### Other Software

_No response_
Repository: go
Issue: proposal: testing: fail if the same test function is defined in both the `_test` and non-`_test` packages
Labels: Proposal

(This proposal prompted by https://go-review.googlesource.com/c/go/+/488855/10//COMMIT_MSG#22.)

If a Go package has both an internal test (`package example`) and an external test (`package example_test`), the resulting test binary runs the `Test`, `Fuzz`, `Example`, and `Benchmark` functions from both packages.

If a `TestMain` function is defined in both packages, test setup fails with `multiple definitions of TestMain`.

However, if other testing functions are defined in both packages, they are both run. That leads to a number of confusing effects:
1. The same test name can be shown with two different results (say, `PASS` and `SKIP`, or `PASS` and `FAIL`), even if the test flags only request to run each package once. That may confuse tools that ingest test results.
2. If the tests run in parallel, logs and JSON events for the two tests may be interleaved, with no way to distinguish the two. (`t.Log` messages will list the correct file and line number, but log messages originating in helper functions may be completely ambiguous.)
3. It is impossible to use the `-run` flag to run only one of the two tests but not the other.

For the above reasons, I propose that a test binary that defines two different `Test`, `Fuzz`, `Example`, or `Benchmark` functions with the same name should fail at run-time.

(A GODEBUG setting should be used to restrict this failure to only tests whose `go` version is at least the release in which this change is introduced.)
Repository: PowerToys
Issue: [Mouse without Borders] Trackpad gestures applies to host computer only
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.70.1

### Installation method

WinGet

### Running as admin

No

### Area(s) with issue?

Mouse Without Borders

### Steps to reproduce

1. Set up MWB with a desktop PC and a laptop
2. Try using trackpad gestures from the laptop in the PC environment
3. You'll see how the gesture is played on the laptop and not the PC

### ✔️ Expected Behavior

When using MWB from a laptop, trackpad gestures should work on any PC. Otherwise, it's quite awkward to do basic tasks like scrolling through a page.

### ❌ Actual Behavior

Gestures only get played on laptops instead of the targeted desktop.

### Other Software

_No response_
Repository: flutter
Issue: flutter manifest validator for assets section out-dated; it incorrectly detects asset variants
Labels: tool,a: assets,P3,team-tool,triaged-tool

Consider a flutter application setup:

```
.
├── pubspec.yaml
├── lib
├── ...etc...
└── assets/
    ├── strawberry/
    │   └── scoop.jpg
    └── vanilla/
        └── scoop.jpg
```

And a pubspec.yaml:

```yaml
flutter:
  assets:
    - assets/scoop.jpg # We should get a warning here: 
                       #    The asset file 'assets/scoop.jpg' doesn't exist.
                       #    Try creating the file or fixing the path to the file.
```

Normally, `flutter analyze` would report a warning on `assets/scoop.jpg`, because the file doesn't exist. It does not however, presumably because it sees `strawberry/scoop.jpg` and `vanilla/scoop.jpg`, which it considers to be variants of `assets/scoop.jpg`. However, since https://github.com/flutter/flutter/pull/110721, these are no longer considered valid variants of `assets/scoop.jpg`.
Repository: flutter
Issue: Flutter debug on remote environment is not working without --web-hostname args
Labels: tool,platform-web,P3,team-web,triaged-web

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Steps to reproduce

I have create a remote environment for flutter development. I connect to the environment by remote SSH vscode. When I try to run the application by the original debug configuration, the browser can't connect to the forwarded port. If I run the ``` flutter run -d web-server --web-port 8080 --web-hostname 0.0.0.0 ``` I can reach the application from the host (similar to #48803). In that case I can't debug the application.


### Actual results

I have to create a new debug configuration to the ```launch.json``` with the followings:
```json
{
            "name": "Launch Chrome",
            "request": "launch",
            "type": "dart",
            "args": ["--web-hostname", "0.0.0.0"],
            "flutterMode": "debug",
            "deviceId": "web-server"
}
```
In this case I can debug my application, and the browser can load the page.
The "args": ["--web-hostname", "0.0.0.0"], is necessary, without it I have a blank page, and I can't enable the extension.

I have checked the options of the dart/flutter extension and I couldn't find any option where I can set this argument to default debug profile. Honestly I don't know why it is necessary to define the webhostname 0.0.0.0 for the web-server. I think the web-server platform has a wrong value by default which is not handled by the remote-ssh plugin (the portforwarding is working fine in every cases)

### Logs

<details>
<summary>Logs</summary>

```console

<!-- Paste your logs here -->

```

</details>


### Flutter Doctor output

<details>
<summary>Doctor output</summary>

```console

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.12.0-9.0.pre.36, on Ubuntu 20.04.4 LTS 5.4.0-122-generic, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Chrome - develop for the web
[✗] Linux toolchain - develop for Linux desktop
    ✗ clang++ is required for Linux development.
      It is likely available from your distribution (e.g.: apt install clang), or can be downloaded from https://releases.llvm.org/
    ✗ ninja is required for Linux development.
      It is likely available from your distribution (e.g.: apt install ninja-build), or can be downloaded from https://github.com/ninja-build/ninja/releases
    ✗ GTK 3.0 development libraries are required for Linux development.
      They are likely available from your distribution (e.g.: apt install libgtk-3-dev)
[!] Android Studio (not installed)
[✓] Connected device (2 available)
[✓] Network resources

```

</details>
Repository: go
Issue: cmd/go: support version query for `go list -m --versions`
Labels: NeedsInvestigation,FeatureRequest,GoCommand

* Problem: I want to find the list of go versions available for use with `GOTOOLCHAIN`. `go list -m --versions` output is huge.

```
$ go list -m --versions go
go 1.9.2rc2 1.2.2 1.3rc1 1.3rc2 1.3 1.3.1 1.3.2 1.3.3 1.4beta1 1.4rc1 1.4rc2 1.4 1.4.1 1.4.2 1.4.3 1.5beta1 1.5beta2 1.5beta3 1.5rc1 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.6beta1 1.6beta2 1.6rc1 1.6rc2 1.6 1.6.1 1.6.2 1.6.3 1.6.4 1.7beta1 1.7beta2 1.7rc1 1.7rc2 1.7rc3 1.7rc4 1.7rc5 1.7rc6 1.7 1.7.1 1.7.3 1.7.4 1.7.5 1.7.6 1.8beta1 1.8beta2 1.8rc1 1.8rc2 1.8rc3 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.9beta1 1.9beta2 1.9rc1 1.9rc2 1.9 1.9.1 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.10beta2 1.10rc1 1.10rc2 1.10 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.10.6 1.10.7 1.10.8 1.11beta1 1.11beta2 1.11beta3 1.11rc1 1.11rc2 1.11 1.11.1 1.11.2 1.11.3 1.11.4 1.11.5 1.11.6 1.11.7 1.11.8 1.11.9 1.11.10 1.11.11 1.11.12 1.11.13 1.12beta1 1.12beta2 1.12rc1 1.12 1.12.1 1.12.2 1.12.3 1.12.4 1.12.5 1.12.6 1.12.7 1.12.8 1.12.9 1.12.10 1.12.11 1.12.12 1.12.13 1.12.14 1.12.15 1.12.16 1.12.17 1.13beta1 1.13rc1 1.13rc2 1.13 1.13.1 1.13.2 1.13.3 1.13.4 1.13.5 1.13.6 1.13.7 1.13.8 1.13.9 1.13.10 1.13.11 1.13.12 1.13.13 1.13.14 1.13.15 1.14beta1 1.14rc1 1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.14.5 1.14.6 1.14.7 1.14.8 1.14.9 1.14.10 1.14.11 1.14.12 1.14.13 1.14.14 1.14.15 1.15beta1 1.15rc1 1.15rc2 1.15 1.15.1 1.15.2 1.15.3 1.15.4 1.15.5 1.15.6 1.15.7 1.15.8 1.15.9 1.15.10 1.15.11 1.15.12 1.15.13 1.15.14 1.15.15 1.16beta1 1.16rc1 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.16.6 1.16.7 1.16.8 1.16.9 1.16.10 1.16.11 1.16.12 1.16.13 1.16.14 1.16.15 1.17beta1 1.17rc1 1.17rc2 1.17 1.17.1 1.17.2 1.17.3 1.17.4 1.17.5 1.17.6 1.17.7 1.17.8 1.17.9 1.17.10 1.17.11 1.17.12 1.17.13 1.18beta1 1.18beta2 1.18rc1 1.18 1.18.1 1.18.2 1.18.3 1.18.4 1.18.5 1.18.6 1.18.7 1.18.8 1.18.9 1.18.10 1.19beta1 1.19rc1 1.19rc2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.19.5 1.19.6 1.19.7 1.19.8 1.19.9 1.19.10 1.20rc1 1.20rc2 1.20rc3 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.21rc2
```

* Proposal: [version queries](https://go.dev/ref/mod#version-queries) may be useful to help filtering the results.

```
$ go list -m --versions go@'>1.19'
go 1.19.1 .... 1.21rc2
```

Note that many go commands already support [version queries](https://go.dev/ref/mod#version-queries).  For example,  `go list -m` recognizes queries like the following. 
```
$ go list -m go@'<1.20'
go 1.19.10
```
Repository: terminal
Issue: Terminal might use i18n strings from multiple languages, if the preferred lang is not one WT is fully localized into 
Labels: Issue-Bug,Product-Terminal,Needs-Tag-Fix,Area-i18n


<hr>

> [!IMPORTANT]  
> 📌 Plan of record: **https://github.com/microsoft/terminal/issues/15596#issuecomment-1612163250**
> We should try to avoid using resources from languages we're only partially localized into (if that's even possible)

<hr>

### Windows Terminal version

1.17.11461.0

### Windows build number

10.0.19045.3086

### Other Software

N/A

### Steps to reproduce

Open Windows Terminal. That's it.

System languages installed (in order of preference):

- Polish (display)
- Japanese
- Korean
- Russian

### Expected Behavior

Windows Terminal opens in my preferred system language (Polish), falling back to English (as it is the *de facto* lingua franca) if that's not possible.

### Actual Behavior

I'd like to provide more details, but I can't stop laughing.

![image](https://github.com/microsoft/terminal/assets/7210216/3f8c6d05-0b96-40e9-8c2a-9e4f5ec1a063)
Repository: vscode
Issue: Support opening links in a new window from within webviews
Labels: help wanted,feature-request,webview,keep

### Summary
In [Figma for VS Code](https://marketplace.visualstudio.com/items?itemName=figma.figma-vscode-extension), we would like to support links which open new windows, either using `<a target="_blank">` links or `window.open` in JS, from within an iframe in a webview (the extension opens a webview, which contains Figma in an iframe).

We believe this would be generally useful functionality for other extensions, e.g. an extension which loads documentation in an iframe may want to open new windows, without changing the source code of the documentation page.

### Current behaviour

See video: 

https://github.com/microsoft/vscode/assets/117714347/f49189ca-4325-449e-96f5-7e1cbb9034fc

#### Inside a webview

Clicking a `<a target="_blank">` link in a top-level webview opens a new browser immediately. 
Clicking a `window.open` link in a top-level webview gives an error `Blocked opening '...' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set`.

#### Inside an iframe inside a webview (this is how the Figma for VS Code extension works)

Clicking a `<a target="_blank">` link or a `window.open` link in a top-level webview gives an error `Blocked opening '...' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set`.

### Desired behaviour

Ideally clicking a link which tries to open in a new window would show the usual `Do you want Code to open the external website?` dialog box, and would open the link in a browser if the user presses `Open`.

<img width="1840" alt="image" src="https://github.com/microsoft/vscode/assets/117714347/c5cb1c15-823f-4143-a02b-e92af406b318">

Alternatively, VS Code could add `allow-popups` to the iframe, so that the links immediately open a new browser. However, it seems better to go via the usual confirmation dialog flow.

### Workarounds

For links which we control, we can replace them with a `postMessage` call which then calls `vscode.openExternal`. However, for links embedded in third party Figma plugins, this would require the third parties to modify their code, which might mean substantial extra work or may be difficult for them to do (e.g. if the plugin is actually an iframe around their main web app, they may not wish to add Figma/VS Code specific code in there).

We have investigated replacing `window.open` with a new implementation which calls `postMessage` and/or adding a global `document.body.addEventListener('click'...` listener to intercept clicks on `<a target="_blank">` links, but this doesn't feel great, and does not work if the plugin itself has its own iframe(s), as we cannot control these or inject code into it.
Repository: godot
Issue: Engine freezing when creating new project [Steam Version]
Labels: topic:editor,needs testing,crash

### Godot version

v4.0.3.stable.official [5222a99f5]

### System information

Windows 10 steam

### Issue description

When I select a non-empty folder and click on the "Create Folder" button next to the project name, upon creating the project, the engine crashes. However the project gets created successfully when I restart the engine(the project shows up correctly)

### Steps to reproduce

Create new project -> select non-empty directory -> create new folder -> create project

### Minimal reproduction project

It is a problem with the engine, so there is no point of providing a minimal rep. project
Repository: stable-diffusion-webui
Issue: [Bug]: fatal: not a git repository (or any of the parent directories): .git
Labels: asking-for-help-with-local-system-issues

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

If you install it, not using git pull, but downloading the repo files it gives you this error (this method of installation worked just fine before)
```
fatal: not a git repository (or any of the parent directories): .git
Version: none
Commit hash: none
```
### Steps to reproduce the problem

1. If you install it, not using git pull, but downloading the repo files it gives you this error

### What should have happened?

It should work as usual

### Commit where the problem happens

the latest

### What Python version are you running on ?

Python 3.10.x

### What platforms do you use to access the UI ?

Windows

### What device are you running WebUI on?

Nvidia GPUs (RTX 20 above)

### What browsers do you use to access the UI ?

Mozilla Firefox

### Command Line Arguments

```Shell
none
```


### List of extensions

none

### Console logs

```Shell
-
```


### Additional information

_No response_
Repository: stable-diffusion-webui
Issue: [Bug]: xFormers can't load C++/CUDA extensions. xFormers was built for:
Labels: asking-for-help-with-local-system-issues

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

Never encountered that problem before the update. Obviously did not change/update anything else. Forcefully reinstalling xformers/torch+xformers as it's been recommended in similar threads does not solve the problem. 
```
Launching Web UI with arguments: --xformers --opt-channelslast
WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.0.0+cu118 with CUDA 1108 (you have 1.13.1+cu117)
Python  3.10.10 (you have 3.10.6)
```
Solution?

### Steps to reproduce the problem

1. Clean installation
2. Run it
3. See the bug


### What should have happened?

It should run as intended

### Commit where the problem happens

probably the latest, hash is unknown due to the error

### What Python version are you running on ?

Python 3.10.x

### What platforms do you use to access the UI ?

Windows

### What device are you running WebUI on?

Nvidia GPUs (RTX 20 above)

### What browsers do you use to access the UI ?

Mozilla Firefox

### Command Line Arguments

```Shell
none
```


### List of extensions

none

### Console logs

```Shell
-
```


### Additional information

_No response_
Repository: neovim
Issue: When opening multiple directories, the last tabpage is "No Name" and will disappear after moving between tabpages thrice.
Labels: netrw

### Problem

https://github.com/neovim/neovim/assets/64188229/0fb9abfc-df83-4be1-b27c-84362eb89525



### Steps to reproduce

`mkdir a b c`
`vi -p -c "tabdo lcd %:p:h" a b c`
In NeoVim, executes these Ex commands sequently:
`tabn 1`
`tabn 2`
`tabn 1`
The last tabpage will vanish.

### Expected behavior

The last tabspage should show the correct name and wouldn't vanish.

### Neovim version (nvim -v)

NVIM v0.9.1 Build type: Release LuaJIT 2.1.0-beta3     system vimrc file: "$VIM/sysinit.vim"   fall-back for $VIM: "/usr/share/nvim"  Run :checkhealth for more info

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

no, VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Jun 14 2023 00:27:53) Included patches: 1-1628 

### Operating system/version

Arch Linux

### Terminal name/version

kitty 0.28.1 created by Kovid Goyal

### $TERM environment variable

tmux-256color

### Installation

pacman
Repository: opencv
Issue: cv::GStreamerCapture::isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
Labels: bug,category: videoio

### System Information

OpenCV version: 4.7.0
Operating System / Platform: windows10
Python Version: 3.10.11
Gstreamer Version: 1.18.5


### Detailed description

I have added gstreamer 1 when compiling opencv-cuda, but use    

command:               cv2.VideoCapture(0)

When calling the built-in camera of the computer, the following error occurs:

cv::GStreamerCapture::isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created

How can this be solved? Did I not specify the gstream-related path when I compiled it?

### Steps to reproduce

cap = cv2.VideoCapture(0)
cap.set(3, 1920)  # width=1920
cap.set(4, 1080)  # height=1080
while cap.isOpened():
    ret,frame = cap.read()
    results = model(frame,workers = 0)
    cv2.imshow("yolov8",np.squeeze(results[0].orig_img))
    if cv2.waitKey(10) & 0xFF==ord("q"):
        break
cap.release()
cv2.destroyAllWindows()

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [ ] I updated to the latest OpenCV version and the issue is still there
- [ ] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: next.js
Issue: Static export of simple nextjs project doesn't seem to work
Labels: bug

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
      Platform: darwin
      Arch: x64
      Version: Darwin Kernel Version 22.3.0: Thu Jan  5 20:53:49 PST 2023; root:xnu-8792.81.2~2/RELEASE_X86_64
    Binaries:
      Node: 20.3.1
      npm: 9.6.7
      Yarn: N/A
      pnpm: N/A
    Relevant Packages:
      next: 13.4.8-canary.2
      eslint-config-next: N/A
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 4.9.5
    Next.js Config:
      output: export
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

_No response_

### Link to the code that reproduces this issue or a replay of the bug

https://github.com/ishaanjain/reproduction-app

### To Reproduce

Clone the repo, run `npm run build`, and then open /out/index.html in the browser.

### Describe the Bug

In the browser console, a bunch of errors are shown regarding not being able to access supporting files. In addition, the html elements (basically just an empty canvas element) do not load and the website is completely blank.

If I enable server-side rendering (which is the default nextjs behavior), then the canvas element loads but the network errors still appear.

### Expected Behavior

I expect the out/index.html generated by `npm run build` (with `output: 'export'` in `next.config.js`) to properly display the website when opened in the browser.

### Which browser are you using? (if relevant)

Chrome 114.0.5735.133

### How are you deploying your application? (if relevant)

_No response_