sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: `Constructor syntax` section in wiki can be better.
Labels: d: examples,d: wiki,P3,team-framework,triaged-framework

### 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)

### Steps to reproduce

In this section: [Constructor syntax](https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#constructor-syntax), there are codes that have not yet been updated to Null Safety. 

This can be bad for beginner developers and/or make certain things confusing for documentation. I think it would be ideal to update it. 

I looked for ways to contribute to the wiki, but I didn't find anything concrete.

### Expected results

Is expected that the docs should be updated. 

### Actual results

The documentation have deprecated code.

### Code sample

Not is necessary.

### Screenshots or Video

_No response_

### Logs

_No response_

### Flutter Doctor output

No version in specific.
Repository: stable-diffusion-webui
Issue: path forward to multi gpu inference
Labels: enhancement

### Is there an existing issue for this?

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

### What would your feature do ?

I think I have devised an easy path to multi gpu inference:

Considering the use of accelerate it should be easy to implement this: 
https://huggingface.co/docs/accelerate/usage_guides/distributed_inference in some form or other.
I would recommend a txt2img batch function, and it would make perfect sense there and likewise for the img2img batch function.

we will probably need to add some functions to detect multi gpu in modules/devices.py if enabled in the start bash script we can set it to use the new txt2img batch gpu function by default even if just one prompt.

### Proposed workflow

1. Ideally it will work the same as the regular stuff 

### Additional information

Am open to further refinement / debate here this is just a rough guesstimate on stuff I am going to bring testing and stuff soon , would love to hear feedback @AUTOMATIC1111 and other core devs
Repository: flutter
Issue: TabBar does not show divider on Material 2
Labels: c: new feature,f: material design,c: proposal,P3,team-design,triaged-design

### 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

Currently on Flutter 3.15.0-8.0.pre.2, the TabBar widget does not show a divider when using Material 2, **even** when overriding the divider's color or height. This is a problem when trying to make it possible to switch between both Material iterations.

Even if the tab bar is often on elevated surfaces, like the app bar, some developers want to put the tab bar on the lowest surface, a card, etc. This is where a divider is necessary to communicate separation.

Being required to add logic, like the code below, is not great DX:
```dart
TabBar(/* ... */),
if (!Theme.of(context).useMaterial3) const Divider(height: 1),
/* ... */
```

The example code also doesn't follow spec, as the divider is supposed to be painted under the TabBar.

### Proposal

Override `_TabBarState`'s logic to paint the divider even when Material 3 is not active.

![image](https://github.com/flutter/flutter/assets/22963120/aa606007-220b-4bf4-bf03-d8cc88816387)
Repository: vscode
Issue: "Save As..." isn't disabled on internal pages, yet doesn't do anything.
Labels: bug,menus

<!-- ⚠️⚠️ 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. -->

<table><tr>
	<th>Does this issue occur when all extensions are disabled?</th>
	<td>Yes</td>
</tr></table>

<!-- 🪓 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. -->

<table><tr>
	<th>VS Code Version</th>
	<td><code>code-insiders-1.83.0</code></td>
</tr><tr>
	<th>OS Version</th>
	<td><code>cpe:/o:opensuse:tumbleweed:20230922</code></td>
</tr></table>

<blockQuote>

Commit: c72447e8d8aaa7497c9a4bd68bc4301584b92beb
Date: 2023-09-22T09:29:40.641Z
Electron: 25.8.1
ElectronBuildId: 23779380
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
	
</blockQuote>

#### Steps to Reproduce

1.	Invoke the "File" context menu from the menu bar:

	1.	Select the "Preferences" sub-menu.
	1.	Select the "Settings" page.

1.	Invoke the "File" context menu from the menu bar:

	1.	Invoke "Save As".
	
1.	Nothing occurs.

Either the user should be able to save the page in a standard format, or the button should be disabled.
Repository: next.js
Issue: Server components not dynamically sending the set of client components
Labels: bug

### Link to the code that reproduces this issue

https://github.com/zxti/next-bundletest

### To Reproduce

1. Start the application
2. Go to http://localhost:3000
3. Open DevTools and inspect bundles

### Current vs. Expected behavior

Current: sends both Cli1 and Cli2.

Expected: sending either Cli1 or Cli2 but not both.

The server component just renders this:

```
Math.random() > 0.5 ? <Cli1/> : <Cli2/>
```

From https://github.com/reactjs/rfcs/blob/main/text/0188-server-components.md

> Server Components **can dynamically choose which Client Components to render**, allowing clients to download just the minimal amount of code necessary to render a page.

Have also seen various other mentions of this in interviews etc. (can't remember where exactly), but I cannot produce the advertised behavior.

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 22.6.0: Wed Jul  5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000
Binaries:
  Node: 18.16.0
  npm: 9.5.1
  Yarn: 1.22.19
  pnpm: N/A
Relevant Packages:
  next: 13.5.4-canary.0
  eslint-config-next: 13.5.3
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.2.2
Next.js Config:
  output: N/AOperating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 22.6.0: Wed Jul  5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000
Binaries:
  Node: 18.16.0
  npm: 9.5.1
  Yarn: 1.22.19
  pnpm: N/A
Relevant Packages:
  next: 13.5.4-canary.0
  eslint-config-next: 13.5.3
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.2.2
Next.js Config:
  output: N/A
```


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

App Router

### Additional context

_No response_
Repository: vscode
Issue: Screen reader not announcing name of edit field announcing only place holder value in Issue Reporter
Labels: bug,accessibility,issue-reporter

<!-- ⚠️⚠️ 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.82.2
- OS Version: Windows

Steps to Reproduce:
1. Open vscode and navigate to Issue Reporter
2. Start screenreader (NVDA or Narrator)
3. Navigate through dropdowns and input boxes and see that only values/placeholders are announced, but not the names next to these input fields.

Expected Result:
Screen reader should announce name of combo box and value containing it also.

Speech-input user will not be able to navigate to Steps to Reproduce text field as its name is not as its visual.
![issueReporterAriaLabelsVscode](https://github.com/microsoft/vscode/assets/31145923/ac185a8d-d9b4-485e-be3f-7f4a5e39f938)


original issues created in ADS: https://github.com/microsoft/azuredatastudio/issues/24219, https://github.com/microsoft/azuredatastudio/issues/24218
Repository: godot
Issue: Export Dialog treats project directories as regular files
Labels: bug,topic:editor

### Godot version

fcbc50e

### System information

Debian Linux

### Issue description

The Editor File Dialog treats directories with godot projects as regular files.

Example:
![20230925_22h23m45s_grim](https://github.com/godotengine/godot/assets/11162205/7c2874fe-2b52-40d7-81cf-c22b718bbaba)
(everything except `test.pck` is a project). Other directories are fine

The issue comes from here: https://github.com/godotengine/godot/blob/fcbc50ec144df458aee75db94cdbf6396bd408ed/editor/gui/editor_file_dialog.cpp#L833 as `EditorFileSystem::_should_skip_directory(full_path)` returns true (because it is another project).

This behavior seems intentional, but I don't know why that is. At least for the export dialog this should not result in any problems.

Visually this is also confusing, as it is not clear that they are directories and not files (and they are filtered by file extensions). If this is indeed intended, then the icon should make at least clear, that this is a directory but it's disabled.

In Godot 3 the behavior is as expected.


### Steps to reproduce

Create two (possibly empty) godot projects.

Export the game in one of them and navigate to the other project's directory. The other project should look like a regular file in the file dialog.

### Minimal reproduction project

N/A
Repository: flutter
Issue: Please un-protect `ChangeNotifier.notifyListeners`
Labels: framework,c: proposal,P3,team-framework,triaged-framework

### 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

I often create a `ValueListener<T>`, where `T` is a class or collection whose members may change, even if the object of type `T` never changes. I want to be able to notify the listeners of these changes. For example, if I create a `valueListener = ValueListener<Set<int>>({})`, I should be able to call:

```dart
if (valueListener.value.add(5)) {
  valueListener.notifyListeners();
}
```

However, `ValueListener`'s superclass `ChangeNotifier` marks `notifyListeners()` as `@protected`.

I can still call the `notifyListeners` method, with a linter override directive, but I don't understand why this method is not public to start with.

### Proposal

Please make `ChangeNotifier.notifyListeners` a public method.
Repository: next.js
Issue: <Link> disturbing revalidation for dynamically generated routes
Labels: bug,Navigation,Pages Router

### Link to the code that reproduces this issue

https://github.com/roxizhauk/revalidate-path
https://revalidate-path.vercel.app/

### To Reproduce

1. Start the application in local (next start)
2. There're 3 patterns of links to the dynamic routes
- using `<Link>` to statically generated with `generateStaticParams`
- using `<Link>` to dynamically generated at request time
- using `<a>` to dynamically generated at request time
3. Each of pages has a link to fire `revalidatePath` and Pages router's `res.revalidate`
4. Visit the routes, check  the datetime shown, click **Revalidate with revalidatePath**, back to the page and refresh it
5. See if the datetime changed

### Current vs. Expected behavior

Only dynamically generated routes opened through `<Link>` can't be updated with `revalidatePath` unless `res.revalidate` is fired once. I assume revalidation is done but the cache in the client side shows the old page.

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: x64
  Version: Darwin Kernel Version 23.0.0: Fri Sep 15 14:42:42 PDT 2023; root:xnu-10002.1.13~1/RELEASE_X86_64
Binaries:
  Node: 18.18.0
  npm: 10.1.0
  Yarn: N/A
  pnpm: 8.10.2
Relevant Packages:
  next: 14.0.2
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.2.2
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

App Router, Data fetching (gS(S)P, getInitialProps), Routing (next/router, next/navigation, next/link)

### Additional context

Tested in:
13.5.2, 13.5.3, 13.5.4-canary.0, 13.5.6-canary.1, 14.0.0, 14.0.1, 14.0.2-canary.16, and 14.0.2
Repository: godot
Issue: Renaming a folder with a .blend file corrupts scene that inherits from it if it's open
Labels: bug,topic:import,topic:3d

### Godot version

4.1.1.stable

### System information

Godot v4.1.1.stable (bd6af8e0e) - Freedesktop SDK 23.08 (Flatpak runtime) - Vulkan (Mobile) - dedicated NVIDIA GeForce GTX 1060 6GB (nvidia) - Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (8 Threads)

### Issue description

I was making a game and had renamed a .blend file, so I figured that I should also rename the folder the .blend file is in, for consistency. But when I did that, a scene that inherits from the .blend file got corrupted!

I have tried reloading the project, but that doesn't seem to fix the scene.

The console prints the following warnings:
 ```
Resource file not found: res://renamed folder/untitled.blend.
Invalid scene: root node untitled in an instance, but there's no base scene.
editor/editor_data.cpp:626 - Index p_idx = 1 is out of bounds (edited_scene.size() = 1).
```

### Steps to reproduce

1. Make a new Godot project
2. Enable .blend importing, if it is not already enabled
3. Create a new folder in the project
4. Save a .blend file to the folder created in the last step (the default startup file is enough)
5. Create a new inherited scene from that .blend file
6. Save the created scene somewhere in the project
7. While the scene created in the last step is open, rename the folder the .blend file is in

### Minimal reproduction project

Here is a minimal project before the folder is renamed
[blend import bug (before rename).zip](https://github.com/godotengine/godot/files/12721012/blend.import.bug.before.rename.zip)

And here is the minimal project after the folder is renamed
[blend import bug (after rename).zip](https://github.com/godotengine/godot/files/12721018/blend.import.bug.after.rename.zip)

I made two so they can be compared side-by-side, if that helps
Repository: vscode
Issue: `task.json` -> `options.env` not working of `${env:VAR}` expansion
Labels: bug,tasks,confirmed

<!-- ⚠️⚠️ 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/No

<!-- 🪓 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.82.2 (abd2f3db4bdb28f9e95536dfa84d8479f1eb312d) arm64
- OS Version: macOS 13.0 (darwin 22.1.0)

Steps to Reproduce:

1. use a task of type shell, say `"echo ${env:HELLO}"`
2. specify env variable `HELLO` in `options.env`

**Update:** `options.env` works as env normally, except for `${env:*}` expansion.
p.s. I presume `%VAR%` works in Windows, and `$var` not — in posix os — for these are wrapped in single quotes.

```json
{
  "type": "shell",
  "label": "test",
  "group": "build",
  "dependsOn": ["another"],
  "options": {
    "env": {
      "HELLO": "vscode!",
    }
  },
  "command": "echo",
  "args": [
    "Hi, \"${env:HELLO}\"",
  ]
}
```

Env var replacement works with existing env_vars like `${env:HOME}`.
```[tasklist]
### Tasks
```
Repository: vscode
Issue: Spaces at start of line are eaten, even in literals
Labels: editor-autoindent,under-discussion,go,on-unit-test

<!-- ⚠️⚠️ 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/No

<!-- 🪓 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.82.2
- OS Version: Windows 11

### Describe the bug

*(Copied from https://github.com/golang/vscode-go/issues/2989. The `vscode-go` extension was ruled out as the cause.)*

Spaces get eaten if you try to paste them at the beginning of the line, even in the middle of a string literal.

### Steps to reproduce

 1. Open a Go file.

 2. Create a multiline string literal like:

    ```go
    var s = `
    quick  brown
    fox
    `
    ```

 3. Select the double space between `quick` and `brown` and copy it using Ctrl+C.

 4. Move the cursor to the beginning of the `fox` and paste using Ctrl+V.

### Expected result

```go
var s = `
quick  brown
  fox
`
```

### Actual result

(nothing happens)

```go
var s = `
quick  brown
fox
`
```
Repository: opencv
Issue: Unable to disable Opencv FFMPEG error logs
Labels: question (invalid tracker)

### System Information

OpenCV version : 4.1.2
Operating system: Docker image nvcr.io/nvidia/tensorrt:21.07-py3
CMAKE_CXX_STANDARD 17



### Detailed description

I am unable to disable error logs from opencv ffmpeg produced when using opencv::videoCapture API. The error logs are as follows.


```
[flv @ 0x27983c0] AMF_DATA_TYPE_STRING parsing failed
[h264 @ 0x2798e40] cabac decode of qscale diff failed at 4 27
[h264 @ 0x2798e40] error while decoding MB 4 27, bytestream 43216
[h264 @ 0x2799580] cabac decode of qscale diff failed at 4 27
[h264 @ 0x2799580] error while decoding MB 4 27, bytestream 43216
```

I have tried using the following flags, which are set as environment variables:
ENV OPENCV_VIDEOIO_DEBUG=0
ENV OPENCV_FFMPEG_DEBUG=0
ENV OPENCV_VIDEOWRITER_DEBUG=0
ENV OPENCV_VIDEOCAPTURE_DEBUG=0
ENV OPENCV_FFMPEG_LOGLEVEL=-8
ENV OPENCV_LOG_LEVEL=OFF


I have tried this as well.

```
#include <opencv2/core/utils/logger.hpp>
cv::utils::logging::setLogLevel(cv::utils::logging::LogLevel::LOG_LEVEL_SILENT);
```

The above logs are still printed. I can redirect the logs to stderr, but I am looking for a cleaner way to do it.


### Steps to reproduce

```
			cv::VideoCapture videoCapture(videoPath);
```

### 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: stable-diffusion-webui
Issue: [Feature Request]: I would like to see keyword searches in the metadata as well.
Labels: enhancement

### Is there an existing issue for this?

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

### What would your feature do ?

It would be great if the search window on the right side of the LoRA tab could search not only file names, but also Notes and Descriptions in the metadata such as Checkpoint, LoRA, etc.

For those who do not need this feature request, it would be better if the metadata search could be turned on/off in the settings.

With this feature, you can organize and search without adding categories and other information to file names.

### Proposed workflow

1. Enter keywords in the search window to the right of the LoRA tab
2. The keyword search target is narrowed down to the LoRA file name, Notes, and Descriptions in the displayed tab (for example, LoRA) and is displayed.

### Additional information

_No response_
Repository: next.js
Issue: Link prefetch={false} causes parallel interception route bug
Labels: bug,Navigation

### Link to the code that reproduces this issue

https://codesandbox.io/p/sandbox/pensive-dust-63krdw?file=%2Fapp%2Fitems%2Fpage.tsx%3A10%2C1-11%2C1

### To Reproduce

1. Run `yarn` to install dependencies.
2. Run `yarn dev` to run dev server.
3. Click "Items" button to go to the "Items" page.
4. Click "Info" button to navigate to `/info/9` route which should be intercepted and be displayed in parallel with the remaining children.
5. Get the error.

### Current vs. Expected behavior

Currently you get the

```
Error: Could not find the module "/project/home/pavel-krasnov/workspace/app/items/layout.tsx#" in the React Client Manifest. This is probably a bug in the React Server Components bundler.
```

error. If you remove `prefetch={false}` from the reproduction above, the route is intercepted and its content is displayed under the previously displayed content. I would expect that the example works even if prefetch is disabled.

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Sun Aug  6 20:05:33 UTC 2023
Binaries:
  Node: 16.17.0
  npm: 8.15.0
  Yarn: 1.22.19
  pnpm: 7.1.0
Relevant Packages:
  next: 13.5.4-canary.0
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.1.3
Next.js Config:
  output: N/A
```


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

App Router, Routing (next/router, next/navigation, next/link)

### Additional context

_No response_