sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: react
Issue: Bug: The downloaded release version of 18.2.0 is 18.1.0 when opened.
Labels: Status: Unconfirmed

<img width="1218" alt="image" src="https://github.com/user-attachments/assets/7288ae96-3b04-4451-b58b-73bedd29b06f">
<img width="646" alt="image" src="https://github.com/user-attachments/assets/0589ec1a-2dbc-4c70-bb07-ad341cf68356">
The downloaded release version of 18.2.0 is 18.1.0 when opened.
Repository: PowerToys
Issue: Screen Ruler: Lines barely visible on 4k screen (1px width)
Labels: Needs-Triage

### Description of the new feature / enhancement

**Problem Summary:** On Windows 11 24H2 (other versions not tested), PowerToys version 0.86.0, and 4K displays of any size, the **Ruler tool's lines are almost invisible.** This issue is **particularly noticeable on large 4K displays,** commonly used in web/app development offices and conference rooms, and is also evident on my 4K laptop display where the lines are faint.

**Requested Improvements:** Add a slider bar / number box to either side of the color picker allowing users to change the width of the ruler line. Please allow options in small increments, such as 1.25, 1.50. 1.75, - up to 5px would solve this issue and would be greatly appreciated.

**Additional Requests:** When using the bounds option of the Ruler tool, it would be nice for the measurement to stay on-screen after letting go of the mouse button (while discussions ensue). The measurement can be removed when any key or mouse button is pressed. Current behavior is that the measure only stays on screen when the mouse button is held down.


### Scenario when this would be used?

**Why this Improvement is Important:** Most pertinent info is described above. A slider or number box allowing users to increase the line width of the Ruler tool line is an important missed feature and adding it which would allow users to effectively use the tool no matter their display size, resolution, distance from the screen, or their eyesight. This is especially prominent on larger displays in web/app developer offices where 1 or more people may be working on a project and utilizing the Ruler tool to measure distances on-screen. However, due to the current 1px line width, the colored ruler line becomes nearly impossible to see on larger displays or displays with 4k+ resolution.

### Supporting information

Additional context is provided above.
Repository: godot
Issue: Focused `SpinBox` fires `ValueChanged` signal when `SetValueNoSignal` is called 
Labels: bug,needs testing,topic:gui

### Tested versions

Reproducible in:
- godot.v4.3.stable.mono.official
- godot.v4.4.dev4.mono.official

### System information

Tested on Windows 11 and Ubuntu, so its not OS or hardware specific

### Issue description

A focused `SpinBox` will fire a `ValueChanged` signal with the **old value** when setting a **new value** to the `SpinBox` with `SetValueNoSignal` after the focus goes to a `TreeItem`

The problem is that `SetValueNoSignal` shouldn't even fire a signal with the **new value**. And it fires the **old value**, which is worse.

