sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: [flutter web] A highlight of characters is incorrect on composing mode at TextField.
Labels: a: text input,a: internationalization,platform-web,has reproducible steps,P2,team-web,triaged-web,fyi-text-input,found in release: 3.22,found in release: 3.23

### Steps to reproduce

Create a simple app with TextField(maxLines:null) and deploy it on a web host.
Open it from Chrome on Android.
Type some Japanese text using G Board.


<img src="https://github.com/flutter/flutter/assets/135512697/dcaa259c-78fe-4e30-b4c6-60b7fd876a63" width="300px">

Another example of a similar experience from @huycozy.([link](https://github.com/flutter/flutter/issues/150851#issuecomment-2193903048))
<img src="https://github.com/flutter/flutter/assets/135512697/11cac094-6f1a-4188-8906-0e36a82e531e" width="300px">


### Expected results

The highlights and characters match.

### Actual results

The highlights appear to be misaligned.

### Code sample

<details open><summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(MaterialApp(
    builder: (context, child) => const MyApp(),
  ));
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<StatefulWidget> createState() {
    return _MyAppState();
  }
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: TextField(
          maxLines: null,
          keyboardType: TextInputType.multiline,
          controller: TextEditingController(),
          cursorColor: Colors.black,
        ),
      ),
    );
  }
}

```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

I encountered this issue on the master channel.
Please refer to [this link](https://github.com/flutter/flutter/issues/150851#issuecomment-2196852328) to save the my time.
(it takes time to switch channels to master -> upgrade -> build -> web deploy -> comfirm behavior -> flutter doctor -> and then switch back to stable...)

<details open><summary>Doctor output</summary>

```console
[Paste your output here]
```

</details>
Repository: go
Issue: x/tools/gopls: warn if language version is newer than compile version
Labels: gopls,Tools

As suggested by @matta in #68248, we should warn when the version of Go used to compile gopls is older than the language version implied by the go.mod file. A diagnostic on the go directive of the go.mod file probably suffices.

>  FWIW, I reported a similar issue in staticcheck. There, the fix to build with go1.23rc1 worked as well.
>
> @dominikh also added code to staticcheck that will report an error if the tool is used on a go module requiring versions of go newer than what the tool was built with. gopls could consider a similar check.

_Originally posted by @matta in https://github.com/golang/go/issues/68248#issuecomment-2198396157_
Repository: godot
Issue: Clicking MMB to close script tabs gets rid of script temperature highlight in recently used scripts
Labels: discussion,topic:editor

### Tested versions

- Reproducible in: 4.2.2.stable.official, 4.1.2.stable.official

### System information

Godot v4.2.2.stable - Windows 10.0.22631 - Vulkan (Forward+) - integrated Intel(R) Iris(R) Xe Graphics (Intel Corporation; 31.0.101.4502) - 12th Gen Intel(R) Core(TM) i7-1255U (12 Threads)

### Issue description

In the script view, when using middle-mouse-button to close script tabs the green tint for recently used tabs disappears in the same way it would if you were to left-click on different tabs (green tint on other tabs gets lighter and lighter every click).
The expected result is green tint being unchanged when closing tabs via MMB since you aren't opening any old tabs, the recent tabs should remain recent (and reflected via the green tint).

### Steps to reproduce

1. open script view
2. have at least 3-5 scripts to see more easily
3. MMB click to close old script tabs
4. notice recently used tabs lose green tint

### Minimal reproduction project (MRP)

[MMB_test.zip](https://github.com/user-attachments/files/16053702/MMB_test.zip)
Repository: vscode
Issue: Inline chat with sticky scroll looses top area
Labels: bug,papercut :drop_of_blood:,editor-sticky-scroll,inline-chat

Steps to Reproduce:

1. bring up inline chat with a lengthy response
2. make sure sticky scroll is enabled
3. notice how when inline chat widget grows up, the top part moves out of sight



![Image](https://github.com/user-attachments/assets/b4b11421-3218-4308-a5a6-ec96969cc5ac)



![Image](https://github.com/user-attachments/assets/b1a3affe-941e-4413-8f99-a86353c4086a)

//cc @aiday-mar
Repository: go
Issue: proposal: encoding/xml: add iterators Decoder.Tokens, Decoder.RawTokens
Labels: Proposal

### Proposal Details

Add [`iter.Seq2`](https://pkg.go.dev/iter#Seq2) iterator methods on [`encoding/xml.Decoder`](https://pkg.go.dev/encoding/xml#Decoder) to iter over [tokens](https://pkg.go.dev/encoding/xml#Decoder.Token) and [raw tokens](https://pkg.go.dev/encoding/xml#Decoder.RawToken).

```go
func (d *Decoder) Tokens() iter.Seq2[Token, error] {
	return func(yield func(Token, error) bool) {
		for {
			token, err := d.Token()
			if err == io.EOF {
				break
			}
			if !yield(token, err) {
				break
			}
			// What should we do here if err != nil?
		}
	}
}

