sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Godot on WSL2 Ubuntu fails to close
Labels: bug,platform:windows,platform:linuxbsd,topic:porting,needs testing

### Godot version

3.5

### System information

Windows 11 Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz   1.80 GH on Ubuntu 20.04.2 WSL2

### Issue description

So I have neovim open, with tmux running. Lets say I accidentally forget to close Godot before quitting neovim. Now when I tried to save and close, save works, but close doesn't.
It basically leaves the equivalent of a memory leak, but with a window. The thing is, I'm running on WSL 2, not native Windows, so using task manager isn't much help. 
I have to restart my computer to get rid of it, which is inconvenient.
[online-screen-recorder-2022-08-24--14-00-40.webm](https://user-images.githubusercontent.com/63069499/186438432-f7ca679c-d10a-43ea-9458-c9b0c5c8a120.webm)
### Steps to reproduce

Open neovim (I'm using astrovim)
Open terminal (ctrl-\)
Add tmux into the built in terminal
Run godot -e
Close terminal (ctrl-\)
Close neovim (ctrl-z)
You have a memory leaked equivalent of a window!

### Minimal reproduction project

_No response_
Repository: PowerToys
Issue: [Power Rename] use check boxes
Labels: Idea-Enhancement,Help Wanted,Product-PowerRename,Area-User Interface,Cost-Small,Needs-Team-Response

### Description of the new feature / enhancement

**Apply to**

- [x] folders (first level)
- [x] sub(folder) items
- [x] file name
- [ ] file extension

Might also be good to apply this to the Enumeration control, or (if possible) we might even remove the need for that control.
https://github.com/microsoft/PowerToys/issues/28088#issuecomment-1692580090

### Scenario when this would be used?

Makes sense. Don't need ambiguous icons.
Repository: flutter
Issue: [Image_picker] allow user to manage selected photos on iOS
Labels: c: new feature,platform-ios,p: image_picker,package,c: proposal,P3,team-ios,triaged-ios

Is it possible to add the possibility for the user to allow access to more photos on iOS when the app's access is limited to a subset of all photos? Something like what Facebook is doing for example.
Repository: go
Issue: cmd/go: `expected 'package', found 'EOF'` errors with module indexing enabled on WSL2
Labels: NeedsInvestigation,GoCommand,modules

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.19 linux/amd64
</pre>

### Does this issue reproduce with the latest release?

yes

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/jhaumont/.cache/go-build"
GOENV="/home/jhaumont/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/jhaumont/go/pkg/mod"
GONOPROXY="github.com/blablacar"
GONOSUMDB="github.com/blablacar"
GOOS="linux"
GOPATH="/home/jhaumont/go"
GOPRIVATE="github.com/blablacar"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/jhaumont/bin/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/jhaumont/bin/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.19"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1850192189=/tmp/go-build -gno-record-gcc-switches"
</pre></details>

### What did you do?

When installing 1.19 go version & reinstall/update the additional go tools like gopls & dlv, I have an issue with delve and the package https://github.com/hashicorp/golang-lru/tree/master/simplelru.
So, I can't install delve. But if I use the 1.18.5 version of go, I have no issue and I can install the last delve version (1.9.0)

But if I use `GODEBUG=goindex=0`, it works :)

**Reproduce:**
I try to do a fresh install of go (with 1.19.0) and then, install delve.

- Install go:

```bash
rm -rf ${HOME}/bin/go
cd "$(mktemp -d)"
wget https://go.dev/dl/go1.19.linux-amd64.tar.gz
tar -C ${HOME}/bin -xzf go1.19.linux-amd64.tar.gz
```

- Install devel:

```bash
go install -v github.com/go-delve/delve/cmd/dlv@latest
```

### What did you expect to see?

No error,  devel is correctly installed

### What did you see instead?

`pkg/mod/github.com/hashicorp/golang-lru@v0.5.4/simplelru/lru.go:1:1: expected 'package', found 'EOF'`
Repository: rust
Issue: Rustdoc-Json: More inconsistant names
Labels: T-rustdoc,A-rustdoc-json

- [x] `use`'s are refered to as `Import`'s (#128667)
- [x] `FnDecl` uses short `Fn`, but `Function` and `FunctionPointer` don't abbreviate (#128667)
- [x] `OpaqueTy` uses short `Ty`, but full `type` uses everywhere else  (removed in #127276)
- [x] `Header` not called `FunctionHeader` (#128667)
- [x] `Header` has fields `async_`, `const_` and `unsafe_`, but should be `is_async` (etc), like rest of types. (#128667)
- [x] `ItemKind` has `Primitive`, but `ItemEnum` has `PrimitiveType` (#102321)
- [x] `ItemEnum::ForeignType` should be `ExternType`, as foreign refers to a different rust crate, but it's actually a non rust type (#128667)
- [ ] `AssocItemConstraint`'s `binding field should probably be renamed as followup to the binding->contraint change in #128667
- [ ] `StructField` isn't just used for struct's, but also variant fields
- [x] `WherePredicate::RegionPredicate` shoud probaby use `lifetime` instead. The region/lifetime thing has a history on the compiller side (https://github.com/rust-lang/compiler-team/issues/634, https://github.com/rust-lang/rust/issues/110254), but we should avoid Region on the user-facing side. Done in #127289

Somewhat of a followup to #94889

@rustbot modify labels: +T-rustdoc +A-rustdoc-json
Repository: kubernetes
Issue: Kubectl apply sometimes merges different volume types
Labels: kind/bug,sig/api-machinery,triage/accepted

### What happened?

I applied a new configuration to a series of statefulsets that changed a configMap volume into a projected volume. Some, but not all, of the statefulsets merged the volume definition so that the volume had two types, and later when the pods were replaced, they failed because `Forbidden: may not specify more than 1 volume type`

### What did you expect to happen?

The new configuration as a applied, with the `projected` type would replace the `configMap` type.

### How can we reproduce it (as minimally and precisely as possible)?

`kubectl create` with `configMap` volumes; update the config to `projected` and `apply.` 

### Anything else we need to know?

From what I can tell, it may not happen every time - I deployed 15 near-identical statefulsets in one `apply`, and only some of them wound up in the invalid state.

I see this comment https://github.com/kubernetes/kubernetes/issues/48285#issuecomment-318862830 on an old issue, which seems have rotted without address. The suggestion there is that this is an issue for SIG api-machinery?

### Kubernetes version

<details>

```console
$ kubectl version
# paste output here

Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.7", GitCommit:"42c05a547468804b2053ecf60a3bd15560362fc2", GitTreeState:"archive", BuildDate:"1980-01-01T00:00:00Z", GoVersion:"go1.17.10", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.13-gke.900", GitCommit:"8f8dd9d389916c66dd26704a96f1ab4c5776f9df", GitTreeState:"clean", BuildDate:"2022-06-06T09:24:36Z", GoVersion:"go1.16.15b7", Compiler:"gc", Platform:"linux/amd64"}
```

</details>


### Cloud provider

<details>
GKE
</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
   1   │ BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
   2   │ BUILD_ID="22.05.20220811.45c9736"
   3   │ DOCUMENTATION_URL="https://nixos.org/learn.html"
   4   │ HOME_URL="https://nixos.org/"
   5   │ ID=nixos
   6   │ LOGO="nix-snowflake"
   7   │ NAME=NixOS
   8   │ PRETTY_NAME="NixOS 22.05 (Quokka)"
   9   │ SUPPORT_URL="https://nixos.org/community.html"
  10   │ VERSION="22.05 (Quokka)"
  11   │ VERSION_CODENAME=quokka
  12   │ VERSION_ID="22.05"
$ uname -a
# paste output here
Linux neumann 5.10.126 #1-NixOS SMP Mon Jun 27 07:41:01 UTC 2022 x86_64 GNU/Linux
```

</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: flutter
Issue: [pigeon] Add support for dart ffi via ffigen
Labels: package,c: proposal,team-ecosystem,p: pigeon,P3,triaged-ecosystem

As part of the ffigen project there is a code generator for dart:ffi's dart counterpart.  We could hook into that to generate dart:ffi in Pigeon. We would also have to make a generator for the C endpoint.

Here is an example of ffigen's programatic usage: https://github.com/dart-lang/ffigen/blob/master/test/code_generator_tests/code_generator_test.dart.

It would take some consideration how to best present this feature to users but here is a first stab at what it could look like.  I opted to keep the definition file the same, but have different invocation options.

**pigeon.dart**
```dart
@HostApi()
abstract class Api {
  int add(int x, int y);
}
```

**invocation**
`pub run pigeon --input pigeon.dart --dart_ffi_out lib/out.dart --dart_ffi_c_out foo/bar/out.c  --dart_ffi_h_out foo/bar/out.h`

**out.dart**
```dart
class Api {
  Api(String pathToDylib) {...}
  int add(int x, int y) {...}
}
```

**out.h**
```c
typedef struct {
  int (*add)(int, int);
} Api;
void SetupApi(Api api);
```

cc @stuartmorgan @dcharkes @TzviPM @xster
Repository: material-ui
Issue: [Skeleton] Built in support for delayed appearance
Labels: new feature,waiting for 👍,component: skeleton,design

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

This issue is meant to discuss the need for a built-in support for delaying the appearance of a skeleton.

### Examples 🌈

You can find an example in https://mui.com/material-ui/react-progress/#delaying-appearance.

### Motivation 🔦

With @DanailH, I believe that we have found a valid use case for delaying the appearance of the skeleton within a data grid: https://github.com/mui/mui-x/pull/5214#discussion_r953719829. In some cases, the rows of the data grid load so fast that we see a flash of a skeleton. It might be better to delay the appearance of the skeleton to only the cases where the data is slow to load. For instance, when loading the rows in Notion, you never see a skeleton, only a while background.

So, I wonder if it makes sense to add a prop to have this behavior built-in in MUI Core.

In the case of the data grid, there is another dimension to consider that could help with the problem: overs canning (loading rows outside of the viewport in anticipation). But even with this, I think that this issue is still relevant. 

cc @gerdadesign
Repository: PowerToys
Issue: Settings API simplification
Labels: Idea-Enhancement,Product-Settings,Issue-Refactoring

### Description of the new feature / enhancement

You have to manually reimplement <Tool>Properties classes with all its fields, default values and json (de)serlialization logic at least in 3 places for each module. That creates a lot of manual coordination that could be a source of bugs.

For an example, see:
- src\settings-ui\Settings.UI.Library\ViewModels\MeasureToolViewModel.cs
- src\settings-ui\Settings.UI.Library\MeasureToolProperties.cs
- src\modules\MeasureTool\MeasureToolCore\Settings.cpp
- src\modules\MeasureTool\MeasureToolCore\Settings.h



### Scenario when this would be used?

This applies for developing/supporting any module, especially written in C++.

### Supporting information

https://github.com/microsoft/CsWin32/ could be used to investigate code generators.
Repository: TypeScript
Issue: MsBuild: Target `TypeScriptDeleteOutputFromOtherConfigs` can grab tsc.out from other Configuration
Labels: Visual Studio

# Bug Report

If you build an MsBuild project using the nuget package microsoft.typescript.msbuild, there is a target named `TypeScriptDeleteOutputFromOtherConfigs` which runs before `CompileTypeScript`.  
This target aims to delete `tsc...out` files from other "configs" then the "current", whatever that means.  

In case you build the project in Debug mode, there will be a file created:

    /obj/Debug/<TargetFramework>/Tsc<RandomNumber>.out".

Now if you build this project in Release mode:

    /obj/Release/<TargetFramework>/Tsc<RandomNumber>.out".

However this 2. build in **Release** mode will grab the previous `Tsc....out` from the **Debug** folder. It will delete all the previously built files listed in that file.

Target `TypeScriptDeleteOutputFromOtherConfigs` uses property `$(BaseIntermediateOutputPath)` which is like `...full path to project...\obj\`.  
I don't really understand what this Target aims to do; but couldn't it use propery `$(IntermediateOutputPath)` which is like `obj\<Configuration>\<TargetFramework>\`?  
That way the above issue could be avoided.  
I would think it could not cause any harm since this `Tsc....out` file is written by the TypeScript targets which by me always put this file into `obj/Debug` or `obj/Release`, never outside of these.

### 🔎 Search Terms

TypeScriptDeleteOutputFromOtherConfigs

### 🕗 Version & Regression Information

It is sure present in:

microsoft.typescript.msbuild v4.4.4
microsoft.typescript.msbuild v4.8.1-rc 

### 🙁 Actual behavior

The 2. build in **Release** mode grabbed the previous `Tsc....out` from the **Debug** folder, and deleted all the previously built files listed in that file.  
This causes the previously built files to get deleted unnecessarily.  
In our project structure - which is complex and tricky - it also causes a build error.  
(We have a workaround for that, we simply override target `TypeScriptDeleteOutputFromOtherConfigs` to do nothing; so this issue is only for the benefit of the community.)

### 🙂 Expected behavior

Don't really know when `TypeScriptDeleteOutputFromOtherConfigs` could be helpful, but it (maybe) should only scan for `Tsc....out` files in `obj/<TargetFramework>`
Repository: storybook
Issue: Builder webpack 5 left.isCompileTimeValue is not a function
Labels: bug,react-native,builder-webpack5

**Describe the bug**

This relates to an [issue](https://github.com/storybookjs/addon-react-native-web/issues/29) raised on the react-native-web addon. When building with the webpack5 builder the `left.isCompileTimeValue is not a function` error appears

I'm not that familiar with how the webpack builder works but I wasn't able to find a good reason why the react-native-web addon would cause this error. 

**To Reproduce**

In the issue here there is a repro linked: https://github.com/storybookjs/addon-react-native-web/issues/29

I can try to produce a better repro if needed.

**Additional context**

There was some speculation that newer versions of webpack5 might resolve this issue and also a workaround patch is discussed in the issue I mentioned.

Happy to help dig into this issue or submit to the possibility that its caused by the react native web addon itself. Appreciate any insight on it either way :).
Repository: PowerToys
Issue: [ScreenRuler] announce measurements when they are made
Labels: Area-User Interface,A11yE+D,Product-Screen Ruler

Wasn't sure if this is already implemented: but should we have Narrator announce something when a measurement is made? Maybe not required for V1 though! Accesibility :)

_Originally posted by @niels9001 in https://github.com/microsoft/PowerToys/pull/19701#pullrequestreview-1083715560_


could be helpful: https://docs.microsoft.com/en-us/accessibility-tools-docs/items/win32/control_name
Repository: godot
Issue: 3D-Vehicle with convex collisions is unstable
Labels: bug,confirmed,topic:physics,topic:3d

### Godot version

4.0 alpha 14

### System information

Windows 10, RX560

### Issue description

Hi,

If you create a vehicle and use convex collision shapes, it will become unstable.

I've attached a sample that contains a blue and a red car.
The blue car contains convex shapes. If you e.g drive and hold the brake, it floats on the ground. The red car uses a simple box shape and is stable.

Regards

abgenullt

### Steps to reproduce

Build a vehicle and use convex collision shapes. Maybe the stability depends on the amount of shapes..

### Minimal reproduction project

[car_sample.zip](https://github.com/godotengine/godot/files/9418180/car_sample.zip)
Repository: vscode
Issue: Include full extension author name when creating issues via issue reporter
Labels: feature-request,issue-reporter

See https://github.com/microsoft/vscode/issues/159050 includes the truncated extension author names. The only reason the truncation exists to begin with was because of the max limit of the URL method which does not apply when using the GH API. We should show the full names when creating the issue as well as in the issue reporter itself, only truncating when not logged into GH.
Repository: go
Issue: cmd/api: fallback to context-free definitions fails for cgo targets
Labels: NeedsInvestigation

In https://go-review.googlesource.com/c/go/+/421879/13/api/next/46731.txt, we needed to list:

```
pkg runtime/cgo (darwin-amd64-cgo), type Incomplete struct #46731
pkg runtime/cgo (freebsd-386-cgo), type Incomplete struct #46731
pkg runtime/cgo (freebsd-amd64-cgo), type Incomplete struct #46731
pkg runtime/cgo (freebsd-arm-cgo), type Incomplete struct #46731
pkg runtime/cgo (linux-386-cgo), type Incomplete struct #46731
pkg runtime/cgo (linux-amd64-cgo), type Incomplete struct #46731
pkg runtime/cgo (linux-arm-cgo), type Incomplete struct #46731
pkg runtime/cgo (netbsd-386-cgo), type Incomplete struct #46731
pkg runtime/cgo (netbsd-amd64-cgo), type Incomplete struct #46731
pkg runtime/cgo (netbsd-arm-cgo), type Incomplete struct #46731
pkg runtime/cgo (netbsd-arm64-cgo), type Incomplete struct #46731
pkg runtime/cgo (openbsd-386-cgo), type Incomplete struct #46731
pkg runtime/cgo (openbsd-amd64-cgo), type Incomplete struct #46731
pkg runtime/cgo, type Incomplete struct #46731
```

in the api/next file. This is because if the file instead contains just the last line, cmd/api complains:

```
##### API check
Error running API checker: exit status 1
+pkg runtime/cgo (darwin-amd64-cgo), type Incomplete struct
+pkg runtime/cgo (freebsd-386-cgo), type Incomplete struct
+pkg runtime/cgo (freebsd-amd64-cgo), type Incomplete struct
+pkg runtime/cgo (freebsd-arm-cgo), type Incomplete struct
+pkg runtime/cgo (linux-386-cgo), type Incomplete struct
+pkg runtime/cgo (linux-amd64-cgo), type Incomplete struct
+pkg runtime/cgo (linux-arm-cgo), type Incomplete struct
+pkg runtime/cgo (netbsd-386-cgo), type Incomplete struct
+pkg runtime/cgo (netbsd-amd64-cgo), type Incomplete struct
+pkg runtime/cgo (netbsd-arm-cgo), type Incomplete struct
+pkg runtime/cgo (netbsd-arm64-cgo), type Incomplete struct
+pkg runtime/cgo (openbsd-386-cgo), type Incomplete struct
+pkg runtime/cgo (openbsd-amd64-cgo), type Incomplete struct
±pkg runtime/cgo, type Incomplete struct
```

But shouldn't the goos-goarch-cgo targets fall back to the context-free definition? Why isn't that working here?
Repository: vscode
Issue: Spinner when changing workspaces with editSessions.autoStore
Labels: bug,cloud-changes

Today I tried switching a folder and got this spinner, which seemed indefinite

<img width="920" alt="image" src="https://user-images.githubusercontent.com/2230985/186488546-da8de815-ddaf-47cd-a0df-ae28e2e643bb.png">

We could use a timeout here maybe, but auto storing is a service call, so it could always take some noticable amount of time. I wonder if the state should be sent to the main process to store in order to avoid blocking the UI?
Repository: material-ui
Issue: [Snackbar] componenent message vanishes on mobile Firefox
Labels: bug 🐛,component: snackbar

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

Occasionally (can't figure out what variable causes it yet) on mobile, the snackbar message and actions vanish. They show up for a second on the snackbar, then then message and actions disappear, leaving just an empty (but still visible snackbar). The snackbar then vanishes soon after, respecting the autoclose time.

This is happening in Mobile Firefox, and I have not been able to replicate it on Mobile Chrome.

Any idea what might be causing this?

edit: Interestingly, when it gets into this state (snackbar showing but message not there), scrolling the window any amount will cause the message to appear again.

### Expected behavior 🤔

Snackbar message and actions should be visible

### Steps to reproduce 🕹

Can't reproduce, as it's only happening intermittently on mobile. It works fine on desktop, and I'm not using any breakpoints or conditional logic that would trigger only on mobile.

### Context 🔦

_No response_

### Your environment 🌎

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
mui version = 5.8.3

(envinfo wasn't working:
 npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@mui%2fenvinf - Not found
npm ERR! 404
npm ERR! 404  '@mui/envinf@latest' is not in this registry.
npm ERR! 404
)
```
</details>

Mobile browser = Firefox
Repository: vscode
Issue: VS Code is removed from anchor layout
Labels: bug,upstream,windows,electron,workbench-os-integration,workbench-window,upstream-issue-linked,papercut :drop_of_blood:

<!-- ⚠️⚠️ 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.70.2
- OS Version: Windows 11 Pro 22H2 (22621.457)

Steps to Reproduce:

1. I drag the VS Code program window into the layout anchor area and select several programs.
2. Then I minimize all programs by clicking the button in the lower right corner of the taskbar.
3. After that, I open a running program bundle and after the program VS Code will be removed from the binding layout.

P.S. With other programs, the anchor layout continues to work after minimizing and maximizing windows.

https://user-images.githubusercontent.com/94137961/186507906-acb12a53-b6f9-431f-b108-2c3af5b2013f.MOV
Repository: pytorch
Issue: [Nested Tensor] Enable Nestedtensor to work with OpInfos
Labels: triaged,module: nestedtensor

### 🐛 Describe the bug

We currently use [test/test_nestedtensor.py](https://github.com/pytorch/pytorch/blob/master/test/test_nestedtensor.py) to test nested tensor functions. Ideally, we would like to integrate this with OpInfos as has been done for sparse layouts, etc.

Creating this issue to track progress on this.

### Versions

n/a

cc @cpuhrsch @jbschlosser @bhosmer @drisspg