sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: 'Share...' shouldn't overwrite clipboard automatically
Labels: feature-request,continue-working-on

# Actual behavior 

`Share...` command or the sharing button near the command center overwrite user's clipboard without consent resulting possibly in data loss, as it's a bit not obvious

# Expected behavior

Sharing would show a dialog with the link and buttons 'Copy to clipboard', 'Open link', and 'Close'

# Version info

```
Version: 1.79.0-insider
Commit: 784e72bc4486b7ea5ad3447c506e31d949848592
Date: 2023-05-30T05:23:26.066Z
Electron: 22.5.4
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin arm64 22.4.0
```
Repository: stable-diffusion-webui
Issue: [Feature Request]: Batch inpainting
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 ?

What would your feature do?
Have the same settings as inpaint like "Mask Blur", "Only masked padding, pixels", "Masked content", ETC on Batch IMG2IMG.

### Proposed workflow

1. Go to img2img tab
2. Have the same settings as inpaint like "Mask Blur", "Only masked padding, pixels", "Masked content", ETC.


### Additional information

_No response_
Repository: three.js
Issue: USDZLoader: Invalid zip file when parsing usd file
Labels: Loaders

### Description

Invalid zip file error when parsing usd file

### Reproduction steps

1.tryi loading a usd file


### Code

```js
Loader.load(fileUrl, (usdz) => {
          console.log("usdz -----> ");
          console.log(usdz);
        }, (p) => {
        }, (e) => {
          console.log("error");
          console.log(e);
        });
```


### Live example