func (d *Decoder) RawTokens() iter.Seq2[Token, error] {
	return func(yield func(Token, error) bool) {
		for {
			token, err := d.RawToken()
			if err == io.EOF {
				break
			}
			if !yield(token, err) {
				break
			}
			// What should we do here if err != nil?
		}
	}
}
```

Note: I'm not yet sure to like an iterator that handles a stream error this way.

Related:
* #66626
Repository: pytorch
Issue: Eager and PT2 inconsistent on whether or not scalar tensor is allowed as input where int is expected
Labels: triaged,module: custom-operators,oncall: pt2,module: pt2-dispatcher

### 🐛 Describe the bug

Internal xref: https://fb.workplace.com/groups/1075192433118967/posts/1454391288532411/

The error looks like this:

```
TorchRuntimeError: Failed running call_function fbgemm.jagged_1d_to_dense(*(), **{'values': FakeTensor(..., device='cuda:7', size=(260039,), dtype=torch.int64), 'offsets': FakeTensor(..., device='cuda:7', size=(513,), dtype=torch.int64), 'max_sequence_length': FakeTensor(..., device='cuda:7', size=(), dtype=torch.int64), 'padding_value': 0}):
fbgemm::jagged_1d_to_dense() Expected a value of type 'int' for argument 'max_sequence_length' but instead found type 'FakeTensor'.
```

You can work around it by replacing `max_len = torch.max(lengths)` with `max_len = torch.max(lengths).item()` but it would be better if PT2 implicitly inserted the item call

@zou3519 I am not sure if this is a custom op problem or a Dynamo problem

A minimal repro should be relatively simple to create.

### Versions

main

cc @anijain2305 @chauhang @penguinwu @zou3519 @bdhirsh
Repository: ant-design
Issue: Add dotColor to Radio Component token
Labels: Inactive,unconfirmed

### What problem does this feature solve?

With this feature , Developers can create their component with greater customization

### What does the proposed API look like?

dotColor in Component Token

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: rust
Issue: Tracking Issue for `XOP` target feature
Labels: O-x86_64,A-SIMD,C-tracking-issue,A-target-feature,O-x86_32

The feature gate for this issue is `#[feature(xop_target_feature)]`.

This tracks the integration of AMD's `XOP` instruction set into Rust.

### Steps
 - [x] Adding the `xop` target feature to Rustc and its runtime detection in stdarch
 - [ ] Final Comment Period (FCP)
 - [ ] Stabilization PR

### Public API
The `xop` target-feature and its runtime detection

### Implementation History
 - #127209 
 - rust-lang/stdarch#1604
Repository: kubernetes
Issue: DRA: better reporting of problems in CEL expressions
Labels: sig/node,kind/feature,lifecycle/frozen,needs-triage

### What would you like to be added?

This is fairly open-ended. We need to identify things that make sense first. Some options:

- Detect attribute or capacity domains and/or identifiers which don't match the validation constraints for those. Could be done by analyzing the AST of the CEL expression.
- Report problems with a claim, claim template or class in the status (new API!) or via events (no new API needed). ValidatingAdmissionPolicy could server as an example for how to do that.
- Write a tool which evaluates a CEL expression against a local or remove device definition and provides a detailed report. This can include more details about cost limits than what is provided by validation.

### Why is this needed?

Help users write correct CEL.
Repository: flutter
Issue: [flutter web] When converting characters from hiragana to kanji, the display is distorted at TextFiled by using Japanese Keyboard ATOK
Labels: a: text input,a: internationalization,a: fidelity,platform-web,P2,team-web,triaged-web,fyi-text-input

### Steps to reproduce

Create a simple app with TextField(maxLines:null) and deploy it on a web host.
Open it from Chrome on Android.
Type some Japanese text using ATOK. ATOK is popular paid IME in Japan.
When converting characters from hiragana to kanji, the display is distorted. 

You can see that the last character 亜 is doubled in the screenshot .
This damages the user experience.
<img src="https://github.com/flutter/flutter/assets/135512697/1ddc32ab-c86c-411a-9458-c74523404d68" width="300px">

@huycozy
I encountered this issue with ATOK, but it was fine with G board.


### Expected results

