sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Editable Children's exported Dictionary property can not be saved to .tscn file via script
Labels: bug,topic:core,needs testing

### Tested versions

- Reproducible in v4.4.dev3.official [f4af8201b]

### System information

Windows 11, Vulkan API 1.3.280 - Forward+ - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce RTX 3060 Ti

### Issue description

I use an @export_tool_button to modify a sub-scene's exported Dictionary property, but it turns out that new value can't be saved in outer scene's `.tscn` file. It's interesting that the Dictionary's changed value can be show correctly in EditorInspector but not saved in file. If use the EditorInspector to modify sub-scene's exported Dictionary property and save, the new value can correctlly be saved in outer scene's `.tscn` file.
<img width="1346" alt="屏幕截图 2024-11-06 103609" src="https://github.com/user-attachments/assets/6c3adf6b-f749-4ee5-ac67-731143e19090">
<img width="1346" alt="屏幕截图 2024-11-06 103252" src="https://github.com/user-attachments/assets/a2b3db87-ef12-4a2d-837f-46f217df8c38">

BTW, sub-scene's exported Int property can be successfully saved in outer scenes's `.tscn` file by the same way.

### Steps to reproduce

In the MRP, 

- `test1.tscn` has a property: `@export var map: Dictionary = {}`,
- `test2.tscn` contains a `test1.tscn`
- `test3.tscn` contains a `test2.tscn` with a modification of `test1.tscn`'s map and the value is `{"fff": 121, "ggg": 666}` 
- `test4.tscn` contains a `test3.tscn`, which means the sub-scene `test3/test2/test1`'s maps default value is inherited from `test3.tscn`'s
- click the test4's @export_tool_button `add element` will set a new pair of Key/Value to the `test3/test2/test1`'s map and you can click on the sub-scene test1 to see it's property by EditorInspector to confirm that the map is surly modified.
- save scenes and open `test4.tscn` with other text editor and you will find the value is not saved in file.
- If you click on the sub-scene test1 and do some little modifcation by EditorInspector and save, you will find out the new value is saved in `test4.tscn`.

### Minimal reproduction project (MRP)

[test_export_dictionary.zip](https://github.com/user-attachments/files/17641026/test_export_dictionary.zip)
Repository: ui
Issue: [bug]: Unnecessary Double Spaces in DialogPrimitive Overlay Class for Dialog Component
Labels: bug

### Describe the bug

There is extra space in part of the style for the dialog component.
There are two extra spaces before the class `data-[state=open]:animate-in`.

https://github.com/shadcn-ui/ui/blob/f7c42169a6c7daa5821a033eed5928f26e565f38/apps/www/registry/default/ui/dialog.tsx#L21C1-L28C5

https://github.com/shadcn-ui/ui/blob/f7c42169a6c7daa5821a033eed5928f26e565f38/apps/www/registry/new-york/ui/dialog.tsx#L24

```
  <DialogPrimitive.Overlay
    ref={ref}
    className={cn(
      "fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
      className
    )}
    {...props}
  />
```

### Affected component/components

dialog

### How to reproduce

At the very least, the components generated when running npx shadcn@latest add dialog included this issue. I’ve also confirmed that it’s present in the New York theme.

### Codesandbox/StackBlitz link

https://github.com/shadcn-ui/ui/blob/f7c42169a6c7daa5821a033eed5928f26e565f38/apps/www/registry/default/ui/dialog.tsx#L21C1-L28C5

### Logs

_No response_

### System Info

```bash
MacBook Air macOS m3 sonoma 14.5
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: PowerToys
Issue: Add hotkeys for focus assist and do not disturb
Labels: Needs-Triage

### Description of the new feature / enhancement

Currently there is no way to use these features with one's keyboard rather than clicking windows. I have these clicks behind hotkeys configured with AutoHotkey.

### Scenario when this would be used?

1. Activate a focus assist session using a default timer
2. Turn on/off do not disturb

### Supporting information

_No response_
Repository: flutter
Issue: [Web] flutter web has returned to the starting page, canGoBack is still true
Labels: platform-web,has reproducible steps,P2,team-web,triaged-web,found in release: 3.24,found in release: 3.27

### Steps to reproduce

1. Open a flutter web application
2. Enter the second level page
3. Use flutter web’s own navigation to return

### Expected results

canGoBack is false


### Actual results

canGoBack is true
safari Also have this problem

### Code sample

<details open><summary>Code sample</summary>

```dart
return WillPopScope(
      onWillPop: ()=> Future.value(true),
      child: Scaffold(
        appBar: AppBar(
          backgroundColor: Theme.of(context).colorScheme.inversePrimary,
          title: Text('canGoBack: $_canPop'),
        ),
        body: Column(
          children: [
            Row(
              children: [
                InkWell(
                  onTap: () {
                    _controller.goBack();
                  },
                  child: Container(
                    width: 200,
                    height: 56,
                    alignment: Alignment.center,
                    child: Text("controller.goBack()"),
                  ),
                ),

                InkWell(
                  onTap: () {
                    _controller.canGoBack().then((value) {
                      print("是否可以返回: $value");
                      setState(() {
                        _canPop = value;
                      });
                    });
                  },
                  child: Container(
                    width: 200,
                    height: 56,
                    alignment: Alignment.center,
                    child: Text("controller.canGoBack()"),
                  ),
                ),

              ],
            ),
            Expanded(child: WebViewWidget(controller: _controller))
          ],
        ),
      ),
    );
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>


https://github.com/user-attachments/assets/96879e58-e356-49d8-98b2-66a5830ea243



https://github.com/user-attachments/assets/b89488de-5054-4c81-b1d5-8951244c8355


</details>


### Logs

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


### Flutter Doctor output

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.27.0-1.0.pre.351, on macOS 14.0 23A344 darwin-arm64, locale zh-Hans-CN)
[✓] 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.2)
[✓] VS Code (version 1.94.2)
[✓] Connected device (6 available)
[✓] Network resources
Repository: flutter
Issue: When manually setting the value of AnimationController, the status is always forward.
Labels: c: new feature,framework,a: animation,c: proposal,P2,team-framework,triaged-framework

