sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: rust
Issue: compiletest silently fails on a name-value directive with a known name but missing colon but does not report an error
Labels: A-testsuite,T-compiler,C-bug,A-compiletest

compiletest expects that a name-value directive, like `//@ revisions: foo`, to have the colon `:`

https://github.com/rust-lang/rust/blob/b14d8b2ef20c64c1002e2c6c724025c3d0846b91/src/tools/compiletest/src/header.rs#L1137-L1146

If the name-value directive contains a *known* directive name like `revisions` but does not have the colon (i.e. `//@ revisions foo`), then: 

- compiletest known directive check accepts the known directive name `revisions`
- `parse_name_value_directive` expects `revisions: ` but only got `revisions`, so parsing fails
- no other compiletest directive parsing rules accept `revisions` directive name
- no errors raised yet there is no effect (no revisions in this example).

compiletest should not silently fail here because it's very surprising and a pain to debug unless you know exactly what's wrong.
Repository: vscode
Issue: I wish there was an easy way to "rerun with `@workspace`
Labels: feature-request,panel-chat

![image](https://github.com/microsoft/vscode/assets/2644648/1abfeffd-e64f-4a7c-806b-101e34d5d502)

Imagine if the "Run with `@workspace`" option here was _not_ disabled and instead says "run last message with `@workspace`". This would allow me to quickly fix my mistake when I meant to run with `@workspace` and didn't.

Either that or something on the message itself (which only has an `x`):
![image](https://github.com/microsoft/vscode/assets/2644648/cc42d2ff-428a-4941-b9ff-f8579766d9e9)

That lets me do that.
Repository: angular
Issue: Angular SSR don't render 
Labels: area: core,P3,area: docs

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

platform-server

### Is this a regression?

Yes

### Description

```
import { Component, afterNextRender } from '@angular/core';
import { RouterOutlet } from '@angular/router';

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [RouterOutlet],
  templateUrl: './app.component.html',
  styleUrl: './app.component.scss'
})
export class AppComponent {
  title = 'my-app-angular';
  constructor() {
    afterNextRender(() => {
      setTimeout(() => {
        this.title = 'AppComponent rendered'
      }, 3000);

    })
  }
}
````

After rendered, the variable don't render in screen

![image](https://github.com/angular/angular/assets/49282334/5d308b51-72c7-48ad-8380-c8ea3a0f07c0)


### 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: 17.3.3
Node: 20.2.0
Package Manager: npm 9.8.1
OS: win32 x64

Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1703.3 (cli-only)
@angular-devkit/core         17.3.3 (cli-only)
@angular-devkit/schematics   17.3.3 (cli-only)
@schematics/angular          17.3.3 (cli-only)
```


### Anything else?

_No response_
Repository: PowerToys
Issue: Shift key is soft-deactivated shortly after pressing other keys.
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.80.1

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

General

### Steps to reproduce

When typing, hold either shift key to capitalize multiple letters. For example, type the following:

ABCDEFGHIJKLMNOPQRSTUVWXYZ

It is not possible to type the above sequence because instead the shift key will deactivate. Instead, the following result occurs (depending on your typing speed):

ABCDEFGHIJklmnopqrstuvwxyz

In this scenario, I had enough time to type ABCDEGIHJ before the shift deactivated. Despite holding shift down, the remaining letters are lowercase.



### ✔️ Expected Behavior

I expect the shift key to function correctly when running PowerToys. This issue can be particularly problematic for typing passwords.

### ❌ Actual Behavior

Shift keys deactivate after a brief moment when pressing another key. Pressing shift again causes the same problem.


### Other Software

The only "fix" i found was to just quit the application entirely. I couldn't fix the problem by disabling FancyZones or Keyboard Manager.
When PowerToys is not running, the shift keys behave correctly.

Windows 11 Pro and Windows 10 Pro should this behavior.

I saw the issue as early as PowerToys 0.70.0 (didn't test any earlier versions)
Repository: flutter
Issue: `KeepAlive` docs suggest we shouldn't use it, but I believe this might not be a good recommendation
Labels: framework,d: api docs,P3,team-framework,triaged-framework

### Steps to reproduce

The `KeepAlive` [docs](https://api.flutter.dev/flutter/widgets/KeepAlive-class.html) discourage the use of `KeepAlive` saying that the normal way of using it is by mixing your widget with `AutomaticKeepAliveClientMixin`.

I don't agree with that recommendation and I don't think it should be encouraged.

My reasoning is that when we mix the `AutomaticKeepAliveClientMixin` and override `wantKeepAlive`, we are controlling if the widget should be kept alive inside the widget itself, thus the widget needs to be "aware" it is going to be used inside a list, and it's behaviour is to always be kept alive. This is detrimental to widget reuse across different parts of the UI.

For example, if I have a widget that is being used in one screen, and now I want to reuse it in another screen, within a `ListView`, I will need to change my widget's code, to make it compatible with that `ListView`. If I want it to be kept alive in one `ListView`, but not in another, then I need to change it again.

Are there any performance benefits for suggesting that `AutomaticKeepAliveClientMixin` are better than surrounding your Widgets with `KeepAlive`? If so, those should be included in the docs, and pointed out as the reason why `AutomaticKeepAliveClientMixin` is recommended, because IMHO wrapping a widget in a `KeepAlive` is a better decision, as we leave for the `ListView` code to decide how to control it's children, leaving the children more independent of how and where they are being used.

I would say this is a similar concept as the one we have in IoC or DI.
Repository: PowerToys
Issue: [MVB] Disconnect while playing videos
Labels: Issue-Bug,Needs-Triage,Product-Mouse Without Borders

### Microsoft PowerToys version

0.80.1

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

Mouse Without Borders

### Steps to reproduce

1、使用浏览器打开bilibili网站观看视频
2、无界鼠标在两台设备中来回移动

### ✔️ Expected Behavior

任何情况下在两台电脑都能来回移动，保持控制

### ❌ Actual Behavior

1、不能控制另外一台设备
2、关闭视频，不能自动恢复控制

### Other Software

_No response_
Repository: rust
Issue: `process::Command::{arg,args}` is now self-contradictory
Labels: O-windows,T-libs-api,A-docs,T-libs,A-process

### Location

Currently it says
> Note that the argument is not passed through a shell, but given literally to the program. This means that shell syntax like quotes, escaped characters, word splitting, glob patterns, variable substitution, etc. have no effect.

But then it adds the Windows-related caveat.

### Summary

This states, more or less directly, that the preceding passage is actually a lie, and the reality is that we *try* to pass the arguments in a way that *makes sense*, and uses an API that bypasses the shell's command-line-interpreter concerns.

It made sense to land this initially in a "don't modify the existing wording, just plonk down a huge warning" way, but the text itself should be changed to account for the reality.
Repository: rust
Issue: compiletest has some parsing footguns around revisions
Labels: A-testsuite,P-low,T-compiler,C-bug,A-compiletest

I've chatted with @jieyouxu and we've come to the conclusion that it's worthwhile to track `compiletest` issues even though we plan on fully migrating to `ui_test` eventually since that might still take a while.

---

When parsing the `revisions` header / directive, `compiletest` naively splits the payload by whitespace leading to the bizarre situation that `//@ revisions: foo, bar` gets understood as declaring the two revisions `foo,` (notice the trailing comma!) and `bar`.

We should either throw an error (my favored solution) or permit `,` to be valid separator next to whitespace (less desirable in my opinion).

If we go with the first approach we should probably go all-in and restrict revision names to the regex `[[:alpha:]_\-][[:alnum:]_\-]*` (*) (ASCII-only or Unicode, shouldn't matter) and we can probably also emit the hint “*commas not permitted, use whitespace*” if we stumble upon a comma.

(*) Restricting the grammar of revision names also helps with portability. Windows is *way* stricter about file paths than \*nix OSes and since `compiletest` generates files of the form `<STEM>.<REVISION>.<STDSTREAM>` revisions containing special characters may lead to tests passing locally for a contributor working on a \*nix machine but failing on a Windows machine. CI would catch that but still ^^'

Similarly, `compiletest` permits whatever garbage you put between `[` and `]` in `//@[...] DIRECTIVE`, even `//@[]` is allowed. We should probably restrict the content to be identifier-like, too.
Repository: rust
Issue: compiletest: the `aux-crate` directive can't deal with more complex paths it seems
Labels: A-testsuite,P-low,T-compiler,C-bug,A-compiletest

I've chatted with @jieyouxu and we've come to the conclusion that it's worthwhile to track `compiletest` issues even though we plan on fully migrating to `ui_test` eventually since that might still take a while.

---

While `//@ aux-build:../helper.rs`[^1] works as one would expect (`compiletest` finds `./auxiliary/../helper.rs` aka `./helper.rs`), `//@ aux-crate:helper=../helper.rs` does not. It leads to the following `rustc` error:

```
error: extern location for helper does not exist: <REDACTED>/test/ui/dummy/auxiliary/lib../helper.so
  --> <REDACTED>/tests/ui/dummy.rs:4:1
   |
LL | extern crate helper;
   | ^^^^^^^^^^^^^^^^^^^^

error: aborting due to 1 previous error
```

Reproducer:

`tests/ui/helper.rs`: empty.

`tests/ui/dummy.rs`:

```rs
//@ aux-crate:helper=../helper.rs
//@ check-pass
extern crate helper;
fn main() {}
```

[^1]: Indeed, this pattern is used inside `tests/ui/`!
Repository: vscode
Issue: Unable to operate other files in the file manager when having a png floating window
Labels: bug,webview,confirmed

<!-- ⚠️⚠️ 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.88.0 (system setup)
- OS Version: Windows_NT x64 10.0.19045)

Steps to Reproduce:

1. open a png in workplace
2. float the png window
3. open code file A from workplace
4. right click on file B in file manager, the focus will always be file A, hence cannot operates other files.
Repository: pytorch
Issue: add `FlopCounterMode` documentation
Labels: module: docs,triaged

### 📚 The doc issue

requesting to add `FlopCounterMode` documentation

and to include the following notes from these discussion:

1. https://pytorch.slack.com/archives/C3PDTEV8E/p1712785539175899 (elementwise ops aren't counted - and why)
2. https://pytorch.slack.com/archives/C3PDTEV8E/p1712798211869749?thread_ts=1712786199.970369&cid=C3PDTEV8E  torch.compile usage: the intended usage is to use it on an uncompiled version of the model first.

4. the mode counts only matmul, conv, attn - may be a few other high intense blocks, but it doesn't count almost anything else (not `sin`, `mul`, any element-wise ops). Perhaps  the best advice to add here would be to use `FlopCounterMode(display=True)` while debugging since it gives the exact breakdown of which ops it measured - which means everything else is ignored.
5. document that it will not count custom kernels and how to make it count those (register FLOP formulas for them)
3. let's perhaps include the very cool integration Lightning folks (Carlos Mocholi et al) did using the meta-model: https://pytorch.slack.com/archives/C3PDTEV8E/p1712788665140289?thread_ts=1712786199.970369&cid=C3PDTEV8E - may be this could be a util provided by pytorch? (edit: when tried this is practice - apparently this meta device solution will often fail if an op isn't implemented on meta.)



tag: @Chillee 

cc @svekars @brycebortree
Repository: flutter
Issue: [go_router] Extra parameter is always null after router redirect
Labels: package,has reproducible steps,P2,p: go_router,team-go_router,triaged-go_router,found in release: 3.19,found in release: 3.22

### Steps to reproduce

1. Create a **GoRouter** with a variety of routes ('route1', 'route2'...)
2. Supply a `redirect` function ('route1' => 'routeA', ...)
3. Call `go` with one of your redirected routes ('route1') on the **BuildContext** with a supplied **extra** value
4. Observe **GoRouterState**'s **extra** to be `null` within the route's `build` function

### Expected results

**GoRouterState**'s **extra** should not be `null` within the route's `build` function

### Actual results

**GoRouterState**'s **extra** is `null` within the route's `build` function

### Code sample

Code sample and example project here: https://github.com/Adorkable-forkable/go_router-losing-extra-after-redirect


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

[✓] Flutter (Channel stable, 3.16.9, on macOS 14.2.1 23C71 darwin-arm64, locale en-JP)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.88.0)
[✓] Connected device (4 available)            
[✓] Network resources

• No issues found!

</details>
Repository: deno
Issue: `DENO_TLS_CA_STORE=system` does not read `/etc/ssl/certs/ca-certificates.crt`
Labels: bug,tls

Version: Deno 1.42.1

I suppose `DENO_TLS_CA_STORE=system` was supposed to find the so common cacerts at `/etc/ssl/certs/ca-certificates.crt` (i.e. Ubuntu docker container), but apparently it doesn't.

`DENO_CERT=/etc/ssl/certs/ca-certificates.crt` works though.
Repository: godot
Issue: `FileDialog` has a foldable `Options` section above properties that do not belong to it
Labels: enhancement,usability,topic:gui

### Tested versions

v4.3.dev.custom_build [6c5792806]

### System information

linux

### Issue description

same as https://github.com/godotengine/godot/issues/88434 and https://github.com/godotengine/godot/issues/88141

![image](https://github.com/godotengine/godot/assets/71937306/461ccbab-725d-4620-89dc-7136fae1459d)

this section should be at the bottom of the list

### Steps to reproduce

none

### Minimal reproduction project (MRP)

any
Repository: godot
Issue: Black screen on mobile android, cant run even basic 3d sence
Labels: platform:android,topic:rendering,needs testing

### Tested versions

Godot 4.2.1 and I dont see solution on other version as well

### System information

window 10, godot4.2.1 vulakan mobile

### Issue description

Black screen forever when open 3d sence with mobile android. Hope it work normal

Android info:
Oppo CPH2239
Android 11, api 30
Chipset: mt6765
Build:CPH229_11_C_32
Realease: 11
OpenGL:3.0.2
CPU:arm64-v8a

VersionTemplate 4.2.1.stable

Export setting:

name="Android"
platform="Android"
runnable=true
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../../Godot Export/Test.apk"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false

[preset.0.options]

custom_template/debug=""
custom_template/release=""
gradle_build/use_gradle_build=true
gradle_build/export_format=0
gradle_build/min_sdk="24"
gradle_build/target_sdk="30"
architectures/armeabi-v7a=false
architectures/arm64-v8a=true
architectures/x86=false
architectures/x86_64=false
version/code=1
version/name=""
package/unique_name="com.example.$genname"
package/name=""
package/signed=true
package/app_category=2
package/retain_data_on_uninstall=false
package/exclude_from_recents=false
package/show_in_android_tv=false
package/show_in_app_library=true
package/show_as_launcher_app=false
launcher_icons/main_192x192=""
launcher_icons/adaptive_foreground_432x432=""
launcher_icons/adaptive_background_432x432=""
graphics/opengl_debug=true
xr_features/xr_mode=0
screen/immersive_mode=true
screen/support_small=true
screen/support_normal=true
screen/support_large=true
screen/support_xlarge=true
user_data_backup/allow=true
command_line/extra_args=""
apk_expansion/enable=false
apk_expansion/SALT=""
apk_expansion/public_key=""
permissions/custom_permissions=PackedStringArray()
permissions/access_checkin_properties=false
permissions/access_coarse_location=false
permissions/access_fine_location=false
permissions/access_location_extra_commands=false
permissions/access_mock_location=false

### Steps to reproduce

1, create project have only one 3d sence and camera and sky
2, setting export
3, run Remote debug
4, Mobile open app, show godot logo then black screen forever(I mean still run app but never show 3d sence).
![image](https://github.com/godotengine/godot/assets/132882686/8f82b129-cf1d-4589-add0-ead339bf404d)


### Minimal reproduction project (MRP)

no
Repository: vscode
Issue: Wrong icon shown on desktop when setting VSCode as default editor for filetype
Labels: workbench-os-integration

<!-- ⚠️⚠️ 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?: Not applicable

<!-- 🪓 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.85.2
- OS Version: Windows 10

Steps to Reproduce:

1. Right click on a file on desktop that has VSCode as the default editor and set it to have some other default editor, such as Notepad
2. Set VSCode back as being the default editor

![VSCode-wrong-icon](https://github.com/microsoft/vscode/assets/17122123/ecf194a8-db21-4b07-a6a6-1c0625ae129b)
Repository: PowerToys
Issue: Can not install Microsoft PowerToys via Microsoft Store on Built-in Administrator Account
Labels: Issue-Bug,Area-Setup/Install,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

Any

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Installer

### Steps to reproduce

Install Microsoft PowerToys via Microsoft Store on Built-in Administrator Account

### ✔️ Expected Behavior

Installed

### ❌ Actual Behavior

Not installed
Code: 0x8D050002

### Other Software

_No response_
Repository: puppeteer
Issue: [Feature]: Inserting a Audio and video Stream
Labels: feature,P3

### Feature description

Referrence #12232 

Can we add a stream to enable bi-directional communication using Puppeteer ? We want to be able to enable conversations in a meeting, where conversations are driven by a bot.

This could be a stream or an audio file as well
Repository: stable-diffusion-webui
Issue: dreambooth plugin do not have test tab.
Labels: bug-report

### Checklist

- [X] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [ ] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

![image](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/17873056/0c913bcc-0997-4a6d-8985-28d342307321)

i had trained one model, but do not know how to use it.  because there is no test tab.  or  tell me how to write inference code .
thanks

### Steps to reproduce the problem

NO

### What should have happened?

show test tab.

### What browsers do you use to access the UI ?

_No response_

### Sysinfo

i clone the code today

### Console logs

```Shell
no
```


### Additional information

_No response_
Repository: vscode
Issue: Feature Request: 'Open in VSCode' option in Windows context menu
Labels: install-update,workbench-os-integration

<!-- ⚠️⚠️ 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. -->

I would like a feature where you can right click an empty space in a folder and select 'Open in Visual Studio Code' to open the folder in VSCode. Visual Studio already has this feature, would be nice to have it implemented in VSCode as well!

![open-in-vscode](https://github.com/microsoft/vscode/assets/17122123/1e75444c-f1ac-4d9a-b814-dbce58019b0d)
Repository: ant-design
Issue: Calendar 日历组件 怎么点击非当前月日期的时候，让面板不跳转呢。
Labels: Inactive,unconfirmed

### What problem does this feature solve?

给每个日期框添加 PopOver 时，面板跳转会导致 PopOver位置不对，即时可以通过代码控制，也会出现同时出现两个 PopOver，因为日期作为key 

### What does the proposed API look like?

改为属性可配置
是否跟这条更新有关，#47361

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->