The characters are displayed correctly.


### Actual results

Some characters are overlapping.

### Code sample

<details open><summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(MaterialApp(
    builder: (context, child) => const MyApp(),
  ));
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<StatefulWidget> createState() {
    return _MyAppState();
  }
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: TextField(
          maxLines: null,
          keyboardType: TextInputType.multiline,
          controller: TextEditingController(),
          cursorColor: Colors.black,
        ),
      ),
    );
  }
}

```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

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


### Flutter Doctor output

<details open><summary>Doctor output</summary>

I encountered this issue on the master channel.
Please refer to https://github.com/flutter/flutter/issues/150851#issuecomment-2196852328 to save the my time.
(it takes time to switch channels to master -> upgrade -> build -> web deploy -> comfirm behavior -> flutter doctor -> and then switch back to stable...)

```console
[Paste your output here]
```

</details>
Repository: flutter
Issue: HtmlElementView does render correct scale on wasm
Labels: engine,platform-web,a: build,has reproducible steps,P2,e: wasm,team-web,triaged-web,found in release: 3.22,found in release: 3.23

### Steps to reproduce

1. Render an image or video in a `HTMLImageElement`/`HTMLVideoElement` using the widget `HtmlElementView` or  `HtmlElementView.fromTagName`.
2. See diferents results for flutter web with wasm than canvaskit

(Left: canvaskit, right: wasm)
<img width="1727" alt="Screenshot 2024-07-01 at 17 38 25" src="https://github.com/flutter/flutter/assets/19904063/597407d8-6204-4d41-85bf-3cb7284a5382">



### Expected results

- Renders the image/video the same in both renderers

### Actual results

- The renders provides different result being canvaskit the expected one.

### Code sample

<details open><summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';
import 'package:web/web.dart' as web;

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
      ),
      home: const HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  const HomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('JS Interop'),
      ),
      body: Center(
        child: Column(
          children: [
            Expanded(
              child: HtmlElementView.fromTagName(
                tagName: 'custom-image',
                onElementCreated: (element) async {
                  final child = web.HTMLImageElement()
                    ..src = "icons/Icon-512.png";
                  (element as web.HTMLElement).append(child);
                },
              ),
            ),
          ],
        ),
      ),
    );
  }
}

```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.23.0-14.0.pre.77, on macOS 14.5 23F79 darwin-arm64, locale en-GB)
[✓] 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.3)
[✓] VS Code (version 1.90.2)

