sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: excalidraw
Issue: Exporting to png problem
Labels: bug

Hello, I've been using excalidraw via browser since 2021 (first via Chrome, now via Edge) and always exported to png creating files like "Untitled-2024-01-05-1055" where the numbers represented the exact time when the canvas was reseted to be reused. So, without renaming the files, I always could find them because each one had the exact time in the file name. 
But since the beginning of march 2024 whenever I try to export the default name to the file is "Untitled-2024-03-04-2151" and is kind of stuck at this time forever. 

I don't know if this is a Update choice or a Issue, so I asking for help if anyone knows how I can go back where the files saves automatically with the current time WITHOUT having to write every single png myself.
Repository: flutter
Issue: [Impeller] devicelab tests should assert that test used expected backend
Labels: a: tests,engine,P2,e: impeller,team-engine,triaged-engine

For example, a test that claims to use Skia should assert that it actually used skia. A test that used Impeller should assert that it actually used Impeller with the expected backend.

We've recently had an experience where a device using OpenGLES started using Vulkan unexpectedly.
Repository: godot
Issue: OpenXR Quest 3 VSync Not Honored
Labels: bug,platform:android,topic:rendering,topic:xr

### Tested versions

4.2 Stable

### System information

Oculus Quest 3 Vulcan

### Issue description

When running my games on the Quest 3 using OpenXR and forward_plus, disabling VSync isn't honored, resulting in anywhere from mild to massive flicker. The game still runs, but it's not very pleasant. This happens if I disable VSync from the projects settings or though GDScript. The Android log issues this warning:

```USER WARNING: The requested V-Sync mode Disabled is not available. Falling back to V-Sync mode Enabled.```


### Steps to reproduce

Create any minimal OpenXR project, and disable vsync.

### Minimal reproduction project (MRP)

N/A
Repository: vscode
Issue: Ctrl+Insert wrong behaviour in an autocomplete description
Labels: info-needed,suggest

<!-- ⚠️⚠️ 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.87.0
- OS Version: Windows 10

Steps to Reproduce:

1. Create a new file, e.g. PHP: 
`<?php
`
2. Start typing any standard function, e.g.:
`ech`

3. Autocomplete pop-up will appear, suggesting the "echo" function with a description

> ( string $arg1 [, string $... ]): void
>
>Output one or more strings

4. Select any text from the description, 
5. Press CTRL+C and it will be sent to the clipboard. 
E.g. you can copy and paste "Output one or more strings"
It's OK scenario.
6. Repeat from the step 2 to the step 4
7. Press CTRL+INS
8. Paste the text from the clipboard
Expected behaviour: selected text will appear
Actual: behaviour: 
`ech` will appear

"CTRL+INS" has the same behaviour in the editor and other pop-up windows.
So it's a bug.
All extensions are disabled.
Repository: go
Issue: net/smtp: most fields are not validated or sanitized
Labels: Security,NeedsDecision

The net/smtp package is somewhat dangerous, in that it doesn't really do any validation of data passed to it, and generally will just directly pass that through to the SMTP server without any sanitization. For certain methods, like `Client.Mail`, or functions like `SendMail` this can cause issues if the to/from addresses are malformed, or contain reserved characters (like angle brackets), or if headers are malformed, etc. This is may have significant impact if the caller of this API is accepting untrusted user input and using it to populate these arguments without doing their own validation.

We could add validation to various parts of the package, but that would be a rather significant change in an otherwise frozen package. At the least we should document the (as currently defined) security properties of this package (i.e., there are none) and make it clear that this package is not hardened against adversarial inputs, and users should be _extremely careful_ about what they pass into these functions/methods.

Thanks to RyotaK (@Ry0taK) for reporting this issue.
Repository: flutter
Issue: Switch query to Firestore for /api/scheduler/vacuum-stale-tasks
Labels: team-infra,P2,triaged-infra

Part of https://github.com/flutter/flutter/issues/142951

API: https://github.com/flutter/cocoon/blob/main/app_dart/lib/src/request_handlers/scheduler/vacuum_stale_tasks.dart

