sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Popup menus are not positioned properly (Linux GNOME)
Labels: bug,discussion,platform:linuxbsd,topic:porting,topic:thirdparty,needs testing

### Godot version

4.2-rc [ad72de508]

### System information

Manjaro Linux, **X11 (X.Org)**, Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Laptop GPU () - 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 Threads)

### Issue description

When created close to the screen's edge, popup menus are cut off intead of being properly positioned (GNOME 45, Manjaro Linux). This happens while **Single Window Mode** is disabled.
Didn't test in other Linux Distro + DE combinations.
I can reproduce it in **4.0.2** and **4.1.3**.

![menu-cutoff-1](https://github.com/godotengine/godot/assets/2766569/1ef6ffd5-4822-4dec-8f2a-e86142329442)
![menu-cutoff-2](https://github.com/godotengine/godot/assets/2766569/243a3a16-a010-47e8-ba9a-3bb7f57fe60f)

### Workarounds

a) Use **Single Window Mode** (enabled in Editor Settings).
b) Use `nvidia_drm.modeset=1` kernel option.


### Steps to reproduce

1. Build & run the latest Godot 4.2-rc on the GNOME v45 desktop. 
2. Right-click on a property in the Inspector close to the screen's edge.

### Minimal reproduction project

N/A
Repository: flutter
Issue: Preserve WillPopScope as an alternate for PopScope
Labels: framework,f: routes,customer: crowd,c: proposal,P2,team-framework,triaged-framework

### 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

In our case, we want to present confirmation dialogs when the user wants to close the page and `WillPopScope` works like a charm in this scenario.

Yes, we can set `canPop: false` and write dialogue prompting logic inside onPopInvoked, but it doesn't solve the problem because the result of `NavigatorState.maybePop` will be returned before the user answers to dialog.

Also, `popDisposition` is sync, while `willPop` is async. This makes prompting a dialogue impossible.


### Proposal

Is there any chance the decision about deprecating `WillPopScope` will be revisited?

My team finds `PopScope` inconvenient in comparison to `WillPopScope`.

While `WillPopScope` allows to intercept the pop-action intent, the `PopScope` doesn't. Instead, `PopScope` proposes to handle the result of this action.


UPD:
We have worked around this by writing a custom `maybePop` method.
But I still think `WillPopScope` can live together with `PopScope`
Repository: flutter
Issue: [url_launcher] Open `deeplink` site without suggestion current application
Labels: c: new feature,platform-android,p: url_launcher,package,c: proposal,P3,team-android,triaged-android

### 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

1. Add deep link on my application for example site `example.com`
2. open `example.com` from current application via  `launchUrl` and we see current application suggestion !

### Expected results

We don't want the current application to be suggested in `launchUrl` in some cases.

For example, when we want to make a payment through the browser

### Actual results

In some cases, the current application is not suggested in  `launchUrl`!

### Code sample

<details><summary>Code sample</summary>

```dart
launchUrl(link, mode: LaunchMode.externalApplication);
```

</details>


### Screenshots or Video

<details>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### 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 stable, 3.16.0, on Ubuntu 23.10 6.5.0-10-generic, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2022.3)
[✓] VS Code (version unknown)
    ✗ Unable to determine VS Code version.
[✓] Connected device (3 available)
[✓] Network resources

