sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Support virtual desktops on windows
Labels: feature-request,windows,workbench-os-integration,workbench-window,keep

<!-- ⚠️⚠️ 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

<!-- 🪓 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:
- OS Version:

Steps to Reproduce:

1.
2.

Please don't allow el stupido (vscode-triage-bot) to close this!!!

I'm working at a fairly large MSFT site, so if you need upvotes, I'll get them!

Issue Type: Bug

I'm running Windows 11, and have multiple virtual desktops configured. On many of them, I have both VS Code and Google Chrome windows open. When I restart the computer, I exit out of both programs manually first (in VSC, via File -> Exit, and in Chrome, via the hamburger menu -> Exit). Exiting in this manner (instead of using the Close / X button in the top-right corner) closes all the windows of each program together, and allows the session to continue where it left off after reboot (VSC has the same Workspaces and tabs open, Chrome has the same windows and tabs open).

When I relaunch each of these programs, Chrome restores each window to the virtual desktop it had been on before the restart, whereas VSC restores all the workspaces/windows to the current desktop.

I'd love it if VSC could behave like Chrome, and restore each workspace/window to the virtual desktop it was on initially.

VS Code version: Code 1.63.0 (https://github.com/microsoft/vscode/commit/7db1a2b88f7557e0a43fec75b6ba7e50b3e9f77e, 2021-12-07T06:26:56.179Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No
Fetching remote diagnostics for 'wsl+ubuntu' timed out.
Remote OS version: Linux x64 5.10.60.1-microsoft-standard-WSL2

System Info
Extensions (29)
A/B Experiments
Repository: rust
Issue: Specialized associated type doesn't have impls that it should have
Labels: A-trait-system,T-compiler,C-bug,requires-nightly,F-specialization

I tried this code:

```rust
#![feature(specialization)]

trait One {
    type Output;
}

impl<T> One for T {
    default type Output = i32;
}

impl One for f32 {
    type Output = f32;
}

trait Two {
    type Output;
}

impl Two for i32 {
    type Output = String;
}

impl Two for f32 {
    type Output = Vec<()>;
}

type Whatever<T> = <<T as One>::Output as Two>::Output;

fn main() {
    let t: Whatever<Vec<i32>> = String::from("123");
}
```

I expected to see this happen: It compiles, [as it does with Chalk](https://godbolt.org/z/3sdr9fP38)

Instead, this happened: [It doesn't compile](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=146b1031568c354a13a85050af419733)
Repository: vscode
Issue: Display readme in local language
Labels: feature-request,extensions,marketplace

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->
Hi,
I have translated readme.md (for my extension) in other language and named like readme.fr.md or readme-fr.md or readme_fr.md but unable to display it.
If this function don't exist coul'd you add it. Or if this already exist can you explain or give a link please.
Thank's
Repository: next.js
Issue: Text inside `next-route-announcer` can be copied to clipboard
Labels: Navigation,linear: next

### Verify canary release

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

### Provide environment information

    Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:29 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T8101
    Binaries:
      Node: 16.15.1
      npm: 8.11.0
      Yarn: 1.22.17
      pnpm: 7.3.0
    Relevant packages:
      next: 12.1.7-canary.44
      react: 18.2.0
      react-dom: 18.2.0

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

Version 102.0.5005.115 (Official Build) (arm64)

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

next start and/or next export

### Describe the Bug

Text inside `next-route-announcer` can be copied to clipboard via `CMD`+`A` and then `CMD`+`C` (Mac).

While the text inside `next-route-announcer` is hidden from view, it can still be copied to clipboard. This can occur if a user selects all text on the page, and also occasionally if the Next.js application manipulates text selection near the bottom of the page.

### Expected Behavior

Text inside `next-route-announcer` should not be available to the clipboard.

(I would have filed a PR myself, but thus far I'm unable to build latest canary with `pnpm`, owing to what looks like a node-sass error)

### Link to reproduction

https://github.com/zgreen/nextjs-user-select-bug

### To Reproduce

You must trigger a route change for this issue to occur.

Using the reproduction link provied:

1. Start the application with `npm run dev`
2. Click on the "test" text at the very top of the page (this will trigger a route change)
3. Select all text via `CMD`+`A` and then `CMD`+`C` (Mac)
4. Observe that the clipboard text is now `hello!hello!`, despite the fact that the text `hello!` only appears once on the page. This is because the next inside `next-route-announcer` has also been copied.

This can be easily remedied using [`user-select`](https://developer.mozilla.org/en-US/docs/Web/CSS/user-select), added as an inline-style [here](https://github.com/vercel/next.js/blob/canary/packages/next/client/route-announcer.tsx#L42) (I've used a similar approach with a global stylesheet to fix this issue on my own sites.

Again, happy to submit a PR if I can figure out a way around the node-sass build failure.

Thanks!
Repository: create-react-app
Issue: Add Jest Haste configuration options to create-react-app (or allow symlink support)
Labels: issue: proposal,needs triage

### Is your proposal related to a problem?

I am working in a create-react-app project that for reasons out of my control uses symlinks. This is particularly causing problems with Jest since it's file-finding library ( I think jest-haste-map) doesn't support symlinks without additional configuration.

With pure jest, there is a configuration `haste.enableSymlinks` which I could potentially use to work around this. For create-react-app, I went ahead and tried configuring it in the package.json:

```
  "jest": {
    "haste": {
      "enableSymlinks": true
    }
  },
```

and got back the following error message

```
Out of the box, Create React App only supports overriding these Jest options:

  • clearMocks
  •  Many others listed....


These options in your package.json Jest configuration are not currently supported by Create React App:

  • haste

If you wish to override other Jest options, you need to eject from the default setup. You can do so by running npm run eject but remember that this is a one-way operation. You may also file an issue with Create React App to discuss supporting more options out of the box.
```


### Describe the solution you'd like

Is there any way we could allow CRA to support Jest's `haste` rule or at least `haste.enableSymlinks`. I have been using and working with react-scripts for most of our pipelines, but this one issue with symlinks is forcing me to either do an eject or to do something more manual (configure my own jest). In other words, I feel like I'm bending over backwards to workaround this one issue.


### Describe alternatives you've considered

Say that configuring haste from CRA is too problematic or difficult and that people dealing with symlinks need to eject or configure their own testing pipeline. I'm not against this, I truly don't know how easy/complicated this request is.

### Additional context

If you're wondering why I have symlinks, it is because I'm using react-scripts with Google's Bazel.
Repository: youtube-dl
Issue: Can't download/Impossible de charger une video france.tv. Json erreur
Labels: broken-IE,duplicate

ERROR: Unable to download JSON metadata: HTTP Error 503: Service Unavailable (caused by <HTTPError 503: 'Service Unavailable'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
<!--
on this site

bash-5.1$ youtube-dl https://www.france.tv/france-2/the-tourist/the-tourist-saison-1/3524044-episode-2.html
[FranceTVSite] 3524044-episode-2: Downloading webpage
[FranceTV] 405c2d3d-a9f1-4d95-820e-4979e7b7d810: Downloading video JSON

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- Look through the README (http://yt-dl.org/readme) and FAQ (http://yt-dl.org/faq) for similar questions
- Search the bugtracker for similar questions: http://yt-dl.org/search-issues
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm asking a question
- [ ] I've looked through the README and FAQ for similar questions
- [ ] I've searched the bugtracker for similar questions including closed ones


## Question

<!--
Ask your question in an arbitrary form. Please make sure it's worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient.
-->

WRITE QUESTION HERE
Repository: flutter
Issue: RangeError: RangeError (startIndex): Invalid value: Only valid value is 0: 5
Labels: a: text input,c: crash,framework,P2,team-framework,triaged-framework

Seems similar issue as https://github.com/flutter/flutter/issues/100040 but that one got locked for inactivity.

Happened in production for one user, stacktrace below:
```
RangeError: RangeError (startIndex): Invalid value: Only valid value is 0: 5
  File "errors.dart", line 351, in RangeError.checkValidRange
  File "characters_impl.dart", line 449, in new StringCharacterRange.at
  File "editable_text.dart", line 3824, in _CharacterBoundary.getTrailingTextBoundaryAt
  File "editable_text.dart", line 4015, in _DeleteTextAction._expandNonCollapsedRange
  File "editable_text.dart", line 4027, in _DeleteTextAction.invoke
  File "actions.dart", line 1696, in _OverridableContextAction.invokeDefaultAction
  File "actions.dart", line 1559, in _OverridableActionMixin.invoke
  File "actions.dart", line 571, in ActionDispatcher.invokeAction
  File "shortcuts.dart", line 755, in ShortcutManager.handleKeypress
  File "shortcuts.dart", line 956, in _ShortcutsState._handleOnKey
  File "focus_manager.dart", line 1687, in FocusManager._handleKeyMessage
  File "hardware_keyboard.dart", line 828, in KeyEventManager._dispatchKeyMessage
  File "hardware_keyboard.dart", line 875, in KeyEventManager.handleRawKeyMessage
  File "platform_channel.dart", line 77, in BasicMessageChannel.setMessageHandler.<fn>
  File "platform_channel.dart", line 76, in BasicMessageChannel.setMessageHandler.<fn>
  File "binding.dart", line 380, in _DefaultBinaryMessenger.setMessageHandler.<fn>
  File "binding.dart", line 377, in _DefaultBinaryMessenger.setMessageHandler.<fn>
  File "hooks.dart", line 190, in _invoke2.<fn>
  File "zone.dart", line 1426, in _rootRun
  File "zone.dart", line 1328, in _CustomZone.run
  File "zone.dart", line 1236, in _CustomZone.runGuarded
  File "hooks.dart", line 189, in _invoke2
  File "channel_buffers.dart", line 42, in _ChannelCallbackRecord.invoke
  File "channel_buffers.dart", line 132, in _Channel.push
  File "channel_buffers.dart", line 329, in ChannelBuffers.push
  File "platform_dispatcher.dart", line 589, in PlatformDispatcher._dispatchPlatformMessage
  File "hooks.dart", line 89, in _dispatchPlatformMessage
```

## Steps to Reproduce

No known reproduction steps at the moment

Happened on Flutter 3.0.0 on an Android 12, model SM-A526B
Repository: rust
Issue: Give a better error when an impl block implicitly requires `Sized`
Labels: A-diagnostics,A-DSTs,T-compiler

Given the following code: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=277b0605705776743255b4aa99055334

```rust
use core::fmt::Display;

struct S<T: ?Sized> {
    inner: Box<T>,
}

impl<T> S<T> {
    fn foo(&self) {}
}

fn main() {
    let x: S<dyn Display> = S { inner: Box::new(0) as _ };
    x.foo();
}
```

The current output is:

```
error[E0599]: the method `foo` exists for struct `S<dyn std::fmt::Display>`, but its trait bounds were not satisfied
   --> src/main.rs:12:7
    |
2   |   struct S<T: ?Sized> {
    |   ------------------- method `foo` not found for this
...
12  |       x.foo();
    |         ^^^ method cannot be called on `S<dyn std::fmt::Display>` due to unsatisfied trait bounds
    |
    = note: the following trait bounds were not satisfied:
            `dyn std::fmt::Display: Sized`
```

<!-- The following is not always necessary. -->
Ideally the output should look like:

```
error[E0599]: the method `foo` exists for struct `S<dyn std::fmt::Display>`, but its trait bounds were not satisfied
   --> src/main.rs:12:7
    |
2   |   struct S<T: ?Sized> {
    |   ------------------- method `foo` not found for this
...
12  |       x.foo();
    |         ^^^ method cannot be called on `S<dyn std::fmt::Display>` due to unsatisfied trait bounds
    |
    = note: the following trait bounds were not satisfied:
            `dyn std::fmt::Display: Sized`
note: implicitly required by the following `impl` block:
 7 | impl<T> S<T> {
    = help: consider relaxing the implicit `Sized` restriction
 7 | impl<T: ?Sized> S<T> {
           ++++++++
```

This already exists for free functions; not sure why it's broken above. https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=4c7a6a69f9678c4ea5b410431e201c8c
<!--
If dramatically different output is caused by small changes, consider also
adding them here.

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. The output might also be
different depending on the Edition.
-->
Repository: flutter
Issue: Flutter web : How to build in a single Flutter project a build for Chrome Extension and for Browser
Labels: platform-web,a: build,P3,browser: chrome-desktop,team-web,triaged-web

Flutter allows to build app for browsers and for chrome extension BUT, the structure of index.html is not the same between these 2 builds.
Is it possible to build 2 apps in a single project ?
Repository: angular
Issue: Typed FormGroup reset() does not accept FormState type
Labels: area: forms,state: confirmed,P3,bug,forms: strictly typed

### Which @angular/* package(s) are the source of the bug?

forms

### Is this a regression?

No

### Description

Hello, I found a small issue with typed FormGroup (which I love). Typescript does not allow form state in `reset()` method. So it is not allowed to do something like this:
```TS
this.formGroup.reset({
  first: { value: 'name', disabled: true },
  last: 'last'
});
```
As a workaround we can do `as any` casting. Probably it would be necessary to introduce `ɵFormGroupState` type.

Here is related code:
https://github.com/angular/angular/blob/88e16553e88356339db4fbc6aa1b78a9dfdfc8d2/packages/forms/src/model/form_group.ts#L473-L492

### Please provide a link to a minimal reproduction of the bug

_No response_

### Please provide the exception or error you saw

_No response_

### Please provide the environment you discovered this bug in (run `ng version`)

```true
Angular CLI: 14.0.2
Node: 16.15.1
Package Manager: npm 8.12.2
OS: win32 x64

Angular: 14.0.2
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, localize, material, material-moment-adapter
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1400.2
@angular-devkit/build-angular   14.0.2
@angular-devkit/core            13.3.6
@angular-devkit/schematics      13.3.6
@angular/flex-layout            13.0.0-beta.38
@schematics/angular             14.0.2
rxjs                            7.5.5
typescript                      4.7.4
```


### Anything else?

_No response_
Repository: bitcoin
Issue: Ability to broadcast wallet transactions only via dedicated oneshot Tor connections
Labels: Feature,Wallet,P2P

It would be nice to have an option to never add your own transactions to the mempool directly and/or broadcast them individually only via a oneshot Tor connection.

This is essentially important for users who need blocksonly mode, who would otherwise be forced to choose between being unable to send transactions at all or harming their privacy by only broadcasting their own.

Related Twitter thread: https://twitter.com/alpacasw/status/1539660524543045633?t=5DSn3bUEb-AvQ-pPb0GXXg&s=19
Repository: rust
Issue: Tracking issue for `--extern noprelude`
Labels: C-tracking-issue

This is a tracking issue for the `noprelude` CLI option for `--extern`.

Docs: https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/extern-options.html

This option prevents adding the given crate to the [extern prelude](https://doc.rust-lang.org/nightly/reference/names/preludes.html#extern-prelude).

The syntax is `[opts ':'] name ['=' path]` where `opts` is a comma separated list of options:

```
--extern noprelude:core=/path/to/libcore.rlib
```

This is used by the [build-std project](https://github.com/rust-lang/wg-cargo-std-aware/) to simulate compatibility with sysroot-only crates.

See also #98399 and #98400 which share this syntax extension.

### About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

### Steps

- [X] Implementation: #67074
- [ ] Adjust documentation ([see instructions on rustc-dev-guide][doc-guide])
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])

[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs

### Unresolved Questions

* [ ] This probably shouldn't be stabilized until build-std is closer to stabilization, or there are other users where this is a clear benefit.

* [ ] The syntax for adding options to `--extern` flags was added without much bikeshedding or discussion. It may need adjusting to be more flexible for more complex options.

### Implementation history

- #67074
Repository: rust
Issue: Tracking issue for `--extern priv`
Labels: C-tracking-issue

This is a tracking issue for the `priv` CLI option for `--extern`.

* Docs: https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/extern-options.html
* RFC: https://rust-lang.github.io/rfcs/1977-public-private-dependencies.html

This option marks the given crate as "private" which is used by the [`exported_private_dependencies`](https://doc.rust-lang.org/nightly/rustc/lints/listing/warn-by-default.html#exported-private-dependencies) lint.

The syntax is `[opts ':'] name ['=' path]` where `opts` is a comma separated list of options:

```
--extern priv:foo=/path/to/libfoo.rlib
```

See also #98398 and #98400 which share this syntax extension.

### About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

### Steps

- [X] Implementation: #67074
- [ ] Adjust documentation ([see instructions on rustc-dev-guide][doc-guide])
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])

[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs

### Unresolved Questions

* [ ] The syntax for adding options to `--extern` flags was added without much bikeshedding or discussion. It may need adjusting to be more flexible for more complex options.

### Implementation history

- #67074
Repository: rust
Issue: Tracking issue for `--extern nounused`
Labels: C-tracking-issue

This is a tracking issue for the `nounused` CLI option for `--extern`.

* Docs: https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/extern-options.html

This option marks the given crate so that it does not trigger [`unused_crate_dependencies`](https://doc.rust-lang.org/nightly/rustc//lints/listing/allowed-by-default.html#unused-crate-dependencies) warnings for the crate.

This is useful if the given crate *might* be unused, but shouldn't cause a warning.
For example, when using `--extern` to link with standard library crates, and the user does not explicitly use one of those crates.

The syntax is `[opts ':'] name ['=' path]` where opts is a comma separated list of options:

```
--extern nounused:foo=/path/to/libfoo.rlib
```

See also #98398 and #98399 which share this syntax extension.

### About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

### Steps

- [X] Implementation: #96067
- [ ] Adjust documentation ([see instructions on rustc-dev-guide][doc-guide])
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])

[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs

### Unresolved Questions

* [ ] The syntax for adding options to `--extern` flags was added without much bikeshedding or discussion. It may need adjusting to be more flexible for more complex options.

### Implementation history

- #96067