sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: VS Code frequently stuck on "Saving 'somefile': Writing into file..."
Labels: info-needed

<!-- ⚠️⚠️ 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

Issue is sporadic so there is no way to reliably test.

<!-- 🪓 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.96.4
- OS Version: Kubuntu 22.04, Plasma 5.24.7, KDE 5.92.0, QT: 5.15.3, Kernel: 6.8.0-51-generic (64-bit)

Steps to Reproduce:

1. Open a file.
2. Edit.
3. Save.

Code will frequently get stuck on "Saving 'somefile.ext': Writing into file...". It happens often enough that it affecting my productivity.

Process:

1. open file from FTP using PCManFM-QT
2. make changes
3. Save the file

Most of the time the save is almost instant. Sometimes, it hangs as described. Code sometimes will come back eventually, sometimes as much as an hour later and I can save the file again, and it works, or may not be back after several hours and require a system reboot..

A check of the logs shows:

2025-01-25 12:21:57.295 [error] Error: ESPIPE: invalid seek, copyfile '/run/user/1000/gvfs/ftp:host=some-host,user=some-user/inetpub-dev/webcontent/Admin/securityFx/loginform.css' -> '/home/some-user/.config/Code/User/History/5c371153/GGjc.css': Unknown (FileSystemError): Error: ESPIPE: invalid seek, copyfile '/run/user/1000/gvfs/ftp:host=some-host,user=some-user/inetpub-dev/webcontent/Admin/securityFx/loginform.css' -> '/home/some-user/.config/Code/User/History/5c371153/GGjc.css'
    at f9.create (file:///usr/share/code/resources/app/out/main.js:38:28875)
    at Vi (file:///usr/share/code/resources/app/out/main.js:38:26169)
    at xc.ib (file:///usr/share/code/resources/app/out/main.js:49:22946)
    at xc.fb (file:///usr/share/code/resources/app/out/main.js:49:22389)
Repository: vscode
Issue: Test: SSH connection to unsupported distros with custom sysroot
Labels: testplan-item

Refs: https://github.com/microsoft/vscode/pull/235232

- [ ] anyOS @chrisdias
- [x] anyOS @alexr00

Complexity: 4


[Create Issue](https://github.com/microsoft/vscode/issues/new?body=Testing+%23238873%0A%0A&assignees=deepak1556)

---

We plan to provide a path for users on legacy servers to continue using latest version of the remote server if the system contains a sysroot with the required libraries. The necessary steps to achieve this are documented in https://github.com/microsoft/vscode-docs/pull/7953/files. This TPI aims to validate this flow,

**Prerequisites:**

* Install OpenSSH compatible SSH client, refs https://code.visualstudio.com/docs/remote/troubleshooting#_installing-a-supported-ssh-client
* Unreleased VSCode client from https://github.com/microsoft/vscode/pull/235232#issuecomment-2615764717
* Latest Pre-release of Remote - SSH extension, `version >= 0.117.2025012315`
* Sysroot
   - For testing purpose you can use the pre-compiled version that has `-glibc-2.28` suffix from https://github.com/microsoft/vscode-linux-build-agent/releases/tag/v20240129-253798
   - If you are feeling adventurous try `Build the sysroot` step from https://github.com/microsoft/vscode-docs/pull/7953/files
 * Patchelf https://github.com/NixOS/patchelf/releases/tag/0.18.0
 * Container with SSH server running, you can use the following sample container or spin your own but make sure it is a distro version that used to run legacy servers (Ubuntu <= 18, Debian <= 9, RHEL <= 7)

```docker
FROM amazonlinux:2

RUN yum update -y && yum install -y sudo openssh-server tar procps-ng
RUN sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config

RUN useradd -m -s /bin/bash test-ssh-user
RUN usermod -a -G wheel test-ssh-user
RUN echo "test-ssh-user:test123" | chpasswd

EXPOSE 22
```

Once the container is created, run the following commands to start the ssh server

```
su test-ssh-user
sudo ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa
sudo /usr/sbin/sshd -D
```


**Testing:**

* Use the ssh extension to connect to the host, command should end up being `ssh test-ssh-user@localhost -p <forwarded port>`
* Server connection should fail with error about server missing glibc and libstdc++ prerequisites
* Close the remote connection
* Set the environment variables from step 4) of https://github.com/microsoft/vscode-docs/pull/7953/files to the users `~/.profile` or `~/.bash_profile`
* Retry connecting to the host via the SSH extension
* Connection should be successful, you should see a prompt about connecting to an unsupported server
Repository: langchain
Issue: docs: pgvector docs issues
Labels: 🤖:docs,investigate

https://python.langchain.com/docs/integrations/vectorstores/pgvector/ install instructions in these docs are wrong, you get this error if you follow them

```
ImportError: no pq wrapper available.
Attempts made:
- couldn't import psycopg 'c' implementation: No module named 'psycopg_c'
- couldn't import psycopg 'binary' implementation: No module named 'psycopg_binary'
- couldn't import psycopg 'python' implementation: libpq library not found
```
Easiest fix is to tell user to install psycopg-binary too, and add a link to psycopg docs for explanation of additional options
Repository: flutter
Issue: Release process must check in an engine.version file
Labels: P1,team-release

When trying to publish the 3.29.0-0.1.pre beta release, packaging builds failed to find the binaries: https://ci.chromium.org/ui/p/dart-internal/builders/flutter/Linux%20packaging_release_builder/276/infra

I believe the long-term fix to this is the conductor should check in an up to date engine.version on release branches.
Repository: ollama
Issue: /clear not actually clearing
Labels: bug

### What is the issue?

Steps that I've done, which shows the bug. There might be a simpler sequence but this is mine.
1. ollama run hf.co/mradermacher/DS-R1-Distill-Q2.5-7B-RP-GGUF:latest
2. /set parameter num_ctx 16384
3. save chrisdeepseek
4. /bye
5. ollama run chrisdeepseek
6. create flappybird.py code.
7. (do some testing extra)
8. /bye
9. ollama run chrisdeepseek
10. flappy bird code comes back!
11. /clear
12. /bye
13. ollama run chrisdeepseek
14. flaapy bird code comes back!
Seems like the larger context doesn't actually get cleared.


### OS

Linux

### GPU

Nvidia

### CPU

Intel

### Ollama version

0.5.7
Repository: PowerToys
Issue: File Explorer Add-ons Preview Pane Monaco
Labels: Needs-Triage

### Description of the new feature / enhancement

Monaco should not preview .txt files because Monaco takes a few more milliseconds to preview these files than the native reader.  Alternative previewer should be set for txt files.

Monaco is a source code previewer that opens files in the preview pane for quick reading. Monaco reads .txt files in addition to other source code type files like cpp, py, json, xml...  Monaco takes a few more milliseconds to preview these files.  

### Scenario when this would be used?

File Explorer add-on would have one switch for Monaco supported files. And another switch for .txt files where a different previewer is used.  Each previewer can be toggled on and off as an option for File explorer add-ons.

### Supporting information



Monaco is a source code previewer that opens files in the preview pane for quick reading. Monaco reads .txt files in addition to other source code type files like cpp, py, json, xml...  Monaco takes a few more milliseconds to preview these files.
Repository: pytorch
Issue: TorchScript run_method fails from 2.5.0 onward on Ubuntu
Labels: oncall: jit,module: deadlock

### 🐛 Describe the bug

Using https://download.pytorch.org/libtorch/cu118/libtorch-shared-with-deps-2.5.1%2Bcu118.zip or https://download.pytorch.org/libtorch/cu118/libtorch-shared-with-deps-2.5.0%2Bcu118.zip the following code does not return. Console prints the "run..." but never seems to finish execution of the `run_method` line. 

```cpp
TEST(MLLib, JITForward) {

  // Here we use compile on a small TorchScript snippet.
  auto identity_module = torch::jit::compile(R"JIT(
        def forward(x):
            return x
    )JIT");

  // Run forward
  std::cout << "run..." << std::endl;
  auto output = identity_module->run_method("forward", torch::ones({2, 3}));

  auto t = output.toTensor();

  std::cout << "Output size: " << t.sizes() << std::endl;
  std::cout << "Output:\n" << t << std::endl;
}
```

### Versions

libtorch 2.5.0 / 2.5.1

cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel
Repository: flutter
Issue: [shared_preferences] Android integration tests running twice
Labels: a: tests,team,p: shared_preferences,package,team-ecosystem,P1,triaged-ecosystem

While investigating another issue, I noticed that FTL was showing the integration tests for `shared_preferences` running twice: once via `MainActivityTest`, and once via `FlutterActivityTest`. The plugin has both files, and they have essentially identical content, which seems like it's probably a mistake. We should figure out why that's the case, remove one if it is just an accident, and check other plugins to see if they have this issue.
Repository: rust
Issue: Misleading error message - Returning Option<T> when Clone not implemented
Labels: A-diagnostics,T-compiler,D-terse

When a function returns `Option<T>` and the function is basically a wrapper on an `Arc<RwLock<Option<T>>>` but `T` does not implement `Clone` then the code `self.value.read().unwrap().as_ref().map(|value| value.clone())` will show a compile error `"mismatched types"` as the return type is `Option<_> and found Option<&_>`. This suggests that I need to clone the value, but I am already doing that. Trying to dereference the value also fails with the error that the `T` does not implement `Copy` (nor do I want it to).

Example:
```
struct MyStruct<T>
{
    value: Arc<RwLock<Option<T>>>,
}

impl<T> MyStruct<T>
{
    fn get_value(&self) -> Option<T> {
        let locked_value = self.value.read().unwrap();
        locked_value.as_ref().map(|value| value.clone())
    }
}
```
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=9ab38c00a0a33a5c07b2aa42fa510762

I expected to see this happen:
The underlying issue of `"no method named clone found for type"` is the true underlying problem that is hidden from the developer.

Instead, this happened:
I was misdirected to the return type being invalid.

I was under the impression that bad or misleading error messages in Rust are considered bugs, but if that is not the case please let me know what I need to do to help resolve this issue. Thank you.

Edit:
While constructing the more complete example, I noticed that omitting the `.as_ref()` then caused the compiler to properly call out the lack of `Clone`. When I added `T: Clone` then an error would appear since I was missing `.as_ref()`. This bug demonstrates that if you already start with `.as_ref()` included, that the compiler fails to point you to the lack of `Clone`.
Repository: ui
Issue: [bug]: Shadcn blocks missing
Labels: bug

### Describe the bug

Previously there were a ton of blocks available such as tables etc but now there are only a few sidebars, authentications and logins.

### Affected component/components

Tables and more

### How to reproduce

1. Go to https://ui.shadcn.com/blocks
2. Scroll down and see how many blocks you find
3. You see a few more if you click the tabs ("Sidebars, Authentication, Login") but not many

### Codesandbox/StackBlitz link

_No response_

### Logs

```bash

```

### System Info

```bash
Safari
```

### Before submitting

- [x] I've made research efforts and searched the documentation
- [x] I've searched for existing issues
Repository: ollama
Issue: [v0.5.4] Download timeouts cause download cache corruption. Any download that needs to be retried by re-running ollama ends up corrupted at 100% download(file sha256-sha256hash-partial-0 not found).
Labels: bug

### What is the issue?

Running ollama through alpaca.    
I'm aware this is a seperate project will mirror the bug report.    

### OS

Linux

### GPU

AMD

### CPU

AMD

### Ollama version

0.5.4
Repository: node
Issue: flaky: test-fs-cp
Labels: flaky-test

### Test

test-fs-cp

### Platform

Windows x64

### Console output

```console
not ok 304 parallel/test-fs-cp
12:01:46   ---
12:01:46   duration_ms: 520.01000
12:01:46   severity: fail
12:01:46   exitcode: 1
12:01:46   stack: |-
12:01:46     node:assert:128
12:01:46       throw new AssertionError(obj);
12:01:46       ^
12:01:46     
12:01:46     AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
12:01:46     + actual - expected
12:01:46     
12:01:46     + 'ERR_FS_EISDIR'
12:01:46     - 'ERR_FS_CP_EINVAL'
12:01:46               ^
12:01:46     
12:01:46         at file:///c:/workspace/node-test-binary-windows-js-suites/node/test/parallel/test-fs-cp.mjs:687:12
12:01:46         at c:\workspace\node-test-binary-windows-js-suites\node\test\common\index.js:491:15
12:01:46         at node:fs:190:23
12:01:46         at callbackifyOnRejected (node:util:230:10)
12:01:46         at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
12:01:46       generatedMessage: true,
12:01:46       code: 'ERR_ASSERTION',
12:01:46       actual: 'ERR_FS_EISDIR',
12:01:46       expected: 'ERR_FS_CP_EINVAL',
12:01:46       operator: 'strictEqual'
12:01:46     }
12:01:46     
12:01:46     Node.js v24.0.0-pre
12:01:46   ...
```

### Build links

- https://ci.nodejs.org/job/node-test-binary-windows-js-suites/32255/RUN_SUBSET=0,nodes=win11-COMPILED_BY-vs2022/testReport/junit/(root)/parallel/test_fs_cp/

### Additional information

_No response_
Repository: godot
Issue: SVG import options are ignored during conversion to a Windows icon on export
Labels: bug,platform:windows,topic:editor,topic:export

### Tested versions

- Reproducible in: 4.3.stable, 4.4.beta1

### System information

Godot v4.3.stable - Windows 10.0.26100 - GLES3 (Compatibility) - NVIDIA GeForce RTX 4090 (NVIDIA; 32.0.15.6636) - 13th Gen Intel(R) Core(TM) i9-13900K (32 Threads)

### Issue description

When you use a SVG file as an icon in a Windows export preset, its import options like **SVG > Scale** or **Normal Map Invert Y** are ignored. As seen in this video:

https://github.com/user-attachments/assets/bec266df-3976-49e4-879e-cf757719e2e5

This means that if your SVG file has a low resolution defined in its metadata, increasing SVG scale will still result in a blurry icon once exported.

This is likely where the issue should be fixed: https://github.com/godotengine/godot/blob/e5498020b6250d9284efcdcf0f85f39d48d8548f/platform/windows/export/export_plugin.cpp#L96-L107

This is not just a resolution issue, as **Normal Map Invert Y** (which turns a white icon magenta) is also ignored.

### Steps to reproduce

- Import a low-resolution SVG in the project ([editor icons](https://github.com/godotengine/godot/tree/master/editor/icons) are a good fit for this since they're 16x16). Set their SVG scale on import to a value like 16 (so they're imported as 256x256).
- Configure rcedit in the Editor Settings. 
- Create a Windows export preset, set the icon path and export the project.
- Look at the resulting executable icon in Windows Explorer with zoom (<kbd>Ctrl + Mouse wheel</kbd>).

### Minimal reproduction project (MRP)

[test-icon-export.zip](https://github.com/user-attachments/files/18562508/test-icon-export.zip)
Repository: ui
Issue: [feat]: Add support for Radix's Data List
Labels: area: request

### Feature description

Most components from Radix have a ShadCN equivalent. However there is not one for their Data List component.

It's a component-equivalent of the `<dl>`, `<dt>`, and `<dd>` elements.

While it's not a very involved component and so could be made by end users, it's still something that is used commonly enough that it'd be a worthwhile addition to the library.

### Affected component/components

_No response_

### Additional Context

Additional details here...

### Before submitting

- [x] I've made research efforts and searched the documentation
- [x] I've searched for existing issues and PRs
Repository: flutter
Issue: [monorepo] better description for the `emergency` label
Labels: team-infra,P1,triaged-infra,monorepo

The `emergency` label should have a better description, and link to more detailed docs about what it does and when it should be used.
Repository: vscode
Issue: I dont install it, it keep my copy and paste func lagging a lot
Labels: triage-needed


Type: <b>Bug</b>

I dont install it, it keep my copy and paste func lagging a lot

VS Code version: Code 1.96.4 (Universal) (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z)
OS version: Darwin x64 24.0.0
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz (8 x 1400)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off|
|Load (avg)|4, 5, 4|
|Memory (System)|16.00GB (0.06GB free)|
|Process Argv|--crash-reporter-id 0d24a37a-f78b-49fc-8c0a-38d18982d114|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (42)</summary>

Extension|Author (truncated)|Version
---|---|---
vscode-django|bat|1.15.0
vscode-intelephense-client|bme|1.12.6
tailwindshades|bou|0.0.5
vscode-tailwindcss|bra|0.14.1
doxdocgen|csc|1.4.0
vscode-eslint|dba|3.0.10
python-environment-manager|don|1.2.7
python-extension-pack|don|1.7.0
EditorConfig|Edi|0.16.4
prettier-vscode|esb|11.0.0
code-runner|for|0.12.2
vscode-pull-request-github|Git|0.102.0
better-cpp-syntax|jef|1.27.1
vsc-python-indent|Kev|1.19.0
debugpy|ms-|2024.14.0
python|ms-|2024.23.2025012401
vscode-pylance|ms-|2024.12.1
jupyter|ms-|2024.11.0
jupyter-keymap|ms-|1.1.2
jupyter-renderers|ms-|1.0.21
vscode-jupyter-cell-tags|ms-|0.1.9
vscode-jupyter-powertoys|ms-|0.1.1
vscode-jupyter-slideshow|ms-|0.1.6
remote-containers|ms-|0.394.0
remote-ssh|ms-|0.116.1
remote-ssh-edit|ms-|0.87.0
remote-wsl|ms-|0.88.5
cmake-tools|ms-|1.19.52
cpptools|ms-|1.23.4
cpptools-extension-pack|ms-|1.3.0
remote-explorer|ms-|0.4.3
autodocstring|njp|0.6.1
postman-for-vscode|Pos|1.6.1
LiveServer|rit|5.7.9
open-in-browser|tec|2.0.0
bootstrap4-vscode|the|6.1.0
pdf|tom|1.2.2
cmake|twx|0.0.17
vscode-lldb|vad|1.11.2
vscodeintellicode|Vis|1.3.2
volar|Vue|2.2.0
jinja|who|0.0.8

(1 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupyter:31046869
2f103344:31071589
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31192215
cf971741:31144450
iacca1:31171482
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
dwoutputs:31217127
hdaa2157:31222309
copilot_t_ci:31222730

```

</details>

<!-- generated by issue reporter -->
Repository: ui
Issue: [bug]: JSON Serialization Error Due to Circular Reference in DOM Element and React FiberNode
Labels: bug

### Describe the bug

This type error run in loop :

TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'HTMLButtonElement'
    |     property '__reactFiber$t0tlvvefhtf' -> object with constructor 'FiberNode'
    --- property 'stateNode' closes the circle
    at JSON.stringify (<anonymous>)

Equal with : HTMLDivElement ,  HTMLButtonElement, HTMLUListElement etc



### Affected component/components

Button , etc

### How to reproduce

![Image](https://github.com/user-attachments/assets/e89fa9bf-d2ac-4d75-a51e-ac3d3d1099cb)

### Codesandbox/StackBlitz link

_No response_

### Logs

```bash
Uncaught (in promise) TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'HTMLButtonElement'
    |     property '__reactFiber$t0tlvvefhtf' -> object with constructor 'FiberNode'
    --- property 'stateNode' closes the circle
    at JSON.stringify (<anonymous>)
    at backend.bundle.js:1:303762
    at backend.bundle.js:1:303832
    at Generator.next (<anonymous>)
    at backend.bundle.js:1:298495
    at new Promise (<anonymous>)
    at g (backend.bundle.js:1:298240)
    at backend.bundle.js:1:298719
    at backend.bundle.js:1:298580
    at backend.bundle.js:1:305524
(anonymous) @ backend.bundle.js:1
(anonymous) @ backend.bundle.js:1
(anonymous) @ backend.bundle.js:1
g @ backend.bundle.js:1
(anonymous) @ backend.bundle.js:1
(anonymous) @ backend.bundle.js:1
(anonymous) @ backend.bundle.js:1
(anonymous) @ backend.bundle.js:1
g @ backend.bundle.js:1
(anonymous) @ backend.bundle.js:1
(anonymous) @ backend.bundle.js:1
(anonymous) @ backend.bundle.js:1
(anonymous) @ backend.bundle.js:1Understand this errorAI
content.bundle.js:1 Port received message: {action: 'devTools', payload: {…}}
content.bundle.js:1 Port received message: {action: 'aReactApp', payload: {…}}
backend.bundle.js:1 Uncaught (in promise) TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'HTMLButtonElement'
    |     property '__reactFiber$t0tlvvefhtf' -> object with constructor 'FiberNode'
    --- property 'stateNode' closes the circle
    at JSON.stringify (<anonymous>)
    at backend.bundle.js:1:303762
    at backend.bundle.js:1:303832
    at Generator.next (<anonymous>)
    at backend.bundle.js:1:298495
    at new Promise (<anonymous>)
    at g (backend.bundle.js:1:298240)
    at backend.bundle.js:1:298719
    at a (backend.bundle.js:1:298644)
```

### System Info

```bash
Browser
```

### Before submitting

- [x] I've made research efforts and searched the documentation
- [x] I've searched for existing issues
Repository: flutter
Issue: Some macbots look unhealthy
Labels: team-infra

Sampling the last 9 days (accounts for the weekend):

bots looking very sad:
* build804-m9
* build810-m9
* build815-m9

bots questionable:
* build812-m9
* build802-m9
* build810-m9
* build805-m9
* build806-m9
Repository: excalidraw
Issue: creating an elbow arrow from a frame adds it to the frame incorrectly
Labels: bug

When creating an elbow arrow by clicking a bit inside the shape (in this case the frame), it binds it to the shape as expected, but in case of a frame it also adds it to the frame as a child because you initially clicked inside the frame when creating the elbow arrow. This puts the arrow completely outside the frame and doesn't render it.

Instead, if we detect the the arrow is being bound to the frame during creation, we should never add it to the frame as a child (-> `frameId: null`)

![Image](https://github.com/user-attachments/assets/bc9cef4c-1e1c-4804-849d-164d35f2c0d5)