```

</details>
Repository: go
Issue: cmd/compile: suboptimal compilation of reflect.isZero
Labels: Performance,NeedsInvestigation,compiler/runtime

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version devel go1.22-b9a08f15 Thu Nov 16 22:15:45 2023 +0000 windows/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
set GO111MODULE=auto
set GOARCH=amd64
set GOBIN=
set GOCACHE=D:\tmp\go-build
set GOENV=C:\Users\26454\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=D:\file\gofile\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=D:\file\gofile
set GOPRIVATE=
set GOPROXY=https://goproxy.cn,direct
set GOROOT=D:\file\gofile\gogit\go1
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLCHAIN=local
set GOTOOLDIR=D:\file\gofile\gogit\go1\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=devel go1.22-b9a08f15 Thu Nov 16 22:15:45 2023 +0000
set GCCGO=gccgo
set GOAMD64=v3
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=0
set GOMOD=D:\file\gofile\gogit\go1\src\go.mod
set GOWORK=
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=C:\Users\26454\AppData\Local\Temp\go-build3613428875=/tmp/go-build -gno-record-gcc-switches
</pre></details>

### What did you do?

cd reflect
go test -c 
go tool objdump reflect.test.exe

### What did you expect to see?
I want reflect.isZero to use SIMD when GOAMD64 is greater than v1.
Avoid For all zeros, performance is not as good as return bytealg.Count(b, byte(0)) == len(b).

### What did you see instead?
I see that reflect.isZero uses CMPQ when GOAMD64 is greater than v1.
Repository: kubernetes
Issue: Kubernetes endpoint validation
Labels: kind/bug,sig/network,sig/api-machinery,triage/accepted

### What happened?

Scenario:

In a setup of multiple kube-apiserver, one of the apiserver's advertise address is configured to `127.0.0.1`. When the apiserver starts up, it saves the ip into etcd registry directly without validation, followed by endpoint object update. However, the endpoint object update fails due to the validation [here](https://github.com/kubernetes/kubernetes/blob/v1.25.15/pkg/apis/core/validation/validation.go#L6176). The validation rejects the update when endpoint is localhost or link local address. 

Since the IP is already persisted into etcd registry, other apiservers cannot update the endpoint object anymore. This results in one apiserver mis/configuration to block all endpoint updates until the apiserver is taken out of service. If the other healthy apiservers restart or change IP, the kubernetes endpoint object IPs become stale.

Potential solution: Flip the order of endpoint update. Update the endpoint object followed by the update to etcd registry.
Alternative: Duplicate the validation [code](https://github.com/kubernetes/kubernetes/blob/c28c2009181fcc44c5f6b47e10e62dacf53e4da0/pkg/controlplane/reconcilers/lease.go#L284) in `checkEndpointSubsetFormatWithLease` 

### What did you expect to happen?

A misconfigured apiserver advertise address should not block all apiservers from updating their IP.

### How can we reproduce it (as minimally and precisely as possible)?

Sample response object from audit log
```
  "responseObject": {
    "kind": "Status",
    "apiVersion": "v1",
    "metadata": {},
    "status": "Failure",
    "message": "Endpoints \"kubernetes\" is invalid: subsets[0].addresses[0].ip: Invalid value: \"127.0.0.1\": may not be in the loopback range (127.0.0.0/8, ::1/128)",
    "reason": "Invalid",
    "details": {
      "name": "kubernetes",
      "kind": "Endpoints",
      "causes": [
        {
          "reason": "FieldValueInvalid",
          "message": "Invalid value: \"127.0.0.1\": may not be in the loopback range (127.0.0.0/8, ::1/128)",
          "field": "subsets[0].addresses[0].ip"
        }
      ]
    },
    "code": 422
  },