More specifically, we need to switch the query to firestore: https://github.com/flutter/cocoon/blob/main/app_dart/lib/src/request_handlers/scheduler/vacuum_stale_tasks.dart#L57
and then replace all datastore models to firestore Task model.
Repository: deno
Issue: error: Uncaught "Missing promise in ring @ 2145893703"
Labels: bug,deno_core,runtime

```bash
error: Uncaught "Missing promise in ring @ 2145893703"
```

```bash
deno --version
deno 1.41.1 (release, x86_64-pc-windows-msvc)
v8 12.1.285.27
typescript 5.3.3
```

What does this error even mean? For example, what is a "ring", and what does that number refer to? It seems too large to be a line number.
Repository: flutter
Issue: Switch query to Firestore for /api/scheduler/vacuum-github-commits
Labels: team-infra,P2,triaged-infra

Part of https://github.com/flutter/flutter/issues/142951

API: https://github.com/flutter/cocoon/blob/main/app_dart/lib/src/request_handlers/vacuum_github_commits.dart

More specifically, we need to switch the query to firestore: https://github.com/flutter/cocoon/blob/main/app_dart/lib/src/request_handlers/vacuum_github_commits.dart#L76
and then replace all datastore models to firestore `Commit` model.
Repository: stable-diffusion-webui
Issue: [Bug]: Docker ROCm Python Version 3.9 when 3.10 is Required
Labels: bug-report

### Checklist

- [X] The issue exists after disabling all extensions
- [X] 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
- [X] The issue exists in the current version of the webui
- [X] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

AMD's Docker image is running python 3.9. An update this week made the minimum python version 3.10, so the docker image no longer works. Either instructions need to be added to update to 3.10 or it needs to be included in the script.

(Side note: Please update documentation to https://download.pytorch.org/whl/rocm5.7 rather than 5.1 since 5.1 doesn't support many consumer cards)

### Steps to reproduce the problem

Follow the install instructions for AMD install via docker

### What should have happened?

Clean install

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

_No response_

### Sysinfo

Can't dump since WebUI can't load, but since it's docker and the issue is obvious I don't think it's a huge prob. I'll try to fill it out manually tho:

Kernel 6.7.7
Ryzen 7900X
32GB DDR5 6000mhz
RX 7900xtx


### Console logs

```Shell
Copied from issue #15112

Traceback (most recent call last):
  File "/Users/xxxx/work/stable-diffusion-webui/launch.py", line 48, in <module>
    main()
  File "/Users/xxxx/work/stable-diffusion-webui/launch.py", line 44, in main
    start()
  File "/Users/xxxx/work/stable-diffusion-webui/modules/launch_utils.py", line 465, in start
    import webui
  File "/Users/xxxx/work/stable-diffusion-webui/webui.py", line 13, in <module>
    initialize.imports()
  File "/Users/xxxx/work/stable-diffusion-webui/modules/initialize.py", line 36, in imports
    shared_init.initialize()
  File "/Users/xxxx/work/stable-diffusion-webui/modules/shared_init.py", line 40, in initialize
    from modules import styles
  File "/Users/xxxx/work/stable-diffusion-webui/modules/styles.py", line 9, in <module>
    class PromptStyle(typing.NamedTuple):
  File "/Users/xxxx/work/stable-diffusion-webui/modules/styles.py", line 11, in PromptStyle
    prompt: str | None
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
```


### Additional information

_No response_
Repository: flutter
Issue: [flutter_tools] hot restart for flutter web does not fully reset browser state
Labels: P2,team-tool,triaged-tool

An example from https://github.com/flutter/flutter/pull/130662 is a flutter for web application that opens a websocket connection to a server. A hot restart will orphan the original connection, and then app will open a new one with the same client ID, which is not supported.

Possibly related to https://github.com/flutter/devtools/issues/7231
Repository: stable-diffusion-webui
Issue: [Bug]: (404) not found for pulling stable diffusion
Labels: bug-report

### Checklist

- [ ] The issue exists after disabling all extensions
- [X] 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
- [X] 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?

Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
At G:\AI\A1111 Web UI Autoinstaller\Launcher\Functions.psm1:97 char:13
+             $response = $request.GetResponse()
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

The property 'ContentLength' cannot be found on this object. Verify that the property exists.
At G:\AI\A1111 Web UI Autoinstaller\Launcher\Functions.psm1:98 char:13
+             $fileSize = [int]$response.ContentLength
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], PropertyNotFoundException
    + FullyQualifiedErrorId : PropertyNotFoundStrict

