sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: `editor.detectIndentation` produces incorrect values for empty files when `editor.insertSpaces` is `true`
Labels: bug,editor-indent-detection

<!-- ⚠️⚠️ 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.80.0
- OS Version: Linux x64 6.4.2-3-MANJARO

Steps to Reproduce:

1. Set the following indentation settings. I have deliberately chosen some unusual values to make the issue more obvious.
   ```
   "editor.indentSize": 5,            // Arbitrary
   "editor.tabSize": 7,               // Arbitrary, but different from "editor.indentSize"
   "editor.insertSpaces": false,      // Required
   "editor.detectIndentation": true,  // Required
   ```
2. Create and open a new empty file `bug.txt`.
3. See that the indentation is set to `Spaces: 7` instead of `Spaces: 5 (Tab Size: 7)`.

When `editor.detectIndentation` cannot detect the indentation of a file, such as for an empty file, it should revert to using the user-specified indentation settings for that file. The current behavior in that case respects `editor.insertSpaces`, but always sets the used value of `editor.indentSize` to the configured value of `editor.tabSize` instead of the configured value of `editor.indentSize`.
Repository: vscode
Issue: Wrapping ghost text breaks syntax highlighting
Labels: bug,inline-completions

* vscode codebase
* have snippet suggestions enabled and have `"editor.inlineSuggest.enabled": true,`
* have a method
* type `async` in from of its name
* the snippet suggestion for async-function shows as ghost text
* :bug: when the actual code (method ident) is being wrapped/pushed out it looses its color

https://github.com/microsoft/vscode/assets/1794099/c8e2e465-aac7-42a2-b7bf-0acdfb0c7471
Repository: opencv
Issue: Need the dependency maven for the version 4.8.0
Labels: feature

### System Information

Mac

### Detailed description

can you put the nex version on maven registry please ? 

### Steps to reproduce

no found in maven registry

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [X] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: godot
Issue: Remote Inspector Incorrectly Displays Value of Exported Node Variables
Labels: bug,topic:editor

### Godot version

v4.1.stable.official

### System information

Godot v4.1.stable - Linux Mint 19.1 (Tessa)

### Issue description

Inspecting any node which exports a Node (or any subclass) variable in the Remote Scene Tree during runtime will display the exported variable as `<empty>`, while also displaying the associated member property as a raw Object ID number.

Additionally: clicking the raw Object ID switches the Inspector to the correct variable Node, but the previous Node remains highlighted in the Remote Scene Tree. This can obviously be very confusing.

Presumably, the exported variable should appear the same in the Remote Inspector as it does in the Local Inspector, if it hasn't been changed by a script. At the very least, it certainly shouldn't display as `<empty>` when it has a valid value.

### Steps to reproduce

1. Add two Nodes to a scene with any hierarchy: Node1 and Node2
2. Attach a script to Node1 with the following code:
```GDScript
extends Node
@export var node_variable : Node
```
3. In the Scene Editor, click on Node1 and assign its Node Variable to be Node2.
4. Run the scene, switch to the Remote Scene Tree, and click on Node1.
5. Notice that its Node Variable appears as `<empty>`, while Node Variable in the Members list appears as an Object ID.
6. Clicking the Object ID under Members successfully changes the Inspector to Node2, but Node1 remains highlighted in the Remote Scene Tree. The displayed `<empty>` variable cannot be clicked or changed in any way.

### Minimal reproduction project

N/A
Repository: godot
Issue: Call Stack no longer selects nodes in Remote Scene Tree
Labels: bug,topic:editor,regression

### Godot version

4.1 stable

### System information

Godot v4.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated AMD Radeon RX 6750 XT (Advanced Micro Devices, Inc.; 31.0.12027.7000) - AMD Ryzen 5 5600 6-Core Processor (12 Threads)

### Issue description

Clicking on function in the call stack no longer selects nodes in the Remote Scene. It did in 3.5.2 but it doesn't in 4.0.3 or 4.1.

It also means a runtime error will not select a node that is causing that error which is useful in debugging.

