sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Allow to use codicons for the gutter decorations
Labels: feature-request,editor-rendering,editor-api

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->

> **As an** extension author
> **I want to** use the built in codicons to decorate the gutter with the same convenience as I can use codicons in the status bar
> **So that** the user will have a consistent UI also for gutter icons (and so that I will not have to work hard to make it so)

With ”the same convenience” I mean the super convenience with strings like `'$(zap)'` and `'$(sync~spin)'`. I realize this particular API might not be suitable, but anyway.

My use case:

In [my extension](https://github.com/BetterThanTomorrow/calva) the user can evaluate any code in the editor. I am decorating the code being evaluated with a transparent background and displaying the result using an `:after` decoration. The background decoration changes color depending on the state of the operation: PENDING => white, DONE => GREEN, ERROR => red. Looks like so:
 
<img width="394" alt="image" src="https://user-images.githubusercontent.com/30010/155374881-277402fe-8766-431a-868e-cb68e41d215e.png">

This works, but [there is a need for making PENDING much clearer](https://github.com/BetterThanTomorrow/calva/issues/1543). I am looking at the gutter and think I would like to have a spinner there while PENDING, and I could have a checkmark when DONE and a cross when ERROR. Possibly using the same colors as I do for the marking the code being evaluated.
Repository: go
Issue: cmd/compile: better escape analysis for net.SyscallConn
Labels: NeedsInvestigation

Programs using net.SyscallConn look like:

```
sc := c.(*net.TCPConn).SyscallConn()
var werr error
err = sc.Read(func(fd uintptr) bool {
	written, werr = poll.SendFile(&c.pfd, int(fd), remain)
	return true
})
if err == nil {
	err = werr
}
```

Although `sc` is an interface value of type `net.SyscallConn`, the compiler could know the underlying type, because there's only one that net.TCPConn.SyscallConn returns. It should therefore be able to see that sc.Read does not escape its argument, so that the closure can be stack-allocated. But today the closure is heap-allocated. It would be good to make the compiler smart enough to avoid the allocation.

See also #51170, which proposed an API change, but a smarter compiler with no new API would be better.
Repository: flutter
Issue: FlutterSemanticsScrollView exposing unlabeled unnecessary accessibility node on iOS
Labels: platform-ios,engine,a: accessibility,P2,team-ios,triaged-ios

## Steps to Reproduce

1. Execute a flutter application with a scrollable view
2. Turn on iOS accessibility inspector (simulator) or VoiceOver (device)
3. Navigate through the semantic nodes

**Expected results:**
No node is created for the scrollable view (the wrapper view, not the items it contains).

**Actual results:**
An accessibility node is created, without any label. This can also be reproduced by having an EarlGrey tests that check accessibility elements.

Additional details on go/fluttersemanticsbug.
Repository: pytorch
Issue: [FSDP] test state_dict APIs with arguments such as destination, prefix
Labels: oncall: distributed,module: fsdp

### 🚀 The feature, motivation and pitch

PyTorch `state_dict` API supports arguments such as destination and prefix, we should add tests for this in FSDP to ensure they are propagated as expected. 

### Alternatives

_No response_

### Additional context

_No response_

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @SciPioneer @H-Huang
Repository: pytorch
Issue: fx.symbolic_trace docs says that it ignores different values of concrete_args, but it doesn't
Labels: triaged,module: fx

### 🐛 Describe the bug

From `torch.fx.symbolic_trace` docs:
```
FX can typically not trace through this due to the presence of control flow. However, we can use concrete_args to specialize on the value of b to trace through this.

f = fx.symbolic_trace(f, concrete_args={‘b’: False}) assert f(3, False) == 6

Note that although you can still pass in different values of b, they will be ignored.
```
Reality:
```
import torch.fx as fx

def f(a, b):
    if b == True:
        return a
    else:
        return a * 2

f = fx.symbolic_trace(f, concrete_args={'b': False})
assert f(3, True) == 6
```
```
self = <test.test_ir.TestIR testMethod=test_pipe_forward_kwargs>

    def test_pipe_forward_kwargs(self):
    
        import torch.fx as fx
    
        def f(a, b):
            if b == True:
                return a
            else:
                return a * 2
    
        f = fx.symbolic_trace(f, concrete_args={'b': False})
>       assert f(3, True) == 6

test_ir.py:341: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = f(), args = (3, True), kwargs = {}
topmost_framesummary = <FrameSummary file /Users/pbelevich/miniconda3/envs/PiPPy/lib/python3.8/site-packages/torch/__init__.py, line 772 in _assert>

    def wrapped_call(self, *args, **kwargs):
        try:
            if cls_call is not None:
                return cls_call(self, *args, **kwargs)
            else:
                return super(type(self), self).__call__(*args, **kwargs)
        except Exception as e:
            assert e.__traceback__
            topmost_framesummary: traceback.FrameSummary = \
                traceback.StackSummary.extract(traceback.walk_tb(e.__traceback__))[-1]  # type: ignore[arg-type]
            if "eval_with_key" in topmost_framesummary.filename:
                print(generate_error_message(topmost_framesummary),
                      file=sys.stderr)
>           raise e.with_traceback(None)
E           AssertionError: b has been specialized to have value False

../../../miniconda3/envs/PiPPy/lib/python3.8/site-packages/torch/fx/graph_module.py:630: AssertionError
```

### Versions

master

cc @ezyang
Repository: flutter
Issue: [Proposal]Add color property to CupertinoScrollbar
Labels: c: new feature,framework,f: scrolling,f: cupertino,c: proposal,P3,team-design,triaged-design

## Use case

Background color is white and use Brightness.light => CupertinoScrollbar thumbColor will be dark ( Color(0x80FFFFFF) )
If the user can change the background color to a darker color, the thumbColor will always be dark and therefore less visible

The problem is present in the opposite case as well. Background color is black, use Brightness.dark and change the background color to a lighter color.

Currently, the color is determined based on the theme by this in the `updateScrollbarPainter()`:
`..color = CupertinoDynamicColor.resolve(_kScrollbarColor, context);`

## Proposal

To add the possibility to fill in a color on the CupertinoScrollbar instead of it using the default one depending on the theme brightness.
Handy when the user can change the background color to something lighter or darker without having to change the overall theme.

And thus override the `RawScrollbar.thumbColor` when CupertinoScrollbar's new thumbColor property is not null
Repository: vscode
Issue: Comment author/timestamp label baselines not aligned
Labels: bug,tree-widget

Testing #143545

<img width="429" alt="image" src="https://user-images.githubusercontent.com/323878/155389844-048ef6ac-40c6-4648-b06f-7be3a7f83a74.png">

The `roblourens` does not line up with the `33 minutes ago`, it looks a little off
Repository: flutter
Issue: Ability to pass non-standard command-line options to dart2js
Labels: tool,a: debugging,platform-web,a: annoyance,P2,team-web,triaged-web

## Use case

In order for the the **dart2js** team to properly support Flutter-web customers, we sometimes need the customer to pass non-standard options to dart2js. Examples include disabling a specific optimization, or dumping some kinds of compiler debug state.


## Proposal

- A way to pass arbitrary argument(s) through to dart2js.
- A web page documenting how to use this feature so that it can be referenced in a reply to an issue filed by the customer.
Repository: opencv
Issue: Add support for libcamera
Labels: feature,category: videoio(camera),GSoC,platform: linux

The new Raspberry Pi OS Bullseye comes with a new open camera stack `libcamera`. It would be nice if opencv could add support for it in `VideoCapture `. libcamera also lists integration with opencv as a project idea for Google Summer of Code 2022 on their [website](https://libcamera.org/open-projects.html).
Repository: vscode
Issue: Allow for disabling certain languages from auto language detection
Labels: feature-request,languages-guessing

To help language detection be more tuned towards languages I use it would be great if I could choose a subset of languages from the possible language set to be used for auto detection.

For example I don't program in Coffeescript or Perl but they often get autodetected for other code snippets.
Repository: flutter
Issue: Remove usages of Android's OnSystemUiVisibilityChangeListener
Labels: platform-android,engine,P2,c: tech-debt,team-android,triaged-android

The `PlatformPlugin` in the Android engine currently uses an Android View API [`OnSystemUiVisibilityChangeListener`](https://developer.android.com/reference/android/view/View.OnSystemUiVisibilityChangeListener), which was deprecated API 30. These usages should be replaced with the new API to use for API 20+ [`OnApplyWindowInsetsListener`](https://developer.android.com/reference/android/view/View.OnApplyWindowInsetsListener).

Part of #98602.
Repository: angular
Issue: Angular should report an error when creating a `readonly` input
Labels: breaking changes,area: compiler,P3,compiler: template type-checking

### Which @angular/* package(s) are the source of the bug?

compiler

### Is this a regression?

No

### Description

The `@Input` decorator tells Angular that a property can be written to in a template. However, if you add the `@Input` decorator to a `readonly` property, no error is reported. We should report an error, since mixing these two concepts doesn't make sense.
```
@Component(...)
export class UserProfile {
  @Input() readonly name: string;
}
```

At time of writing, there are 37 occurrences of this in Google we'd have to clean up. Not sure if this is prevalent enough to warrant an `ng update` schematic (which would probably just remove `readonly`). 

### Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/angular-ivy-j8vlxf?file=src%2Fapp%2Fhello.component.ts

---

**EDIT (April 2024): This does not apply to signal-based inputs**
Repository: node
Issue: Enable CFG in node.exe
Labels: windows,build

<!--
Thanks for wanting to report an issue you've found on the nodejs.org website.

Please fill in the template below. If unsure about something, just do as best
as you're able. If you are reporting a visual glitch, it will be much easier
for us to fix it when you attach a screenshot as well.
-->
BinSkim is a binary static analysis tool that provides security and correctness results for Windows Portable Executable and *nix ELF binary formats.

- Browser : N/A
- OS: Windows 8

error BA2008: 'node.exe' does not enable the control flow guard (CFG) mitigation. To resolve this issue, pass /guard:cf on both the compiler and linker command lines. Binaries also require the /DYNAMICBASE linker option in order to enable CFG.

<img width="841" alt="Screenshot 2022-02-23 at 6 17 17 PM" src="https://user-images.githubusercontent.com/44672399/155322279-85828a16-1a83-4649-b019-40c6faec7011.png">

<!-- Enter your issue details below this comment. -->

Package used : https://github.com/microsoft/binskim
Command used : `.\BinSkim.exe analyze < path to executable >`
Repository: flutter
Issue: Make debugProfileBuild/Layout/Paint flags for user widgets
Labels: c: new feature,framework,a: debugging,P3,team-framework,triaged-framework

Today, setting `debugProfileBuildsEnabled` (and the corresponding Paint/Layout ones) applies to all widgets.

It would be good to have a version of these flags that apply only to user authored widgets/stop at leaf widgets in the application. For example, an application that uses a `Container` widget would not show whatever children `Container` creates in the framework.

/cc @iskakaushik @jacob314 @kenzieschmoll @gaaclarke
Repository: vscode
Issue: dropdown button sometimes doesn't respond after being toggled
Labels: bug,menus

Testing #143581


1. On MacOS
2. Click on the 'configure layout button' to see what it does
3. Click again to close it
4. Then click a third time to open it again 

**Bug**
I sometimes get into a state where blocking the button does nothing. I'm not entirely sure how I get out of this state, but moving the cursor around seems to fix it sometimes
Repository: svelte
Issue: Colliding animations
Labels: transition/animation

### Describe the bug

When there are two animations running at the same time and the animations are running into each other, the animations stops and become jaggy. 

### Reproduction

https://svelte.dev/repl/6f5e0947bf4e4231adf2ca973e21c476?version=3.46.4

### Logs

_No response_

### System Info

```shell
System
```


### Severity

annoyance
Repository: godot
Issue: Scalling Issue 2D
Labels: documentation,topic:physics,topic:2d

### Godot version

4.0 Alpha 3

### System information

Window 10

### Issue description

When making a StaticBody2D having CollisionShape2D and Sprite 2D as a child with CollisionShape2D being a Rectangle Shape as the shape, and Canvas Texture as the Texture for the Sprite2D. The size of the Sprite 2d is 21x smaller then the collision. I would expect at both scale of 1 them to be the same size.

### Steps to reproduce

Create a StaticBody2D having CollisionShape2D and Sprite 2D as a child with CollisionShape2D being a Rectangle Shape as the shape, and Canvas Texture as the Texture for the Sprite2D. 

### Minimal reproduction project

[RPG(Client) - Copy.zip](https://github.com/godotengine/godot/files/8128638/RPG.Client.-.Copy.zip)
Repository: ant-design
Issue: Tree 的 titleRender 刷新多次 
Labels: help wanted,Inactive,⚡️ Performance

- [ ] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/xu-ni-gun-dong-antd-4-18-8-forked-8p4ljh?file=/index.js)

### Steps to reproduce
展开/折叠时刷新titleRender多次。

### What is expected?
减少不是必要的titleRender刷新

### What is actually happening?
减少不是必要的titleRender刷新

| Environment | Info |
|---|---|
| antd | 4.18.8 |
| React | react  |
| System | windows |
| Browser | Chrome |


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: go
Issue: proposal: net/http: add ability to know which requests are HTTP2 push requests
Labels: Proposal

When I use `http.Pusher` interface to push a HTTP request/response, there is no way to know which requests are being pushed, once they become handled. Even more, it seems there is no way for me to tie those requests with the original request in my logging code (e.q., using request ID or something similar).

I would propose that `http.PushOptions` is extended with additional `Context: interface{}` field which allows to pass additional information to the pushed request, and that `http.Request` gets `PushContext: interface{}` field to read it out. This way I could pass through ID or even some other information which could help handle those requests faster (like internal caches or some other data I already have during handling of the original request).
Repository: go
Issue: runtime: crashes with `netpollBreak write failed with 14` [EFAULT] on `openbsd-arm-jsing`
Labels: OS-OpenBSD,NeedsInvestigation,arch-arm,compiler/runtime

`greplogs --dashboard -md -l -e 'runtime: netpollBreak write failed with 14$'`

```
runtime: netpollBreak write failed with 14
fatal error: runtime: netpollBreak write failed

goroutine 4 [running]:
runtime.throw({0x5de9f5, 0x22})
	/home/gopher/build/go/src/runtime/panic.go:992 +0x5c fp=0xc33ea4 sp=0xc33e90 pc=0x49104
runtime.netpollBreak()
	/home/gopher/build/go/src/runtime/netpoll_kqueue.go:97 +0xd8 fp=0xc33ec0 sp=0xc33ea4 pc=0x45474
runtime.wakeNetPoller(0x1f35d61568e097)
	/home/gopher/build/go/src/runtime/proc.go:3012 +0xb4 fp=0xc33ed0 sp=0xc33ec0 pc=0x52aec
runtime.modtimer(0xc18030, 0x1f35d61568e097, 0x0, 0x617d68, {0x0, 0x0}, 0x0)
	/home/gopher/build/go/src/runtime/time.go:499 +0x4e4 fp=0xc33f00 sp=0xc33ed0 pc=0x6b4ac
runtime.resettimer(...)
	/home/gopher/build/go/src/runtime/time.go:540
time.resetTimer(...)
	/home/gopher/build/go/src/runtime/time.go:230
runtime.scavengeSleep(0x3f94d330)
	/home/gopher/build/go/src/runtime/mgcscavenge.go:244 +0x94 fp=0xc33f34 sp=0xc33f00 pc=0x35188
runtime.bgscavenge(0xc260c0)
	/home/gopher/build/go/src/runtime/mgcscavenge.go:394 +0x1a0 fp=0xc33fe4 sp=0xc33f34 pc=0x353cc
runtime.gcenable.func2()
	/home/gopher/build/go/src/runtime/mgc.go:178 +0x28 fp=0xc33fec sp=0xc33fe4 pc=0x2a27c
runtime.goexit()
	/home/gopher/build/go/src/runtime/asm_arm.s:824 +0x4 fp=0xc33fec sp=0xc33fec pc=0x7b3ac
created by runtime.gcenable
	/home/gopher/build/go/src/runtime/mgc.go:178 +0xbc
```

[2022-02-22T23:35:31-3517036/openbsd-arm-jsing](https://build.golang.org/log/d26a14e091ea7df4f54cee93736c900938009269)
[2021-12-17T03:28:06-3c49583/openbsd-arm-jsing](https://build.golang.org/log/88205f95e7ad3f761c352d63db9346d8a03e8817)

Similar stacks both times.

(CC @golang/runtime; attn @4a6f656c)
Repository: flutter
Issue: [Windows] On screen keyboard pops up abnormally on touch screen tablets
Labels: a: text input,framework,a: tablet,platform-windows,a: desktop,f: focus,P2,team-windows,triaged-windows

screen keyboard pops up abnormally on the Surface tablet

It will not pop up for the first time. You need to manually click the keyboard icon on the taskbar. After that, any click on the position on the software will evoke the on-screen keyboard.

Sample demo video: [video](https://github.com/yh4922/flutter_keyboard_test/raw/main/assets/1.mp4)

Sample code repository: https://github.com/yh4922/flutter_keyboard_test

Hardware platform
```
Processor	Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz   1.90 GHz
Installed RAM	8.00 GB
System type	64-bit operating system, x64-based processor
Pen and touch	Pen and touch support with 10 touch points
```
Repository: create-react-app
Issue: setting WDS_SOCKET_PATH does not fix what path the dev server responds on
Labels: needs triage,issue: bug report

If you run a simple `npx create-react-app my-app` and then try to start it with `WDS_SOCKET_PATH=/somethingelse npm start` the fast refresh won't actually work. In fact, the WS never responds. The solution that worked to fix this was:

1. First eject the app: `npm run eject`
2. Then edit the file `/config/webpackDevServer.config.js` and add `webSocketServer: { options: { path: sockPath } },` to the configuration.
Repository: rust
Issue: Zero-length arrays are non-`Copy`.
Labels: A-trait-system,T-compiler,A-specialization,A-array

According to the documentation of [`core::marker::Copy`][`Copy`],

> Generally speaking, if your type can implement [`Copy`], it should. Keep in mind, though, that implementing [`Copy`] is part of the public API of your type. If the type might become non-[`Copy`] in the future, it could be prudent to omit the [`Copy`] implementation now, to avoid a breaking API change.

[Zero-sized types](https://runrust.miraheze.org/wiki/Zero-sized_type) in general are a bit tricky in that regard because they (just like [`core::marker::PhantomData`](https://doc.rust-lang.org/core/marker/struct.PhantomData.html)) can be used to represent ownership over values of types that non-trivially implement [`core::ops::Drop`](https://doc.rust-lang.org/core/ops/trait.Drop.html).

However, zero-length arrays perhaps should implement [`Copy`] because they can be bit-wise copied (assuming 0-bit/0-byte copy is permitted). It would allow implementing [`Copy`] on [overaligned][overalignment] types like the one below:

![Screenshot 2022-02-23 202852](https://user-images.githubusercontent.com/16991108/155468288-7cd72a47-b2a2-4340-a81b-15887bf7ccd3.jpg)

![Screenshot 2022-02-23 203825](https://user-images.githubusercontent.com/16991108/155468325-be34ed89-231d-45f9-ad66-44f771f26809.jpg)

Is there anything that stops implementing [`Copy`] on zero-length arrays aside from [marker trait attribute](https://doc.rust-lang.org/beta/unstable-book/language-features/marker-trait-attr.html) dependency?

P.S. I would love to have a generic type where the first generic parameter would be the type of the stored value and the second parameter would be a generic constant of type `usize` whose value would be used as a constraint for alignment, yet it is a story for discussion on Rust internals/another issue/RFC.

# References

* ["What is overalignment of execution regions and input sections?", Stack Overflow][overalignment]

[overalignment]: https://stackoverflow.com/questions/8732441/what-is-overalignment-of-execution-regions-and-input-sections
[`Copy`]: https://doc.rust-lang.org/core/marker/trait.Copy.html
Repository: godot
Issue: Output window does not work when "Remote Port" is set to 6008 (no "port already in use" warning/error)
Labels: bug,topic:editor

### Godot version

3.4.2.stable.official

### System information

MacOS Monterey 12.2 (MacBook Pro 16-inch, 2019)

### Issue description

Output window does not print any print() statements or other debugging info when "Remote Port" is set to 6008, but works with any other port (i.e. 6009 and onwards)

This is important because when running multiple projects together, Godot assigns the second project that's running, a new port number which turns out to be 6008.
<img width="683" alt="image" src="https://user-images.githubusercontent.com/20704424/155469534-9ec0b25e-670a-40df-afea-1ffdacef391c.png">

As you can see it's not printing anything other than that line. If I change it to 6009 through Editor Settings, the output window works as usual.

I tried looking into port 6008 using `lsof -i tcp:6008` and it seems that it is being used by Godot. If I quit Godot, the port is free. The port is occupied by Godot even if "Remote Port" is set to some other value like 6007.


### Steps to reproduce

Create a new project -> Editor -> Editor Settings -> Network -> Debug -> Remote Port -> change to 6008 -> Run a scene.

OR

Run scenes in 2 different projects at the same time.

### Minimal reproduction project

_No response_