```

### Anything else we need to know?

_No response_

### Kubernetes version

Any version
<details>

```console
$ kubectl version
# paste output here
```

</details>


### Cloud provider

<details>
EKS
</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

</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: PowerToys
Issue: Update instalation error
Labels: Issue-Bug,Area-Setup/Install,Needs-Triage

### Microsoft PowerToys version

0.73.0

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

Installer

### Steps to reproduce

[PowerToysReport_2023-11-17-15-18-27.zip](https://github.com/microsoft/PowerToys/files/13393040/PowerToysReport_2023-11-17-15-18-27.zip)


### ✔️ Expected Behavior

Update Installing successfully

### ❌ Actual Behavior

The installer is crashing just after it launch, no matter whether from a regular user or admin mode. For now I can't install newest relase and I couldn't install any other update between 0.73.0 and 0.75.1

### Other Software

_No response_
Repository: PowerToys
Issue: Ai prompt when selecting word
Labels: Idea-New PowerToy

### Description of the new feature / enhancement

There is a lot of scenario when we need meaning of words or even rewrite. We have to manually copy and paste and ask ai to explain, for example, Bard or chatgpt. So instead, what can be done is implement a system wise prompt where any word that is selected a menu will be open up where you can choose what you want to do with selected text.
I have attached link to the screenshot. It is a chrome extension sider. i can use it according to my need plugging chatgpt 4 api key.

https://snipboard.io/yRFqwA.jpg

### Scenario when this would be used?

Any app where prompt doesnt support. Notepad, stickynotes, MS word, kindle, any word based app

### Supporting information

_No response_
Repository: material-ui
Issue: [joy-ui][ButtonGroup] Clicking outside a menu doesn't close it
Labels: bug 🐛,component: ButtonGroup,package: joy-ui

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Steps to reproduce 🕹

The bug is visible on the JoyUI examples here : https://mui.com/joy-ui/react-button-group/#split-button
In the split button we can see that once menu is opened, clicking outside of it does not close it despite it's the common behavior of all JoyUI's menu.


### Current behavior 😯

Menu does not close when clicking outside.

### Expected behavior 🤔

Menu wrapped into a ButtonGroup detects an outside click and automatically closes.

### Context 🔦

The common behavior of JoyUI's menu (automatic closing on outside click) is the classical and the expected behavior by the user. It can be annoying to click again on the menu button to close it.
It can leads to UI bug : e.g having to menu opened in parallel.

### Your environment 🌎

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
Tested on Chrome and Firefox.

System:
    OS: macOS 13.5.2
  Binaries:
    Node: 20.3.1 - ~/.nvm/versions/node/v20.3.1/bin/node
    Yarn: Not Found
    npm: 10.2.3 - ~/Documents/hopfront/hopfront/node_modules/.bin/npm
  Browsers:
    Chrome: 119.0.6045.159
    Edge: Not Found
    Safari: 16.6
  npmPackages:
    @emotion/react: ^11.11.1 => 11.11.1 
    @emotion/styled: ^11.11.0 => 11.11.0 
    @mui/base:  5.0.0-beta.23 
    @mui/core-downloads-tracker:  5.14.17 
    @mui/icons-material: ^5.14.16 => 5.14.16 
    @mui/joy: ^5.0.0-beta.14 => 5.0.0-beta.14 
    @mui/material:  5.14.2 
    @mui/private-theming:  5.14.17 
    @mui/styled-engine:  5.14.17 
    @mui/system:  5.14.17 
    @mui/types:  7.2.8 
    @mui/utils:  5.14.17 
    @types/react: 18.2.37 => 18.2.37 
    react: 18.2.0 => 18.2.0 
    react-dom: 18.2.0 => 18.2.0 
    typescript: 5.2.2 => 5.2.2 
```
</details>
Repository: PowerToys
Issue: MWB mouse buttons not functioning in second screen VMWARE Workstation VM
Labels: Issue-Bug,Needs-Triage,Product-Mouse Without Borders

### Microsoft PowerToys version

0.75.1

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

Mouse Without Borders

### Steps to reproduce

Setup:
2 Windows 11 Machines with latest fixes.
On second machine VMware Player 17.5.0 is installed.
All works fine
Only the mousebuttuns  (left & right) do not work (anymore) inside the VMs (Windows 11) started on VMware Player.


### ✔️ Expected Behavior

Mouse buttons should work

### ❌ Actual Behavior

Mouse buttons do not have any function

### Other Software

VMware Player 17.5.0
Repository: next.js
Issue: router.push with "as" parameter causes infinite loop when using a middleware
Labels: bug,Navigation,Runtime

### Link to the code that reproduces this issue

https://github.com/KmaCoder/reproduce-router-middleware-bug

### To Reproduce