### Use case

In the source code, when setting a new `value`, `_direction` is used to change `_status`. If `_direction` is not changed by other means, `_direction` defaults to `_AnimationDirection.forward`, resulting in `status` also being `AnimationStatus.forward`. In some cases, I need `status` to be `AnimationStatus.reverse` when manually setting `value`, which is not possible at this time.
https://github.com/flutter/flutter/blob/5a3fd44aec1ff9c8d57fd7ddfd27e97099a05c13/packages/flutter/lib/src/animation/animation_controller.dart#L431-L434

### Proposal

Hope to provide similar methods:

```dart
void setValue(double value, [AnimationDirection? direction]);
```

### Usage scenarios

When you manually slide back, `reverseBuilder` cannot be triggered, but `forwardBuilder` is called. The root cause is that `status` is `forward` when `AnimationController.value = x`

```dart

class FooRoute<T> extends PageRoute<T> {

  @override
  Widget buildTransitions(
    BuildContext context,
    Animation<double> animation,
    Animation<double> secondaryAnimation,
    Widget child,
  ) {
    return DualTransitionBuilder(
      animation: animation,
      forwardBuilder: (context, animation, child) {
        return FadeTransition(opacity: animation, child: child);
      },
      reverseBuilder: (context, animation, child) {
        return CupertinoRouteTransitionMixin.buildPageTransitions(
          this,
          context,
          ReverseAnimation(animation),
          secondaryAnimation,
          child!,
        );
      },
      child: child,
    );
  }
}

```
Repository: vscode
Issue: [WSL2] Use relative paths when linking to files
Labels: bug,editor-contrib

<!-- ⚠️⚠️ 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.95.1
- OS Version: Win 11 10.0.26100

Steps to Reproduce:

1. Open VSCode in WSL2
2. Create `foo.ts` and `bar.ts` file
3. Open `foo.ts` file and add  `// file://./bar.ts`
4. Ctrl + Click on file link.

