sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: TensorBoard images loading error
Labels: module: windows,triaged,module: tensorboard

### 🐛 Describe the bug

The first time I used TensorBoard I generated y=x and the image was fine, but when I modified the original function to generate y=2x,y=3x and y=x^2 etc. and then regenerated y=x there was a problem, my image was not displayed correctly, y=x was only a part of the image, as shown in the image below.
![微信图片_20241030151106](https://github.com/user-attachments/assets/8bfb7d11-75da-4585-a4dd-c934c9cf1590)
Sometimes continuing the modification on the original function will not get any image as shown below.
![2](https://github.com/user-attachments/assets/0f6d7f11-e3fe-4939-ac6a-85cf93503857)
(The port shows 6007 because this image was the result of another test where I used 6007 as the port to display)

My code is as follows:
```
from torch.utils.tensorboard import SummaryWriter

writer = SummaryWriter("logs")

# writer.add_image()
for i in range(100):
    writer.add_scalar("y=x", i, i)

writer.close()

```
Then by typing in pycharm's terminal
```
tensorboard --logdir=logs
```
And then accessing port 6006 to get the result.

I would like to know if this is a problem only for me or for other users as well. I have searched the Issues module and have not found a solution (maybe I missed it), so if someone has raised a similar issue before, I apologize for taking up everyone's time and would appreciate it if you could point me in the direction of a solution, thank you very much!

### Versions

```
PyTorch version: 1.9.0+cu111
Is debug build: False
CUDA used to build PyTorch: 11.1
ROCM used to build PyTorch: N/A

OS: Microsoft Windows 11 家庭中文版 (10.0.22631 64 位)
GCC version: (MinGW.org GCC-6.3.0-1) 6.3.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: N/A

Python version: 3.8.20 (default, Oct  3 2024, 15:19:54) [MSC v.1929 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-10-10.0.22631-SP0
Is CUDA available: True
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to:
GPU models and configuration: GPU 0: GeForce MX450
Nvidia driver version: 456.71
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Name: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
Manufacturer: GenuineIntel
Family: 205
Architecture: 9
ProcessorType: 3
DeviceID: CPU0
CurrentClockSpeed: 2419
MaxClockSpeed: 2419
L2CacheSize: 5120
L2CacheSpeed: None
Revision: None

Versions of relevant libraries:
[pip3] numpy==1.24.4
[pip3] torch==1.9.0+cu111
[pip3] torchaudio==0.9.0
[pip3] torchvision==0.10.0+cu111
[conda] numpy                     1.24.4                   pypi_0    pypi
[conda] torch                     1.9.0+cu111              pypi_0    pypi
[conda] torchaudio                0.9.0                    pypi_0    pypi
[conda] torchvision               0.10.0+cu111             pypi_0    pypi
```

cc @peterjc123 @mszhanyi @skyline75489 @nbcsm @iremyux @Blackhex
Repository: kubernetes
Issue: DRA: Is it possible to add a new resource: ClusterResourceClaim?
Labels: sig/node,kind/feature,needs-triage,wg/device-management

### What would you like to be added?

We plan to develop a DRA plugin for networking (possibly related to CNI drivers). For ease of use, we may create a ResourceClaim in advance and declare some additional configurations in the opaqueConfig. If there is a cluster-scope ResourceClaim, then pods in different namespaces can use the same ResourceClaim. Currently, ResourceClaim is namespace-scope, meaning each namespace must create at least one ResourceClaim.

### Why is this needed?

add a new resource: ClusterResourceClaim
Repository: ui
Issue: [bug]: Multiple DropdownMenu in sidebar causes freeze on mobile screen
Labels: bug

### Describe the bug

https://ui.shadcn.com/blocks#sidebar-07

If you open multiple dropdown menus on a phone screen and close the sidebar, the whole app freezes.


### Affected component/components

Sidebar

### How to reproduce

1. Visit https://ui.shadcn.com/blocks#sidebar-07
2. Click on the phone screen.
3. Open the sidebar.
4. Open the dropdown menu in the company switcher (Acme).
5. Open the profile dropdown menu (shadcn at the bottom).
6. Click away to close the sidebar.
7. Now, you can't do anything; you can't even reopen the sidebar.

### Codesandbox/StackBlitz link

https://ui.shadcn.com/blocks#sidebar-07

### Logs

_No response_

### System Info

```bash
google chrome, windows 11
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: PowerToys
Issue: 将Ctrl+c 的复制功能映射到一个键盘按键后，按这个键第二次，复制的文本内容还是第一次的文本内容
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.85.1

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

将Ctrl+c 的复制功能映射到一个键盘按键（Scroll Lock）后，按这个键第二次，复制的文本内容还是第一次选定的文本内容。
期望复制的内容和映射按键实际复制得到的内容不符。
且会出现是的Ctrl持续处于按下状态（这个是不期望产生的）

### ✔️ Expected Behavior


1、将Ctrl+c 的复制功能映射到一个键盘按键（Scroll Lock）后，按这个键第二次，复制的文本内容还是第一次选定的文本内容。（期望复制第二次选中的文本内容），期望复制的内容和映射按键实际复制得到的内容不符。
2、且会出现是的Ctrl持续处于按下状态（这个是不期望产生的）（期望按键完毕后，不要一直是Ctrl处于按下的状态）

### ❌ Actual Behavior


1、将Ctrl+c 的复制功能映射到一个键盘按键（Scroll Lock）后，按这个键第二次，复制的文本内容还是第一次选定的文本内容，期望复制的内容和映射按键实际复制得到的内容不符。
2、连续两次按映射后的按键（Scroll Lock），会出现是的Ctrl持续处于按下状态

### Other Software

bug修复后请告知我：zhangbinbinhi@outlook.com
Repository: PowerToys
Issue: PowerToys.PowerLauncher crashing upon UAC prompt
Labels: Issue-Bug,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.85.1

### Installation method

WinGet

### Running as admin

No

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

Replicating the issue is a bit troublesome but it tends to happen on Win11 24H2 (26100.2033) after a UAC prompt is requested. The UAC doesn't ever pop up, but if the system is idle long enough or CTRL+ALT+DELETE is pressed the desktop returns but the system is not responsive and a hard shutdown is required for the system to be operational again.

**Description**
Faulting application name: PowerToys.PowerLauncher.exe, version: 0.85.1.0, time stamp: 0x66960000
Faulting module name: KERNELBASE.dll, version: 10.0.26100.1882, time stamp: 0xdebc683b
Exception code: 0xc000041d
Fault offset: 0x00000000000c83ea
Faulting process id: 0x409C
Faulting application start time: 0x1DB2904D970840A
Faulting application path: C:\Program Files\PowerToys\PowerToys.PowerLauncher.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 1c5ca336-eee6-4871-adf7-15c8ed0a2820
Faulting package full name: 
Faulting package-relative application ID: 

![Image](https://github.com/user-attachments/assets/69068a3b-17e3-4060-9488-7e37ebbda7d1)

**Description**
Faulting application name: PowerToys.PowerLauncher.exe, version: 0.85.1.0, time stamp: 0x66960000
Faulting module name: KERNELBASE.dll, version: 10.0.26100.1882, time stamp: 0xdebc683b
Exception code: 0xe0434352
Fault offset: 0x00000000000c83ea
Faulting process id: 0x409C
Faulting application start time: 0x1DB2904D970840A
Faulting application path: C:\Program Files\PowerToys\PowerToys.PowerLauncher.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 641ffa27-eef7-45f6-9a8e-bb251ca54e00
Faulting package full name: 
Faulting package-relative application ID: 

![Image](https://github.com/user-attachments/assets/2c740897-f664-444f-9cca-b78224a25fad)



### ✔️ Expected Behavior

UAC prompt to appear to enter administrative credentials

### ❌ Actual Behavior

UAC prompt never appeared, despite going into admin approval mode. After pressing CTRL+ALT+DELETE the desktop reappeared but the system was not responsive and no keyboard commands or mouse clicks would work, but the cursor would very sluggishly move around.

### Other Software

_No response_
Repository: godot
Issue: GDScript code completion is extremely laggy on Android Editor
Labels: platform:android,topic:gdscript,topic:editor,regression,performance

### Tested versions

Reproducible in build of current master branch - Godot v4.4.dev (8004c7524).
Not reproducible in 4.4.dev3 / 4.3 stable

### System information

Godot v4.4.dev (8004c7524) - Android 14 - Single-window, 1 monitor - Vulkan (Mobile) - integrated Adreno (TM) 618 -  (8 threads)

### Issue description

GDScript autocomplete is now extremely laggy on the Android editor, with the editor freezing until the code completion dialog appears. The code completion delay and  idle auto parse delay are in their defaults.
This does not happen on 4.4.dev3 or earlier.

### Steps to reproduce

Just create a gdscript and type anything that prompts auto complete.

### Minimal reproduction project (MRP)

None
Repository: rust
Issue: Panic in nightly 1.83.0 and 1.84.0 with opt-level >= 1 when unwrapping Some variant
Labels: P-medium,T-compiler,regression-from-stable-to-stable,C-bug,A-mir-opt,I-miscompile

When calling an unwrap on a value that *should* be Some, i instead get an unwrap on None error. Attaching a debugger seems to show an invalid memory error.

This issue happens only when opt-level is set to at least 1, (aka in dev profile, no panic happens, and in release it does), and only happens in rust nightly 1.83.0 and 1.84.0, it does not happen on stable and nightly 1.82.0.

~~I'm not sure if the issue is in my code or in the sprs crate, i've filed [an issue](https://github.com/sparsemat/sprs/issues/370) there and also here just to make sure.~~
EDIT: managed to narrow down the bug by removing the sprs crate, this is only pure rust

Here is the [repo for minimum example](https://github.com/Specy/microlp/tree/panic-bug) or in [the playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=0b00575c9057e816cddce89d00a0d856), there is an even smaller reproduction in the [comments](https://github.com/rust-lang/rust/issues/132353#issuecomment-2446804777)

To reproduce, run `cargo run --release` which will panic, while if running `cargo run` it won't panic

I've tried to run this with miri, nothing there. Also tried to run the release mode with bounds checking turned on, but nothing changed
### Meta
`rustc --version --verbose`:
```
rustc 1.84.0-nightly (3f1be1ec7 2024-10-28)
binary: rustc
commit-hash: 3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777
commit-date: 2024-10-28
host: x86_64-unknown-linux-gnu
release: 1.84.0-nightly
LLVM version: 19.1.1
```

<details><summary>Backtrace</summary>
<p>

```
thread 'main' panicked at src/main.rs:122:27:
called `Option::unwrap()` on a `None` value
stack backtrace:
   0: rust_begin_unwind
             at /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/std/src/panicking.rs:665:5
   1: core::panicking::panic_fmt
             at /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/core/src/panicking.rs:75:14
   2: core::panicking::panic
             at /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/core/src/panicking.rs:152:5
   3: core::option::unwrap_failed
             at /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/core/src/option.rs:2008:5
   4: microlp::order_simple
   5: microlp::main
             at ./src/main.rs:152:5
   6: core::ops::function::FnOnce::call_once
             at /home/specy/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
```

</p>
</details>
Repository: material-ui
Issue: Variant for slot doesn't work
Labels: bug 🐛,component: select,customization: theme,customization: dom

### Search keywords

variants, slots, props, evaluation

### Latest version

- [X] I have tested the latest version

### Steps to reproduce

Link to live example: https://stackblitz.com/edit/github-nynfvf?file=src%2Fthene.ts

Steps:
1. Customize theme with `components` => `MuiSelect` => `styleOverrides`
2. Define a variant for `root` and `icon` slots, both with props: `props: { size: 'small' }`


### Current behavior

Variant for root is recognized and applied, for icon - it's not

### Expected behavior

As far as I understand, also a variant for a slot should work.

### Context

I tried for the `icon` a hardcoded props evaluation:
```ts
props: () => true
```
and it works. I also debugged `size` prop evaluation with:
```ts
props: ({ size }) => console.log(size)
```
and initially it has correct value `small` but immediately during next evaluation it's `undefined` What's surprising for me, it behaves exactly the same for `root`, but doesn't break variant's styling for `root` 🤔 

### Your environment

_No response_
Repository: PowerToys
Issue: (powerrename) let enter key apply the rename, and shift+enter key perform the rename and close
Labels: Needs-Triage

### Description of the new feature / enhancement

being able to hit enter to apply filename changes in powerrename would simply be convenient and intuitive. and similarly to how the drop down menu from the apply button lets you apply the change then close the window already, being able to do that with shift+enter or ctrl+enter or whatever you may chose would be useful too.

### Scenario when this would be used?

when youre renaming files with powerrename, currently you have to manually click apply after typing in the new filename. it is faster to be able to type then hit enter than to grab the mouse again and click.

### Supporting information

as far as I know newlines within filenames arent a thing nor does enter or shift enter create any newline in powerrename, so this would not overlap with such a case.
Repository: next.js
Issue: updating head meta data based on the fetched data in app router
Labels: bug,Metadata,Performance

### Link to the code that reproduces this issue

https://github.com/mehrizi/nextjs-dynamic-title

### To Reproduce

Hello and hardworking,
I have simple pages in _App Router_ like `app/page/[id]/page.tsx` in which the `id` is being used in the page component body to fetch some data:
```ts
export default async function Page({ params }) {
    const data = await getData(params.id)

```
After this fetch I need to set page title based on the fetched data but `<Head>` component is not working in app router (As per documentation and experience).
The alternative seems to export async function `generateMetadata()` and call the fetch again to get the data!
This means for any such a page (that has dynamicly loaded title) I have to call the server function twice and this leads to double fetch calls.
I searched a lot for any alternative solution but couldn't find any!

### Current vs. Expected behavior

If the `<Head>` component could also work in app router this issue could have been solved!

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Oct  2 16:16:55 UTC 2
  Available memory (MB): 15869
  Available CPU cores: 6
Binaries:
  Node: 20.12.2
  npm: 10.5.0
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 15.0.0-rc.1 // Latest available version is detected (15.0.0-rc.1).
  eslint-config-next: N/A
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.6.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Developer Experience, Metadata, Performance

### Which stage(s) are affected? (Select all that apply)

next dev (local), next build (local), next start (local)

### Additional context

_No response_
Repository: flutter
Issue: Edge-To-Edge Progressive Web Apps on mobile
Labels: c: new feature,platform-web,c: proposal,P2,browser: chrome-android,team-web,triaged-web,browser: chrome-ios

### Use case

Native apps and iOS progressive web apps can take advantage of Edge-To-Edge display. This is the preferred presentation going forward and there has been recent work getting Flutter/Android to work this way. See [Edge-To-Edge by default on android #86248](https://github.com/flutter/flutter/issues/86248).

This request is to make Edge-To-Edge also work, and eventually be the default when using the web-ui renderer on Android and iOS. To be explicit, this request is to retain the System UI elements, not going fullscreen.

### Proposal

1. Enable/confirm Progressive Web Apps can use Edge-To-Edge in standalone mode, showing the System UI in Chromium on Android. It should work just like a native Android app: https://developer.android.com/develop/ui/views/layout/edge-to-edge
1. Implement Edge-To-Edge in Flutter's web ui.
1. Align Flutter Edge-To-Edge default in the web ui in concert with [Edge-To-Edge by default on android #86248](https://github.com/flutter/flutter/issues/86248).

Progressive Web Apps should be able to present Edge-To-Edge once installed as `standalone`

* https://web.dev/learn/pwa/app-design#safe_areas describes the behavior, but relies on `viewport-fit=cover`
* [MDN Viewport](https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag) doesn't include `viewport-fit=cover`
* This appears to have been introduced by Apple https://webkit.org/blog/7929/designing-websites-for-iphone-x/
* Chromium tracked this change in [issue/40547849](https://issues.chromium.org/issues/40547849) and there appears to be implementation in [issue/40574289](https://issues.chromium.org/issues/40574289) however this might be just `fullscreen` and not `standalone`.

If Chrome on Android is able to display Edge-To-Edge with System UI, I have not been able to achieve it, nor find it demonstrated. Users cannot add `viewport-fit` to the `viewport` meta in the index.html header, as `viewport` is removed in the [FullPageEmbeddingStrategy](https://github.com/flutter/engine/blob/f506558db90f3031093a1bf8be9be9af6df81829/lib/web_ui/lib/src/engine/view_embedder/embedding_strategy/full_page_embedding_strategy.dart#L71)

Thanks for your amazing work on Flutter!
Repository: terminal
Issue: Add an option to change border colors
Labels: Help Wanted,Product-Terminal,Issue-Task,Area-Theming

### Description of the new feature


Add an option to change border colors
I had this idea of making so you can change the border colors.

This is specially usefull when you have multiple windows and you dont want to use a terminal multiplexer.

### Proposed technical implementation details

I don't know if the way VSCode is made and the Window terminal nad if they are a bit compatible.
There is a VSCode extension called peacock that changes border colors
Repository: vscode
Issue: Panel: no drop zone for views after the last panel
Labels: polish,layout,papercut :drop_of_blood:

Steps to Reproduce:

1.  drag a view container such as search to the panel
2. try to drop it as last panel

=> this is hard, you have to drop it directly after the last panel, you cannot use any of the empty space to drop

![Image](https://github.com/user-attachments/assets/e6c2b13a-f290-4417-bc2f-e80019ed8d24)

This works fine in primary sidebar and secondary sidebar.
Repository: excalidraw
Issue: Add CJK fallback for other fonts
Labels: enhancement,font

- For Code (Comic Shanns) consider using Xiaolai Mono https://github.com/lxgw/kose-font/releases/tag/v3.120
- For Normal (Nunito), could we find a better fit than Xiaolai?
- For Lilita, could we find a similarly looking bold CJK font? Perhaps very bold Xiaolai?

Follows #8408
Repository: flutter
Issue: Allow more control of TextInputControls in EditableText
Labels: a: text input,c: new feature,c: proposal,P3,team-text-input,triaged-text-input

### Use case

Some apps need the option of using their own keyboard for security reasons. You often do not want other software or hardware keyboards to be able to track what is currently being entered in a text field.
Possible use cases are, for example, banking apps or other apps that have to meet certain security requirements.

We are currently unable to publish our Flutter app because a requirement for this is that external input is not allowed. The only possibility at the moment is to implement `EditableText` and `TextField`/`TextFormField` ourselves.

### Proposal

It could be made possible for `EditableTexts` or `TextFields` to control which `TextInputs` can modify them or receive updates from `TextEditingValues` or similar. For example, you could give each `TextInputConnection` the option of defining its own filter function for all permitted `TextInputControls`. Alternatively you could at least provide the option to prohibit external `TextInputs` such as `_PlatformTextInputControl.instance`.
Repository: rust
Issue: Terse diagnostic for never type fallback lint warning involving try operator and placeholder in path
Labels: A-lints,A-diagnostics,T-compiler,D-terse,L-dependency_on_unit_never_type_fallback

Compiling the following function warns in Rust 1.81 and later:

```rust
pub fn foo() -> std::io::Result<()> {
    [1, 2, 3]
        .into_iter()
        .map(|_| -> std::io::Result<_> { Ok(()) })
        .collect::<std::io::Result<_>>()?;
    Ok(())
}
```

I expected it to compile without warnings, as it did with previous Rust versions. It currently produces this warning:

```
warning: this function depends on never type fallback being `()`
 --> src/lib.rs:1:1
  |
1 | pub fn foo() -> std::io::Result<()> {
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
  = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
  = help: specify the types explicitly
note: in edition 2024, the requirement `!: FromIterator<()>` will fail
 --> src/lib.rs:5:20
  |
5 |         .collect::<std::io::Result<_>>()?;
  |                    ^^^^^^^^^^^^^^^^^^
  = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default
```

[Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=b80e4ca71ff5a21f56fe1122d8bdf734)

What is particularly perplexing about this warning is that I don't understand how the never type is even involved, as nothing in the code appears to diverge.

The current workaround is to add `let () = ...` before the iteration, which compiles without warnings:

```rust
// no warning
pub fn foo() -> std::io::Result<()> {
    let () = [1, 2, 3]
        .into_iter()
        .map(|_| -> std::io::Result<_> { Ok(()) })
        .collect::<std::io::Result<_>>()?;
    Ok(())
}
```

While this workaround works, it feels unnecessary and it's hard to explain and justify.
Repository: tauri
Issue: [feat] Option to generate android code as a fragment
Labels: type: feature request

### Describe the problem


I have an android app that is completely built on only single activity with multiple fragments. When I want to extend it  with tauri generated android app, i have to have it as fragment instead of activity.

### Describe the solution you'd like

Having an config option or flag to generate tauri android code as fragment instead of activity 

### Alternatives considered

_No response_

### Additional context

Or is there a way i can import tauri generated android code main activity as a fragment in my native code?