![image](https://github.com/mrdoob/three.js/assets/58132729/deb1da69-bec4-4c37-bad5-b9c9c5fd5bec)


### Screenshots

_No response_

### Version

0.133.0

### Device

_No response_

### Browser

_No response_

### OS

_No response_
Repository: flutter
Issue: [tools] `AndroidMavenArtifacts` is a no-op if the Android SDK is unavailable, but it is unclear if it should be
Labels: tool,P3,c: tech-debt,team-tool,triaged-tool

Discovered while implementing #127354

https://github.com/flutter/flutter/blob/e8f5a51f79fc5dd2f8de38b4d9f504d09dca8197/packages/flutter_tools/lib/src/flutter_cache.dart#L411-L413

It is unclear if this null guard should be here.
Repository: next.js
Issue: npx vercel build for edge runtime causing ReferenceError: document is not defined
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
    Binaries:
      Node: 18.16.0
      npm: 9.5.1
      Yarn: 1.22.10
      pnpm: N/A
    Relevant packages:
      next: 13.4.4
      eslint-config-next: 13.3.0
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 4.9.5
```


### 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

.

### To Reproduce

```
npx vercel build
```

### Describe the Bug

I'm facing a little hiccup while trying to build a Vercel app for Cloudflare Pages. The good news is that the application build goes smoothly and completes successfully. However, I hit a roadblock when I try to run npx vercel@latest build as it throws an error.

I use app directory.
I use route segmented config

```js
export const runtime = 'edge';
```


```js
▲  - info Collecting page data...
▲  /app/***/.next/server/edge-runtime-webpack.js:196
▲  /******/ 		__webpack_require__.b = document.baseURI || self.location.href;
▲       		                        ^
▲
▲  ReferenceError: document is not defined
▲  at /app/***/.next/server/edge-runtime-webpack.js:196:36
▲  at /app/***/.next/server/edge-runtime-webpack.js:245:13
▲  at /app/***/.next/server/edge-runtime-webpack.js:250:12
▲  at Script.runInContext (node:vm:141:12)
▲  at runInContext (node:vm:291:6)
▲  at evaluateInContext (/app/***/node_modules/next/dist/server/web/sandbox/context.js:361:38)
▲  at getRuntimeContext (/app/***/node_modules/next/dist/server/web/sandbox/sandbox.js:68:9)
▲  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
▲  at async /app/***/node_modules/next/dist/build/utils.js:975:29
▲  at async Span.traceAsyncFn (/app/***/node_modules/next/dist/trace/trace.js:103:20)
▲  /app/***/.next/server/edge-runtime-webpack.js:196
▲  /******/ 		__webpack_require__.b = document.baseURI || self.location.href;
```

I checked everything in my application and I'm sure I'm using `use client` for all the client components which uses dom functionalities.

### Expected Behavior

.

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

_No response_

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

cloudflare
Repository: go
Issue: x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment: ignore generated files
Labels: NeedsInvestigation,Tools

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.20.4 linux/amd64
$ go version -m $( which fieldalignment )
…/bin/fieldalignment: go1.20.4
        path    golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment
        mod     golang.org/x/tools      v0.8.1-0.20230421161920-b9619ee54b47    h1:fQlOhMJ24apqitZX8S4hbCbHU1Z9AvyWkN3BYI55Le4=
        dep     golang.org/x/mod        v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk=
        dep     golang.org/x/sys        v0.7.0  h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU=
        build   -buildmode=exe
        build   -compiler=gc
        build   CGO_ENABLED=1
        build   CGO_CFLAGS=
        build   CGO_CPPFLAGS=
        build   CGO_CXXFLAGS=
        build   CGO_LDFLAGS=
        build   GOARCH=amd64
        build   GOOS=linux
        build   GOAMD64=v1
</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/ainar/.cache/go-build"
GOENV="/home/ainar/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/ainar/go/pkg/mod"
GONOPROXY="REMOVED"
GONOSUMDB="REMOVED"
GOOS="linux"
GOPATH="/home/ainar/go"
GOPRIVATE="REMOVED"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/ainar/go/go1.20"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/ainar/go/go1.20/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.20.4"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="REMOVED"
GOWORK="REMOVED"
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3548065178=/tmp/go-build -gno-record-gcc-switches"
</pre></details>

### What did you do?

```sh
fieldalignment /path/to/pkg/
```

(The package containing generated code in `generated.pb.go`.)

### What did you expect to see?

Nothing, exit code `0`.

### What did you see instead?

```none
/path/to/pkg/generated.pb.go:25:16: struct of size 104 could be 96
/path/to/pkg/generated.pb.go:96:14: struct with 168 pointer bytes could be 144
[…]
```

Exit code `3`.
Repository: flutter
Issue: [Material 3] `DatePicker` misses "Clear" button
Labels: c: new feature,framework,f: material design,f: date/time picker,c: proposal,P3,team-design,triaged-design

### 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)

### Use case

Users should be able to use a "Clear" button in the DatePicker (possibly in the TimePicker too), to allow users to clear an already selected date.

### Proposal

Material 3 specifies a "Clear" button in the bottom-left corner for date picker, alongside the "Cancel" and "OK" buttons.

Some time ago, this was visible in a screenshot on the [M3 specs tab](https://m3.material.io/components/date-pickers/specs).
However, this screenshot seems to have been replaced, but the old screenshot can still be seen in the following issue: #114088
Additionally, it is also mentioned in the accessibility section:
https://m3.material.io/components/date-pickers/accessibility#4104e0b7-f40b-4e33-9b90-432c0e2dec5e

![grafik](https://github.com/flutter/flutter/assets/39010966/cb7519dd-3d28-49aa-b6df-5506de7db822)
Repository: flutter
Issue: [Impeller] Implement Wide Gamut colors for Vulkan
Labels: engine,P2,e: impeller,team-engine,triaged-engine

As a result of https://github.com/flutter/flutter/issues/55092, we now have wide gamut image / gradient support on iOS.  As Vulkan Impeller support matures we should add matching support in the vulkan implementation.
Repository: flutter
Issue: Support dart defines in index.html
Labels: c: new feature,tool,platform-web,c: proposal,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)

### Use case

For now it supports in Android (Gradle) and iOS(Info.plist) platforms to get --dart-defined variables.
But not supported in Flutter Web (index.html)

### Proposal

Replaceable `${DART_DEFINED_VAR}` in `index.html` like:
```
<meta name="google-signin-client_id" content="${GOOGLE_SIGN_IN_WEB_CLIENT_ID}">
...
<title>${APP_NAME}</title>
```
Repository: nvm
Issue: Failed to clone nvm repo. Installation on Cygwin Bash
Labels: OS: windows,installing nvm

<!-- Thank you for being interested in nvm! Please help us by filling out the following form if you‘re having trouble. If you have a feature request, or some other question, please feel free to clear out the form. Thanks! -->

#### Operating system and version: Windows 11 22H2 (Cygwin)

#### How did you install `nvm`?
<!-- (e.g. install script in readme, Homebrew) -->
Tried to install it in a cygwin bash shell.

#### What steps did you perform?
```bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
```

#### What happened?
```bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 15916  100 15916    0     0   244k      0 --:--:-- --:--:-- --:--:--  246k
=> Downloading nvm from git to '/home/joel/.nvm'
=> Cloning into '/home/joel/.nvm'...
fatal: cannot copy 'C:/Program Files/Git/mingw64/share/git-core/templates/description' to 'C:/home/joel/.nvm/.git/description': Permission denied
Failed to clone nvm repo. Please report this!
```

#### What did you expect to happen?
That the correct windows filepaths are getting used on cygwin.
Repository: stable-diffusion-webui
Issue: After using Upscaler to zoom in, the area where the Inpaint is applied will appear on the enlarged image
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?

Inpaint operation + Upscaler operation
After using Upscaler to zoom in, the area where the Inpaint is applied will appear on the enlarged image
<img width="1269" alt="Snipaste_2023-05-31_00-57-17" src="https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/128426349/f3f7b88d-6198-479c-bb5c-730aea61f44d">


### Steps to reproduce the problem

1.the area where the Inpaint is applied
2.using Upscaler to zoom in
3.generate

### What should have happened?

Do not overlay images

### Commit where the problem happens

89f9faa63388756314e8a1d96cf86bf5e0663045

### 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 ?

Microsoft Edge

### Command Line Arguments

```Shell
--xformers --listen --autolaunch --skip-python-version-check --skip-torch-cuda-test --no-tests --skip-install --no-hashing  --disable-safe-unpickle --skip-version-check
```


### List of extensions

blank

### Console logs

```Shell
blank
```


### Additional information

_No response_
Repository: pytorch
Issue: test_functional_autograd_benchmark.py::TestFunctionalAutogradBenchmark::test_fast_tasks passes with all NaNs
Labels: module: autograd,triaged,module: functorch

The test seems to compare results with and without functorch, but everything is printed as NaNs:

Results for model resnet18 on task vjp: nans (var: nan)
Results for model resnet18 on task vjp using Functorch: nans (var: nan)

See https://github.com/pytorch/pytorch/actions/runs/5123048143/jobs/9213382637 for example logs.

cc @ezyang @albanD @zou3519 @gqchen @pearu @nikitaved @soulitzer @Lezcano @Varal7 @Chillee @samdow @kshitij12345 @janeyx99
Repository: TypeScript
Issue: Handbook should recommend using a user-defined homomorphic  `Omit`
Labels: Docs

# Bug Report

Per #53188, we know that it'd be better if `Omit` were homomorphic. In the Handbook we should steer people toward a better user definition, e.g.
```ts
type MappedOmit<T, K extends keyof T> = { [P in keyof T as P extends K ? never : P]: T[P] };
```
Repository: vscode
Issue: New File: `alt+crtl+N` does not show that it requires `super` 
Labels: bug,linux,electron,menus

Testing #183532

OS: Linux mint

![image](https://github.com/karthiknadig/json_to_lsp/assets/3840081/65c403fe-d76c-479b-955d-441ec6a4f02a)

![image](https://github.com/microsoft/vscode/assets/3840081/f08b0f9a-440d-4ecf-952d-a2ddbaf74512)


This is on windows it works as expected:

![image](https://github.com/microsoft/vscode/assets/3840081/f461bf32-27e4-4860-bd99-65f950b37c9c)

![image](https://github.com/microsoft/vscode/assets/3840081/ea325d19-c101-49e1-9cd0-b10d44ae645d)
Repository: pytorch
Issue: Mergebot should merge non-stacked PR
Labels: triaged,enhancement,module: devx

### 🐛 Describe the bug

Otherwise dependabot is getting confused when its PRs are committed into trunk

### Versions

NA

cc @ZainRizvi @kit1980 @huydhn @clee2000
Repository: PowerToys
Issue: Floating icon option to indicate the minimized "always on top" window
Labels: Needs-Triage

### Description of the new feature / enhancement

Option "Show floating icon when minimized"

This will be an option to show draggable floating icons for Always on top minimized windows. The icon should be draggable and when double clicked should restore the window.

### Scenario when this would be used?

I use "Always on top" all the time when I am on remote desktop application. If the always on top application is minimized then we don't have a way to restore without minimizing remote desktop application.

### Supporting information

_No response_
Repository: TypeScript
Issue: definitionAndBoundSpan empty on destructured parameter 
Labels: Possible Improvement

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->

ES6 has added a new syntax called **object destructuring**, which can be used in variable assignment and function argument list.

**My request is to add support for auto-jump and finding references for parameters written in destructuring format.**

Consider this:

```js
function test({a, b}) {
    console.log(a);
    console.log(b);

    console.log({a, b});
}

test({
    a: 1,
    b: 2,
});
```

Currently if I hold `Ctrl` and click on the variables in the function body, I can jump back to the variable names in the parameter list. But the reverse is not yet supported, i.e. holding `Ctrl` and clicking on `a` or `b` should show the references to where they are used in the function body.

Hope that this functionality can be added so that I can better see where and how many times each destructured variable is used in the function.
Repository: godot
Issue: AudioStreamPlayer3D pop/crack when changing audio bus
Labels: bug,topic:audio,topic:3d

### Godot version

4.0.3.stable 

### System information

Windows 10 - Godot v4.0.3.stable - Vulkan (Forward+)

### Issue description

When the listener is a distance greater than the AudioStreamPlayer3D's unit size an audible pop/crack can be heard when changing the audio bus.

No popping occurs when attenuation model is disabled or attenuation filter db is 0.

### Steps to reproduce

1. Add an AudioStreamPlayer3D with sound and autoplay
2. Add an audio bus
3. Add Timer and connect to AudioStreamPlayer3D to switch audio buses on timeout
4. Add Camera3D and change position 11 units on any axis (10.1 works but 11 is much more noticeable)
5. Play scene

### Minimal reproduction project

[Audio Bus Pop.zip](https://github.com/godotengine/godot/files/11604590/Audio.Bus.Pop.zip)
Repository: rust
Issue: Tracking Issue for `CStr::bytes`
Labels: T-libs-api,C-tracking-issue

Feature gate: `#![feature(cstr_bytes)]`

This is a tracking issue for the `CStr::bytes` API.

<!--
Include a short description of the feature.
-->

### Public API

<!--
For most library features, it'd be useful to include a summarized version of the public API.
(E.g. just the public function signatures without their doc comments or implementation.)
-->

```rust
impl CStr {
    pub fn bytes(&self) -> CStrBytes<'_>;
}

// core::ffi::c_str::Bytes
pub struct Bytes<'a> {
    // ...
}
impl Iterator for Bytes<'_> {
    type Item = u8;
    // ...
}
```

### Steps / History

<!--
For larger features, more steps might be involved.
If the feature is changed later, please add those PRs here as well.
-->

- [x] API change proposal (ACP)[^1]: rust-lang/libs-team#135
- [x] Implementation: #104353
- [x] https://github.com/rust-lang/rust/pull/127444
- [ ] Final comment period (FCP)[^2]
- [ ] Stabilization PR

<!--
Once the feature has gone through a few release cycles and there are no
unresolved questions left, the feature might be ready for stabilization.

If this feature didn't go through the RFC process, a final comment period
(FCP) is always needed before stabilization. This works as follows:

A library API team member can kick off the stabilization process, at which point
the rfcbot will ask all the team members to verify they agree with
stabilization. Once enough members agree and there are no concerns, the final
comment period begins: this issue will be marked as such and will be listed
in the next This Week in Rust newsletter. If no blocking concerns are raised in
that period of 10 days, a stabilization PR can be opened by anyone.
-->

### Unresolved Questions

<!--
Include any open questions that need to be answered before the feature can be
stabilised. If multiple (unrelated) big questions come up, it can be a good idea
to open a separate issue for each, to make it easier to keep track of the
discussions.

It's useful to link any relevant discussions and conclusions (whether on GitHub,
Zulip, or the internals forum) here.
-->