This should take the window to the `bar.ts` file. Instead it's saying
![Image](https://github.com/user-attachments/assets/ae304b79-25dc-4b0e-8817-854a37a57dc9)

This works on Windows just fine. But not on WSL2.

Related https://github.com/microsoft/vscode/issues/90848#issuecomment-588159214
Repository: PowerToys
Issue: Translation Errors
Labels: Issue-Bug,Needs-Triage,Issue-Translation

### Microsoft PowerToys version

0.86.0

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

General

### Steps to reproduce

![Image](https://github.com/user-attachments/assets/18555787-6f58-45b9-9f4a-28d68267f315)
When it ask me to turn on the diagnostic data and I select "Yes", the Chinese translation is
```
We are glad for you to help us to improve PowerToys!
You can always change this      from Password.
```
It seems that the translator translated `Settings` to `Password`.

### ✔️ Expected Behavior

Translation:
```
We are glad for you to help us to improve PowerToys!
You can always change this from Settings.
```

### ❌ Actual Behavior

Translation:
```
We are glad for you to help us to improve PowerToys!
You can always change this      from Password.
```
It seems that the translator translated `Settings` to `Password`.

### Other Software

_No response_
Repository: ollama
Issue: Build instructions in https://github.com/ollama/ollama/blob/main/llama/README.md are outdated or non-functional
Labels: documentation,build

### What is the issue?

Following the build instructions in [README.md](https://github.com/ollama/ollama/blob/main/llama/README.md#cuda) for Linux/CUDA results in an error when running `make ggml_cuda.so`. The error is:

```bash
make: *** No rule to make target 'ggml_cuda.so'.  Stop.
```

Could you please confirm if the documentation needs to be updated?

### OS

Linux

### GPU

Other

### CPU

Intel

### Ollama version

main branch
Repository: deno
Issue: Can't read from a file with `{ write: true }`
Labels: bug

Version: Deno 2.0.5

I need to open a file, lock it, read from it, and then write to it. But no configuration of `Deno.open` lets me read and write to the same `Deno.FsFile` instance.

```ts
const file = await Deno.open('README.md', { write: true });

const bytes = await new Response(file.readable).arrayBuffer();

console.log(new TextEncoder().encode(bytes));
```

It says:

```
Uncaught Error: Bad file descriptor (os error 9)
    at async readableStreamCollectIntoUint8Array (ext:deno_web/06_streams.js:1066:19)
    at async consumeBody (ext:deno_fetch/22_body.js:254:9)
    at async <anonymous>:4:15
```

If I set `{ read: true }` it works. But then I cannot write to it. With `{ read: true, write: true }` I can read but not write to it:

```
Uncaught BadResource: Bad resource ID
    at write (ext:deno_io/12_io.js:52:15)
    at FsFile.write (ext:deno_fs/30_fs.js:585:12)
>     at <anonymous>:1:27
```

I need to lock the file. The only way to lock is with an instance of `Deno.FsFile`, which I can only get from `Deno.open`. But it's impossible to do it.
Repository: vscode
Issue: Illegal value for lineNumber
Labels: error-telemetry,diff-editor

```javascript
Error: Illegal value for lineNumber
at Ew.getLineMaxColumn in src/vs/editor/common/model/textModel.ts:860:10
at Va.getBottomForLineNumber in out-vscode/vs/editor/browser/widget/codeEditor/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:583:40
at <anonymous> in src/vs/editor/browser/widget/diffEditor/utils/editorGutter.ts:124:38
at fn in src/vs/base/common/observableInternal/base.ts:303:3
at $be in src/vs/editor/browser/widget/diffEditor/utils/editorGutter.ts:93:5
at Cte._runFn in src/vs/editor/browser/widget/diffEditor/utils/editorGutter.ts:54:81
at Cte.k in src/vs/base/common/observableInternal/autorun.ts:197:11
at Cte.endUpdate in src/vs/base/common/observableInternal/autorun.ts:244:11
at j4.finish in src/vs/base/common/observableInternal/base.ts:371:13
at Vi in src/vs/base/common/observableInternal/base.ts:305:6
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=65edc4939843c90c34d61f4ce11704f09d3e5cb6&bH=551871d4-b60c-ef6c-4593-a9839a6d3b53)
Repository: vscode
Issue: TextModel got disposed before DiffEditorWidget model got reset
Labels: error-telemetry,diff-editor

```javascript
Error: TextModel got disposed before DiffEditorWidget model got reset
at vZ.value in src/vs/editor/browser/widget/diffEditor/diffEditorWidget.ts:329:24
at x.B in src/vs/base/common/event.ts:1243:13
at x.C in src/vs/base/common/event.ts:1254:9
at x.fire in src/vs/base/common/event.ts:1278:9
at Ew.dispose in src/vs/editor/common/model/textModel.ts:394:23
at pWe.destroyModel in src/vs/editor/common/services/modelService.ts:464:19
at Lz.dispose in out-vscode/vs/workbench/common/editor/vs/workbench/common/editor/textEditorModel.ts:234:22
at <anonymous> in src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts:141:11
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=65edc4939843c90c34d61f4ce11704f09d3e5cb6&bH=4894b40b-0399-b450-6de7-85b9a81356ce)
Repository: vscode
Issue: Cannot read properties of undefined (reading 'getViewLineMinColumn')
Labels: error-telemetry

```javascript
TypeError: Cannot read properties of undefined (reading 'getViewLineMinColumn')
at rLi.getViewLineMinColumn in src/vs/editor/common/viewModel/viewModelLines.ts:735:62
at dLi.getLineMinColumn in src/vs/editor/common/viewModel/viewModelImpl.ts:687:22
at dLi.getVisibleRangesPlusViewportAboveBelow in src/vs/editor/common/viewModel/viewModelImpl.ts:533:30
at Va.getVisibleRangesPlusViewportAboveBelow in out-vscode/vs/editor/browser/widget/codeEditor/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:537:36
at iV.F in src/vs/editor/contrib/inlayHints/browser/inlayHintsController.ts:436:38
at Jt.a in src/vs/editor/contrib/inlayHints/browser/inlayHintsController.ts:217:119
at Jt.h in out/vs/workbench/workbench.desktop.main.js:31:76680
at Jt.g in src/vs/base/common/async.ts:1059:9
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=65edc4939843c90c34d61f4ce11704f09d3e5cb6&bH=e69353d3-2767-c222-1db9-4c6acce1b8f5)
Repository: vscode
Issue: Cannot read properties of undefined (reading 'e')
Labels: error-telemetry,snippets

```javascript
TypeError: Cannot read properties of undefined (reading 'e')
at <anonymous> in src/vs/editor/contrib/snippet/browser/snippetSession.ts:302:27
at callback in src/vs/editor/common/model/textModel.ts:1623:13
at Ew.changeDecorations in src/vs/editor/common/model/textModel.ts:1593:16
at Va.changeDecorations in out-vscode/vs/editor/browser/widget/codeEditor/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:1262:32
at IE.merge in src/vs/editor/contrib/snippet/browser/snippetSession.ts:294:16
at <anonymous> in src/vs/editor/contrib/snippet/browser/snippetSession.ts:679:14
at cursorStateComputer in src/vs/editor/common/cursor/cursor.ts:490:23
at cursorStateComputer in out-vscode/vs/editor/common/model/vs/editor/common/model/editStack.ts:444:33
at Rli.pushEditOperation in out-vscode/vs/editor/common/model/vs/editor/common/model/editStack.ts:430:38
at Ew.wb in src/vs/editor/common/model/textModel.ts:1371:31
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=65edc4939843c90c34d61f4ce11704f09d3e5cb6&bH=87ec4ab9-f214-b6a6-eddc-a4d223538b45)
Repository: vscode
Issue: Cannot read properties of null (reading 'startLineNumber')
Labels: error-telemetry,snippets

```javascript
TypeError: Cannot read properties of null (reading 'startLineNumber')
at <anonymous> in src/vs/editor/contrib/snippet/browser/snippetSession.ts:149:41
at callback in src/vs/editor/common/model/textModel.ts:1623:13
at Ew.changeDecorations in src/vs/editor/common/model/textModel.ts:1593:16
at IE.move in src/vs/editor/contrib/snippet/browser/snippetSession.ts:136:49
at m1.j in src/vs/editor/contrib/snippet/browser/snippetSession.ts:707:33
at <anonymous> in src/vs/editor/contrib/snippet/browser/snippetSession.ts:685:17
at cursorStateComputer in src/vs/editor/common/cursor/cursor.ts:490:23
at cursorStateComputer in out-vscode/vs/editor/common/model/vs/editor/common/model/editStack.ts:444:33
at Rli.pushEditOperation in out-vscode/vs/editor/common/model/vs/editor/common/model/editStack.ts:430:38
at Ew.wb in src/vs/editor/common/model/textModel.ts:1371:31
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=65edc4939843c90c34d61f4ce11704f09d3e5cb6&bH=ac945490-421c-2294-cc3f-e851365545da)
Repository: godot
Issue: Editor Shader Include Debugger: Incorrect type error when using Canvas Item built-ins
Labels: discussion,topic:shaders

### Tested versions

v4.3.stable.arch_linux
v.4.0.stable

### System information

Godot v4.3.stable unknown - Arch Linux ZEN SMP PREEMPT_DYNAMIC Fri, 01 Nov 2024 03:30:35 +0000 - Wayland - GLES3 (Compatibility) - Mesa Intel(R) HD Graphics 3000 (SNB GT2) - Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz (8 Threads)

### Issue description

By default, shader include type is *spatial*, which change the type of *built-ins*
![Screenshot_20241106_133627](https://github.com/user-attachments/assets/e234427e-7bf8-481e-80e0-b6a442f8812e)
However, it is not possible to change the *shader_type* of shader include file.
![Screenshot_20241106_133604](https://github.com/user-attachments/assets/5e02f5f8-a815-430f-ae87-58ad6e38893f)

The shader does complie with no error and works correctly. But still show as an error in the editor:
![Screenshot_20241106_190958](https://github.com/user-attachments/assets/568806ae-1054-4ffe-be80-7f86555cc9f3)

### Steps to reproduce

Create a shader include file.
Try to use some canvas-item built-in.

### Minimal reproduction project (MRP)

[shaderincludeissue.zip](https://github.com/user-attachments/files/17646895/shaderincludeissue.zip)
Repository: deno
Issue: Logging out webgpu adapater causes an assertion error
Labels: bug,webgpu

Version: Deno 2.0.5

On Windows, Linux, and Mac OS trying to log out the WebGPU adapter causes an assertion error which is unexpected and was rather difficult to debug, interestingly enough logging out the actual adapter device works as expected it prints out an object. 

I'm not sure if the assertion error is expected behaviour or not but I've not found any documentation that specifies this behaviour, so I'm thinking it's a bug.

> Note: when running the script on Windows it doesn't always print the assertion error, sometimes it just causes the script to crash with no errors, making it basically impossible to debug.

```ts
const adapter = await navigator.gpu.requestAdapter();
const device = await adapter?.requestDevice();

console.log({
  adapter,
})
```

Assertion Error:
```
❯ deno run --unstable-webgpu -A main.ts
[Internal Formatting Error] AssertionError: Assertion failed
    at assert (ext:deno_console/01_console.js:199:11)
    at getKeys (ext:deno_console/01_console.js:1294:7)
    at formatRaw (ext:deno_console/01_console.js:761:14)
    at formatValue (ext:deno_console/01_console.js:545:10)
    at inspect (ext:deno_console/01_console.js:3469:10)
    at GPUAdapter.[Deno.privateCustomInspect] (ext:deno_webgpu/01_webgpu.js:542:12)
    at formatValue (ext:deno_console/01_console.js:487:48)
    at formatProperty (ext:deno_console/01_console.js:1647:11)
    at formatRaw (ext:deno_console/01_console.js:957:9)
    at formatValue (ext:deno_console/01_console.js:545:10)
```
Repository: vscode
Issue: Support comment toggling for languages that do not support content on the first column
Labels: feature-request,editor-comments

Please have a look at this link 
[https://github.com/microsoft/vscode-discussions/discussions/2363](Issue)

Kindly add a feature to fix such type of issues

Summary:

The user has a language where the first column is always empty.
The user is encountering an issue with the comment toggling feature where the comment indicator is placed in the first column, which is invalid for their language.

This is a feature request to improve comment toggling, so it also works for such a language.
Repository: next.js
Issue: Hard Navigation On Client side Navigation (using Link component) in Nextjs 15
Labels: bug,Navigation

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/musing-lalande-js9nmq?file=%2Fapp%2Fpage.tsx%3A5%2C1

### To Reproduce

	1.	Create a new page in the starter project.
	2.	Add a link to that page on the home page.
	3.	Run the app locally.
	4.	Click on the link.
	5.	A hard navigation occurs, causing the window to reload and the page document to be downloaded.

In Next.js v14, this behavior wouldn’t occur. Navigations were handled as soft navigations, resulting in the document not being downloaded on every navigation and requested only once.

### Current vs. Expected behavior

In Next.js v15, clicking on internal links leads to full page reloads (hard navigations), resulting in the entire page document being downloaded each time. This behavior differs from Next.js v14, where navigations were handled as soft navigations (client-side transitions), allowing for faster and more efficient page changes without reloading the entire document.

### Provide environment information

```bash
Operating System:
  Platform: macos
  Arch: x64
Binaries:
  Node: 20.9.0
  npm: 10.1.0
  Yarn: 1.22.19
  pnpm: 9.9.0
Relevant Packages:
  next: 15.0.2
  react: 18.3.0,
  react-dom": 18.3.0,
  typescript: 5.1.6
```


### Which area(s) are affected? (Select all that apply)

Navigation

### Which stage(s) are affected? (Select all that apply)

next dev (local), next start (local), Other (Deployed)

### Additional context

![image](https://github.com/user-attachments/assets/6da5f752-d406-4c54-993d-4628ad575049)

https://github.com/user-attachments/assets/5fd95c4d-3f0d-4bd5-9849-4c35575b3872