sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: FancyZones forgets layout on reboot or monitor disconnect/reconnect
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.84.0

### Installation method

PowerToys auto-update

### Running as admin

No

### Area(s) with issue?

FancyZones

### Steps to reproduce

9/10 times this happens when rebooting or when a monitor is disconnected/reconnected.

### ✔️ Expected Behavior

The correct layout for the monitor should be remembered. When default vertical and horizontal templates are set these should be correctly selected.

### ❌ Actual Behavior

A random template is selected for each monitor rather than the previously selected template or the correct default for the vertical/horizontal monitor.

### Other Software

_No response_
Repository: electron
Issue: [Bug]: Miracast breaks since v29.0.0
Labels: platform/windows,bug :beetle:,stale,29-x-y,32-x-y,33-x-y

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.

### Electron Version

32.1.0

### What operating system(s) are you using?

Windows

### Operating System Version

Windows 10

### What arch are you using?

x64

### Last Known Working Electron version

28.3.3

### Expected Behavior

The expected behavior is that the app will run without interfering with Miracast and RTSP protocols.

### Actual Behavior

When the Electron app is running with versions 29.0.0 and above, Miracast breaks and cannot be used.

### Testcase Gist URL

_No response_

### Additional Information

I managed to find out that v29.0.0-beta.11 still works, but v29.0.0-beta.12 doesn't. In the release notes, it looks like the only change that was made there was that the Chromium was upgraded. I opened an issue for Chromium and they sent me back here: https://issues.chromium.org/issues/364466907

I tried all the latest versions of Electron, and none of the versions above 29.0.0 worked.

Looks like it also relates to this issue which was closed: https://github.com/electron/electron/issues/42725
I don't think it's a question as stated in this issue, but rather a bug. It worked fine before this upgrade.

How I use Miracast when it breaks:
Go to Settings -> Bluetooth & other devices -> Add Bluetooth or other device -> Wireless display or dock
And then choose the device you want to cast to.

Thanks!
Repository: angular
Issue: bug(COMPONENT): IntelliSense is broken for v18 in standalone Components in VSCode
Labels: area: language-service,needs triage

### Is this a regression?

- [X] Yes, this behavior used to work in the previous version

### The previous version in which this bug was not present was

17

### Description

@IliaPodolko
I hope its fine that I just copy the issue.
**This is a intentional duplicate!**

Installation of angular/material v18 breaks IntelliSense/Suggestions for some types from node_modules in VSCode. I tried the same repo steps using angular v17 and everything works fine.

**Important**
Angular language Service is up to date.

After including ""typeRoots": ["node_modules/@angular/material"]" in tsconfig under "compilerOptions" it works again, **BUT** you get an error in tsconfig:

> Cannot find type definition file for 'esm2022'.
  The file is in the program because:
    Entry point for implicit type library 'esm2022'ts
Cannot find type definition file for 'fesm2022'.
  The file is in the program because:
    Entry point for implicit type library 'fesm2022'ts
Cannot find type definition file for 'prebuilt-themes'.
  The file is in the program because:
    Entry point for implicit type library 'prebuilt-themes'ts
Cannot find type definition file for 'schematics'.
  The file is in the program because:
    Entry point for implicit type library 'schematics'ts

https://github.com/angular/components/issues/29537#issuecomment-2267167467
Is also not the solution. Its only a workaround. Intellisense should, like with the import in typeRoots, find the Module and import it on its own.

### Reproduction

Repo with this error https://github.com/IliaPodolko/vscode-imports
Steps to reproduce:

1. Create new angular app
    ng new my-angular-project
2. Install material
   npm install @angular/material
3. Go to app.component.ts and try add FormsModule, you will NOT see suggestions

### Expected Behavior