1. Add an empty middleware.ts
```ts
import { NextMiddleware } from 'next/server';

export const middleware: NextMiddleware = (req) => {
    console.log(`> middleware req.url ${req.url}`)
};
```

2. Use `router.push` with an `"as"` parameter
```ts
// On the index page make a redirect to some other page,
// with an 'asPath' = '/' to be shown in browser search bar  
void router.push('/home-redirect', '/')
```

### Current vs. Expected behavior

#### Current

The page does not change, in network there is an infinite loop of fetching the page JSON /_next/data/.

_With `middleware.ts`:_

<img width="730" alt="Screenshot 2023-11-17 at 17 15 22" src="https://github.com/vercel/next.js/assets/31987427/fae242e2-25f1-455d-84c2-099fe607361c">

#### Expected:
The page changes to the specified one, while the pathname in the browser equals to the `as` param.

_Without `middleware.ts`, works as expected:_

<img width="727" alt="Screenshot 2023-11-17 at 17 17 38" src="https://github.com/vercel/next.js/assets/31987427/3a938a99-e39b-40a9-bdb0-ccdc8d5eef1b">


### 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: arm64
  Version: Darwin Kernel Version 22.6.0: Wed Jul  5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000
Binaries:
  Node: 18.17.0
  npm: 9.6.7
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.0.4-canary.1
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.1.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Middleware / Edge (API routes, runtime), Routing (next/router, next/navigation, next/link)

### Additional context

Reproducible since the middleware was released in version 12.2.0.
Tested with `12.2.1-canary.5`, `12.2.0`, `13.0.1-canary.4`,  and latest `14.0.4-canary.1`
Repository: PowerToys
Issue: Add Option for "Stationary Hotkey" to Lock Mouse Pointer Crosshair in Place
Labels: Idea-Enhancement,Needs-Triage,Product-Mouse Utilities

### Description of the new feature / enhancement

Please add an option for a "stationary hotkey" that locks the crosshair in place, allowing for the mouse to then be moved around without moving the locked crosshair position.  When this hotkey is pressed again, the crosshairs would then be unlocked, positioning them back to the mouse pointer's location.

### Scenario when this would be used?

The ability to lock the crosshair in place and then move your mouse around while it is still locked is quite valuable for anyone doing design work who wants a quick reference line for alignment.

### Supporting information

I have been using an old crosshair program for over a decade (see below) with a "stationary hotkey" option to accomplish this. It works great! I would only want to use the PowerToys version of crosshair instead of this legacy program because I have two monitors with different resolutions, which glitches the old version a bit. 

If you see this old program, you can download it here: https://filesbear.com/windows/desktop-management/cursors/crosshair/