Note that if the focus goes to a `Button` the signal isn't fired which is very weird..
PS: I reported this bug [Here](https://github.com/godotengine/godot/issues/99323) but the explanation was complicated. The example from [That](https://github.com/godotengine/godot/issues/99323) report shows that the problem does not occur with buttons.


### Steps to reproduce

1. Open the attached Minimal reproduction project
2. Click on the `TreeItems` to see how the `SpinBox` value changes to the label value
3. Click on the `SpinBox` to focus it
4. Click on another `TreeItem` and watch the `SpinBox` fire a signal with the old value

Note that if the `SpinBox` is focused and you press `Esc` to remove the focus, the signal does not fire

### Minimal reproduction project (MRP)

[SpinBoxBug.zip](https://github.com/user-attachments/files/17789772/SpinBoxBug.zip)
Repository: electron
Issue: Enable Chromium flag #windows11-mica-titlebar to address white flash issues on Windows
Labels: enhancement :sparkles:,platform/windows,component/BrowserWindow

### Preflight Checklist

- [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [x] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

Electron apps on Windows can show a "white flash" when restoring a minimized window. This disrupts the user experience, especially in apps with dark themes.
This issue often frustrates me a lot, and I believe many dark mode users feel the same. I think most people just get used to it since it usually only appears for a split second, and full-window white flashes are rare. It’s not terrible, but it would be amazing if it never appeared at all.

### Proposed Solution

I’m requesting support for the Chromium flag **#windows11-mica-titlebar** in Electron. This flag addresses a common issue on Windows where a "white flash" appears when restoring a minimized Electron window. Allowing this flag as an argument would greatly improve the user experience, especially for applications with dark themes. ;)

In short, I’d love for the "**--enable-features=windows11-mica-titlebar**" argument to actually be supported.

Please let me know if more info is needed, but testing minimizing/maximizing in Chromium with the flag enabled or disabled should be straightforward.

### Alternatives Considered

I tried switching to different ANGLE graphics backends like D3D9 and OpenGL. While they did get rid of the "white flash", the performance was much worse compared to the default ANGLE backend, making them an unrealistic solution for apps that should be fast and responsive.

### Additional Information

Also, technically this solution would only work on Windows 11, but I think it’s still much better than having no solution at all.
+ support for Windows 10 will end in just under 11 months.
Repository: bitcoin
Issue: MSVC 17.12.0 internal compiler error 
Labels: Windows,Upstream

The [latest version](https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes#17.12.0) of MSVC causes an internal compiler error in `src/test/fuzz/utxo_snapshot.cpp` for both "Release" and "Debug" configurations:
```
< snip >
  utxo_snapshot.cpp
C:\Users\hebasto\source\repos\bitcoin\src\test\fuzz\utxo_snapshot.cpp(45,1): error C1001: Internal compiler error. [C:\Users\hebasto\source\repos\bitcoin\build-static\src\test\fuzz\fuzz.vcxproj]
C:\Users\hebasto\source\repos\bitcoin\src\test\fuzz\utxo_snapshot.cpp(45,1): error C1001: (compiler file 'D:\a\_work\1\s\src\vctools\Compiler\CxxFE\sl\p1\c\symbols.c', line 33772) [C:\Users\hebasto\source\repos\bitcoin\build-static\src\test\fuzz\fuzz.vcxproj]
C:\Users\hebasto\source\repos\bitcoin\src\test\fuzz\utxo_snapshot.cpp(45,1): error C1001:  To work around this problem, try simplifying or changing the program near the locations listed above. [C:\Users\hebasto\source\repos\bitcoin\build-static\src\test\fuzz\fuzz.vcxproj]
C:\Users\hebasto\source\repos\bitcoin\src\test\fuzz\utxo_snapshot.cpp(45,1): error C1001: If possible please provide a repro here: https://developercommunity.visualstudio.com  [C:\Users\hebasto\source\repos\bitcoin\build-static\src\test\fuzz\fuzz.vcxproj]
C:\Users\hebasto\source\repos\bitcoin\src\test\fuzz\utxo_snapshot.cpp(45,1): error C1001: Please choose the Technical Support command on the Visual C++  [C:\Users\hebasto\source\repos\bitcoin\build-static\src\test\fuzz\fuzz.vcxproj]
C:\Users\hebasto\source\repos\bitcoin\src\test\fuzz\utxo_snapshot.cpp(45,1): error C1001:  Help menu, or open the Technical Support help file for more information [C:\Users\hebasto\source\repos\bitcoin\build-static\src\test\fuzz\fuzz.vcxproj]
```

According to Microsoft [docs](https://learn.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/fatal-error-c1001):
> If the file has a cxxfe ..., it is probably a parser error.

The issue also occurs in recent CI jobs using the image version `20241113.3.0`.
Repository: opencv
Issue: Support optional foreground input mask to cv::BackgroundSubtractor::apply
Labels: feature,category: video

### Describe the feature and motivation

For some applications, it would be beneficial to support an optional foreground input mask to cv::BackgroundSubtractor::apply that indicates areas of the image that are known to be foreground pixels, and thus shouldn't be used in updating the background model. This should help prevent the model from biasing towards foreground pixels and give a better estimate of the background in subsequent frames.

(You might ask why do we need a background detector if we can already detect foreground pixels? This would be for a use case where only some foreground pixels are easily detectable, not all, and the background can still slowly vary over time). (Could also be useful for removing objects that are still for a long number of frames, but not part of the background, that can be detected using other methods)


### Additional context

_No response_
Repository: PowerToys
Issue: Symbols stuck in the top for a while
Labels: Issue-Bug,Needs-Triage,Product-Quick Accent

### Microsoft PowerToys version

0.86.0

### Installation method

Microsoft Store

### Running as admin

No

### Area(s) with issue?

General

### Steps to reproduce

![Image](https://github.com/user-attachments/assets/59b8dfba-add9-4676-9a32-2948f965ede2)


### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: neovim
Issue: `:trust` puts incorrect(?) SHA-256 to trust database
Labels: bug,platform:windows,needs:repro,filesystem

### Problem

`trust` command writes incorrect hash to trust database

### Steps to reproduce

```
echo "vim.o.exrc = true" > %LOCALAPPDATA%/nvim/init.lua
mkdir "C:\tmp\1.d"
cd "C:\tmp\1.d"
echo abc = 1 > .nvim.lua
```

open `nvim`, press `a` to trust `.nvim.lua` in current directory and exit NeoVim

```
cat %LOCALAPPDATA%/nvim-data/trust
65ccf3b8a852603a341b039e58b211d1311b6b7d20df7d904def399171aba85b C:\tmp\1.d\.nvim.lua

@rem C:\Program Files\Git\usr\bin\sha256sum.exe is used here
sha256sum -t .nvim.lua
ee550c37003c2b228311e0148c5edf8a6de34c669b48dd987fca06eebff1c489  .nvim.lua
```

open `nvim .nvim.lua`, add one empty line at the end of the file, execute `:w | trust | q`

```
cat %LOCALAPPDATA%/nvim-data/trust
9acde475de7c19b8d2725504270568a0c4a08e1243b2b60c9d7b6bd18956e636 C:\tmp\1.d\.nvim.lua

sha256sum -t .nvim.lua
9acde475de7c19b8d2725504270568a0c4a08e1243b2b60c9d7b6bd18956e636  .nvim.lua
```

(!) open `nvim .nvim.lua`, **it complains about file not being trusted**; press a(llow) and exit `nvim`.

```
cat %LOCALAPPDATA%/nvim-data/trust
84c32a397500f69ffe7e452fa0be8e019ad431466fa3e08f77f243abd216d083 C:\tmp\1.d\.nvim.lua

sha256sum -t .nvim.lua
9acde475de7c19b8d2725504270568a0c4a08e1243b2b60c9d7b6bd18956e636  .nvim.lua
```

### Expected behavior

After `trust` command is issued for `.nvim.lua`, next time it's loaded, it's already in trust database.

### Nvim version (nvim -v)

NVIM v0.10.2, Build type: Release, LuaJIT 2.1.1713484068

### Vim (not Nvim) behaves the same?

vim doesn't have `trust` feature

### Operating system/version

Windows 11 Home

### Terminal name/version

cmd.exe, Microsoft Windows [Version 10.0.22631.4460]

### $TERM environment variable

absent

### Installation

winget
Repository: react
Issue: [React 19] Prewarm with use() broken in certain state-change situations in the parent
Labels: Type: Bug,React 19

## Summary

<!--
  Please provide a CodeSandbox (https://codesandbox.io/s/new), a link to a
  repository on GitHub, or provide a minimal code example that reproduces the
  problem. You may provide a screenshot of the application if you think it is
  relevant to your bug report. Here are some tips for providing a minimal
  example: https://stackoverflow.com/help/mcve.
-->

When testing the new prewarming, I ran across a situation where an effect / state change in the parent seems to break prewarming. This only happens with `use()`, not with `throw promise`:

https://codesandbox.io/p/sandbox/sibling-suspense-use-reproduction-lmscnl

I have not explored exactly under which circumstances this happens.

I did not find this in a real app, it happened when I was testing edge cases with React Query and noticed `useSuspenseQuery` worked as expected (`throw promise`) and `{ promise } = useQuery(...); use(promise)` did not in one case.

I am not sure this is a bug or intentional behaviour, but wanted to file it since it behaves differently with `use(promise)` and `throw promise`.
Repository: next.js
Issue: Build error with Next.js 15 in monorepo
Labels: create-next-app,bug,Output (export/standalone),Turbopack

### Link to the code that reproduces this issue

https://github.com/omarshehab221/DoomUI

### To Reproduce

Just clone the repo and try to build the apps/template or the apps/playground (I made sure not change anything in this one from what `bun create next-app@latest` created to test the error)

### Current vs. Expected behavior

I was trying to build the apps/template without that much change from what `bun create next-app@latest` created. I expected it to build fine specially that it passed the optimized build and the linting phases. It throws this error in the Collecting pages data phase: "Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7B%24%24typeof%2C%20type%2C%20key%2C%20ref%2C%20props%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings."

I created apps/playground and made sure not to change any of its code just to be sure the issue exists and had the same problem.

**This usually doesn't happen when I'm not working in a monorepo**

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10 Pro
  Available memory (MB): 16272
  Available CPU cores: 4
Binaries:
  Node: 18.18.0
  npm: 10.5.0
  Yarn: 1.22.22
  pnpm: 9.9.0
  bun: 1.1.33
Relevant Packages:
  next: 15.0.3
  eslint-config-next: 15.0.3
  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)

create-next-app, Output (export/standalone), Turbopack

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

next build (local)

### Additional context

I created apps/playground and didn't change it's code just to test this
Repository: stable-diffusion-webui
Issue: resume_download deprecation
Labels: bug-report

### Checklist

- [ ] 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?

resume_download deprecation

### Steps to reproduce the problem

resume_download deprecation

### What should have happened?

resume_download deprecation

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

Google Chrome

### Sysinfo

Platform: "Windows-10-10.0.19045-SP0",
Python: "3.10.6",
Version: "v1.10.1",

### Console logs

```Shell
(.venv) PS D:\AI\stable-diffusion-webui> .\webui-user.bat
venv "D:\AI\stable-diffusion-webui\.venv\Scripts\Python.exe"
Python 3.10.6 | packaged by conda-forge | (main, Oct 24 2022, 16:02:16) [MSC v.1916 64 bit (AMD64)]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Installing requirements
Launching Web UI with arguments: --xformers
Loading weights [6ce0161689] from D:\AI\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors
Creating model from config: D:\AI\stable-diffusion-webui\configs\v1-inference.yaml
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
D:\AI\stable-diffusion-webui\.venv\lib\site-packages\huggingface_hub\file_download.py:797: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
  warnings.warn(
Startup time: 41.4s (prepare environment: 23.2s, import torch: 8.0s, import gradio: 1.8s, setup paths: 1.9s, initialize shared: 0.8s, other imports: 1.0s, load scripts: 2.5s, create ui: 0.8s, gradio launch: 1.1s).
Applying attention optimization: xformers... done.
Model loaded in 8.9s (load weights from disk: 0.9s, create model: 0.9s, apply weights to model: 6.4s, apply half(): 0.1s, apply dtype to VAE: 0.2s, calculate empty prompt: 0.2s).
```


### Additional information

_No response_
Repository: PowerToys
Issue: dimming screen for dark environments
Labels: Needs-Triage

### Description of the new feature / enhancement

the feature is to add a dimming filter on the screen, i mostly use the find my mouse feature (because it dims the screen and highlight the mouse) for this purpose but as soon as i move the mouse or click any button the overlay disappears so it would be cool to add it as a separate feature

### Scenario when this would be used?

it would be so useful at night or not so bright environments as the lowest brightness of laptop screens isn't always dim enough, so it causes eye strains in dark environments

### Supporting information

you might already have this feature partially done in the find my mouse one, so it won't be hard to implement
Repository: PowerToys
Issue: Allow cascade menu on New+ context menu
Labels: Needs-Triage

### Description of the new feature / enhancement

HI...

New+ and their template function are amazing, but in some cases it's necessary to categorize these templates.
In the current format I use a prefix for each new template category, but if there was a way to create a second level of menu it would help a lot.
Example:

Current Format:
New+
-- Development - Java
-- Development - C
-- Development - Python
-- Video - Personal
-- Video - Social Media
-- Video - Marketing

Suggested Format:
-- Development
---- Java
---- C
---- Python
-- Videos
---- Personal
---- Social Media
---- Marketing


### Scenario when this would be used?

In prolonged use of the tool, many templates will be created, and localizing them will end up becoming increasingly time-consuming and difficult.

### Supporting information

_No response_
Repository: go
Issue: cmd/go: TestScript/test_json_build failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/test_json_build"
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8731013230249521921)):

    === RUN   TestScript/test_json_build
    === PAUSE TestScript/test_json_build
    === CONT  TestScript/test_json_build
        script_test.go:139: 2024-11-17T15:00:49Z
        script_test.go:141: $WORK=C:\b\s\w\ir\x\t\cmd-go-test-413761077\tmpdir2971279244\test_json_build1653328468
        script_test.go:163: 
            PATH=C:\b\s\w\ir\x\t\cmd-go-test-413761077\tmpdir2971279244\testbin;C:\b\s\w\ir\x\w\goroot\bin;C:\b\s\w\ir\x\w\goroot\bin;C:\b\s\w\ir\x\w\goroot\bin;C:\b\s\w\ir\cache\tools\bin;C:\b\s\w\ir\bbagent_utility_packages;C:\b\s\w\ir\bbagent_utility_packages\bin;C:\b\s\w\ir\cipd_bin_packages;C:\b\s\w\ir\cipd_bin_packages\bin;C:\b\s\w\ir\cipd_bin_packages\cpython3;C:\b\s\w\ir\cipd_bin_packages\cpython3\bin;C:\b\s\w\ir\cache\cipd_client;C:\b\s\w\ir\cache\cipd_client\bin;C:\b\s\cipd_cache\bin;C:\Program Files\OpenSSH\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Puppet Labs\Puppet\bin;C:\b\s\w\ir\cache\tools\cc\windows\gcc64\bin
            USERPROFILE=/no-home
            CCACHE_DISABLE=1
            GOARCH=amd64
    ...
            {"ImportPath":"m/builderror [m/builderror.test]","Action":"build-fail"}
            {"Time":"2024-11-17T07:00:51.3907289-08:00","Action":"start","Package":"m/builderror"}
            {"Time":"2024-11-17T07:00:51.3907289-08:00","Action":"output","Package":"m/builderror","Output":"FAIL\tm/builderror [build failed]\n"}
            {"Time":"2024-11-17T07:00:51.3907289-08:00","Action":"fail","Package":"m/builderror","Elapsed":0,"FailedBuild":"m/builderror [m/builderror.test]"}
            [exit status 1]
            > stdout '"ImportPath":"m/builderror \[m/builderror\.test\]","Action":"build-output","Output":"# m/builderror \[m/builderror.test\]\\n"'
            matched: {"ImportPath":"m/builderror [m/builderror.test]","Action":"build-output","Output":"# m/builderror [m/builderror.test]\n"}
            > stdout '"ImportPath":"m/builderror \[m/builderror\.test\]","Action":"build-output","Output":"builderror/main_test.go:3:11: undefined: y\\n"'
        script_test.go:163: FAIL: testdata\script\test_json_build.txt:6: stdout '"ImportPath":"m/builderror \[m/builderror\.test\]","Action":"build-output","Output":"builderror/main_test.go:3:11: undefined: y\\n"': no match for `(?m)"ImportPath":"m/builderror \[m/builderror\.test\]","Action":"build-output","Output":"builderror/main_test.go:3:11: undefined: y\\n"` in stdout
    --- FAIL: TestScript/test_json_build (2.75s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: godot
Issue: Script Editor: select next occurrence can't handle newlines
Labels: bug,topic:editor,topic:gui

### Tested versions

4.2.2, 4.3



### System information

macOS 12.7

### Issue description

`ui_text_add_selection_for_next_occurrence` throws an error when the selection includes a newline

<img width="155" alt="image" src="https://github.com/user-attachments/assets/286a0420-58df-4239-9b7c-97be0ff6e77e">

```
 scene/gui/text_edit.cpp:4145 - Index p_from_column = 13 is out of bounds (text[p_from_line].length() + 1 = 13).
```

### Steps to reproduce

select something with a linebreak in the editor, then press the shortcut. 
just `\n` -> error
`\n something` -> error
`something \n` -> no error, but also doesn't work


### Minimal reproduction project (MRP)

empty project
Repository: godot
Issue: Internal Script Error: Opcode :0 
Labels: bug,topic:gdscript

### Tested versions

currently only seen in v4.2.2

### System information

Windows 10- Godot _v4.2.2-stable

### Issue description

The error happened at runtime. The output was this : internal script error, Opcode: 0(please report)
I guess this must be some internal engine bug.It happened to Timer created in the scene tree using the await keyword which was being run in the physics_process function.

### Steps to reproduce

func _shoot():

		if can_shoot:
			can_shoot = false
			var b = turret.ammo_type.instantiate()
			get_tree().root.add_child(b)
			b.global_position = muzzle.global_position
			b.global_rotation = muzzle.global_rotation - (PI/2)
			**await get_tree().create_timer(0.5).timeout** // Error Line 
			can_shoot = true
		
		
	

### Minimal reproduction project (MRP)

I dont know