User should see suggestions in VSCode
![image](https://github.com/user-attachments/assets/f9879c34-9dea-4c78-af02-cadc40cf46c4)


### Actual Behavior

User does not see suggestions in VSCode when using angular v18 with angular/material

![image](https://github.com/user-attachments/assets/7ff72fb5-b156-4ff1-8ef0-ae04c0c10e0a)


### Environment

- Angular: 18.2.4 (CLI)
- CDK/Material: 18.2.4
- Browser(s): Chrome
- Operating System: Windows 11 64bit
- Node: 22.6.0
Repository: deno
Issue: Bug: linting + lsp errors when `jsx` is set to `preserve`
Labels: needs discussion,lsp,tsc

Setting the `jsx` compiler option to `preserve` leads to an error in the LSP and when running `deno lint`. The `preserve` option is a valid value though.

## Steps to reproduce:

1. Create a `deno.json` with these contents:
  ```json
  {
    "compilerOptions": {
      "jsx": "preserve",
      "jsxImportSource": "preact"
    },
    "imports": {
      "preact": "npm:preact@^10.24.0"
    }
  }
  ```
2. Open the folder containing the `deno.json` in vscode.

Output:

```sh
Error caching: Unsupported 'jsx' compiler option value 'preserve'. Supported: 'react-jsx', 'react-jsxdev', 'react', 'precompile'
  at file:///Users/marvinh/dev/test/deno-jsx-preservec/deno.json
```

<img width="483" alt="Screenshot 2024-09-17 at 10 51 22" src="https://github.com/user-attachments/assets/6e15e368-f442-41fa-92ec-8a1b945ca705">

Version: Deno 2.0.0-rc.2+aaf2bf4
Repository: PowerToys
Issue: Add an option to the keyboard modifier
Labels: Needs-Triage

### Description of the new feature / enhancement

When using a laptop keyboard, I modify some keys to make it easier for me to work. However, when connecting an external full size keyboard it would be nice if it automatically reverted to a different (standard?) behaviour.

### Scenario when this would be used?

When using a different keyboard to the normal one.

### Supporting information

_No response_
Repository: pytorch
Issue: linux-aarch64 CI tests are being timed out resulting in test failures
Labels: module: ci,triaged,module: arm

> NOTE: Remember to label this issue with "`ci: sev`"

Blocks merging of : https://github.com/pytorch/pytorch/pull/134124 and https://github.com/pytorch/pytorch/pull/135857

## Current Status
*Status could be: preemptive, ongoing, mitigated, closed. Also tell people if they need to take action to fix it (i.e. rebase)*.

## Error looks like
https://github.com/pytorch/pytorch/actions/workflows/linux-aarch64.yml 
https://github.com/pytorch/pytorch/actions/runs/10894440149/job/30233134789

## Incident timeline (all times pacific)
Linux-aarch64 time out is observed since last week and its still on going

## User impact
Blocks testing / merging

## Root cause
*What was the root cause of this issue?*

## Mitigation
*How did we mitigate the issue?*

## Prevention/followups
*How do we prevent issues like this in the future?*


cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @seemethere @malfet @pytorch/pytorch-dev-infra @snadampal @milpuz01
Repository: TypeScript
Issue: Computed type key inference inconsistent with identical explicitly declared type
Labels: Bug,Help Wanted

### 🔎 Search Terms

keyof required keys key evaluation reduce getReducedType

### 🕗 Version & Regression Information

- This is the behavior in every version I tried



### ⏯ Playground Link

https://tsplay.dev/WKQkzN

### 💻 Code

```ts
type distilled = distill<{
	//   ^?
	foo: "default"
	bar?: number
}>

// incorrectly inferred as unknown
type requiredDistilledKey = requiredKeyOf<distilled>
//   ^?

// explicit declaration identical to hover of distilled
type declared = {
	bar?: number
} & {
	foo?: "default"
}

// now correctly inferred as never
type requiredDeclaredKey = requiredKeyOf<declared>
//   ^?

type requiredKeyOf<o> = {
	[k in keyof o]-?: o extends { [_ in k]-?: o[k] } ? k : never
}[keyof o]

type distill<t> = t extends object ? distillMappable<t> : t

type distillMappable<o> = {
	[k in keyof o as k extends inferredDefaultKeyOf<o> ? never : k]: distill<o[k]>
} & {
	[k in inferredDefaultKeyOf<o>]?: distill<o[k]>
}

type inferredDefaultKeyOf<o> = {
	[k in keyof o]: o[k] extends "default" ? k : never
}[keyof o]


```


### 🙁 Actual behavior

`requiredDistilledKey` inferred as `unknown`

### 🙂 Expected behavior

`requiredDistilledKey` inferred as `never`, consistent with the equivalent declared version

### Additional information about the issue

_No response_
Repository: godot
Issue: Typed Arrays with a named enum type cannot be set using `Object.set`
Labels: discussion,topic:core,topic:gdscript,documentation

### Tested versions

- reproducible in v4.4.dev2.mono.official [97ef3c837], v4.3.stable.mono.official [77dcf97d8] and v4.2.2.stable.mono.official [15073afe3]

### System information

Godot v4.3.stable.mono - Windows 10.0.22631 - GLES3 (Compatibility) - NVIDIA GeForce RTX 4070 Ti SUPER (NVIDIA; 32.0.15.6109) - AMD Ryzen 7 7800X3D 8-Core Processor (16 Threads)

### Issue description

If you declare an array with a named enum type, the `Object.set` method will not set that array's value, but should. 

Please see code in steps to reproduce or MRP for more details.

### Steps to reproduce

Use the MRP, or create a single scene project with this script attached to a single Node2D and run it:

```gdscript
extends Node2D

enum THING {FOO, BAR, BAZ}

var my_typed_list: Array[THING] = []

func _ready() -> void:
	self.set("my_typed_list", [THING.FOO, THING.BAR])
	print("(Typed array) Should have 2 elements but doesn't: ", my_typed_list, " <--------- Incorrect")

	my_typed_list = [THING.FOO, THING.BAR]
	print("(Typed array) Should have 2 elements and does: ", my_typed_list, " <--------- Correct ")
```

Expected behavior: The array should print with 2 elements.
Actual behavior: The array prints with 0 elements.

### Minimal reproduction project (MRP)

[setenum.zip](https://github.com/user-attachments/files/17026222/setenum.zip)
Repository: excalidraw
Issue: align action doesn't work when all elements in group selected
Labels: bug

![excal-align-in-group](https://github.com/user-attachments/assets/5a257f6f-88b3-4e8e-b455-0765871c246c)
Repository: excalidraw
Issue: support `enter` to edit group
Labels: enhancement,good first issue,grouping

Upon `enter`, it should edit group and select all elements within it.
Repository: ui
Issue: [fix]: RTL Support for Switch Component Not Working.
Labels: area: request

### Feature description

Issue
The RTL (right-to-left) support for the `Switch` component is not working as expected. When checked, the switch moves to the right, even in RTL mode.

I did like this:
1. Set the `dir` prop to `'rtl'`.
2. Toggle the switch.
3. Notice that the switch moves to the right instead of to the left in RTL mode.


### Affected component/components

_No response_

### Additional Context

Additional details here...

### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues and PRs
Repository: deno
Issue:  Unable to load pdf-parse.d.ts: The system cannot find the path specified. (os error 3)
Labels: bug,tsc,jsr

Version: Deno 1.46.3

I am doing some work with langchain, and trying to create a JSR package that contains calls to PDFLoader. THe issue i am running into is:
```
error: Uncaught Error: Unable to load C:\Users\MyUser\AppData\Local\deno\npm\registry.npmjs.org\@langchain\community\0.3.0\src\types\pdf-parse.d.ts: The system cannot find the path specified. (os error 3)
    at Object.getSourceFile (ext:deno_tsc/99_main_compiler.js:648:28)
    at findSourceFileWorker (ext:deno_tsc/00_typescript.js:126064:23)
    at findSourceFile (ext:deno_tsc/00_typescript.js:125980:20)
    at ext:deno_tsc/00_typescript.js:125929:22
    at getSourceFileFromReferenceWorker (ext:deno_tsc/00_typescript.js:125900:26)
    at processSourceFile (ext:deno_tsc/00_typescript.js:125927:5)
    at ext:deno_tsc/00_typescript.js:126221:7
    at forEach (ext:deno_tsc/00_typescript.js:2388:22)
    at processReferencedFiles (ext:deno_tsc/00_typescript.js:126220:5)
    at findSourceFileWorker (ext:deno_tsc/00_typescript.js:126123:9)
```
    
Previously, this was resolved by using a call to `import * as _parse from "npm:pdf-parse@1.1.1";` somewhere in the imports, but that no longer seems to fix the issue... at least it doesn't fix it in the context of tests or deno publish commands.
Repository: PowerToys
Issue: New shortcut in "Shortcut Guide"
Labels: Needs-Triage

### Description of the new feature / enhancement

You should add the Win+Z shortcut along with the window snapping shortcuts.

### Scenario when this would be used?

when opening the Shortcut Guide page.

### Supporting information

_No response_
Repository: godot
Issue: Unable to switch main screen after leaving the editor idle
Labels: bug,topic:editor,needs testing

### Tested versions

Godot v4.3.stable.mono

### System information

Godot v4.3.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 970 (NVIDIA; 32.0.15.6070) - Intel(R) Core(TM) i5-4460  CPU @ 3.20GHz (4 Threads)

### Issue description

After leaving the Godot window unfocused for about 10 minutes, whilst I did other things on the PC, I was no longer able to switch main screens (2D, 3D, Script, AssetLib buttons at the top). Restarting the editor obviously fixes this issue. The video below shows the bug in action, focus on the top of the screen where the main screen buttons are.

https://github.com/user-attachments/assets/0f5d5005-0469-422e-b2e2-dae61bb620bd

Before experiencing the bug for the first time I saved the current scene, pushed all my changes to git, and then had the Godot window unfocused in the background. 

I only have one addon in the project and some custom editor scripts and both of them do not change the editor GUI in any way. I've only tested this bug on my current project, and not on an empty one.

### Steps to reproduce

The steps below produce the bug only 50%-60% of the time.

- Leave the Godot editor window unfocused for at least 10 minutes
- Try pressing the main screen buttons within the editor

### Minimal reproduction project (MRP)

N/A
Repository: rust
Issue: The compiler is unable to select `PartialOrd` implementation to compare `&[u8]` and `&[u8;32]` if `bytes` crate is imported
Labels: A-trait-system,T-compiler,C-bug

I tried this code:

```rust
use bytes::Bytes;

fn main() {
    let hash = Vec::<u8>::new();
    assert!(hash.as_slice() < &[0u8; 32]);
}
```
playground link: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=b54926ee34df82189cedb9ef01de3afb

I expected to see this happen: The code should compile

Instead, this happened: Compilation fails:

```
error[E0277]: can't compare `[u8]` with `[u8; 32]`
 --> src/main.rs:7:29
  |
7 |     assert!(hash.as_slice() < &[0u8; 32]);
  |                             ^ no implementation for `[u8] < [u8; 32]` and `[u8] > [u8; 32]`
  |
  = help: the trait `PartialOrd<[u8; 32]>` is not implemented for `[u8]`, which is required by `&[u8]: PartialOrd<&[u8; 32]>`
  = help: the following other types implement trait `PartialOrd<Rhs>`:
            `&[u8]` implements `PartialOrd<BytesMut>`
            `&[u8]` implements `PartialOrd<bytes::Bytes>`
            `[u8]` implements `PartialOrd<BytesMut>`
            `[u8]` implements `PartialOrd<bytes::Bytes>`
  = note: required for `&[u8]` to implement `PartialOrd<&[u8; 32]>`
```

The code compiles after removing `use bytes::Bytes;`

### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

`rustc --version --verbose`:
```
❯ rustc --version --verbose
rustc 1.81.0 (eeb90cda1 2024-09-04)
binary: rustc
commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c
commit-date: 2024-09-04
host: x86_64-unknown-linux-gnu
release: 1.81.0
LLVM version: 18.1.7
```

It also fails with:
- beta 1.82.0-beta.3 (2024-09-09 4976ae480e2b29cc46f4)
- nightly 1.83.0-nightly (2024-09-16 c52c23b6f44cd1971872)
Repository: vscode
Issue: Multiple cursors + Word wrap
Labels: bug,editor-multicursor

<!-- ⚠️⚠️ 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.93.1
- OS Version: Windows 11

#26393 is still happening, despite having been marked fixed.

https://github.com/user-attachments/assets/9622342d-db90-48f9-b818-b193fdc87f2f


Maybe something has regressed since 2021.
Repository: angular
Issue: Reactive `ComponentRef.setInput`
Labels: feature,area: core,core: inputs / outputs,core: dynamic view creation,cross-cutting: signals

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

core

### Description

If I want to pass signal based data to a `ComponentRef` we have to set the input and create an effect to update the input.

```ts
const counterSignal = signal<number>(0) // signal from store or some service

const counterOverlayRef = createOverlay(); // using CDK Overlay
const counterComponentRef = counterOverlayRef.attach(new ComponentPortal(MyCounterComponent));
counterComponentRef.setInput('count', counterSignal());
effect(() => {
  counterComponentRef.setInput('count', counterSignal());
}, { injector: counterComponentRef.injector }); // using component ref injector to cleanup effect with component
```

### Proposed solution

It would be nice to streamline this by passing the signal itself.

```ts
const counterSignal = signal<number>(0) // signal from store or some service

const counterOverlayRef = createOverlay(); // using CDK Overlay
const counterComponentRef = counterOverlayRef.attach(new ComponentPortal(MyCounterComponent));
counterComponentRef.setInput('count', counterSignal);
```

### Alternatives considered

I see there may be a problem with the auto-detection of signals in the `setInput` method, when the input requires a signal. That's why I would suggest a config flag or separate method.

```ts
counterComponentRef.setInput(counterSignal, { useSignal: true })
counterComponentRef.setInputBySignal(counterSignal)
```
Repository: neovim
Issue: test "server -> client connecting to its own pipe address" deadlocks under wrong XDG configuration
Labels: bug,test,environment,server,system,startup

### Problem

Running the test [server -> client connecting to its own pipe address does not deadlock](https://github.com/neovim/neovim/blob/5792546777332361a9ac49107e46149c703de90e/test/functional/api/server_requests_spec.lua#L387) deadlocks on macos when the environment has `XDG_RUNTIME_DIR=/tmp`.

The value is incorrect, but It still shouldn't deadlock.

### Steps to reproduce

```
export XDG_RUNTIME_DIR=/tmp
TEST_FILE=test/functional/api/server_requests_spec.lua TEST_FILTER='deadlock' make test
```

### Expected behavior

Test passes, it does not deadlock.

### Neovim version (nvim -v)

v0.11.0-dev-724+g439d03174

### Vim (not Nvim) behaves the same?

doesn't apply

### Operating system/version

macos 14.6.1

### Terminal name/version

Kitty 0.36.2

### $TERM environment variable

xterm-256color

### Installation

build from repo
Repository: ui
Issue: [bug]: Dark mode theme selector doesn't animate
Labels: bug

### Describe the bug

Due to `disableTransitionOnChange` from https://github.com/shadcn-ui/ui/blob/main/apps/www/app/layout.tsx#L93, no `dark:` animations will function.

This means that the classes in `ModeToggle` aren't actually doing anything: https://github.com/shadcn-ui/ui/blob/main/apps/www/components/mode-toggle.tsx#L22-L23.

### Affected component/components

ModeToggle

### How to reproduce

Go to https://ui.shadcn.com/docs/dark-mode/next and change the theme. The icon will not animate.

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
N/A
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: vscode
Issue: [BUG] Problem with tooltip hover configuration settings (editor.hover.hidingDelay not working)
Labels: bug,editor-hover

There are 3 main settings for hover configuration. I will list them below, and mention current problems with how they behave:

`editor.hover.sticky` - works as intended
`editor.hover.hidingDelay` - doesn't work, whether `hover.sticky` is on or off, it doesn't do anything
`editor.hover.delay` - works, however when `hover.sticky` is `true`, it also affects the hover hiding delay. Additionally, when you hover over another item that has a tooltip, it takes `hover.delay * 2` to show the tooltip (and hide the current one).

<!-- ⚠️⚠️ 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.91.0
- OS Version: MacOS Sonoma 14.0

Steps to Reproduce:

1. Make sure `editor.hover.sticky` is set to `true`
2. Set `editor.hover.delay` to 1000
3. Set `editor.hover.hidingDelay` to 100
4. Observe the behaviour mentioned above
Repository: PowerToys
Issue: PowerToays Run search results intermittently fails to produce results
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.84.1

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

None. Search intermittently does not produce known results. Other functions (e.g., programs search) works 100%. 

### ✔️ Expected Behavior

Normal search results. 

### ❌ Actual Behavior

No search results for folder/files. Other results (e.g., programs) works correctly. 

### Other Software

_No response_