sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Setting button to pass mouse events makes clicking difficult on Android
Labels: bug,platform:android,topic:input,regression

### Tested versions

- Reproducible in: v4.3.beta3.official [82cedc83c]
- Not reproducible in: v4.2.2.stable.official [15073afe3]

### System information

Android, Samsung Galaxy S10e

### Issue description

In order to make menus touch scrollable in Android, buttons must be set to pass mouse events. In Godot 4.2, the dead zone before the button passed motion events was big enough to allow consistent pressing of the button. In Godot 4.3, this dead zone seems to be practically 0, making clicking the button all but impossible.

### Steps to reproduce

Create a simple UI with a ScrollContainer, VBoxContainer and enough Buttons to get the ScrollContainer to scroll.
Set the buttons to pass mouse events (in order to make the ScrollContainer touch scrollable).
Run the project on Android.
While scrolling works, clicking the buttons is practically impossible.

### Minimal reproduction project (MRP)

The top three buttons are set to pass mouse events and work to scroll, but are difficult to click.
The bottom three buttons are set to stop mouse events and cannot be used to scroll, but can be easily clicked.
In Godot 4.2, both scrolling and clicking are easily possible on the top three buttons.

[exittest.zip](https://github.com/user-attachments/files/16619232/exittest.zip)
Repository: PowerToys
Issue: Default User Configuration for "Run as Different User" in PowerTools Run
Labels: Idea-Enhancement,Product-PowerToys Run,Needs-Triage

### Description of the new feature / enhancement

A default user option would be added to the settings section for PowerTools Run. This would allow automatic populating of the username field when the "Run as Different User" button is clicked.

### Scenario when this would be used?

In workplaces where each user has a local admin account with a unique name, this feature would speed up the process of running applications with admin permissions. Instead of manually entering both the username and password, users would only need to input their password.

### Supporting information

_No response_
Repository: pytorch
Issue: functionalization doesn't faithfully reproduce strides of intermediate values
Labels: triaged,module: functionalization,oncall: pt2,module: pt2-dispatcher

This can lead to silent incorrectness for operators that are stride-sensitive:
```py
import torch

@torch.compile(backend="aot_eager", fullgraph=True)
def f(x):
    x.add_(1)
    result = torch.as_strided_copy(x, (3,), (2,))
    return result

x = torch.arange(10)[::2]
y = f(x)
print(y)

```
this gives different results with or without torch.compile

cc @ezyang @chauhang @penguinwu @bdhirsh
Repository: Python
Issue: Want to add sliding window algorithm  
Labels: enhancement

### Feature description

Want to add sliding window algorithm in DSA sub folder in array's algorithm
Repository: flutter
Issue: ☂️ RPCError: <method name>: (-32000) Service connection disposed
Labels: c: crash,P1,team-tool,triaged-tool

**(added on 8/20) Summary for archaeologists from the future:** a couple of the changes to package:vm_service made it such that any pending requests are completed with `RPCError`s when the service is suddenly shut down (e.g. the user shut down their device during `flutter run`). Such errors should be captured by the tool and either discarded entirely or be captured and replaced by a helpful error message where appropriate.

(added on 11/22): Per https://github.com/flutter/flutter/issues/153471#issuecomment-2403337193, there probably are legitimate bug(s) here, but I am not sure if they still exist in the 3.27 beta.
____________

Tool crashes with messages of the form `RPCError: <RPC method name>: (-32000) Service connection disposed` have come to represent a significant number of tool crashes. On 3.24.0 to-date (8/24), 1870 crashes have been reported by 410-517 clients.

This exception comes with a few stack traces, hence this creating this umbrella issue.

- [ ] https://github.com/flutter/flutter/issues/153472 (affected 410 clients, but no stack trace)
  * This one has no stack trace. I wonder if this means this must come from [`VMService::dispose`](https://github.com/dart-lang/sdk/blob/6c92babf4d3a256c15d98f126a5a6c30ed148c7a/pkg/vm_service/lib/src/vm_service.dart#L1739-L1745) since that callsite does not provide a stack trace in its `Completer::completeError` call.
- [ ] https://github.com/flutter/flutter/issues/153473 (only affected 7 clients)
- [ ] https://github.com/flutter/flutter/issues/153474 (affected 100 clients)
  * Originates from [`VMService::_call`](https://github.com/dart-lang/sdk/blob/6c92babf4d3a256c15d98f126a5a6c30ed148c7a/pkg/vm_service/lib/src/vm_service.dart#L1769-L1773). I wonder if the tool is making vm service calls after the vm service has been disposed and what might be causing this.

Edit: some more instances since we now get stack traces on these:

- [ ] https://github.com/flutter/flutter/issues/154905
- [ ] https://github.com/flutter/flutter/issues/154906
- [ ] https://github.com/flutter/flutter/issues/154903
Repository: go
Issue: internal/trace: TestTraceGOMAXPROCS/Default failures
Labels: help wanted,NeedsInvestigation,arch-loong64,compiler/runtime

```
#!watchflakes
default <- pkg == "internal/trace" && test == "TestTraceGOMAXPROCS/Default"
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8739588635934945329)):

    === RUN   TestTraceGOMAXPROCS/Default
        trace_test.go:614: stderr: SIGBUS: bus error
            PC=0x52590 m=4 sigcode=2 addr=0xc00001a1600002
            
            goroutine 0 gp=0xc0003461c0 m=4 mp=0xc000342008 [idle]:
            runtime.runqempty(...)
            	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/proc.go:6672
            runtime.checkRunqsNoP({0xc00002c000?, 0x0?, 0x0?}, {0xc00000e12c?, 0x0?, 0x0?})
            	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/proc.go:3741 +0x130 fp=0xc000359dd8 sp=0xc000359db8 pc=0x52590
            runtime.findRunnable()
    ...
            r20  0x0	r21  0x1
            r22  0xc0003461c0	r23  0xc000359d38
            r24  0xc000342008	r25  0x0
            r26  0xffffffff13ad7807	r27  0xffffffffecca5c93
            r28  0xbaf106b	r29  0xea398
            r30  0xffffffffffffffc0	r31  0x68216d32
            pc   0x52590	link 0x51194
            exit status 2
        trace_test.go:616: exit status 1
    --- FAIL: TestTraceGOMAXPROCS/Default (0.49s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: pytorch
Issue: `init` of `PReLU()` works with `int`, `complex` and `bool` against what the doc says.
Labels: module: nn,triaged

### 🐛 Describe the bug

[The doc](https://pytorch.org/docs/stable/generated/torch.nn.PReLU.html) of `PReLU()` says the type of `init` argument is `float` as shown below:

- init ([float](https://docs.python.org/3/library/functions.html#float)) – the initial value of a. Default: 0.25

But, `init` argument works with `int`, `complex` and `bool` against what the [The doc](https://pytorch.org/docs/stable/generated/torch.nn.PReLU.html) says as shown below:

```python
import torch
from torch import nn

my_tensor = torch.tensor([-1., 0., 1.])

prelu = nn.PReLU(init=0)
prelu(input=my_tensor)
# tensor([-0., 0., 1.], grad_fn=<PreluKernelBackward0>)

prelu = nn.PReLU(init=0.+0.j)
prelu(input=my_tensor)
# tensor([-0., 0., 1.], grad_fn=<PreluKernelBackward0>)

prelu = nn.PReLU(init=False)
prelu(input=my_tensor)
# tensor([-0., 0., 1.], grad_fn=<PreluKernelBackward0>)
```

### Versions

```python
import torch

torch.__version__ # 2.3.1+cu121
```

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
Repository: pytorch
Issue: Using `PReLU()` with a `complex` tensor and without `dtype=torch.complex64` should return a simple error message
Labels: module: nn,triaged

### 🚀 The feature, motivation and pitch

### Case1:

Using [PReLU()](https://pytorch.org/docs/stable/generated/torch.nn.PReLU.html) with a `complex` tensor and `dtype=torch.complex64` got the simple error message as shown below:

```python
import torch

my_tensor = torch.tensor([-1.+0.j, 0.+0.j, 1.+0.j])

prelu = nn.PReLU(dtype=torch.complex64)
prelu(input=my_tensor) # Error
```

> RuntimeError: "prelu_cpu" not implemented for 'ComplexFloat'

### Case2:

But using `PReLU()` with a `complex` tensor and without `dtype=torch.complex64` got the non-simple error message as shown below:

```python
import torch

my_tensor = torch.tensor([-1.+0.j, 0.+0.j, 1.+0.j])

prelu = nn.PReLU()
prelu(input=my_tensor) # Error
```

> RuntimeError: prelu: Type promoting not supported. Got ComplexFloat and Float

### Alternatives

So for Case2, the simple error message of Case1 below should also be returned:

> RuntimeError: "prelu_cpu" not implemented for 'ComplexFloat'

So, there is no need to say the non-simple error message of Case2 below for Case 2:

> RuntimeError: prelu: Type promoting not supported. Got ComplexFloat and Float

### Additional context

_No response_

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
Repository: angular
Issue: Check if a http interceptor is provided
Labels: feature,help wanted,area: common/http,P4

### Which @angular/* package(s) are relevant/related to the feature request?

core

### Description

In my library, I expose a HTTP interceptor. since it is a deliberate design of the new API to require the user to add the interceptor manually in `withInterceptors` function (#51303,). there is a need to throw an exception or notify the user that he forgot to add the specific interceptor.

Related SO https://stackoverflow.com/questions/78869196/how-to-check-if-an-interceptor-is-provided-in-withinterceptors-fucntion?noredirect=1#comment139055699_78869196

How can this be accomplished?

### Proposed solution

An injection token that can be injected in a singleton service to check for the added Http interceptors. and can throw an error accordingly. 

### Alternatives considered

Many libraries may include interceptors, and the new API design prevents authors from automatically adding the needed interceptors. there must be a way to notify the user for not adding an interceptor when he uses the library.
Repository: pytorch
Issue: When using a wrong value for `PReLU()`, a PReLU's error message should be returned directly instead of `empty()` error.
Labels: module: nn,triaged

### 🚀 The feature, motivation and pitch

Using a wrong value for [PReLU()](https://pytorch.org/docs/stable/generated/torch.nn.PReLU.html) got an `empty()` error message as shown below:

```python
import torch

my_tensor = torch.tensor([-1., 0., 1.])

prelu = nn.PReLU(True) # Error
```

```
TypeError: empty() received an invalid combination of arguments - got (bool, dtype=NoneType, device=NoneType), but expected one of:
 * (tuple of ints size, *, tuple of names names, torch.memory_format memory_format, torch.dtype dtype, torch.layout layout, torch.device device, bool pin_memory, bool requires_grad)
 * (tuple of ints size, *, torch.memory_format memory_format, Tensor out, torch.dtype dtype, torch.layout layout, torch.device device, bool pin_memory, bool requires_grad)
```

So, I set `requires_grad=True` to `PReLU()` because the `empty()` error message shows `requires_grad` argument, but I got a PReLU's error message as shown below: 

```python
import torch

my_tensor = torch.tensor([-1., 0., 1.])

prelu = nn.PReLU(requires_grad=True) # Error
```

> TypeError: PReLU.__init__() got an unexpected keyword argument 'requires_grad'


### Alternatives

So, when using a wrong value for [PReLU()](https://pytorch.org/docs/stable/generated/torch.nn.PReLU.html), a PReLU's error message should be returned directly instead of `empty()` error.


### Additional context

_No response_

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
Repository: vscode
Issue: Add an action to update all extensions if there are updates even if auto update is enabled
Labels: feature-request,extensions

<!-- ⚠️⚠️ 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/No

I cannot find a way to auto-update all extensions installed in VS Code. Each extension has an "Update" button beside it but there doesn't seem to be a way to update all of them at once - 

![image](https://github.com/user-attachments/assets/5ac2ca7f-cd40-4278-8816-c31cefd0a084)

The menu with the ... dots onthe right also doesn't have an Update all option -
![image](https://github.com/user-attachments/assets/5efc9ceb-d170-44b2-a079-c65df79c8fe4)


<!-- 🪓 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.92.1 (user setup)
- OS Version: Windows 11
![image](https://github.com/user-attachments/assets/1c7b36f8-7007-4980-8c6c-0362b7bd32a7)
Repository: tauri
Issue: [bug] visualViewport API fails to account for mobile keyboard height
Labels: type: bug,status: needs triage

### Describe the bug

The `visualViewport` height in Tauri does not adjust correctly when the keyboard is shown or hidden, which affects the layout of websites. This issue is significant because many websites use `visualViewport` to adjust their layout dynamically, particularly to align tools and content above the on-screen keyboard.

### Reproduction

1. Use the code snippet below to set up a listener for viewport resizing:

```javascript
if (window.visualViewport) {
    // bottomOffset = '30px'
    viewportResizeUnsubscriber = createUnsubscribableListener(window, 'resize', () => {
        positionBottom = `${window.innerHeight - window.visualViewport!.height}px`;
    });
}
```

2. Open the application on an Android device or emulator with a Tauri environment.
3. Trigger the on-screen keyboard by focusing on an input field.
4. Observe that the visualViewport height does not change correctly, resulting in incorrect positioning of elements.

### Expected behavior

When the on-screen keyboard is shown or hidden, `window.visualViewport.height` should accurately reflect the visible portion of the viewport, allowing for proper adjustment of elements positioned above the keyboard.

### Full `tauri info` output

```text
[✔] Environment
    - OS: Windows 10.0.22631 X64
    ✔ WebView2: 127.0.2651.98
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.80.0 (051478957 2024-07-21)
    ✔ cargo: 1.80.0 (376290515 2024-07-16)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.11.1
    - pnpm: 8.15.5
    - npm: 10.2.4
    - bun: 1.1.8

[-] Packages
    - tauri [RUST]: 2.0.0-beta.25
    - tauri-build [RUST]: 2.0.0-beta.19
    - wry [RUST]: 0.41.0
    - tao [RUST]: 0.28.1
    - @tauri-apps/api [NPM]: 2.0.0-beta.16
    - @tauri-apps/cli [NPM]: 2.0.0-beta.23

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../build
    - devUrl: http://localhost:1420/
    - framework: Svelte
    - bundler: Vite
```


### Stack trace

_No response_

### Additional context

This problem is related to [Tauri issue #9907](https://github.com/tauri-apps/tauri/issues/9907).
Repository: tauri
Issue: [bug] minSdkVersion 23 error
Labels: type: bug,status: needs triage,platform: Android

### Describe the bug
 pnpm tauri android dev
BUILD FAILED in 2s
    Error Failed to assemble APK: command ["/Users/bigrocs/code/bigrocs/tauri/src-tauri/gen/android/gradlew", "--project-dir", "/Users/bigrocs/code/bigrocs/tauri/src-tauri/gen/android"] exited with code 1: command ["/Users/bigrocs/code/bigrocs/tauri/src-tauri/gen/android/gradlew", "--project-dir", "/Users/bigrocs/code/bigrocs/tauri/src-tauri/gen/android"] exited with code 1
 ELIFECYCLE  Command failed with exit code 1.

### Reproduction

_No response_

### Expected behavior

_No response_

### Full `tauri info` output

```text
[✔] Environment
    - OS: Mac OS 14.4.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.79.0 (129f3b996 2024-06-10)
    ✔ cargo: 1.79.0 (ffa9cf99a 2024-06-03)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 19.2.0
    - pnpm: 7.18.1
    - yarn: 1.22.17
    - npm: 8.19.3
```

```
{
  "productName": "gorocs",
  "version": "0.0.1",
  "identifier": "com.gorocs.dev",
  "build": {
    "beforeDevCommand": "pnpm dev",
    "devUrl": "http://192.168.3.80:1420",
    "beforeBuildCommand": "pnpm build",
    "frontendDist": "../dist"
  },
  "app": {
    "windows": [
      {
        "title": "gorocs",
        "width": 800,
        "height": 600
      }
    ],
    "security": {
      "csp": null
    }
  },
  "bundle": {
    "active": true,
    "targets": "all",
    "icon": [
      "icons/32x32.png",
      "icons/128x128.png",
      "icons/128x128@2x.png",
      "icons/icon.icns",
      "icons/icon.ico"
    ],
    "android": {
      "minSdkVersion": 23
    }
  }
}

```
### Stack trace

_No response_

### Additional context

_No response_
Repository: PowerToys
Issue: [RegistryPreview] Rethink commandbar to increase density
Labels: Idea-Enhancement,Help Wanted,Area-User Interface,Cost-Small,Product-Registry Preview

### Description of the new feature / enhancement

![image](https://github.com/user-attachments/assets/c7294a2a-badb-4034-a994-9281a4ea6bb6)
![image](https://github.com/user-attachments/assets/752d2cab-b552-4f85-bf91-80b6c0f36dfb)

There are too many rounded corners in the page, and the segmentation is too messy. By aligning to the design file of FDS, referring to the first-party design such as Notepad, we can achieve-

The segmentation from edge to edge makes the design look simple, neat and crisp.
Match the first-party design to improve the unity.
Reserve the possibility of adding multi-tab support in the future.

### Scenario when this would be used?

-

### Supporting information

https://www.figma.com/community/file/1159947337437047524/windows-ui-3
![image](https://github.com/user-attachments/assets/8901ce69-40e6-452f-bf75-8b1ec04a1b4f)

According to the official design specification, the standard title bar-toolbar-content view is as shown in the figure. There is no separate toolbar rounded background.

You can find it in the official Figma file
Repository: go
Issue: x/term: unaware of unicode double width characters, creates phantom when for instance 乒 or 😀 is present in the history
Labels: NeedsInvestigation

### Go version

go1.22.6

### Output of `go env` in your module/workspace:

```shell
same issue on macos (terminal or iterm2), linux or windows 11 (terminal.app)
```


### What did you do?

type or paste "😀, type backspace, a space is inserted
use up/down repeatedly previous prompt and current keep shifting right

### What did you see happen?

see above

### What did you expect to see?

😀 works like any other character
Repository: deno
Issue: add Uint8Array to/from base64 and hex
Labels: feat,upstream

The tc39 [Uint8Array to/from base64 and hex](https://github.com/tc39/proposal-arraybuffer-base64) proposal is stage 3.

Support for this would significantly reduce boilerplate code.

Examples:
```js
let arr = new Uint8Array([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100]);
console.log(arr.toBase64());
// 'SGVsbG8gV29ybGQ='
console.log(arr.toHex());
// '48656c6c6f20576f726c64'
```

```js
let string = 'SGVsbG8gV29ybGQ=';
console.log(Uint8Array.fromBase64(string));
// Uint8Array([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100])

string = '48656c6c6f20576f726c64';
console.log(Uint8Array.fromHex(string));
// Uint8Array([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100])
```

[Full spec](https://tc39.es/proposal-arraybuffer-base64/spec/).
Repository: godot
Issue: Linux: Editor+OS+Mouse hangs for 5 seconds when closing a game via the stop button
Labels: bug,topic:editor,needs testing,performance

### Tested versions

4.2.2, v4.3.rc.custom_build [8e666adee]

### System information

Godot v4.3.rc (8e666adee) - Manjaro Linux #1 SMP PREEMPT_DYNAMIC Sat Aug  3 10:24:35 UTC 2024 - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 SUPER (nvidia; 550.107.02) - Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 Threads)

### Issue description

When I close a running game from the editor via the UI stop button, my box (even the mouse) hangs for 4-6 seconds.

It does not hang when I close the game window through the OS (via the close button of the window).

Nothing in the logs (incl. command line with --verbose)

Uneducated guesses: 
- Debugger?
- Problems with driver? Nvidia (NVIDIA - NVIDIA GeForce RTX 2060 SUPER)
- Audio?

### Steps to reproduce

Create a new project, save scene. Hit F6. Click STOP button in editor UI.

### Minimal reproduction project (MRP)

N/A
Repository: PowerToys
Issue: Powertoys Run show incompletely
Labels: Issue-Bug,Product-PowerToys Run,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.83.0

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

Alt space and the run window shows as follows:

<img width="756" alt="Capture" src="https://github.com/user-attachments/assets/b2acb012-b3a0-4f7e-b558-8a71b0652ad7">


### ✔️ Expected Behavior

To see the run window

### ❌ Actual Behavior

<img width="756" alt="Capture" src="https://github.com/user-attachments/assets/266fab72-35a4-4a6c-9e4f-73bbcd8a45cc">


### Other Software

_No response_
Repository: react
Issue: [React 19] RSC and `as` property pattern
Labels: React 19

## Summary

Many UI libraries adopt the `as` property pattern, especially for the Icon component.

```
<Icon as={ArrowIcon} />
```

This pattern is currently unsupported by server components, and requires to manually define client components for each icon one decides to use.

Is there a suggested alternative pattern the React team would like to promote? If not, do you think passing components as properties could be supported? In theory a component could be serialized (to a pointer) and then sent over HTTP, then the client could either dynamically import it, or the bundler could statically analyze it and bundle it on the client side code.

Alternatively, when a component is passed as property, the server component could inline the child component so that they are forced to be render together.