### Steps to reproduce

Run the MRP and click on functions in the Call Stack.

### Minimal reproduction project

[CallStackRemoteScene.zip](https://github.com/godotengine/godot/files/12052967/CallStackRemoteScene.zip)
Repository: angular
Issue: Undocumented Feature of ng-template: direct access to context
Labels: area: compiler,P4,compiler: parser,bug

### Describe the problem that you experienced

While creating a wrapper component for a vendor component that makes heavy use of ngTemplateOutlet, I needed a way to access the entire context object from an ng-template and pass it to ngTemplateOutlet. I could find no documentation on how to do this, but did find a couple github issues with this request (both closed and rejected).

https://github.com/angular/angular/issues/22323
https://github.com/angular/angular/issues/39884

I did, however, determine that there is an undocumented feature which allows you to access the entire context object and pass it through to the ngTemplateOutlet:

<ng-template pTemplate="body" *ngIf="bodyTemplate" let-ctx="valueOf()">
    <ng-container *ngTemplateOutlet="bodyTemplate; context: ctx"></ng-container>
</ng-template>

Since the code responsible for creation of these ng-template variables treats the value of the attribute as a property/method hanging off of the context, we can use the object's valueOf() function to retrieve the entire object.

### Enter the URL of the topic with the problem

https://angular.io/api/common/NgTemplateOutlet

### Describe what you were looking for in the documentation

I was hoping to find a way to reference the entire context object from an ng-template so that I can pass it through to the ngTemplateOutlet

### Describe the actions that led you to experience the problem

_No response_

### Describe what you want to experience that would fix the problem

Having this undocumented feature added to the documentation would help.

### Add a screenshot if that helps illustrate the problem

_No response_

### If this problem caused an exception or error, please paste it here

_No response_

### If the problem is browser-specific, please specify the device, OS, browser, and version

_No response_

### Provide any additional information here in as much as detail as you can

_No response_
Repository: storybook
Issue: Storybook version 6.5.16 not working with Angular version 16.1.3
Labels: bug,needs triage

### Describe the bug

ERR! TypeError: rootMain.stories is not iterable
ERR!     at Object.<anonymous> (C:\Users\nkl2\Git\Angular\libs\storybook\.storybook
\main.js:11:17)
ERR!     at Module._compile (node:internal/modules/cjs/loader:1256:14)
ERR!     at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)      
ERR!     at Module.load (node:internal/modules/cjs/loader:1119:32)
ERR!     at Module._load (node:internal/modules/cjs/loader:960:12)
ERR!     at Module.require (node:internal/modules/cjs/loader:1143:19)
ERR!     at Module.require (C:\Users\nkl2\Git\Angular\node_modules\nx\src\adapter\c
ompat.js:35:40)
ERR!     at require (node:internal/modules/cjs/helpers:110:18)
ERR!     at interopRequireDefault (C:\Users\nkl2\Git\Angular\node_modules\@storyboo
k\core-common\dist\cjs\utils\interpret-require.js:64:16)
ERR!     at serverRequire (C:\Users\nkl2\Git\Angular\node_modules\@storybook\core-c
ommon\dist\cjs\utils\interpret-require.js:101:10)
ERR!  TypeError: rootMain.stories is not iterable
ERR!     at Object.<anonymous> (C:\Users\nkl2\Git\Angular\libs\storybook\.storybook
\main.js:11:17)
ERR!     at Module._compile (node:internal/modules/cjs/loader:1256:14)
ERR!     at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)      
ERR!     at Module.load (node:internal/modules/cjs/loader:1119:32)
ERR!     at Module._load (node:internal/modules/cjs/loader:960:12)
ERR!     at Module.require (node:internal/modules/cjs/loader:1143:19)
ERR!     at Module.require (C:\Users\nkl2\Git\Angular\node_modules\nx\src\adapter\c
ompat.js:35:40)
ERR!     at require (node:internal/modules/cjs/helpers:110:18)
ERR!     at interopRequireDefault (C:\Users\nkl2\Git\Angular\node_modules\@storyboo
k\core-common\dist\cjs\utils\interpret-require.js:64:16)
ERR!     at serverRequire (C:\Users\nkl2\Git\Angular\node_modules\@storybook\core-c
ommon\dist\cjs\utils\interpret-require.js:101:10)


