sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Extending a MeshInstance3D with a tool script will make export_range not slideable, when setting the mesh.
Labels: bug,topic:gdscript,topic:editor

### Tested versions

- Reproducable in 4.2.1-stable

### System information

Godot v4.2.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 31.0.15.4629) - Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (8 Threads)

### Issue description

When extending a MeshInstance3D with a tool script a `@export_range()` will not work as expected. You can only slide the slider one step, than it stops.

Not sure, but I would guess it has something to do with the focus. When updating the mesh with mesh = SomeNewMesh, the focus is set to the mesh parameter and the export_range is no longer working. You have to reclick the exported parameter, to change it another step. But could be something else that results in this effect.


### Steps to reproduce

Add a MeshInstance3D to an empty 3D scene, attach this very simple tool script to reproduce this. The slider will not work.

```
@tool
extends MeshInstance3D

@export_range(-1.0, 1.0, 0.1) var some_mesh_parameter : float:
    set(f):
        some_mesh_parameter = f
        _rebuild()

func _rebuild():
    # Some mesh generated here, as a simple example just a BoxMesh
    mesh = BoxMesh.new()
```

Maybe to be sure reload the scene, since it is a tool script.

### Minimal reproduction project (MRP)

[MeshInstance3D_interfacebug.zip](https://github.com/godotengine/godot/files/14186046/MeshInstance3D_interfacebug.zip)
Repository: flutter
Issue: [Impeller] Use circle tessellator to generate rounded stroke join/caps.
Labels: P2,e: impeller,team-engine,triaged-engine

Right now we are generating a cubic and then going through the cubic -> polyline -> tessellation path. Instead we should upgrade the circle tessellator to support start/end angles.
Repository: flutter
Issue: [flutter_tools] _Exception: Exception: analysis server exited with code -2
Labels: P2,team-tool,triaged-tool

On `beta/3.19.0-0.4.pre`
Command `flutter analyze foo.dart bar.dart baz.dart`

```
_Exception: Exception: analysis server exited with code -2 and output:[stdout] {"event":"server.connected","params":{"version":"1.35.0","pid":65519}}[stdout] {"id":"1"}
```

No stacktrace, unfortunately. This looks to me like we're handling an exception, and wrapping it in our own `_Exception` class.
Repository: godot
Issue: Ubuntu - Can't run project after logging out and logging back in
Labels: bug,platform:linuxbsd,topic:editor,topic:porting

### Tested versions

v4.2.stable.official [46dc27791]

### System information

Godot v4.2.stable - Ubuntu 22.04.3 LTS 22.04 - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 970 (nvidia; 535.154.05) - Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz (20 Threads)

### Issue description

Whenever I log out and back in while the editor is running, I can't run the project with the play button unless I restart the editor

### Steps to reproduce

* Create empty project
* Run an empty scene
* Log out
* Log in
* try running scene and notice it crashes or exits early for some reason (no error or output explaining why)


### Minimal reproduction project (MRP)

an empty project
Repository: go
Issue: x/build: luci test results hidden in aborted parallel tests
Labels: Builders,NeedsFix

This display shows tons of failed tests unexpectedly aborted but only one test that actually failed (with a throw, breaking all the other parallel tests): <https://ci.chromium.org/ui/inv/build-8756813787079044929/test-results?sortby=&groupby=>

"Expand All and scroll" works OK for finding the culprit but it would be nice if it was highlighted better, like maybe hiding the unexpected aborts when there is a clear failure too
Repository: deno
Issue: Deno prepends /private/ to cwd on Mac when run in a temporary directory
Labels: bug,permissions

Version: Deno 1.40.3 (release, x86_64-apple-darwin)
MacOS 12.7.1 (21G920)

Consider the script `printcwd.js`:

```js
console.log(Deno.cwd());
```

If I run it from a temporary directory on my mac (created by `Deno.makeTempDir()` for example), the cwd that it outputs is different from the directory I'm running it from:

```
$ pwd
/var/folders/6z/x6_ksh<...truncated...>abf
$ deno run -A /path/to/printcwd.js
/private/var/folders/6z/x6_ksh<...truncated...>abf
```

This can cause problems if for example you give read permissions to `/var/.../myfile` but open it using `Deno.cwd()+'/myfile`. The paths are different, therefore you get "permission denied".
Repository: rust
Issue: Lint against non-NFC items?
Labels: A-lints,A-diagnostics,A-Unicode,T-compiler

### Code

```Rust
struct Mask();
const FAÇADE: Mask = Mask();
const FAÇADE: Mask = Mask();
```


### Current output

```Shell
error[E0428]: the name `FAÇADE` is defined multiple times
 --> src/lib.rs:3:1
  |
2 | const FAÇADE: Mask = Mask();
  | ---------------------------- previous definition of the value `FAÇADE` here
3 | const FAÇADE: Mask = Mask();
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FAÇADE` redefined here
  |
  = note: `FAÇADE` must be defined only once in the value namespace of this module
```


### Desired output

```Shell
warning[EIEIO]: the name `FAÇADE` was normalized to `FAÇADE`
3 | const FAÇADE: Mask = Mask();
  |       ^^^^^^ `FAÇADE` defined here
  |
  = note: rustc applies Normalization Form C to identifiers

error[E0428]: the name `FAÇADE` is defined multiple times
 --> src/lib.rs:3:1
  |
2 | const FAÇADE: Mask = Mask();
  | ---------------------------- previous definition of the value `FAÇADE` here
3 | const FAÇADE: Mask = Mask();
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FAÇADE` redefined here
  |
  = note: `FAÇADE` must be defined only once in the value namespace of this module
```


### Rationale and extra context

Spinoff of https://github.com/rust-lang/rust/issues/120697

Not the same as `uncommon_codepoints`! We NFC-normalize idents, as described in [RFC #2457](https://github.com/rust-lang/rfcs/pull/2457). In the (admittedly unlikely) case where someone actually includes an ident that is normalized to match another ident, this can result in a "you wrote (or more likely, mechanically emitted) something, then a nuance of that got silently ignored by the compiler, and now get compiler errors". Only a very, **very** unusual source file would want to even _try_ to separately include both the NFD and NFC forms of an ident, and I think this would only happen due to machine-generated code or multiple splat-includes, so this is no harm done in reality. But "the byte strings for two idents can not match, yet still resolve to the same value" can still be surprising, especially to reason about in the machine-generation case where a programmer is likely to reason significantly about equating identifiers and strings, so we could probably emit a warning when we normalize an ident in a source file and it results in an actual difference, much like we emit warnings when we leave other data unused.

### Other cases

_No response_

### Rust Version

```Shell
rustc 1.75.0 (82e1608df 2023-12-21)
binary: rustc
commit-hash: 82e1608dfa6e0b5569232559e3d385fea5a93112
commit-date: 2023-12-21
host: x86_64-unknown-linux-gnu
release: 1.75.0
LLVM version: 17.0.6
```


### Anything else?

_No response_
Repository: go
Issue: internal/trace/v2: TestTraceStressStartStop failures
Labels: NeedsInvestigation,compiler/runtime

```
#!watchflakes
default <- pkg == "internal/trace/v2" && test == "TestTraceStressStartStop"
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/b2b3df7ac940466a0c886c6289f20286e5032bab)):

    --- FAIL: TestTraceStressStartStop (2.31s)
        --- FAIL: TestTraceStressStartStop/Default (2.31s)
            reader_test.go:112: unexpected error while reading the trace: broken trace: failed to advance: frontier:
                [gen=5]
    
                M 136394 [ProcStart time=1207439980416 p=6 p_seq=9]
    
                G 4 [status=Waiting seq=0 (gen=5)]
                G 34 [status=Waiting seq=0 (gen=5)]
                G 14 [status=Waiting seq=0 (gen=5)]
    ...
                String id=125
                	data="/tmp/workdir/go/src/runtime/select.go"
                String id=126
                	data="runtime.systemstack_switch"
                String id=127
                	data="/tmp/workdir/go/src/runtime/asm_386.s"
                String id=128
                	data="runtime.startTheWorld"
                String id=129
                	data="/tmp/workdir/go/src/runtime/proc.go"


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: excalidraw
Issue: "Zoom to fit all elements" leaves space for clipped frame contents
Labels: UX/UI,frames

If a frame contains elements that extend beyond the visible edges of the frame, the "Zoom to fit all elements" action is currently leaving space outside the frame for the invisible contents extending beyond the frame border. I would expect that in this case, "Zoom to fit all elements" should actually ignore all elements inside of frames when determining the bounding box. 

https://github.com/excalidraw/excalidraw/assets/34577/c7a736ed-ce87-40e0-b1e8-938e16806feb
Repository: storybook
Issue: [Bug]: Visual focus indicators (VFIs) aren't visible in high contrast mode
Labels: bug,good first issue,help wanted,ui,accessibility

### Describe the bug

Several of the elements in the Storybook UI use a CSS `box-shadow` to render their focus state (the state that's shown when you tab to the item with a keyboard). These box-shadows do not appear in High Contrast Mode—or what are called "Contrast themes" in modern Windows system settings—so there's no way for a keyboard user to tell when they receive focus.

![sc-vfi](https://github.com/storybookjs/storybook/assets/148581341/35f768e5-4ee5-478f-97cc-dab284730935)
![sc-no-vfi](https://github.com/storybookjs/storybook/assets/148581341/a9da3738-9d86-466a-b118-a6a6476722ed)

### To Reproduce

Windows 11 / Chrome
1. Navigate through the interactive elements in the Storybook UI using a keyboard; press the tab key and confirm there's a visible focus indicator for each element that receives focus.
2. Enable a "Contrast theme" in Windows settings. 
3. Repeat step 1. Do the VFIs consistently appear, or are some of them missing?

### System

_No response_

### Additional context

_No response_
Repository: vscode
Issue: Meta: Notebook formatting API
Labels: feature-request,notebook-format

This is a meta tracking issue to enable support for notebook formatting using a provider API and adding support to LSP.

# Overview

Currently notebook formatting changes can be applied via `WorkspaceEdit` using `NotebookEdit` (for the entire notebook) and `NotebookCellData` (for individual cells). There is no provider registration mechanism and no way to do this over LSP.

## Notebook formatting provider

Add a notebook formatting provider similar to `registerDocumentFormattingEditProvider` to core. Consider notebook document selector for the provider, similar to document selector. Use `DocumentSelector.notebookType` for selecting notebooks.
See LSP notebook filter: https://github.com/microsoft/vscode-languageserver-node/blob/12d1b72b7ba35746f15645c408a6bffbbc19102c/protocol/metaModel.json#L15390-L15411 

- [ ] spike: Do you need additional fields for notebook language.
- [ ] Add provider API to core

## Notebook formatting setting

Consider if a setting similar to `editor.defaultFormatter` to select formatting provider for notebooks is needed. If *yes* then it will also need a UI similar to the selections provided by document formatters and fallback mechanism when none are provided.

- [ ] spike: how should this setting be scoped, think python notebook, and ,net notebook. A notebook formatter for python notebooks might not work for .net. The inverse can also be true, a language agnostic notebook formatter, how to select or set either.
- [ ] Settings for formatting notebooks (e.g., `notebook.defaultFormater`)

## `notebook.format` command updates

This command should look for formatters registered via provider. Provide a fallback behavior similar to what we have today.

- [ ] spike: Picking the right notebook formatter to do the notebook formatting.
- [ ] look for formatting providers when handling `notebook.format`

## Consider progress support for notebook formatting provider API

Typically formatting notebooks can take longer than formatting a single document. Consider support for progress reporting.

- [ ] Consider progress reporting for notebook formatting. Similar to [Text Search](https://github.com/microsoft/vscode/blob/20fe8ecf07db5e9b44a4a095078c37a37617fde9/src/vscode-dts/vscode.proposed.textSearchProvider.d.ts#L266-L267).

## Notebook formatting capability in LSP

Update LSP client to use notebook capability to register notebook formatting provider, with notebook formatting options. Update the server/client capabilities, and types as needed for formatting. Update the LSP meta model for to include types needed for Notebook edit, and cell edit.

The document formatting variant of this currently only exposes work done progress, but this is not supported in the UI for VS Code. We may want to consider supporting a progress API as notebook formatting can take long.

- [ ] Add notebook formatting types and register provider in LSP : https://github.com/microsoft/vscode-languageserver-node/issues/1336

/cc @rebornix
Repository: pytorch
Issue: [pytree] Handling of `None` in torch.utils._pytree is inconsistent with JAX.
Labels: triaged,module: pytree

### 🐛 Describe the bug

`None`  is handled as a non-leaf in JAX by default, but it is treated as a leaf in `torch.utils._pytree`. This is configurable in `optree` which has a default behavior consistent with JAX.

Treating `None` as a middle node is important because even simple examples like this quickly become cumbersome otherwise:
```
>> torch.utils._pytree.tree_map(lambda x: x.shape, {'a': None, 'b': torch.zeros(10)})
```
This currently results in an error:
```
AttributeError                            Traceback (most recent call last)
Cell In[9], line 1
----> 1 torch.utils._pytree.tree_map(lambda x: x.shape, {'a': None, 'b': torch.zeros(10)})

File ~/src/torchcam/.venv/lib/python3.11/site-packages/torch/utils/_pytree.py:602, in tree_map(func, tree)
    600 def tree_map(func: Callable[..., Any], tree: PyTree) -> PyTree:
    601     flat_args, spec = tree_flatten(tree)
--> 602     return tree_unflatten([func(i) for i in flat_args], spec)

File ~/src/torchcam/.venv/lib/python3.11/site-packages/torch/utils/_pytree.py:602, in <listcomp>(.0)
    600 def tree_map(func: Callable[..., Any], tree: PyTree) -> PyTree:
    601     flat_args, spec = tree_flatten(tree)
--> 602     return tree_unflatten([func(i) for i in flat_args], spec)

Cell In[9], line 1, in <lambda>(x)
----> 1 torch.utils._pytree.tree_map(lambda x: x.shape, {'a': None, 'b': torch.zeros(10)})

AttributeError: 'NoneType' object has no attribute 'shape'
```

This works fine in JAX:
```
>> jax.tree_util.tree_map(lambda x: x.shape, {'a': None, 'b': jax.numpy.zeros(10)})
{'a': None, 'b': (10,)}

```



### Versions

Collecting environment information...
PyTorch version: 2.2.0
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: macOS 14.2.1 (arm64)
GCC version: Could not collect
Clang version: 15.0.0 (clang-1500.1.0.2.5)
CMake version: Could not collect
Libc version: N/A

Python version: 3.11.7 (main, Jan 19 2024, 18:31:00) [Clang 15.0.0 (clang-1500.1.0.2.5)] (64-bit runtime)
Python platform: macOS-14.2.1-arm64-arm-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Apple M1 Max

Versions of relevant libraries:
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.26.3
[pip3] optree==0.10.0
[pip3] torch==2.2.0
[pip3] torchvision==0.17.0
[conda] No relevant packages

cc @zou3519
Repository: storybook
Issue: [Bug]: strictTemplates compiler option in Angular components is ignored
Labels: bug,angular,sev:S3

### Describe the bug

See #13748

As linked from that original bug, there is a [comment in another issue](https://github.com/angular/angular/issues/43133#issuecomment-898603850) that explains this is because `strictTemplates` is only honored by ahead-of-time (AoT) compilation, and Storybook uses JIT compilation instead.

### To Reproduce

https://stackblitz.com/edit/github-aanaeo?file=src%2Fstories%2Fbutton.component.ts
The tsconfig file sets strictTemplates to true, but the invalid `size` attribute value in the button template is not reported.

### System

_No response_

### Additional context

_No response_
Repository: neovim
Issue: Virtual text with left gravity shown on two lines after pasting above
Labels: bug,display,marks

### Problem

Virtual text with left gravity shown on two lines after pasting above:

https://github.com/neovim/neovim/assets/35768171/a734b112-b4f5-43dc-901e-b4a50f7509ab

### Steps to reproduce

1. Run `nvim --clean`
2. Source the following file:
```vim
call setline(1, ['aaa', 'bbb', 'ccc', 'ddd'])
let ns = nvim_create_namespace('')
call nvim_buf_set_extmark(0, ns, 1, 0, #{virt_text: [['foo']], right_gravity: v:false})
```
3. Press `yyp`
4. Virtual text is shown on both line 2 and line 3

### Expected behavior

Virtual text is only shown on one line. After pressing `<C-L>` it is shown on line 2, which may or may not be the expected behavior.

### Neovim version (nvim -v)

v0.10.0-dev-2294+gc0b99bb1de 

### Vim (not Nvim) behaves the same?

N/A

### Operating system/version

Arch Linux

### Terminal name/version

kitty 0.31.0

### $TERM environment variable

xterm-kitty

### Installation

build from repo
Repository: neovim
Issue: Wrong display when deleting line with inline virtual text causes another line to wrap
Labels: bug,display,marks

### Problem

Wrong display when deleting line with inline virtual text causes another line to wrap:

https://github.com/neovim/neovim/assets/35768171/44818e37-325c-41d4-afc3-69a102b0a9bc

### Steps to reproduce

1. Run `nvim --clean`
2. Source the following file:
```vim
call setline(1, ['aaa', 'bbb', 'ccc', 'ddd', 'eee'])
call setline(3, repeat('c', winwidth(0) - 1))
let ns = nvim_create_namespace('')
call nvim_buf_set_extmark(0, ns, 1, 0, #{virt_text: [['!!!']], virt_text_pos: 'inline'})
```
3. Press `j`
4. Press `dd`
5. The last two lines are both displayed as `eee`

### Expected behavior

The last two lines are displayed as `ddd` and `eee`

### Neovim version (nvim -v)

v0.10.0-dev-2294+gc0b99bb1de   

### Vim (not Nvim) behaves the same?

N/A (deletes text property with line)

### Operating system/version

Arch Linux

### Terminal name/version

kitty 0.31.0

### $TERM environment variable

xterm-kitty

### Installation

build from repo
Repository: flutter
Issue: [ios] support native edit menu for non-text field widgets
Labels: c: new feature,platform-ios,c: proposal,P2,team-ios,triaged-ios

### Use case

Some non-text field may support context menus (e.g. pasting an image), and it should also support secure paste. 

This is doable with `UIEditMenuInteraction` API. However, the work will be much more involved. 

This is the 4th milestone of the proposal. 

### Proposal

Design doc: 
https://docs.google.com/document/d/16-8kn58h_oD902e7vPSh6W20aHRBJKyNOdSe5rbAe_g/edit?resourcekey=0-gVdJ3fbOybV70ZKeHU7fkQ
Repository: next.js
Issue: Unable to execute py script using exec command in nextjs
Labels: bug,Navigation,Runtime,Pages Router

### Link to the code that reproduces this issue

https://github.com/krishnaacharyaa/python-nextjs

### To Reproduce

Just clone the repo
Breif is:
I am trying to run simple py/sh scripts from nextjs using exec but i am not able to achieve it.

Kind help would be much appreciated.

Process is simple: 
>I am calling server Actions in my code, which executes the script

page.tsx
```
"use client";

import { pythonExec } from "./action";

export default function PythonClicker() {
  return <div onClick={() => pythonExec()}>Hello there</div>;
}

```

server action
```
"use server";

// import { exec } from "child_process";
export const pythonExec = async () => {
  const { exec } = require("child_process");
  console.log("I am called  ");
  exec('"sample-script.py"');
};
```

sample-script.py
```
print("Hello world")

```

p.s: I am called is being logged, only the "Hello world" is not getting logged.
I also want to return values from the script and use consume it in my server action 


Reproducible code: https://github.com/krishnaacharyaa/python-nextjs


### Current vs. Expected behavior

Along with log of "I am called in ", I expect to see the "Hello world" message aswell

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:34 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8103
Binaries:
  Node: 21.0.0
  npm: 10.2.0
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.1.0
  eslint-config-next: 14.1.0
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.3.3
Next.js Config:
  output: N/A
```


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

Data fetching (gS(S)P, getInitialProps), Middleware / Edge (API routes, runtime), Routing (next/router, next/navigation, next/link), Script optimization (next/script)

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

next dev (local)

### Additional context

_No response_
Repository: stable-diffusion-webui
Issue: [Feature Request]: "Do not save grids consisting of one picture"
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 ?

At the moment, this option appears to actually be "Do not **create** grids consisting of one picture". Which is fairly logical, but unchecking it leads to a grid that is identical to the generated image actually being separately created, displayed in the UI, and saved.
While this technically works fine, I feel it'd be better if there was a way to (automatically) simply save the single image generated without making a false grid.
It's also inconvenient because pressing the manual save button with this single-image grid selected saves the same image twice.

### Proposed workflow

I imagine the easiest way to implement this while adding actual functionality would be either a "Maximum amount of images saved per output" or an "Only save all generated images in outputs consisting of N images" setting.

But as a simple QoL, not displaying the created single image grid in the UI would suffice.

### Additional information

_No response_