### Steps to reproduce the problem

A1111 WebUI and say yes to downloading model

### What should have happened?

Should have downloaded the model. Cannot access URL mentioned in script: https://anga.tv/ems/model.ckpt

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

Microsoft Edge

### Sysinfo

N/A

### Console logs

```Shell
N/A
```


### Additional information

_No response_
Repository: rust
Issue: Indexing with `bool` generates suboptimal assembly
Labels: I-slow,A-codegen,O-x86_64,S-has-mcve,C-optimization

I tried this code:

```rust
fn f(a: &[u32; 2], c: bool) -> u32 {
    a[c as usize]
}
```

I expected to see this assembly:
```asm
f:
        mov     eax, dword ptr [rdi + 4*rsi]
        ret
```

Instead, I got this assembly:
```asm
f:
        mov     eax, esi ; zero-extend esi (bool param)
        mov     eax, dword ptr [rdi + 4*rax]
        ret
```

[godbolt](https://godbolt.org/z/s4ddsM8zf)

I believe the ABI does not allow the upper 32 bits of `rsi` to be dirty when passing arguments smaller than 8 bytes, but I could be mistaken or otherwise misunderstanding the problem.

I could not find a workaround other than changing the type of `c` to `usize` and adding an `unreachable_unchecked`.

### Meta
`rustc --version --verbose`:
```
rustc 1.78.0-nightly (d18480b84 2024-03-04)
binary: rustc
commit-hash: d18480b84fdbf1efc34f62070951334aa833d761
commit-date: 2024-03-04
host: x86_64-unknown-linux-gnu
release: 1.78.0-nightly
LLVM version: 18.1.0
Compiler returned: 0
```
Repository: kubernetes
Issue: client-go: reflector name defaulting seems broken by Go modules
Labels: kind/bug,sig/api-machinery,triage/accepted

### What happened?

Client-go emits logs like
```
Listing and watching *v1.Namespace from pkg/mod/k8s.io/client-go@v0.29.2/tools/cache/reflector.go:229
```


### What did you expect to happen?

Log says "from <somewhere more useful>"

### How can we reproduce it (as minimally and precisely as possible)?

Increase verbosity of anything using client-go, check logs

### Anything else we need to know?

Code is from https://github.com/kubernetes/kubernetes/blame/05cb0a55c88e0cdcfe2fb184328ad9be53e94d5c/staging/src/k8s.io/client-go/tools/cache/reflector.go#L290. `client-go/tools/cache/` is no longer accurate, with go modules this will actually be something like `client-go@v0.29.1/tools/cache/` generally. The blame shows its 6 years old which was before go modules, which would make sense.

This also means this has probably been an issue for many years, and it only impacts logs that are generally disabled, so this is certainly not a high priority

### Kubernetes version

<details>

```console
N/A
```

</details>


### Cloud provider

<details>

</details>
N/A

### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: godot
Issue: Inconsistent behaviour when using signals in ternary-if expressions.
Labels: bug,topic:gdscript

### Tested versions

v4.2.1.stable.official [b09f793f5]

### System information

Godot v4.2.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated AMD Radeon RX 7800 XT (Advanced Micro Devices, Inc.; 31.0.24002.92) - AMD Ryzen 5 5600X 6-Core Processor (12 Threads)

### Issue description

Using `signal.emit()`  in ternary-if/else expressions inconsistently throws runtime errors:
**Trying to get a return value of a method that returns "void"**, even though functions with void returns should be allowed in these expressions.

Example of expression: 
```gdscript
signal_1.emit() if true else signal_2.emit()
```

Based on some testing the following triggers the error:
- Using the expression in a variable setter:
- Calling a function that executes the expression

The following does not trigger the error:
- Using the expression directly in `_ready()`
- Using the `emit_signal("signal")` syntax
- Evaluating the expression as: `(signal_1 if true else signal_2).emit()`



### Steps to reproduce

Example of code that does not work:
```gdscript
extends Node

signal signal_1
signal signal_2

var test_value: bool:
	set(new_value):
		signal_1.emit() if true else signal_2.emit()

func _ready() -> void:
	signal_1.connect(on_signal_1)
	signal_2.connect(on_signal_2)
	test_value = true

func on_signal_1() -> void:
	print("signal 1 emitted")

func on_signal_2() -> void:
	print("signal 2 emitted")
```

Example of code that works.
```gdscript
extends Node

signal signal_1
signal signal_2

var test_value: bool:
	set(new_value):
		pass

func _ready() -> void:
	signal_1.connect(on_signal_1)
	signal_2.connect(on_signal_2)
	signal_1.emit() if true else signal_2.emit()

func on_signal_1() -> void:
	print("signal 1 emitted")

func on_signal_2() -> void:
	print("signal 2 emitted")
```

### Minimal reproduction project (MRP)

NA
Repository: godot
Issue: Duplicating a Node in Editor references original Node
Labels: bug,topic:editor

### Tested versions

4.2.1 Mono
"Godot Engine v4.2.1.stable.mono.official [b09f793f5]"

### System information

Windows 10 64 bit. Forward +. Godot 4.2.1 Mono from godot website

### Issue description

When I duplicate a node that is a "prefab" node with functionality referenced in itself, the duplicate references the original node.

I didn't test GD Script. 

### Steps to reproduce

1. Create a node scene. 
2. Add a script and export reference a node in the scene. 
3. create a new scene to put the first node in. 
4. duplicate the node
5. notice the duplicate references the original.


Example of how to reproduce:
Create a new UI scene.
Add a label to the scene and give it the text "foobar"
Add a button to the scene. 
Add a script to the root node. 
Give the root node the following C# code:
`[Export]
Label myLabel;
public void ChangeLabelText(){
myLabel.text = "Changed this node."
}
`
Connect the Button to the function "ChangeLabelText"


Create a new scene. 
Drag the "prefab" into this scene.
Click this instance, and press "Control + D" to duplicate. 
Duplicate as many times as you want. 

Run current scene. (F6 hotkey on windows)

Click the button on a duplicate, and it changes the text of the "original" and not the duplicate as expected. 

If you click the original, it still changes the text of the original as expected. 

### Minimal reproduction project (MRP)

Just basic Godot nodes. 
See "Steps to reproduce" for information.
Repository: vscode
Issue: Can the title at the top be hidden?
Labels: feature-request,titlebar


![image](https://github.com/microsoft/vscode/assets/161679330/3cea579a-8739-4237-a65f-849c985f3b16)
This column is not used much. My screen is relatively small and this column takes up part of my space.
Repository: pytorch
Issue: Match HuggingFace T5 SDPA pattern in Inductor
Labels: module: performance,triaged,oncall: pt2,module: inductor

### 🚀 The feature, motivation and pitch

The `hf_T5` MHA/SDPA inference pattern is currently not being matched by Inductor.
Matching & replacing it with a call to the SDPA kernel may boost performance.

Thanks!







### Alternatives

_No response_

### Additional context

There are two extra `view` nodes after addition of the attention mask, which are not present in existing patterns.

cc @ezyang @msaroufim @bdhirsh @anijain2305 @zou3519 @chauhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @aakhundov @ColinPeppler @amjames @desertfire
Repository: rust
Issue: Using any `repr` other than `u8` on `bool`-like `enum`s loses range information
Labels: I-slow,A-codegen,T-compiler,C-bug,S-has-mcve,C-optimization

I tried this code:

```rust
#[repr(u32)]
#[derive(Clone, Copy)]
pub enum E {
    A = 0,
    B = 1,
}

#[no_mangle]
fn f(e: E) -> i32 {
    match e {
        E::A => 1,
        E::B => -1,
    }
}

#[no_mangle]
fn g(e: E) -> E {
    match e {
        E::A => E::B,
        E::B => E::A,
    }
}
```

I expected to see this assembly:
```asm
f:
        mov     eax, edi
        neg     eax
        or      eax, 1
        ret

g:
        mov     eax, edi
        xor     al, 1
        ret
```

Instead, I got this assembly:
```asm
f:
        xor     eax, eax
        neg     edi
        sbb     eax, eax
        or      eax, 1
        ret

g:
        xor     eax, eax
        test    edi, edi
        sete    al
        ret
```

[godbolt good](https://godbolt.org/z/qrWzbcPWb)
[godbolt bad](https://godbolt.org/z/Mazzfj9K6)

The problem seems to be that `bool`-like `enum`s which are not `repr(u8)` are passed to functions as `i*`, while `repr(u8)` are passed as `i1 zeroext`. The lacking range information then cascades into missed optimizations whenever you try to do something with the parameter.

Notes:
- `g` gets optimized when adding an `unreachable_unchecked()` OR an `unreachable!()`, but `f` is not so lucky ([godbolt](https://godbolt.org/z/vdvnKj8vd))
- other archs are also affected
  - aarch64 suffers slightly ([godbolt](https://godbolt.org/z/fdefcher5))
  - wasm arguably benefits, at least in code compactness ([godbolt](https://godbolt.org/z/MWahGKbrG))

### Meta
`rustc --version --verbose`:
```
rustc 1.78.0-nightly (d18480b84 2024-03-04)
binary: rustc
commit-hash: d18480b84fdbf1efc34f62070951334aa833d761
commit-date: 2024-03-04
host: x86_64-unknown-linux-gnu
release: 1.78.0-nightly
LLVM version: 18.1.0
Compiler returned: 0
```
@rustbot modify labels: +C-optimization +A-codegen +I-slow
Repository: PowerToys
Issue: After the iside PPT plug-in is installed and peek is used to preview PPT, the PPT program cannot exit normally
Labels: Issue-Bug,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.79.0

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

Peek

### Steps to reproduce

![image](https://github.com/microsoft/PowerToys/assets/31123200/cdfb2769-4111-4221-a9c2-96a7bd28e72b)


### ✔️ Expected Behavior

The PPT program exits normally

### ❌ Actual Behavior

The PPT program does not exit

### Other Software

iside  7.3.2.0
Repository: PowerToys
Issue: Show the values for the slider settings for Always on Top
Labels: Idea-Enhancement,Help Wanted,Product-Settings,Area-User Interface

### Description of the new feature / enhancement

The values of sliders for Always on Top don't show the values. I have to click on the slider to show the value. 
I can't take a screen capture with values like that.

Please show the current value at all times.

### Scenario when this would be used?

See above.

### Supporting information

_No response_
Repository: PowerToys
Issue: Have Always on Top display a message that a keyboard shortcut is not available.
Labels: Idea-Enhancement,Product-Keyboard Shortcut Manager,Needs-Triage

### Description of the new feature / enhancement

I want Notepad++ to always show on top. I have gone through several trys to find a working keyboard shortcut. Every time I assign a win-ctrl-and-some-key, I find out it's something in Notepad or in Windows. and then I assigned one and nothing happened. I have no idea if that shortcut was already assigned to something else. There was nothing visible on the screen and I don't know if it something in the background. 

Please display a message that the shortcut is not available during assignment of the keys.
Also can the assignment not override whatever it's assigned to in the app? 





### Scenario when this would be used?

See above.

### Supporting information

_No response_
Repository: vscode
Issue: RHEL 8/9 fapolicyd Installation Suggestion
Labels: help wanted,feature-request,rpm

<!-- ⚠️⚠️ 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. -->
Install in a different directory other than /usr/share by default. 

Due to default settings in RHEL 8/9 /etc/fapolicyd/fapolicyd-filter.conf does not update [fapolicyd ](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/security_hardening/assembly_blocking-and-allowing-applications-using-fapolicyd_security-hardening) database with entries in /usr/share that are not python, ruby, perl, javascript, ... etc.

Recommended to install in /opt. Which is ["reserved for the installation of add-on application software packages."](https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s13.html#:~:text=/opt%20is%20reserved%20for%20the%20installation%20of%20add%2Don%20application%20software%20packages.)