• No issues found!
```

</details>
Repository: go
Issue: proposal: slices: add CollectN with preallocated size.
Labels: Proposal

### Proposal Details

As discussed in #61900, it's a shame that `slices.Collect(maps.Keys(m))` and `slices.Sorted(maps.Keys(m))` don't preallocate the size of m. You can work around it by writing `slices.Sorted(slices.Append(make([]T, 0, len(m)), maps.Keys(m)))`, but that's kind of ugly.

I propose adding `func CollectN[S ~[]T, T any](seq iter.Seq[T], minsize int) S` to slices that just returns `Append(make([]T, 0, minsize), seq)`. It would help with map keys but also other container types where you know the length in advance or can at least make a good guess. 

Sorting map keys more efficiently would look like `keys := slices.CollectN(maps.Keys(m), len(m); slices.Sort(keys)`.
Repository: vscode
Issue: Built-in Terminal. Keyboard layout does not switch, does not switch to another language
Labels: bug,confirmation-pending,terminal-input

<!-- ⚠️⚠️ 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. -->


<!-- 🪓 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. -->

The built-in terminal does not switch to another input language.
Clean installation of KUbuntu 24.04, clean installation of VSCode, two languages installed: English and Russian. Other applications switch languages normally.
If you switch to Russian in the built-in terminal and press CAPS LOCK, you will enter large Cyrillic letters, if you unpress CAPS LOCK, you will enter Latin characters, if you press SHIFT, you will also enter large Cyrillic letters.

About VSCode and system
Version: 1.90.2
Commit: 5437499feb04f7a586f677b155b039bc2b3669eb
Date: 2024-06-18T22:33:48.698Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Linux x64 6.8.0-36-generic

Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-36-generic (64-bit)
Graphics Platform: X11
Processors: 6 × AMD Ryzen 5 3600 6-Core Processor
Memory: 5,2 GiB of RAM
Graphics Processor: llvmpipe
Manufacturer: innotek GmbH
Product Name: VirtualBox
System Version: 1.2

![2](https://github.com/microsoft/vscode/assets/12514333/a1b2a65d-d931-47ce-9e16-32e334db3905)
![1](https://github.com/microsoft/vscode/assets/12514333/862465cf-960a-4591-bc60-b5016b952506)
![3](https://github.com/microsoft/vscode/assets/12514333/52404f09-d6da-499a-b838-33b74e0ad645)
Repository: ollama
Issue: Support hot-plugging exernal GPU(s)
Labels: feature request,windows

### What is the issue?

My setup:
- Notebook: (Framework 13") with an AMD Ryzen 7840U / Radeon 780M GPU
- eGPU (connected via USB3/4 encolosure "Razer Core X Chroma"): AMD Radeon RX 7600 XT
- OS: Windows 11 / Fedora 41

I started Ollama when the eGPU was still attached and was able to load the `gemma2:9b` model (100% GPU utlization). Then I ejected the eGPU and Ollama reports errors:

```
Error: llama runner process has terminated: exit status 0xc0000409 error:
Cannot read C:\Users\<MY_USER_NAME>\AppData\Local\Programs\Ollama\rocm\/rocblas/library/TensileLibrary.dat:
No such file or directory for GPU arch : gfx1103
```

Re-starting Ollama fixes the issue.

I assume that support for "hot-pluggable GPUs" (eGPUs) is not [yet?] implemented.

### OS

* Windows
* Linux

### GPU

AMD

### CPU

AMD

### Ollama version

0.1.48
Repository: PowerToys
Issue: [Settings UI] Use lock symbol in GPO info bars
Labels: Product-Settings,Resolution-Fix Committed,Area-User Interface

### Description of the new feature / enhancement

<!--![image](https://github.com/microsoft/PowerToys/assets/61519853/37625823-988c-44b0-8d66-9ff474c9c702)-->

![image](https://github.com/microsoft/PowerToys/assets/61519853/47cb0bd1-4d68-4df5-9370-c04ef8085a02)

### Scenario when this would be used?

- Makes the layout of locked settings finally consistent. (Dashboard and Flyout already use the lock icon.)
- Allows to distinguish between information and policy locked setting.
- The icon fits better for the point of message.

### Supporting information

_No response_
Repository: pytorch
Issue: Dynamo incorrectly interpolates symbolic variables into f-strings at runtime
Labels: triaged,oncall: pt2,module: dynamic shapes,module: dynamo

### 🐛 Describe the bug

Repro:

```
import torch
import torch._dynamo.config
import math
from torch._dynamo.comptime import comptime

def f(x):
    return f"{x.size(0)}", x * 2

cf = torch.compile(fullgraph=True, dynamic=True)(f)

print(cf(torch.randn(4)))
```

prints

```
('s0', tensor([-0.4841,  2.1690, -3.5411,  2.3139]))
```

The correct output is `(4, ...)`

I discovered this while working on https://github.com/pytorch/pytorch/pull/128327

### Versions

main

cc @anijain2305 @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng
Repository: vscode
Issue: Git - git push hangs when pushing from remote
Labels: bug,git

<!-- ⚠️⚠️ 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: 
- Version: 1.91.0-insider
Commit: aea213b7fcc7de5c24ad797ac1af209b159d451f
Date: 2024-06-28T05:55:45.367Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Linux x64 6.5.6-300.fc39.x86_64

(has had same behaviour for a number of versions now)

- OS Version: Linux -> remote into windows

Steps to Reproduce:

1. Open vscode on linux
2. Attach to remote windows machine via ssh (windows running openssh)
3. open powershell terminal in vscode
4. run git push to remote ssh linux machine using keys

command hangs

see ssh log:
[gitlog.txt](https://github.com/user-attachments/files/16057017/gitlog.txt)

git version 2.44.0.windows.1


Same command 'git push' works fine when sshing into windows machine and running from powershell, the only difference seems to be that powershell is started from within vscode.

It is also possible to log into the machine that has the git repo on it from windows powesehell in vscode without password using key.
Repository: rust
Issue: Tracking Issue for AVX512_FP16 intrinsics
Labels: O-x86_64,T-libs-api,A-SIMD,C-tracking-issue,O-x86_32

Feature gate: `#[feature(stdarch_x86_avx512_f16)]`

This is the tracking issue for the AVX512_FP16 (and related AVX_NE_CONVERT) intrinsics. This depends on the following features

 - #111137 
 - #116909

### Public API
This feature covers all of the intrinsics from the `avx512fp16` feature and some remaining intrinsics from the `avxneconvert` feature.

### Implementation History
 - rust-lang/stdarch#1605

### Steps
 - [ ] Final Comment Period (FCP)
 - [ ] Stabilization PR

### Unresolved Questions
None yet