sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: excalidraw
Issue: Feature - Preview map
Labels: enhancement

Hi, 
As the size of whiteboards increase, the updates on viewport by dragging is not efficient for users. 
A `preview map` for the whole whiteboard would be really helpful. And I would like to help implement this feature.![Image](https://github.com/user-attachments/assets/f9040783-5e2c-4962-af40-cf945df0db4a)


**Functional Requirements:**

1. Toggle Visibility
Open/Close Preview Map:
Users can click a designated button to open or close the preview map.
Provide a keyboard shortcut to toggle the preview map for quick access.

2. Display of Whiteboard Content
Complete Outline View:
The preview map displays outlines of all shapes and objects present on the whiteboard.
Maintain aspect ratio to prevent distortion of the whiteboard representation.
Real-time Updates:
The preview map updates in real-time to reflect additions, deletions, or modifications on the whiteboard.

3. Viewport Representation
Current Viewport Indicator:
The preview map includes a highlighted rectangle indicating the area currently visible in the main viewport.
Dynamic Updating:
As users navigate the whiteboard (e.g., pan or zoom), the viewport indicator updates correspondingly in the preview map.

4. Navigation via Preview Map
Click to Navigate:
Users can click on any area within the preview map to instantly move the main viewport to that location.
Drag to Pan:
Users can drag the viewport indicator within the preview map to pan the main viewport smoothly.

5. Performance Optimization
Efficient Rendering:
The preview map should render efficiently without causing lag, even on large or complex whiteboards.
Resource Management:
Implement optimizations to minimize CPU and memory usage.
Repository: TypeScript
Issue: `keyof Readonly<string[]>` different from `keyof Readonly<T>` where T is string[]
Labels: Needs Investigation

### 🔎 Search Terms

keyof Readonly array

### 🕗 Version & Regression Information

Latest to date

### ⏯ Playground Link

https://www.typescriptlang.org/play/?#code/C4TwDgpgBAKgjFAvFAShAhgEwPYDsA2IAPAM7ABOAlrgOYDaAugHwDcUA9O1ORjgSFDJVajALAAoUJFQJkAawghsAM1hw2nKAqWqeWPIUEVq9BhIlToAaUUB5ZWn38iMJki2KVqXgeKuWFuDQKABM7jYg9o58hKTGIswaXIAy5B46RsKmEkA

### 💻 Code

```ts
type T1 = Readonly<string[]>; // readonly string[]
type R1 = keyof T1; // keyof readonly string[]

type KeyOfReadonly<T> = keyof Readonly<T>;
type R2 = KeyOfReadonly<string[]>; // ❌ keyof string[]
```


### 🙁 Actual behavior

doesn't work

### 🙂 Expected behavior

works

### Additional information about the issue

What can I say, I really hope this is not the intended behavior.
Repository: godot
Issue: Advanced audio editor for loops/beat setup broken/different for .ogg and ,mp3s, ogg file freezes editor with offset change (not ignored as editor claims in tooltip)
Labels: bug,topic:editor,topic:audio,topic:import

### Tested versions

- Reproduceable in 4.3

### System information

Windows 10 - Godot 4.3

### Issue description

Strange behavior with Ogg and MP3 bpm looping and Offset together. The offset control claims to ignore if set when BPM is also set in its tooltip. However, it does work with them together in the editor, runtime test, and exported .exe. If offset is set past the loop end in BPM checked, the MP3 tries and buzzes; it can just be stopped or started again. Oggs freeze whatever .exe instantiated the playback.

I also just noticed while messing a bit that the eggs sometimes don't hang whatever instantiates it, making playback impossible in the AudioStreamPlayer being used. However, this leads to instability in the "instantiator" that will eventually freeze it.

### Steps to reproduce

In the editor, when you double click an .ogg or .mp3 file, or click on the Advanced button in the Import tab, it opens the dialog for editing loops, bpm, beats, and bars.

If you hover over the offset it claims it is ignored if the BPM is set. This is not true. If you set it for MP3s it works just fine in the dialog and at runtime, when the clip or beat count (bpm loop end) is reached, if the offset is before that, it will start the loop over at that offset, otherwise it will try and buzz as it's trying to play after the end of the loop but cannot. 

If you do the same with .ogg files, it will work the same unless you set up like the latter described above, the offset after the loop end, it then hangs Godot Editor, probably forever until you end task either by task manager or windows telling you it is not responding dialog. This behavior is the same for the editor dialog, testing rutime in the editor, and will also freeze the exported .exe standalone in the same way with oggs.

### Minimal reproduction project (MRP)

N/A
Repository: godot
Issue: Does a 1 tile region in the tilemap node span the entire region?
Labels: topic:editor,topic:2d

### Tested versions

v3.6.stable.official [de2f0f147]

### System information

w10 64

### Issue description

Watch the video, when I set the region to a single tile, the wooden box graphic still draws correctly, but the region only has one tile selected, where are the other tiles being obtained to draw the entire box?

The correct thing would be for the entire wooden box to only be drawn correctly if the region spans the required tiles.

The bug:
If the atlas/region only has one tile, how is it possible that the entire table is drawn?

Expected behavior:
If the atlas/region only has one tile, only one tile of the table should be drawn, however, the table is drawn completely and correctly.

https://github.com/user-attachments/assets/ae3be475-f524-4d47-8945-4db016647799

### Steps to reproduce

See the video

### Minimal reproduction project (MRP)

...
Repository: transformers
Issue: Image-Text-to-Text Support in Transformers Pipeline
Labels: Feature request

### Feature request

Implement the new feature to support a pipeline that can take both an image and text as inputs, and produce a text output. This would be particularly useful for multi-modal tasks such as visual question answering (VQA), image captioning, or image-based text generation.

```python
from transformers import pipeline

# Initialize the pipeline with multi-modal models
multi_modal_pipeline = pipeline("image-text-to-text", model="meta-llama/Llama-3.2-11B-Vision-Instruct")

# Example usage
messages = [
    {"role": "user", "content": [
        {"type": "image"},
        {"type": "text", "text": "If I had to write a haiku for this one, it would be: "}
    ]}
]
result = multi_modal_pipeline(messages )
print(result)  # Should return an answer or relevant text based on the image and question
```

### Motivation

- Simplifies workflows involving multi-modal data.
- Enables more complex and realistic tasks to be handled with existing Transformer models.
- Encourages more multi-modal model usage in research and production.

### Your contribution

 **Transformers Integration**
Ensure that the pipeline works well within the Hugging Face Transformers library:

- Implement the custom pipeline class (`ImageTextToTextPipeline`).
- Add support for handling different data types (image, text) and ensure smooth forward pass execution.

```python
class ImageTextToTextPipeline(Pipeline):
  ....
  
```
Repository: PowerToys
Issue: KeePassXC is not recognised
Labels: Issue-Bug,Needs-Triage,Product-Workspaces

### Microsoft PowerToys version

0.85.1

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

Workspaces

### Steps to reproduce

1. Have [KeePassXC](https://keepassxc.org/) installed
2. Have KeePassXC open
3. Try to capture it with Workspaces

### ✔️ Expected Behavior

KeePassXC is captured and can be used in Workspaces

### ❌ Actual Behavior

KeePassXC is not recognised by Workspaces

### Other Software

Windows 10 Pro 22H2
Repository: vscode
Issue: Improvement to Minimap: Colour segment functions, better visualisation and location indicator
Labels: feature-request,editor-minimap

<!-- ⚠️⚠️ 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. -->
The minimap is essential in helping in navigation, especially to know the location at the code. Why not use colours to segment functions (only functions) like so: It makes the code much easier to read and digest.

Compare the left column to the right column:

![Image](https://github.com/user-attachments/assets/0a497af0-8532-4f03-a0c4-73e0ffedcaf9)

**My argument is:** Just by glancing at the left, I know my location exactly within the code, and this gives me the following knowledge/abilities. For example:

1. I can see the file has 5 functions, and that I am at the beginning of the 4th function.
2. I can easily jump to the beginning of the current function, say to modify a parameter.
3. A glance at the map, I can see the size of each function (from the segmentations), and I can tell exactly where I am and which part of code I am looking at.
4. I can tell the file has two almost similar size functions (could be overrides), it has 3 other main bigger functions. So I can see the sizes of the functions and their count. Glancing at the map and the file name (the tab) helps me remember what this file does...etc. etc.
Repository: pytorch
Issue: DISABLED test_ddp_update_process_group_new_group (__main__.TestDistBackendWithSpawn)
Labels: oncall: distributed,triaged,skipped

This test was disabled because it is failing in PR #137161 ([recent examples](https://hud.pytorch.org/pr/pytorch/pytorch/137161#31427529291)).

It has `@skip_if_lt_x_gpu(4)` decorator which means it was never tested by CI before the 2x M60 to 4x T4 upgreade.

cc @XilunWu @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o
Repository: tensorflow
Issue: Cannot pass $LOCAL_CUDNN_PATH as /usr
Labels: stat:awaiting tensorflower,type:build/install,subtype: ubuntu/linux,comp:core,2.18.rc

### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

Yes

### Source

source

### TensorFlow version

2.18.0.rc0

### Custom code

Yes

### OS platform and distribution

Linux Ubuntu 22.04

### Mobile device

_No response_

### Python version

3.10

### Bazel version

6.5.0

### GCC/compiler version

12

### CUDA/cuDNN version

8.9.0

### GPU model and memory

GTX 4090

### Current behavior?

If I pass `LOCAL_CUDNN_PATH`  as /usr, just like the docker image nvidia/cuda:12.1.1-cudnn8-devel-ubuntu22.04, then tensorflow bazel would create a symlink: external/cudnn/include  as /usr/include, 
then, tensorflow would pass `-isystem external/cuda_cudnn/include`
after that, `#include_next` always skip the current directory external/cuda_cudnn/include, which is actually /usr/include, then bazel would report the error: 
```
/usr/local/include/c++/12/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
 #include_next <stdlib.h>
               ^~~~~~~~~~
compilation terminated.
```
If I do not pass `LOCAL_CUDNN_PATH` and let tensorflow redownload a cudnn library, things would be very smooth.

### Standalone code to reproduce the issue

```shell
git submodule sync
git submodule update --init --recursive

export _GLIBCXX_USE_CXX11_ABI=1
. /work/conda_init.sh \
    && conda activate py3 \
    && HERMETIC_CUDA_VERSION=12.1.0 HERMETIC_CUDNN_VERSION=8.9.4.25 HERMETIC_CUDA_COMPUTE_CAPABILITIES=9.0  TF_NVCC_CLANG=1 TF_NEED_TENSORRT=1 LOCAL_CUDANN_PATH=/usr  LOCAL_CUDA_PATH=$CUDA_HOME  TF_NEED_CUDA=1  CLANG_CUDA_COMPILER_PATH=/llvm_release_17_with_nvptx/bin/clang ./configure
. /work/conda_init.sh \
    && conda activate py3 \
    && export LOCAL_CUDA_PATH=$CUDA_HOME \
    && bazel build --config=opt --copt="-Iexternal/cuda_cudnn/include"   --copt="-Wno-error=unused-command-line-argument"  //tensorflow/tools/pip_package:wheel --repo_env=WHEEL_NAME=tensorflow --config=cuda --config=cuda_wheel  --config=dbg --copt="-Wno-int-conversion"   --copt="-Wno-error=extra-semi" --copt="-Wno-gnu-include-next"  --copt="-Wno-error=c23-extensions"  --copt="-Wno-error=overlength-strings"  --copt="--gcc-install-dir=/usr/lib/gcc/x86_64-linux-gnu/12" --verbose_failures  --subcommands
```
```


### Relevant log output

_No response_
Repository: opencv
Issue: DNNTestNetwork.FastNeuralStyle_eccv16 reduced for the new engine
Labels: bug,category: dnn

### System Information

Platform: any
Reference: https://github.com/opencv/opencv/pull/26056

### Detailed description

The test checks fallbacks to CPU and expects that it should be done with CUDA only. The new engine does not support non-CPU back-ends. The fallback check disabled for now.

### Steps to reproduce

-

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [X] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: pytorch
Issue: Can FlightRecorder set the stream key of collective and P2P OP into the entry.
Labels: oncall: distributed,triaged

### 🚀 The feature, motivation and pitch

Flight recorder can dump uncompleted NCCL OPs from the trace buffer if the distributed training hangs.  In codes of ProcessGroupNCCL.cpp, the collective OPs and batch P2P OPs are launched on the same stream. The single P2P are launched on another stream. We can select the first stuck OP on each stream if the entry of FlightRecorder has the stream key. We only need to analyze the first stuck OP on each stream to diagnose the hang training because other OPs on the same stream are blocked by the first OP.
https://github.com/pytorch/pytorch/blob/b7be4b1e4803351d05d5ed5b219532f7dc5daaa7/torch/csrc/distributed/c10d/ProcessGroupNCCL.cpp#L3161-L3170

### Alternatives

_No response_

### Additional context

_No response_

cc @XilunWu @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o
Repository: react
Issue: [DevTools Bug] Cannot remove node "820" because no matching node was found in the Store.
Labels: Type: Bug,Status: Unconfirmed,Component: Developer Tools

### Website or app

fix

### Repro steps

fix

### How often does this bug happen?

Often

### DevTools package (automated)

react-devtools-extensions

### DevTools version (automated)

6.0.0-d66fa02a30

### Error message (automated)

Cannot remove node "820" because no matching node was found in the Store.

### Error call stack (automated)

```text
at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:1:1173591
    at v.emit (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:1:1141200)
    at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:1:1142807
    at bridgeListener (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:1:1552441)
```


### Error component stack (automated)

```text
fix
```


### GitHub query string (automated)

```text
https://api.github.com/search/issues?q=Cannot remove node  because no matching node was found in the Store. in:title is:issue is:open is:public label:"Component: Developer Tools" repo:facebook/react
```
Repository: react
Issue: Bug: Quickly selecting checkboxes on iOS doesn't work correctly
Labels: Status: Unconfirmed

React version: 18.0.0 and 17.0.2

## Steps To Reproduce

1. Open https://4txdx2.csb.app/ (React 18) in a device running iOS in Safari / Chrome.
2. Quickly tap one checkbox followed by another one.
3. Notice that if you quickly select one checkbox followed by another one, it checks / unchecks the previous checkbox you were on on.

Link to code example:

React 18.0.0
[Sandbox](https://codesandbox.io/p/sandbox/react-18-checkbox-issue-4txdx2), [Preview](https://4txdx2.csb.app/)

React 17.0.2
[Sandbox](https://codesandbox.io/p/sandbox/react-17-checkbox-issue-yqgs6d), [Preview](https://yqgs6d.csb.app/)

React 16.4.0
[Sandbox](https://codesandbox.io/p/sandbox/react-16-checkbox-issue-jzsk96), [Preview](https://jzsk96.csb.app/)

## The current behavior

There appears to be some sort of race condition where tapping on a controlled / uncontrolled `<input type="checkbox">` quickly after tapping another checkbox updates the original checkbox you tapped rather than the checkbox that was just tapped. It appears to be a timing issue - if you wait long enough between taps, the events are fired on the correct elements.

This works in React 16 but not React 17 and 18.

## The expected behavior

The checkbox state should reflect the checked state of the checkbox you tapped, not the previous checkbox you tapped.
Repository: PowerToys
Issue: Instant Language Flip Feature - for wrong keyboards selected while typing
Labels: Needs-Triage

### Description of the new feature / enhancement

The Instant Language Flip feature allows users to quickly switch the language of their typed text with a single button press. This is particularly useful when users accidentally type in the wrong language due to an incorrect keyboard layout selection. For example, if a user types "שדגש" in Hebrew but intended to type "hello" in English, pressing the Instant Language Flip button will convert the text to "hello" while maintaining the same characters. This feature enhances user productivity by eliminating the need to retype text and ensures seamless communication across different languages.

### Scenario when this would be used?


User types "שדגש" in Hebrew, intending to type "hello" in English. Pressing the Instant Language Flip button converts it to "hello".
User types "דגכ" in Hebrew, intending to type "cat" in English. Pressing the Instant Language Flip button converts it to "cat".

### Supporting information

Every bi-lingual has done this thousands of times, and I've been approached as a Microsoft employee (@Yomanor) - "Why hasn't Microsoft fixed this by now?"
Repository: opencv
Issue: Deconvolution layer is broken in dnn
Labels: bug,category: dnn

### System Information

Platform: Any
Reference: https://github.com/opencv/opencv/pull/26056/

### Detailed description

The tests for the layer are disabled. Default implementation leads to sigsegv.

### Steps to reproduce

-

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [X] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: vscode
Issue: Bug on Keyboard shortcut `multiDiffEditor.goToFile`
Labels: multi-diff-editor


Type: <b>Bug</b>

When using this shortcut, as I am focused on a file in the Multi Diff Editor, there is an error: 
"Cannot read properties of undefined (reading 'toString')"

VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Windows_NT x64 10.0.19045
Modes:

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

|Item|Value|
|---|---|
|CPUs|Intel(R) Xeon(R) Platinum 8358P CPU @ 2.60GHz (4 x 2594)|
|GPU Status|2d_canvas: unavailable_software<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: disabled_software<br>multiple_raster_threads: enabled_on<br>opengl: disabled_off<br>rasterization: disabled_software<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: disabled_software<br>video_encode: disabled_software<br>vulkan: disabled_off<br>webgl: unavailable_software<br>webgl2: unavailable_software<br>webgpu: unavailable_software<br>webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|16.00GB (6.09GB free)|
|Process Argv|D:\\shalev.ku\\repos\\electro-kubi-multi-root.code-workspace --crash-reporter-id 26ee39f3-acb7-4c45-bb2f-cf690c87d8d9|
|Screen Reader|no|
|VM|25%|
</details><details><summary>Extensions (4)</summary>

Extension|Author (truncated)|Version
---|---|---
prettier-vscode|esb|11.0.0
mssql|ms-|1.24.0
powershell|ms-|2024.2.2
sqltools|mtx|0.28.3


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

```
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
724cj586:31013169
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
2f103344:31071589
impr_priority:31102340
nativerepl2:31139839
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-t:31132770
wkspc-ranged-t:31151552
cf971741:31144450
defaultse:31146405
iacca2:31156134
notype1:31157159
5fd0e150:31155592

```

</details>

<!-- generated by issue reporter -->
Repository: react
Issue: [Compiler Bug]: Does not correctly identify components returned from factory
Labels: Type: Bug,Status: Unconfirmed,Component: Optimizing Compiler

### What kind of issue is this?

- [X] React Compiler core (the JS output is incorrect, or your app works incorrectly after optimization)
- [ ] babel-plugin-react-compiler (build issue installing or using the Babel plugin)
- [X] eslint-plugin-react-compiler (build issue installing or using the eslint plugin)
- [ ] react-compiler-healthcheck (build issue installing or using the healthcheck script)

### Link to repro

https://playground.react.dev/#N4Igzg9grgTgxgUxALhASwLYAcIwC4AEAVAQIZgEBKCpchAZjBBgQOQw12sDcAOgHYCEADxz4CAEwT1SUADYMo-Omgj8CAWQCeAQSxYAFAEoCwAQQIc8sdQB4JaAG4A+ABII5ciAQDquORK2APQOLnz8AL4CAvRKKmoEAGIQEMam5gRwamCEANr8pBgIADQEYAh4AHKFCAC6BAC8VJx4AHRQ5QDKeKR4CAasrEbhFlY2BLYAFgCMbh5epgVFEcEzzgJRgvyxyniq6nAcvQjJqSZm6pYV4zvx6qdpFxYWWfw5BPk1peVVNfVN1FobQ6CG6xwGQxGzzGMDsa3cnm8wCWCBWQTWGU2mxAESAA

even without state, the output is questionable: https://playground.react.dev/#N4Igzg9grgTgxgUxALhASwLYAcIwC4AEAVAQIZgEBKCpchAZjBBgQOQw12sDcAOgHYCEADxz4CAEwT1SUADYMo-Omgj8CAWQCeAQSxYAFAEoCwAQQIc8sdQB4JaAG4A+ABII5ciAQDquORK2APQOLnz8AL4CAvRKKmoEAGIQEMam5gRwamCEANr8pBgIADQEYAh4AHKFCAC6BAC8VJx4AHRQ5QDKeKR4CAasrEbhFlY2BLYAFgCMbh5epgVFEcEzzgJRgvyxyniq6nAcvQjJqSZm6pYV4zvx6qdpFxYWQUGZ2XlLJWUV1UX1TWotDaHQQ3WOAyGI2eYxgdjW7k8EFKAHd-IEgmsMptNiAIkA

### Repro steps

Simply create a function that returns a React function component. This is completely valid code.

### How often does this bug happen?

Every time

### What version of React are you using?

19
Repository: godot
Issue: Unable to add exported TileMapLayer property to scene node
Labels: bug,topic:editor,needs testing,topic:dotnet

### Tested versions

- Reproducable v4.3.stable.mono.official [77dcf97d8]

### System information

Both Mac and PC

### Issue description

Attempting to drag&drop a TileMapLayer onto a scene node property won't take. 

If I add it to the tscn file directly it's removed on build.

(I'm new to godot so might not be describing this properly)



### Steps to reproduce

I'm following a tutorial on udemy. But here's a screenshot

![2024-10-12_20-20-01-2b790d375fcde78959c4855dbda0861c](https://github.com/user-attachments/assets/10ca831d-c2d0-4d26-8493-690f93a88fd0)


### Minimal reproduction project (MRP)

[puzzle_course.zip](https://github.com/user-attachments/files/17376788/puzzle_course.zip)