sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: PNG turns to black square with BitmapDescriptor.fromAssetImage
Labels: a: assets,p: maps,a: images,package,team-ecosystem,has reproducible steps,P2,triaged-ecosystem,found in release: 3.13,found in release: 3.16

### Is there an existing issue for this? Yes BUT not even mentioned in the reply.

Bug is identical to that of #98581

That thread was closed, because it was said to be similar to #34657, but this thread only mentions the size (which I have problems too). But please focus only on the black square as there is no thread on it.

But I am specifically having the black square when I use certain images.


```
 @override
  void initState() {
    super.initState();
    currentMapCenter = initialPosition;
    _controller = widget.controller;

    addCustomIcon();
  }

void addCustomIcon() {
    BitmapDescriptor.fromAssetImage(
            const ImageConfiguration(), "assets/images/casa.png")
        .then(
      (icon) {
        setState(() {
          markerIcon = icon;
        });
      },
    );
  }


@override
  Widget build(BuildContext context) => GoogleMap(markers: widget.markers«
                  icon: markerIcon,
```


Images with problems:
![casaIcon62x62](https://github.com/flutter/flutter/assets/40123939/a5a13119-c09a-419b-a52f-b268b7fb0402)

![casa](https://github.com/flutter/flutter/assets/40123939/fba54c66-60f2-4066-b2be-e88dee732e52)

![silhueta-de-icone-de-casa](https://github.com/flutter/flutter/assets/40123939/530a1dce-7f42-4c16-bd3c-c96de1487af8)



Image loads as intended:

![mapMarker](https://github.com/flutter/flutter/assets/40123939/02ea60f7-15d0-4536-a324-50d3498bc8e2)


In use:
![Capture1](https://github.com/flutter/flutter/assets/40123939/b09259bb-8e0f-491c-9ab8-d1b270c4f46b)

![Capture](https://github.com/flutter/flutter/assets/40123939/e38ec034-f903-4997-8d6c-dbbf66554f15)
Repository: flutter
Issue: SkiaPerf alert filters overlap so that one regression is reported multiple times
Labels: team,P2,c: tech-debt,team-engine,triaged-engine

For example, a regression in `average_frame_rasterizer_time_millis` is caught in the filters for both "Non-size-or-debt" and "Time-based Alerts".

Alerts are configured at https://flutter-flutter-perf.skia.org/a/.
Repository: flutter
Issue: [web] - Autofill dispatches empty key events on Chrome + Safari which cause console errors
Labels: a: text input,platform-web,has reproducible steps,P2,team-web,triaged-web,found in release: 3.13,found in release: 3.17

### 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

1. Trigger autofill.
2. Notice error

### Expected results

No error should occur. 

### Actual results

Console errors occur.

### Code sample

<details><summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';


void main() {
  final emailController = TextEditingController();
  final passwordController = TextEditingController();

  runApp(
    MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Autofill Test')),
        body: ListView(
          padding: const EdgeInsets.all(16),
          children: [
            AutofillGroup(
              child: Column(
                children: [
                  TextField(
                    controller: emailController,
                    autofillHints: const [AutofillHints.email],
                    decoration: const InputDecoration(labelText: 'Email'),
                  ),
                  const SizedBox(height: 16),
                  TextField(
                    controller: passwordController,
                    autofillHints: const [AutofillHints.password],
                    decoration: const InputDecoration(labelText: 'Password'),
                    obscureText: true,
                  ),
                ],
              ),
            ),
            const SizedBox(height: 16),
            ElevatedButton(
              onPressed: () {
                emailController.clear();
                passwordController.clear();
              },
              child: const Text('Clear'),
            ),
          ],
        ),
      ),
    ),
  );

}

```

</details>


### Screenshots or Video
<img width="528" alt="Screenshot 2023-11-02 at 11 10 45 AM" src="https://github.com/flutter/flutter/assets/110993981/c6fcfb0b-58a5-4c32-8b72-6d6b5b2ec35f">


### Additional Notes 

When we handle key events in the engine, we expect them to be non-null.  However, on Chrome and Safari, autofill dispatches empty keydown and keyup events (events with null properties like `code`, `keyCode` etc), which triggers the console errors. 

From what I've seen, this doesn't cause any functionality issues on Desktop Web.  This also doesn't occur on Firefox.
Repository: PowerToys
Issue: Preview Pane displaying "Unable to preview file"
Labels: Issue-Bug,Priority-1,Product-File Explorer

### Microsoft PowerToys version

0.75.1

### Installation method

WinGet

### Running as admin

Yes

### Area(s) with issue?

File Explorer: Preview Pane

### Steps to reproduce

1. Selecting a file to preview not handled by windows or thind party tools display "Preview not avaiable" in the pane
2. Enable preview pane handlers in Powertoys
3. The preview pane now shows "Unable to preview file"

Webview2 Runtime is installed.
[PowerToysReport_2023-11-02-17-04-22.zip](https://github.com/microsoft/PowerToys/files/13242285/PowerToysReport_2023-11-02-17-04-22.zip)


### ✔️ Expected Behavior

To preview files like in peek but in the preview pane

### ❌ Actual Behavior

preview pane is showing the error "Unable to preview file" when handled by powertoys
It happens with Monaco, md files, svg, ecc. 
Not sure for Pdf since I use Adobe Acrobat.

### Other Software

Adobe Acrobat is used to preview PDF and I disabled PDF previews in PowerToys
Repository: vscode
Issue: Notebooks can open but not be usable
Labels: under-discussion,file-io

<!-- ⚠️⚠️ 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.84
- OS Version: Windows 11

Steps to Reproduce:

1. Install Pylance extension 2023.10.53
2. Install Python and Jupyter extensions
3. Open a notebook 
4. Define a function in one cell
5. Use the function in another cell
6. Run both cells
7. In the second cell goto def on the function
8. VS code will open a new notebook that looks just like the first one (because the URI returned by the goto def is slightly different)
9. Run a cell in this new notebook
10. It won't run
11. Go back to the first notebook
12. It won't run either.

The error shown is something like so:

19:35:14.592 [error] Notebook not found for Cell ~/test/test_pyright/test.ipynb

I believe if VS code can open the notebook editor, then it should be able to find a notebook for this editor.

I think if this was fixed, the error in https://github.com/microsoft/vscode/issues/196740 would not have been quite as bad. Instead we would have just had two notebooks open for the same file.
Repository: godot
Issue: Cursor shifts back and forth when typing text in LineEdit or TextEdit when layout_direction is right-to-left
Labels: bug,needs testing,topic:gui

### Godot version

v4.2.beta4.official [93cdacbb0]

### System information

Mac M1

### Issue description

See title.
This is a followup to https://github.com/godotengine/godot/issues/81348#issuecomment-1708438711

### Steps to reproduce

1. Create a new GUI scene
2. Convert the root node to a `LineEdit` node
3. Click on `LineEdit` and, in the inspector, set `Layout -> Layout Direction` to `Right-to-Left`
4. Set the `LineEdit`s width and height (100 pixels wide and 50 pixels tall is good enough)
5. Run the project
6. Type `a` and `b` over and over, slowly, and look at the cursor.  Notice that the cursor shifts back and forth for some of the typed characters, and also notice that pressing backspace also shifts the cursor back and forth.  The cursor stops shifting back and forth once the characters run off the left edge (not tested in the video due to revealing a different bug)
7. Similar behavior is seen with `TextEdit` (I didn't include `TextEdit` in the video nor in the MRP)

https://github.com/godotengine/godot/assets/135338122/ae05840b-ec01-424e-aef5-0b4292b87a43

### Minimal reproduction project

This MRP does the initial setup for a `LineEdit` (steps 1-4)
[test81348.zip](https://github.com/godotengine/godot/files/13241711/test81348.zip)
Repository: stable-diffusion-webui
Issue: [Bug]: Eye dropper tool not working on Opera browser
Labels: bug-report,gradio

### Is there an existing issue for this?

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

### What happened?

Eye dropper tool does nothing on the Opera browser. Clicking it doesn't allow you to select another color from the screen.

### Steps to reproduce the problem

1. Go to inpainting sketch
2. Press the eye dropper tool.
3. ...


### What should have happened?

The eye dropper tool to let you select a color from the screen.

### Sysinfo

N/A

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

Other

### Console logs

```Shell
N/A
```


### Additional information

_No response_
Repository: ollama
Issue: nix flake
Labels: feature request

Would be great to have a nix flake to be able to consume it via nix flakes on flakehub.com
Repository: flutter
Issue: Disable paste action in TextField when using three-finger gestures on iOS
Labels: a: text input,platform-ios,framework,engine,c: proposal,P2,team-ios,triaged-ios,fyi-text-input

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

Raising again the issue discussed in https://github.com/flutter/flutter/issues/132191.
There is a way of preventing Copy/Paste by configuring (f.e.):

 ```
TextField(
       enableInteractiveSelection: false,
       contextMenuBuilder: (_, __) => const SizedBox.shrink(),
        // Other properties...
)
```

However, it is still possible to paste in the TextField using keyboard shortcuts or three-finger gestures on iOS.


### Proposal

As proposed by the issue: https://github.com/flutter/flutter/issues/132191
A parameter that will only allow keyboard input in the TextField and block paste action.
Repository: godot
Issue: text_changed signal is emitted by delete_char_at_caret but not by insert_text_at_caret
Labels: bug,topic:gui

### Godot version

v4.1.2.stable.official [399c9dc39]

### System information

Ubuntu 22

### Issue description

When using a LineEdit, the text_changed signal is emitted when I call **delete_char_at_caret**, but it is not emitted when I call **insert_text_at_caret**. I expect these two functions to have similar behavior. If the difference is intended, I also don't see any mention in the documentation. Because of this difference, I need to manually trigger updates when calling **insert_text_at_caret** which are not necessary when calling **delete_char_at_caret**, which leads to confusing code.

### Steps to reproduce

A simple LineEdit with the following script reproduces the issue:

```
extends LineEdit

var c = 0

func _ready():
	text_changed.connect(_on_text_changed)

func _process(delta):		
	c += 1	
	if c % 50 == 1:
		insert_text_at_caret("ab")	
	if c % 50 == 2:
		delete_char_at_caret()

func _on_text_changed(new_text):
	print(new_text)
```

The output that is printed when running this script is:
```
a
aa
aaa
aaaa
```
If both functions triggered the text_changed signal, the expected output would be:
```
ab
a
aab
aa
aaab
aaa
aaaab
aaaa
```



### Minimal reproduction project

N/A
Repository: angular
Issue: Allow consumers to read individual `ReadableStream` chunks when using `FetchBackend`
Labels: area: common/http

### Which @angular/* package(s) are relevant/related to the feature request?

common

### Description

Hi Angular team 👋 

I work on Apollo Client and have been looking into adding support for a GraphQL feature called `@defer` in the [Apollo Angular](https://github.com/kamilkisiela/apollo-angular) library.

The `@defer` and `@stream` directives (and increasingly other features in GraphQL, like [batching](https://chillicream.com/docs/hotchocolate/v13/server/batching#response-formats) in HotChocolate, or [subscriptions](https://www.apollographql.com/docs/router/executing-operations/subscription-multipart-protocol/) in Apollo Router) use the `multipart/mixed` response format to allow clients to read individual chunks off a `ReadableStream` and update as they're streamed in.

With `FetchBackend`, I see that all the chunks are assembled, and once the final chunk arrives the observable returns the entire response: https://github.com/angular/angular/blob/f615f4f90d3a053de2f273f6bd6d3e00ebfbb790/packages/common/http/src/fetch.ts#L115-L126

I'm wondering if there would be any appetite for an API that exposes access to/iterates an observable on each chunk, though I recognize this is perhaps far afield from the traditional use cases you all need to support :) But I thought I'd open an issue anyways given the increasing usage of this response format in the GraphQL ecosystem. Thanks!

### Proposed solution

Wanted to get a sense of whether this feature would be considered at all, but happy to participate in the design phase if it's given the green light.

### Alternatives considered

Not using `HttpClientModule`: I'm not very familiar with the Angular ecosystem, so I'm not sure whether it would be acceptable to use plain `fetch` (meaning without the added benefits of `HttpClientModule`) for this use case or what the tradeoffs would be.
Repository: go
Issue: io/fs: document concurrent guarantees of FS
Labels: Documentation,NeedsInvestigation

Most usages of `fs.FS` seem to assume that it is safe to perform concurrent operations. For example, calling `fs.FS.Open` concurrently. However, the documentation does not guarantee that this is safe. Should we document this guarantee?
Repository: godot
Issue: Inconsistent calling of setter between running in editor and standalone
Labels: topic:gdscript,needs testing

### Godot version

v4.2.beta4.official [93cdacbb0]

### System information

Windows 10

### Issue description

When exporting my game from the editor, certain setters are not being called which leads to unset values and references. I have been able to reproduce the problem in a test project.
Here I set the value of an exported integer in the editor. When I run the program from the editor I can see that the value is being set.
![in_editor](https://github.com/godotengine/godot/assets/38868780/7a0223a0-6940-4137-b1de-d9428970db0e)


When I export the program and run the standalone version, I am not able to see the same output.
![standalone](https://github.com/godotengine/godot/assets/38868780/2f4e1170-8d51-459f-a3d7-a79f5b36524e)

This is not a problem with the print statement, as I can see other print statements in the output of the standalone program (I deleted them to reduce the sample as much as possible) and the value is also set to the non-default value.
I have noticed that when I delete the .godot folder in this test project, restart the editor, export the program and then run the standalone version, the output is as expect. However, this solution does not seem to work on everything in my main game.

### Steps to reproduce

Open the attached project. Run in the editor for the normal output. Export The program with default settings and run the program via the console to see no output.
Please note: The attached project specifically includes the .godot folder as it seems to be linked to the error.

### Minimal reproduction project

[GetSetBugStandaloneSmall.zip](https://github.com/godotengine/godot/files/13243800/GetSetBugStandaloneSmall.zip)
Repository: go
Issue: io/fs: document use of ErrClosed
Labels: Documentation,NeedsInvestigation

The `fs` package declares a sentinel `ErrClosed` variable, but never documents when it is returned. We should document that the expected behavior of double closing a `fs.File`.
Repository: go
Issue: io/fs: document ownership of slice from ReadDirFile.ReadDir
Labels: Documentation,NeedsInvestigation

The `ReadDirFile.ReadDir` method returns a `[]DirEntry`, but ownership of the slice is unspecified:
* Can the caller expect that the results won't be changed by a subsequent `ReadDir` call?
* Can the caller mutate the resulting slice?
* Can the content of each `DirEntry` be expected to not change?
Repository: pytorch
Issue: AssertionError: Global state changed while dynamo tracing, please report a bug
Labels: triaged,oncall: pt2,module: dynamo

### 🐛 Describe the bug

In my code, I have a context manager class that modifies the default dtype:

```python
import torch

class DtypeContextManager:
    def __init__(self, dtype):
        self._previous_dtype = torch.get_default_dtype()
        self._new_dtype = dtype
    def __enter__(self) -> None: torch.set_default_dtype(self._new_dtype)
    def __exit__(self, exc_type, exc_value, traceback): torch.set_default_dtype(self._previous_dtype)

def fn():
    t = torch.tensor(0)
    for i in range(10):
        ctx = DtypeContextManager(torch.bfloat16)
        with ctx:
            t = t.add(i)
    return t

fn = torch.compile(fn)
print(fn())
```

This raises the error listed below.

Interestingly, if the dtype is hard-coded, then the code runs normally

```python
import torch

class DtypeContextManager:
    def __enter__(self) -> None: torch.set_default_dtype(torch.bfloat16)
    def __exit__(self, exc_type, exc_value, traceback): torch.set_default_dtype(torch.float32)

def fn():
    t = torch.tensor(0)
    for i in range(10):
        ctx = DtypeContextManager()
        with ctx:
            t = t.add(i)
    return t

fn = torch.compile(fn)
print(fn())
```

### Error logs

```python
Traceback (most recent call last):
  File "/home/carlos/kk.py", line 20, in <module>
    print(fn())
  File "/home/carlos/nightly-env/lib/python3.10/site-packages/torch/_dynamo/eval_frame.py", line 411, in _fn
    return fn(*args, **kwargs)
  File "/home/carlos/kk.py", line 14, in fn
    with ctx:
  File "/home/carlos/nightly-env/lib/python3.10/site-packages/torch/_dynamo/eval_frame.py", line 559, in catch_errors
    return callback(frame, cache_entry, hooks, frame_state)
  File "/home/carlos/nightly-env/lib/python3.10/site-packages/torch/_dynamo/convert_frame.py", line 683, in _convert_frame
    result = inner_convert(frame, cache_entry, hooks, frame_state)
  File "/home/carlos/nightly-env/lib/python3.10/site-packages/torch/_dynamo/convert_frame.py", line 160, in _fn
    assert (
AssertionError: Global state changed while dynamo tracing, please report a bug
```

### Versions

`torch==2.2.0.dev20231030+cu121`

cc @ezyang @msaroufim @bdhirsh @anijain2305 @zou3519 @chauhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @wconstab
Repository: stable-diffusion-webui
Issue: [Bug]: RX 6750 XT not supported [Arch Linux]
Labels: bug-report

### Is there an existing issue for this?

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

### What happened?

Torch does not detect RX 6750 XT for GPU acceleration, giving the dreaded "Torch is not able to use GPU" error.
Worked when I tried it a few months ago, but seems to be broken now. This is on a clean install.

sysinfo file anonymised to remove name.

### Steps to reproduce the problem

1. Follow installation instructions for Arch + AMD GPU
2. Attempt to run ./webui.sh


### What should have happened?

Web UI should launch and use GPU for acceleration.

### Sysinfo

[sysinfo-2023-11-02-20-49.txt](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/13244501/sysinfo-2023-11-02-20-49.txt)


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

Mozilla Firefox

### Console logs

```Shell
################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################

################################################################
Running on <user> user
################################################################

################################################################
Repo already cloned, using it as install directory
################################################################

################################################################
Create and activate python venv
################################################################

################################################################
Launching launch.py...
################################################################
Using TCMalloc: libtcmalloc_minimal.so.4
Python 3.11.5 (main, Sep  2 2023, 14:16:33) [GCC 13.2.1 20230801]
Version: v1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Traceback (most recent call last):
  File "/home/<name>/Documents/SD/stable-diffusion-webui/launch.py", line 48, in <module>
    main()
  File "/home/<name>/Documents/SD/stable-diffusion-webui/launch.py", line 39, in main
    prepare_environment()
  File "/home/<name>/Documents/SD/stable-diffusion-webui/modules/launch_utils.py", line 356, in prepare_environment
    raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
```


### Additional information

Running an RX 6750 XT Red Devil, Ryzen 5 2600, Gigabyte AB350M-D3V, 16GB generic 3000MT/s RAM.