sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Allow to move workspace state
Labels: feature-request,workbench-state,workbench-workspace

There is a almost 6 years old question on the topic on Stack Overflow:
[How to move a Visual Studio Code workspace to a new location painlessly?](https://stackoverflow.com/questions/52056826/how-to-move-a-visual-studio-code-workspace-to-a-new-location-painlessly)
All the answers there are painful and describe a hacks as there is no official way provided of doing that.

<!-- ⚠️⚠️ 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. -->
- Version: 1.85.1
- OS: Linux x64 6.2.0-39-generic snap
Repository: TypeScript
Issue: Find All References does not report references in mapped types
Labels: Suggestion,Help Wanted,Experience Enhancement

### 🔎 Search Terms

- find all references mapped type

### 🕗 Version & Regression Information

- This is the behavior in every version I tried, and I reviewed the FAQ for entries about (n/a)

TypeScript Version 5.3.3


### ⏯ Playground Link

https://www.typescriptlang.org/play?#code/KYDwDg9gTgLgBASwHY2FAZgQwMbDgGQVSkwBs4BvAKDlrgGtkATALjgCJSi0z2BuGnQBuZAK7A2SUQFsARmgEBfKqEiw4MAJ5g8AUXBQ4AXgLcSpASvDR4WnXABqCAM5FoAWUxgdTY5UG0ANoA0syISHD6YFCB7IxITOwAuklsABSqUGz6MCTYMAA8UVAANJQMzGyhCXCKAHwAlMZ1cFJyClSKlqo2Gtp4Tq4w0AAiCFDA+X7UdHBcxGTpmWyEC6RNRi1t8lBKVFZq8NikmM7OcACSKGjRwMSe3sC+CNJgpMDSwCjng25QDz5-LMAPTAuCAXg3ACh7cAA4hANPCAErAdBoL64c4QCKcMy8DSYejAc6aCCiBEaAAWLjmyGAZSQEFs8K4SDwAA4AHQBGlrDIGFa49aSGQ7IGzOgTGCiKARTIckSkcQCWbKZQHXrHU7nK7EW7EMYTKYvN4fL4wH4uP4GybwGZ0UEQwD1O7D4cM4MjURMkBi4FiOPMeKR2HBnBSIAB3OAkskwKnnFl4TA1BNwACMACZuQHzHzogK1g1he1DHbxXBJdLZQZ5WJgMq6KqqEA

### 💻 Code

```ts
export interface Literal {
    kind: "literal";
    value: number;
}
export type Expr = Literal;

export type VisitorMapped = {
    [Kind in Expr["kind"]]: (expr: Extract<Expr, { kind: Kind }>) => number;
};

export type VisitorDirect = {
    literal: (expr: Literal) => number;
}

export class InterpreterMapped implements VisitorMapped {
    // 😔 Go to References on "literal" takes you to this line, not to line 8.
    literal(expr: Literal): number {
        return expr.value;
    }
}

export class InterpreterDirect implements VisitorDirect {
    // 💯 Go to References on "literal" show you this line and line 12
    literal(expr: Literal): number {
        return expr.value;
    }
}
```


### 🙁 Actual behavior

"Go to References" / "Find All References" has different behaviors for the two `literal`s:

- for `literal` in `InterpreterDirect` it shows two references (in `VisitorDirect` and `InterpreterDirect`)
- for `literal` in `InterpreterMapped` it only shows the reference in `InterpreterMapped`, not in `VisitorMapped`.

### 🙂 Expected behavior

I'd expect "Go to References" / "Find All References" to report two references for both of the `literal`s. The mapped type _is_ a reference, even if it doesn't contain the identifier "literal" directly.

### Additional information about the issue

This came up with Knip, which uses "find all references" to detect dead code. In this case this behavior caused a false positive: https://github.com/webpro/knip/issues/450

Possibly related to https://github.com/microsoft/TypeScript/issues/44643
Repository: PowerToys
Issue: Subject: UI Issues in Half-Window and Full-Window Modes
Labels: Needs-Triage

### Description of the new feature / enhancement

Description:

I'm encountering several UI issues related to the tree pane and dashboard buttons in both half-window and full-window modes.


### Scenario when this would be used?

Issues:

Half-Window Mode:

Tree Pane Behavior:
The tree pane is completely closed instead of minimizing to a small icon with a hover-over display.
When opened, it overlaps the existing screen, leaving the right side vacant. The main work area should shift to the right to accommodate the open tree pane.
Full-Window Mode:

Tree Pane Display:

The tree pane sometimes only shows the logo, not the complete tree structure.
Dashboard Button Fixation:

The "Home" and "Settings" buttons on the upper segment of the dashboard are not fixed in position like the lower buttons ("Welcome," "What's New," and "Feedback").
Additional Inconsistency:

Tree Pane Persistence:
If the tree pane is closed in small size and the user switches to full-window mode, it auto-adjusts correctly.
However, if the tree pane is open in small size and the user switches to full-window mode, it remains in its mini version (logo only).



### Supporting information

Expected Behavior:

Tree pane should minimize to a small icon with hover-over display in half-window mode.
Main work area should shift to the right when the tree pane is open.
Tree pane should always display its full structure in full-window mode.
All dashboard buttons should be fixed in their positions.
Tree pane behavior should be consistent across window size changes.
Environment:

Operating System: [Specify your operating system]
Browser: [Specify your browser and version] (if applicable)
Application Version: [Specify the application version]
Additional Information:

Here are some screenshots that demonstrate the issues:

![image](https://github.com/microsoft/PowerToys/assets/75384331/cc5f0ed0-aad6-43ac-9201-2a33dd8c9ac0)
![image](https://github.com/microsoft/PowerToys/assets/75384331/d4dd1e97-8a2e-4e11-9fd1-d772cee9733a)
![image](https://github.com/microsoft/PowerToys/assets/75384331/4fc83ada-7ea9-46d2-aeaf-cf491a9974ae)
![image](https://github.com/microsoft/PowerToys/assets/75384331/6593bdc6-c8c7-4589-8e03-0366c3cd2dfa)
![image](https://github.com/microsoft/PowerToys/assets/75384331/59de00e6-676a-4985-9ae0-dd5cb41a9011)


Request:

Please address these UI issues to improve the overall user experience.
Repository: ant-design
Issue: When we are calling more than one notifications, its stucking in ui and than rendering
Labels: Inactive,improvement

### Reproduction link

[https://stackblitz.com/edit/antd-notification-whhkpr?file=index.js](https://stackblitz.com/edit/antd-notification-whhkpr?file=index.js)

### Steps to reproduce

Just call notications more than twice at same time

### What is expected?

A smooth notification render on ui

### What is actually happening?

First it is stucking and show weird behaviour and than its rendering

| Environment | Info |
| --- | --- |
| antd | 5.13.2 |
| React | 18.2.0 |
| System | Windows 10 |
| Browser | Google Chrome |

---
Go to https://stackblitz.com/edit/antd-notification-whhkpr?file=index.js
And than preview yourself

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: PowerToys
Issue: Incorrectly listens to `alt (right)` when non EN-US keyboard is on.
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.77.0

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

0. Running on Windows 11, my display and first installed language is EN-US.
1. Install another keyboard in Windows Settings. I consistently reproduce it with several layouts, be Latin-based Turkish, Cyrillic-based Russian, or, amazingly, even English UK.
2. Switch OS to the other keyboard (i.e. non EN-US).
3. In _Keyboard Manager_ settings open "Remap Shortcuts" window. Click _"➕ Add shortcut remapping"_, on the new entry click _"select"_ button. The listening modal UI appears.
4. Press `alt (right)` key.

### ✔️ Expected Behavior

It should register only `alt (right)` which is being actually pressed.

### ❌ Actual Behavior

It registers `ctrl (left)` as well (first).

So, say I want to bind `alt (right)`+`к` to type Cyrillic letter `ҡ`. I proceed with `ctrl (left)` added anyway (the bug). When I hold all the 3 keys it works correctly. However, it _also_ allows me to type the letter even with just `alt (right)`+`к`, but only for the first tap of the latter (similar to #4647).

The bug doesn't occur with seemingly any other key, only with `alt (right)`. 

### Other Software

_No response_
Repository: material-ui
Issue: [joy-ui][Autocomplete] Unable to change the border/outline color on focus
Labels: on hold,component: autocomplete,package: joy-ui,support: docs-feedback

### Related page

https://mui.com/joy-ui/react-autocomplete/

### Kind of issue

Other

### Issue description

I don't believe its possible to change the outline/border color of an Autocomplete component when its clicked into. I'm able to change all other props by either overriding them or creating a new theme. But when selected, the border color will always default to the the main color of the palette (i.e. success: dark green, primary: blue etc...) I've tried overriding the palette in my themes.ts (tried every single prop), and I've even tried creating an entirely new theme. Both of these features work great, I'm able to customize the text color, background, etc... But the on focus border color seems unchangeable.

### Context

I'd like to be able to customize the on focus border/outline color 

**Search keywords**: Autocomplete, Border, Outline
Repository: neovim
Issue: arch: eliminate "provider" pattern in favor of Lua hooks (monkey-patching)
Labels: enhancement,refactor,provider,lua,architecture

### Problem

The old `{runtime}/provider/*` pattern should be deprecated because:

- Since Lua was introduced, it's now unnecessary because Lua monkey-patching works just as well.
- Lua monkey-patching is more flexible because it allows stacking or "inheritance". The old "provider" pattern could not be "stacked": if you override `clipboard.vim` you can't re-use the builtin functionality, you must reimplement the entire thing.
    -  Plus potential [future enhancements](https://github.com/neovim/neovim/pull/22598)

So the "provider" pattern  is an unnecessary concept that adds cognitive overhead for Nvim users.

### Expected behavior

- Move all the old providers to ~~vim.ui~~ `vim.os` (~~vim.ui is probably a fine place for all providers to live~~ (after more thought, `vim.ui` is probably too confusing to overload for this purpose; introduce `vim.os` instead for clipboard/etc.)).
- Remove support for the old `{runtime}/provider/*` concept, and related documentation.
    - For back-compat, it's probably not too difficult to shim the old `provider#clipboard#Call()` to the new module.
Repository: godot
Issue: [mac] Godot Editor Stops Responding When Trying to Save & Close After Moving Project Location
Labels: bug,platform:macos,topic:editor,crash

### Tested versions

v4.2.1.stable.official [b09f793f5]

### System information

Mac 14.2.1 (23C71) - Apple M1 Max 

### Issue description

When editing a Godot project and moving the project folder outside the editor (ex: rename the root project folder), attempting to save-and-quit results in an unresponsive app that I need to force-quit to close.

### Steps to reproduce

1. Create a project
2. Confirm project in file location
3. Edit project
  a. Change something in project so a save will need to trigger when trying to close
4. In terminal, change the project folder to new name (ex: `test` -> `test_changed`)
5. From the Godot editor, hit Cmd + Q to initiate a close
6. Click `Save & Close`
7. Observe beachball of death as the application stops responding


Side note: I have been able to reproduce this a few times, but once it had a pop-up saying that the project had moved, but upon clicking `Ok` button, the same unresponsiveness happened

### Minimal reproduction project (MRP)

Works on any newly created project from (I tested on 4.2.1 and it had the same behavior regardless of render type)

[test.zip](https://github.com/godotengine/godot/files/14002782/test.zip)
Repository: svelte
Issue: Item just disappear when finishing with render 
Labels: awaiting submitter,transition/animation

### Describe the bug

I rendering a list of array using #each method and animations, but somehow after finishing the animation, some items just randomly disappear.

When running on my windows, everything works fine. But on mac or ios, the items start to disappear.

### Reproduction


https://github.com/sveltejs/svelte/assets/51492960/41f363ee-9077-416b-8a75-f6624a0c1047

https://github.com/CutieCat6778/portfolio

https://thinis.de

### Logs

_No response_

### System Info

```shell
Works fine on:

Windows 11, with the same configuration (checkout package.json)

Doesn't work on:

Macbook Air 2019, Iphone 15 pro.
```


### Severity

blocking all usage of svelte
Repository: electron
Issue: [Feature Request]:  Frameless window - Empty titlebar displayed when window is full-screened
Labels: enhancement :sparkles:,platform/macOS,component/BrowserWindow

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

28.1.4

### What operating system are you using?

macOS

### Operating System Version

MacOS Ventura 13.5

### What arch are you using?

arm64 (including Apple Silicon)

### Last Known Working Electron version

_No response_

### Expected Behavior

When you hover the top of screen, no titlebar should appear ontop of fullscreen frame-less window.

### Actual Behavior

When you hover top of screen, empty native titlebar appears ontop of full-screened frameless window.
<img width="1728" alt="Screenshot 2024-01-21 at 10 03 46 PM" src="https://github.com/electron/electron/assets/31227781/decf72fd-5160-494d-8f2e-0436c65b249b">


### Testcase Gist URL

_No response_

### Additional Information

Problematic for any app that has their own custom titlebar because the empty non-functional native one covers the custom one.
Repository: ant-design
Issue: [bug] virtual table, showing a gap in the group column
Labels: 🐛 Bug,Inactive

### Reproduction link

[https://stackblitz.com/edit/react-wwfhyb?file=demo.tsx](https://stackblitz.com/edit/react-wwfhyb?file=demo.tsx)

### Steps to reproduce

or try: https://ant.design/components/table#components-table-demo-virtual-list

1. click the first row ID=0 (it is ok, no gap in group column)
2. next click the next row ID=1 (it is not ok, a gap in the row on group column)

look at the the table there is a gap in the group column

### What is expected?

i want to seeing rows in complete. So no gap in the column groups.

### What is actually happening?

The IDs 1,2,3 are showing a gap in the groups.
The IDs 4 is ok but the IDs 5,6,7 seeing gap as well and so one

| Environment | Info |
| --- | --- |
| antd | 5.13.2 |
| React | React 18.2.0 |
| System | Windows 11 |
| Browser | Version 120.0.6099.225 |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
OK
![ant-design-virtual-table-1-OK](https://github.com/ant-design/ant-design/assets/25293774/d9c1f89e-b8fa-486a-97ca-b0df8fc95be1)

NOT OK
![ant-design-virtual-table-2-NOT-OK](https://github.com/ant-design/ant-design/assets/25293774/bf287c9f-38b6-4e68-ad97-8401f315cfde)
Repository: pytorch
Issue: aten::slow_conv3d_forward still missing from MPS
Labels: triaged,module: mps

### 🐛 Describe the bug

Following MPS Conv3d implementation and closing of previous related issues, using `aten::slow_conv3d_forward` with MPS still throws an error in the latest nightly. 

`The operator 'aten::slow_conv3d_forward' is not currently implemented for the MPS device. If you want this op to be added in priority during the prototype phase of this feature, please comment on https://github.com/pytorch/pytorch/issues/77764. As a temporary fix, you can set the environment variable `PYTORCH_ENABLE_MPS_FALLBACK=1` to use the CPU as a fallback for this op. WARNING: this will be slower than running natively on MPS.`

### Versions

PyTorch version: 2.3.0.dev20240121
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: macOS 14.2.1 (arm64)
GCC version: Could not collect
Clang version: 15.0.0 (clang-1500.1.0.2.5)
CMake version: version 3.28.1
Libc version: N/A

Python version: 3.10.13 (main, Jan 21 2024, 13:13:22) [Clang 15.0.0 (clang-1500.1.0.2.5)] (64-bit runtime)
Python platform: macOS-14.2.1-arm64-arm-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Apple M2 Max

Versions of relevant libraries:
[pip3] numpy==1.24.1
[pip3] onnxruntime==1.16.3
[pip3] onnxruntime-silicon==1.16.0
[pip3] torch==2.3.0.dev20240121
[pip3] torchaudio==2.2.0.dev20240121
[pip3] torchvision==0.18.0.dev20240121
[conda] Could not collect

cc @kulinseth @albanD @malfet @DenisVieriu97 @razarmehr
Repository: rust
Issue: Casts, including "no-op" casts, are not in-place
Labels: A-docs,C-bug

According to the [Rust Reference](https://doc.rust-lang.org/reference/expressions/operator-expr.html#numeric-cast), integer casts to other integers of the same width (e.g. `i32 -> u32`) are a no-op. With that in mind, I would expect the following code to pass the assertion.

([Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=cdec1c100730004a045beca99517dd28))
```rust
fn main() {
    let mut val: usize = 42;
    unsafe {
        modify(&mut (val as usize));
    };
    assert_eq!(val, 0);
}

unsafe fn modify(val: *mut usize) {
    unsafe { *val = 0 };
}
```

This issue originally came about doing pointee casting to call a C function that had this signature:
```c
void my_free(void **ptr);
```
It didn't occur to me that the pointer cast in order to call it was what was causing unexpected behavior until quite a bit of debugging. As far as I can tell, these semantics are mentioned nowhere in the Rust Reference, nor the Rustonomicon.

When optimized, it appears that LLVM decides that this just always fails the assertion, and it doesn't mark the whole function as unreachable.

It's also worth noting that rustc does warn about `val` having an unused `mut`.

I'm not sure if this entails a language semantics change, or just a documentation and/or lint change, but either way this behavior is both unexpected and undocumented.

### Meta
Occurs on both stable and latest nightly
`rustc --version --verbose`:
```
rustc 1.75.0 (82e1608df 2023-12-21)
binary: rustc
commit-hash: 82e1608dfa6e0b5569232559e3d385fea5a93112
commit-date: 2023-12-21
host: x86_64-unknown-linux-gnu
release: 1.75.0
LLVM version: 17.0.6
```
```
rustc 1.77.0-nightly (88189a71e 2024-01-19)
binary: rustc
commit-hash: 88189a71e4e4376eea82ac61db6a539612eb200a
commit-date: 2024-01-19
host: x86_64-unknown-linux-gnu
release: 1.77.0-nightly
LLVM version: 17.0.6
```
Repository: angular
Issue: SwPush.messages and SwPush.notificationClicks don't work properly on iOS
Labels: area: service-worker,iOS

### Which @angular/* package(s) are the source of the bug?

service-worker

### Is this a regression?

No

### Description

The `messages` Observable from `SwPush` doesn't seem to emit anything when using Push API on iOS. The notifications are correctly set up (and they work) but comparing Windows, Android and iOS side by side shows that only iOS doesn't receive updates on `SwPush.messages`.
`SwPush.notificationClicks` does work but only when the app is closed and you swipe right on the notification to activate the "open" option. Tapping on the notification (or swiping right) while the client app is actively running doesn't make `notificationClicks` to emit.

### Please provide a link to a minimal reproduction of the bug

https://github.com/StefanNedelchev/ng-web-push

### Please provide the exception or error you saw

```true
No errors are being thrown in the process.
```


### Please provide the environment you discovered this bug in (run `ng version`)

```true
Angular CLI: 17.2.0
Node: 20.11.1
Package Manager: npm 10.4.0
OS: linux x64

Angular: 17.2.1
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
... service-worker

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1702.0
@angular-devkit/build-angular   17.2.0
@angular-devkit/core            17.2.0
@angular-devkit/schematics      17.2.0
@angular/cli                    17.2.0
@schematics/angular             17.2.0
rxjs                            7.8.1
typescript                      5.3.3
zone.js                         0.14.4
```


### Anything else?

The repo for reproduction is also deployed here https://ng-web-push-example.netlify.app for testing (check the readme for explanation). I'm testing this on a real iPhone with iOS v17.2.1 (latest at the moment)
Repository: node
Issue: Use system certificate store when running under Windows
Labels: feature request

### What is the problem this feature will solve?

Currently, when servers present certificates that are signed by a self-signed CA (e.g. a corporate HTTPS inspection firewall, or an internal NPM registry) AND the CA certificate is present in the Windows certificate store, the connection will fail due to CA root verification. This is most noticeable when installing packages via NPM behind corporate proxies - ending up in installation failing due to cert verification.

### What is the feature you are proposing to solve the problem?

In OpenSSL 3.2, support was added to use the Windows cert store as OpenSSL's CA store. While node currently doesn't use 3.2, when it eventually makes the move I would suggest defaulting the cert store to `org.openssl.winstore://` - allowing any CA root certs to be picked up from the system.

### What alternatives have you considered?

 - Manually extract certificates from the Windows certificate store and pass to OpenSSL on process init (may require privilege escalation, no thanks)
 - Export all Windows certificates and load them using `NODE_EXTRA_CA_CERTS` (works, but would be one less thing to worry about if the Windows cert store was used)
Repository: terminal
Issue: Atlas Engine fails to colour a character at certain text sizes
Labels: Product-Conhost,Help Wanted,Issue-Bug,Needs-Tag-Fix,Area-AtlasEngine

### Windows Terminal version

1.18.3181.0

### Windows build number

10.0.22631.0

### Other Software

starship 1.17.1

### Steps to reproduce

- Install starship on PowerShell
- Use the following config (at %userprofile%\\.config\starship.toml): [starship.zip](https://github.com/microsoft/terminal/files/14003159/starship.zip)
- Use the following font: [MonoLisaNerdFont-Regular.zip](https://github.com/microsoft/terminal/files/14003157/MonoLisaNerdFont-Regular.zip)


Attempt with AtlasEngine text renderer set to off and you should notice that it no longer fails to colour the character.

### Expected Behavior

Arrow should stay green.

### Actual Behavior


https://github.com/microsoft/terminal/assets/98427312/8f2fee76-2491-4568-89a2-dd875e4d7ab8