- [x] Where should this type be located? This is discussed in rust-lang/libs-team#134. (Resolution: Store in `core::ffi::c_str`.)
- [ ] Should an `AsRef<CStr>` and `as_c_str` method be added to `CStrBytes` to reflect the `slice::Iter` API?

[^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/api-change-proposals.html
[^2]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
Repository: go
Issue: x/text: iterator does not handle zero width joiner 
Labels: ExpertNeeded,help wanted,NeedsInvestigation

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version 1.20

</pre>

### Does this issue reproduce with the latest release?

Yes

### What operating system and processor architecture are you using (`go env`)?

I'm using the go playground

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on go.dev/play is best.
-->

```
package main

import (
	"fmt"

	"golang.org/x/text/unicode/norm"
)

func main() {
	var ia norm.Iter
	s := "👩🏾‍🦰👱🏾🧑🏾‍⚖️"

	ia.InitString(norm.NFD, s)
	rev := ""

	for !ia.Done() {
		n := ia.Next()
		rev = string(n) + rev
	}

	fmt.Println(rev)
}
```

Playground:  https://go.dev/play/p/Jq9CnUd2zA8

### What did you expect to see?

It should print 🧑🏾‍⚖️👱🏾👩🏾‍🦰

I think it has to do with the library not handling zero width joiners.  If I use this string:  "😀😂"  it works as expected.  

### What did you see instead?

️⚖‍🏾🧑🏾👱🦰‍🏾👩
Repository: flutter
Issue: The first mouse wheel event after a mouse pointer enters a view has PointerSignalKind.none instead of PointerSignalKind.scroll
Labels: framework,engine,platform-linux,a: desktop,a: mouse,has reproducible steps,P2,found in release: 3.10,found in release: 3.11,team-linux,triaged-linux

`flutter create testytest` and replace `lib/main.dart` with this:

```dart
import 'dart:ui';

void main() {
  PlatformDispatcher.instance.onPointerDataPacket = (PointerDataPacket packet) {
    for (final PointerData data in packet.data) {
      print('${data.change} ${data.signalKind}');
    }
  }; 
}
```

`flutter run -d linux`

Move the mouse pointer into the app window and scroll the mouse wheel exactly two times.

EXPECTED RESULTS:

Console output:

```
flutter: PointerChange.add PointerSignalKind.none    [when pointer enters window]
flutter: PointerChange.hover PointerSignalKind.none  [repeated several times probably]
flutter: PointerChange.hover PointerSignalKind.scroll [first wheel event]
flutter: PointerChange.hover PointerSignalKind.scroll [second wheel event]
```

ACTUAL RESULTS:

Console output:

```
flutter: PointerChange.add PointerSignalKind.none    [when pointer enters window]
flutter: PointerChange.hover PointerSignalKind.none  [repeated several times probably]
flutter: PointerChange.move PointerSignalKind.none   [first wheel event] << ERROR HERE <<
flutter: PointerChange.move PointerSignalKind.scroll [second wheel event]
```

(The `move` vs `hover` thing is also an issue but not as critical since when the `signalKind` is not `none` we ignore the `change`, IIRC.)