![Crosshair v1 1 By Mike Lin](https://github.com/microsoft/PowerToys/assets/151189779/de3f0e8c-5790-4f0a-a3b0-bbc536497be5)
Repository: next.js
Issue: next/jest doesn't work with npm modules distributed as ESM modules (.mjs files)
Labels: bug,Testing

### Link to the code that reproduces this issue

https://github.com/valleywood/reproduction-next-jest-esm

### To Reproduce

(See README in reproduction repo.)

Downolad code in reproduction repo. Run `yarn install` and `yarn test`
The tests fails because of that one of the dependencies for the tested components is a ES Module.
I this reproduction I've used [Swiper JS](https://www.npmjs.com/package/swiper) but I could have used just about any npm package that is distributed as a ES Module.

<img width="1792" alt="Skärmavbild 2023-11-17 kl  16 29 50" src="https://github.com/vercel/next.js/assets/3974008/85eb634d-f6e0-4ccf-a062-fb22099377e5">


### Current vs. Expected behavior

Expecting the next/jest framework to work also with dependencies that are distributed as ES Modules

### 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 23.0.0: Fri Sep 15 14:41:43 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T6000
Binaries:
  Node: 20.9.0
  npm: 10.1.0
  Yarn: 4.0.1
  pnpm: N/A
Relevant Packages:
  next: 14.0.4-canary.2
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.2.2
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Jest (next/jest)

### Additional context

I've tested numerous combinations of `transformIgnorePatterns` running with `NODE_OPTIONS=--experimental-vm-modules jest` etc but nothing works 😢
Repository: flutter
Issue: toImageSync retains display list which can lead to surprising memory retention.
Labels: engine,c: performance,a: desktop,perf: memory,has reproducible steps,P2,team-engine,triaged-engine,found in release: 3.16,found in release: 3.17

### 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

1. run example
2. wait 40~60 to see memory leak on the *OS memory monitor* that is not seen in DevTools

### Actual results

All the PC memory get filled till system crash

### Code sample

I have created a public [GitHub project](https://github.com/alnitak/test_leak) as short as I could.
Some more info in the README.md

### Screenshots or Video

After about 40~60 seconds memory leak is starting growing till it reach 100%.
DevTools memory tab doesn't show memory leaks.

<details>
<summary>Screenshots</summary>

![Screenshot from 2023-11-17 16-29-57](https://github.com/flutter/flutter/assets/192827/c0f2b225-ea88-47ed-85fd-d23e94f09912)

</details>


### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.16.0, on Manjaro Linux 6.1.62-1-MANJARO, locale en_US.UTF-8)
    • Flutter version 3.16.0 on channel stable at /home/deimos/dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db7ef5bf9f (2 days ago), 2023-11-15 11:25:44 -0800
    • Engine revision 74d16627b9
    • Dart version 3.2.0
    • DevTools version 2.28.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /home/deimos/Android/Sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /home/deimos/Android/Sdk
    • ANDROID_SDK_ROOT = /home/deimos/Android/Sdk
    • Java binary at: /home/deimos/dev/android-studio/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /bin/chromium

[✓] Linux toolchain - develop for Linux desktop
    • clang version 16.0.6
    • cmake version 3.27.7
    • ninja version 1.11.1
    • pkg-config version 1.8.1

[✓] Android Studio (version 2022.2)
    • Android Studio at /home/deimos/dev/android-studio
    • Flutter plugin version 75.1.1
    • Dart plugin version 222.4582
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Manjaro Linux 6.1.62-1-MANJARO
    • Chrome (web)    • chrome • web-javascript • Chromium 119.0.6045.159 Arch Linux

[✓] Network resources
    • All expected network resources are available.

• No issues found!
```

</details>
Repository: next.js
Issue: Global CSS not removed between app router pages
Labels: Navigation,CSS

### Link to the code that reproduces this issue

https://codesandbox.io/p/sandbox/loving-roman-scc0uh

### To Reproduce

1. Visit the homepage
2. Click the link to “page 2”
3. Click the link back to the homepage


### Current vs. Expected behavior

Currently, the global stylesheet added by page 2 is not removed once page 2 is unloaded.

I expect the global styles imported on page 2 to be removed when the user navigates back to the home page (which does not import those styles), and did not display those styles before page 2 was loaded.

### Verify canary release

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

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
Binaries:
  Node: 18.18.2
  npm: 9.8.1
  Yarn: 1.22.19
  pnpm: N/A
Relevant Packages:
  next: 14.0.4-canary.2
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 4.9.4
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

App Router, Routing (next/router, next/navigation, next/link)

### Additional context

Reopening as a duplicate of #46817, which was closed as “please verify canary” despite a next@canary reproduction
Repository: vscode
Issue: "View: Show GitHub" keyboard shortcut focuses wrong activity view
Labels: keybindings,under-discussion

Extension version: 0.76.1
VSCode Version: 1.84.2
OS: Windows 11
Steps to Reproduce:

Open the "Keyboard Shortcuts" menu from the command palette
Set some non-existing keybinding (e.g. Shift+Ctrl+K) for "View: Show GitHub"
Press the shortcut set in step 2.
Expected behavior: The Github activity view is focused.
Actual behavior: The Explorer view is focused.