devDependencies : 
    "@storybook/addon-essentials": "6.5.16",
    "@storybook/angular": "6.5.16",
    "@storybook/builder-webpack5": "6.5.16",
    "@storybook/manager-webpack5": "6.5.16"

### To Reproduce

_No response_

### System

_No response_

### Additional context

Tried adding :

angularOptions: {
    enableIvy: false
  }  

to .storybook\main.js
Repository: flutter
Issue: `captureImage` is not supported on web
Labels: a: tests,framework,platform-web,a: images,P2,team-web,triaged-web

I tried to use [`captureImage`](https://master-api.flutter.dev/flutter/flutter_test/captureImage.html) but it didn't work when testing with the web port. The documentation doesn't mention this limitation. We should either make it work (which should be possible since we support golden tests already?) or we should document why it's not supported and what workarounds are available.
Repository: flutter
Issue: `DecorationImage.centerSlice` (and probably `Canvas.drawImageNine`) don't work correctly on web
Labels: platform-web,a: images,e: web_canvaskit,P2,team-web,triaged-web

Even with CanvasKit, [Canvas.drawImageNine](https://master-api.flutter.dev/flutter/dart-ui/Canvas/drawImageNine.html) renders incorrectly.

Specifically I was testing with a 4x4 image giving `centerSlice: const Rect.fromLTWH(2.0, 2.0, 1.0, 1.0)` to `DecorationImage` and the result did not match other platforms (nor my intuition and understanding of 9-patch image transforms).
Repository: stable-diffusion-webui
Issue: [Bug]: install script broken on Debian 11 with RX 5000 series GPU
Labels: bug-report,platform:amd

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

`webui.sh` file, per README and wiki, should be usable to install stable diffusion webui on Debian 11, the script itself even says it was tested on Debian 11 . However, the check for RX 5000 series GPUs is broken, and will throw an error stating Python is always >= 3.10, even if it is actually 3.9 or lower. Performing the same Python command the script uses results in a reported version of 3.9, as expected.



### Steps to reproduce the problem

1. Install a Debian 11 stratum with Bedrock Linux
2. Install Python 3.9 (highest available in default repo)
3. Run `webui.sh`


### What should have happened?

Per wiki, install script should Just Work.

### Version or Commit where the problem happens

Install script, no version as not installed yet.

### What Python version are you running on ?

Python 3.9.x (below, no recommended)

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

Linux

### What device are you running WebUI on?

AMD GPUs (RX 5000 below)

### Cross attention optimization

Automatic

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

Mozilla Firefox

### Command Line Arguments

```Shell
No
```


### List of extensions

No

### Console logs

```Shell
Terminal recording:
https://asciinema.org/a/NMESZnGJjZW1QIy2h0Zy5XdTD
```


### Additional information

_No response_
Repository: vscode
Issue: Incorrect $PATH order in task shell
Labels: bug,tasks

Type: <b>Bug</b>

I have a custom task in `tasks.json`. Since upgrading to 1.80 it's loading my `$PATH` env variable in an incorrect order.

I have tested this by adding this task in `tasks.json`.

```
{
  "label": "echo PATH",
  "type": "shell",
  "command": "echo $PATH"
},
```
When I run this task it shows a different `$PATH` than when I choose New Terminal within VS Code and run `echo $PATH`. The paths themselves appear the same, just in a different order which is causing issues with finding the proper bins.

I'm on Mac OS X 13.3 and use zsh.

VS Code version: Code 1.80.1 (Universal) (74f6148eb9ea00507ec113ec51c489d6ffb4b771, 2023-07-12T17:20:23.298Z)
OS version: Darwin x64 22.4.0
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>metal: disabled_off<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled|
|Load (avg)|2, 2, 2|
|Memory (System)|16.00GB (0.58GB free)|
|Process Argv|. --crash-reporter-id f3967eb1-1d64-41bb-a279-ee5aa5d9697f|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (12)</summary>

Extension|Author (truncated)|Version
---|---|---
vscode-toggle-quotes|Bri|0.3.6
compulim-vscode-closetag|Com|1.2.0
vscode-mac-color-picker|dae|1.1.0
vscode-eslint|dba|2.4.2
ERB Syntax|und|0.0.1
prettier-vscode|esb|9.19.0
batch-rename-extension|Jan|0.0.6
dotenv|mik|1.0.1
remote-containers|ms-|0.299.0
material-icon-theme|PKi|4.28.0
vscode-syntax-tree|rub|0.5.1
svelte-vscode|sve|107.8.0

(1 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263cf:30789497
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30610679
282f8724:30602487
pyind779:30671433
89544117:30613380
vscrp:30673768
pythonsymbol12:30671437
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
03d35959:30757346
pythonfmttext:30731395
pythoncmv:30756943
fixshowwlkth:30771522
showindicator:30785052
pythongtdpath:30769146
i26e3531:30780429
pythonnosmt12:30779714
pythonidxpt:30784022
pythonnoceb:30776495
h7j2d465:30786200
dsvsc013cf:30789518

```

</details>

<!-- generated by issue reporter -->
Repository: flutter
Issue: [go_router] Allow multiple GoRouters
Labels: c: new feature,package,c: proposal,P3,p: go_router,team-go_router,triaged-go_router

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

My app works more like a Web Browser than a single Web Page.
As such, I would like to use mutliple Routers in my App, one for each "tab". Each tab then has its own route, completely independant of other tabs. 

GoRouter would work great for this, but its always connected to the global platform route itself.

Conceptually, Routers are allowed to be arbitrarily nested and can be disconnected from the platforms route to maintain their own route instead, as per [documentation](https://api.flutter.dev/flutter/widgets/Router-class.html).

### Proposal

It would be nice if it was possible to disconnect a GoRouter from the platform route.
With this, it would be possible to maintain multiple GoRouters throughout an app, which would be a great addition.
Repository: godot
Issue: Godot output/debug console is out of order when using RPCs and/or multiple clients
Labels: discussion,topic:editor,topic:network

### Godot version

4.1 stable

### System information

Godot v4.1.stable - Artix Linux #1 SMP PREEMPT_DYNAMIC Thu, 03 Nov 2022 21:10:08 +0000 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1050 Ti (nvidia; 520.56.06) - AMD Ryzen 5 2600 Six-Core Processor (12 Threads)

### Issue description

Synopsis: I have X message before I send an RPC. And a different print message when I receive it. Yet, in the console log, I first receive the RPC receival print message before X message.

As for details. Basically, you cannot have a proper print order, because all clients dont print in the exact logical order the code ran. I added [timestamps](https://docs.godotengine.org/en/latest/classes/class_time.html#class-time-method-get-ticks-usec) just in case, but they are futile since the timestamp of all clients don't start in the exact same frame. So if you run
```gdscript
func _enter_tree() -> void:
	print("Started at timestamp: ", Time.get_ticks_usec())
```
with 3 debug clients, all 3 timestamps are different.

The MRP also supports 3 clients ofc. 3 clients instead of 2 is a guarantee to have the debug log scrambled.

[Video-explanation for those who don't want to run the MRP](https://files.catbox.moe/wq8jt2.mkv)

tl;dr: I cannot read the debug log linearly with multiple clients.

### Steps to reproduce

Basically create an RPC from host to client to host. Print messages before and after RPCs with the multiplayer ID. Chances are you don't even need a more complex scenario (like this MRP)

### Minimal reproduction project

[debug-log-out-of-order.zip](https://github.com/godotengine/godot/files/12053437/debug-log-out-of-order.zip)
Repository: flutter
Issue: Enable adding a widget on desktop macOS Sonoma
Labels: c: new feature,platform-mac,a: desktop,P3,team-macos,triaged-macos

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

Many apps would appreciate it, e.g. I made a todo app.

### Proposal

Read more here: https://www.apple.com/macos/sonoma-preview/
Repository: godot
Issue: On assigning any value to a PackedArray, I still get the "this variable is used but has no value" warning
Labels: discussion,topic:gdscript

### Godot version

4.1 stable

### System information

Artix (Arch Linux)

### Issue description

![packed-array-false-flag-warning](https://github.com/godotengine/godot/assets/25630803/f0fea384-4524-48c6-871b-852141a3a504)

Basically, if you do any operation on a Packed**X**Array type, which inserts a value, you get that warning since it expects the equality operator = I guess.

This is not exclusive to append, but also something like .resize(5); .insert(0,1) or .set(1,1)
.append_array() should apply as well, and .fill()

The above are for PackedInt32Array, idk if other PackedArrays have more "add value" functions, but they should all be considered by that warning

### Steps to reproduce

Run this:
```gdscript
func _ready() -> void:
  var packed_array: PackedInt32Array
  packed_array.append(5)
```

### Minimal reproduction project

[warning-false-flag.zip](https://github.com/godotengine/godot/files/12053881/warning-false-flag.zip)
Repository: deno
Issue: Formatting tagged template literals
Labels: feat,deno fmt

A lot of modern frontend (often web-component-based) frameworks make use of JS/TS tagged template literals for inline html/css. To the point where most editors (and even GitHub) recognize it and apply syntax highlighting:

```ts
html`<div>foo</div>`.css`:root { --primary: #000 }`
```

Would it be possible for `deno fmt` to take these into consideration just like [Prettier does](https://prettier.io/blog/2020/08/24/2.1.0.html) and as Deno itself does for markdown code snippets?
Repository: angular
Issue: Improvements for routerLink when used as hostDirective
Labels: area: router,router: directives

### Which @angular/* package(s) are the source of the bug?

router

### Is this a regression?

No

### Description

I created the following directive:

```
@Directive({
   selector: '[sectionLink]',
   standalone: true,
   hostDirectives: [
      {
         directive: RouterLink
      }
   ]
})
export class SectionLinkDirective implements OnInit {

   private readonly _navigationService = inject(NavigationService);
   private readonly _routerLinkDirective = inject(RouterLink);

   @Input()
   public sectionLink: [section: SectionName, parameter: any | null] | SectionName;

   public ngOnInit(): void {
      const link = this._navigationService.resolveSectionLink(
         typeof this.sectionLink === 'string' ? this.sectionLink : this.sectionLink[0],
         typeof this.sectionLink === 'string' ? null : (this.sectionLink[1] ?? null)
      );

      this._routerLinkDirective.routerLink = link;
      this._routerLinkDirective.ngOnChanges({ routerLink: new SimpleChange(null, link, true) });
   }
}
```

This directive is used to apply a `routerLink` directive based on the `sectionLink` value that resolves to a route.
This works well, however, I'm forced to call the `ngOnChanges` hook in order to trigger the `updateHref` method of the `RouterLink` directive or the `href` of the link won't be defined and its CSS cursor won't change.

It would be nice to either make `updateHref` public in order to be able to call it or even better (I think), try and call this method in a setter for `routerLink` and other inputs triggering a change in the URL.

If this issue seems is accepted, I would be glad to try and make a pull request for it.

### Please provide a link to a minimal reproduction of the bug

_No response_

### Please provide the exception or error you saw

_No response_

### Please provide the environment you discovered this bug in (run `ng version`)

```true
Angular CLI: 16.1.1
Node: 18.16.1
Package Manager: yarn 1.22.19
OS: win32 x64

Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1601.1 (cli-only)
@angular-devkit/core         16.1.1 (cli-only)
@angular-devkit/schematics   16.1.1 (cli-only)
@schematics/angular          16.1.1 (cli-only)
```


### Anything else?

_No response_