sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: electron
Issue: [Feature Request]: api version table
Labels: enhancement :sparkles:,documentation :notebook:

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

I'm maintaining a historical project which uses an old version of electron, when I search for API docs, the [current one](https://www.electronjs.org/docs/latest/api/app) only contains docs of latest version, and the api itself has no information about at which version it was introduced or changed.

### Proposed Solution

Make a vesion table in the api docs containing which version it was introduced or changed.
See an example from the [node.js docs](https://nodejs.org/dist/latest-v18.x/docs/api/buffer.html#buffers-and-character-encodings):

![screenshot on 20230915](https://github.com/electron/electron/assets/120431159/f019ce85-31de-408b-8204-100b8b126013)


### Alternatives Considered

1. A note about which version it was introduced, like [this](https://nodejs.org/dist/latest-v18.x/docs/api/cluster.html#class-worker):
![screenshot](https://github.com/electron/electron/assets/120431159/512c771e-d99d-44aa-ba4c-ec9be81884ba)
2. Allow user to choose a older version of the docs, like this:
![screenshot](https://github.com/electron/electron/assets/120431159/c3673cda-733b-42c6-a1e8-f13da8b139b1)
3. Route user to [web archive](https://web.archive.org/web/20200302012038/https://www.electronjs.org/docs) for an old docs.
![web archive](https://github.com/electron/electron/assets/120431159/87bdcacb-d5cb-4f53-9979-d74ab60630cd)


### Additional Information

_No response_
Repository: neovim
Issue: netrw interferes with "vertical resize" during startup
Labels: netrw

### Problem

Loading netrwPlugin.vim at startup causes the fact that using `:vertical resize` while opening 2 (or more) windows at startup doesn't work completely as the second window will be, for a reason I ignore, forced to take a minimum vertical size.

### Steps to reproduce

```
nvim -u NORC -c 'vnew' -c 'vertical resize'
```

This will load the netrwPlugin.vim file and gives us a vim session like this:

![with](https://github.com/neovim/neovim/assets/77821695/9e42a5cc-dfc5-456d-9a2b-61a6e784a57e)

Move the netrwPlugin.vim file out of the runtime (on my system it is in /usr/share/nvim/runtime/plugin/netrwPlugin.vim). This will solve the issue and the left window will be take full size of screen, when running the above command line again:

![without](https://github.com/neovim/neovim/assets/77821695/92927225-3609-4a72-9b2b-6a2e414c85f6)


### Expected behavior

The second image is the expected behavior even when loading netrwPlugin.vim

### Neovim version (nvim -v)

0.9.2

### Vim (not Nvim) behaves the same?

don't have vim

### Operating system/version

Arch Linux (kernel 6.1.52-1-lts)

### Terminal name/version

All Terminals tested (wezterm, termite, xterm, ...)

### $TERM environment variable

xterm-256color

### Installation

pacman
Repository: PowerToys
Issue: [Peek] Show metadata on images 
Labels: Idea-Enhancement,Status-In progress,Product-Peek

### Description of the new feature / enhancement

Hi! I just got the new Peek feature, and I'd love an option to show a file details/properties along with the preview.

Example: If I peek into a .jpg file, it would show the image as usual, but also show the file details on the side (date created, date modified, size, resolution, plus photographic or camera information like ISO, camera model, etc.)

### Scenario when this would be used?

This would further improve the workflow-efficient Peek feature and allow for quicker, more effective inspection of files.

### Supporting information

_No response_
Repository: stable-diffusion-webui
Issue: [Bug]: sdapi error Cannot have a selectable script in the always on scripts params
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

**reponse error msg:Cannot have a selectable script in the always on scripts params**

### Steps to reproduce the problem

    payload = {
            "init_images":[base64_img],
            "seed": 180368056,
            "subseed": 0,
            "subseed_strength": 0,
            "seed_resize_from_h": 0,
            "seed_resize_from_w": 0,
            #"denoising_strength": 0.75,
            "prompt": "a cat",
            "steps": 10,
            "cfg_scale": 7.5,
            "sampler_index": "DDIM",
            "save_images": True,
            "alwayson_scripts": {
                "controlnet": {
                    "args": [
                        {
                            "input_image": base64_img,
                            "module": "reference_only",
                            "model": "None",
                            "weight": 1,
                            "lowvram": False,
                            "guidance_start": 0,
                            "guidance_end": 0.3,
                            "threshold_a": 0.5,                            
                            "control_mode": "ControlNet is more important",
                            "resize_mode": "Crop and Resize"
                            }
                        ]
                    }
                }
            }
   

    response = submit_post(img2img_url, payload)


### What should have happened?

**reponse error msg:Cannot have a selectable script in the always on scripts params**

### Sysinfo

**reponse error msg:Cannot have a selectable script in the always on scripts params**

### What browsers do you use to access the UI ?

_No response_

### Console logs

```Shell
**reponse error msg:Cannot have a selectable script in the always on scripts params**
```


### Additional information

_No response_
Repository: ant-design
Issue: Range Picker Id prop is assigned to Input instead of picker
Labels: Inactive,unconfirmed

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/range-picker-id-issue-9433z2?file=/demo.tsx)

### Steps to reproduce

1. Open the above link
2. Inspect Range Picker

### What is expected?

The ID prop assigned to Range Picker should be on the div with classes `ant-picker ant-picker-range`

### What is actually happening?


The ID prop assigned to the Range picker is assigned to the First Input of the Range Picker 

<details>
<summary>PFA</summary>

![Screenshot 2023-09-15 at 10 40 52 AM](https://github.com/ant-design/ant-design/assets/53368431/a48dd02f-1699-4012-92a7-361afa54bb0b)

</details>

| Environment | Info |
| --- | --- |
| antd | 5.9.0 |
| React | 18.0.0 |
| System | MacOS |
| Browser | Chrome |




<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: stable-diffusion-webui
Issue: How to use NPU in   stable-diffusion-webui with HUAWEI Ascend 310 machine 
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

![image](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/49260651/0a967b90-5962-4e2a-b2c5-ff7592c8d009)








### Steps to reproduce the problem

webui.sh insert:

export CUDA_VISIBLE_DEVICES=-1
export COMMANDLINE_ARGS="--medvram --no-half --skip-torch-cuda-test"

### What should have happened?

How to use NPU in   stable-diffusion-webui with HUAWEI Ascend 310 machine 

### Sysinfo

none

### What browsers do you use to access the UI ?

Google Chrome

### Console logs

```Shell
none
```


### Additional information

How to use NPU in   stable-diffusion-webui with HUAWEI Ascend 310 machine
Repository: stable-diffusion-webui
Issue: How to ensure that a model is always in memory and not swapped by the hard disk when "max cache num set to 3"
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 ?

There is one or two very importand models. I wish them keep memory forever but other models can exchange betwwen memory and SSD. 

### Proposed workflow

1. set max model cache num to 3;
2. loading my importand model;
3. change another model (5 times);
4. change back my important model(I wish It still in memory)


### Additional information

most  case, I use it in api model exchange situation. this hope make  models weight guaranteed.If where is an option I havn't seen. Someone can tell me?
Repository: PowerToys
Issue: Customizable Scale Calibration for Screen Ruler in PowerToys
Labels: Idea-Enhancement,Product-Screen Ruler

### Description of the new feature / enhancement

The Screen Ruler should feature the capability to set a custom scale (e.g., mm/pixel) for both the x and y axes. This would enable measurements to be taken in the chosen scale.

### Scenario when this would be used?

Allowing users to calibrate the scale would enable them to work with images and documents more accurately, which can be particularly valuable in fields like engineering, architecture, and design. It would streamline the process of taking measurements and ensure that they are consistent with the desired units.

I would love to use the Screen Ruler to make measurements in technical drawings (PDF).

### Supporting information

_No response_
Repository: storybook
Issue: [Bug]: Keyboard Focus indicator is not visible on selected link (like-Custom Properties) under MGTP’ page. 
Labels: bug,needs triage

### Describe the bug

Keyboard Focus indicator is not visible on selected link (like-Custom Properties) under MGTP’ page. 

**Actual Results:**
Keyboard focus indicator is not visible over the selected link (like-Custom Properties) under MGTP’ page.

**Expected Results:**
Keyboard focus indicators should be visible over the link (like-Custom Properties) under MGTP’ page.


### To Reproduce

**Steps to Reproduce:**

1. Open the[Components / mgt-agenda / Style - Custom Properties ⋅ Storybook](https://mgt.dev/next/v3/?path=/story/components-mgt-agenda-style--custom-properties) URL- 
2. The ‘Microsoft Graph Toolkit Playground' Overview page will get displayed. 
3. Navigate the 'Custom Properties’ link under components and select it. 
4. Renavigate to ‘Custom Properties’ link using arrow key. 
5. Observe the issue. 


**Attachments**


https://github.com/storybookjs/storybook/assets/93735775/f421d956-bec8-43db-90ff-88219aa0d0f3

![KB focus not visible (1)](https://github.com/storybookjs/storybook/assets/93735775/48667fb5-f9b9-4711-87e1-bf94633326c0)




### System

```bash
OS Build: Windows 11 
Version: 22H2 (OS Build 23443.1000) 
Browser: Edge dev 
Version 114.0.1793.0 (Official build) dev (64-bit)
```


### Additional context

_No response_
Repository: vscode
Issue: Cannot read properties of undefined (reading 'e')
Labels: error-telemetry,snippets

```javascript
TypeError: Cannot read properties of undefined (reading 'e')
at <anonymous> in src/vs/editor/contrib/snippet/browser/snippetSession.ts:302:27
at callback in src/vs/editor/common/model/textModel.ts:1600:13
at x.changeDecorations in src/vs/editor/common/model/textModel.ts:1570:16
at H.changeDecorations in src/vs/editor/browser/widget/codeEditorWidget.ts:1263:32
at l.merge in src/vs/editor/contrib/snippet/browser/snippetSession.ts:294:16
at <anonymous> in src/vs/editor/contrib/snippet/browser/snippetSession.ts:679:14
at cursorStateComputer in src/vs/editor/common/cursor/cursor.ts:483:23
at cursorStateComputer in src/vs/editor/common/model/editStack.ts:444:33
at l.pushEditOperation in src/vs/editor/common/model/editStack.ts:430:38
at x.pb in src/vs/editor/common/model/textModel.ts:1348:31
at x.pushEditOperations in src/vs/editor/common/model/textModel.ts:1254:16
at l.executeEdits in src/vs/editor/common/cursor/cursor.ts:470:34
at <anonymous> in src/vs/editor/common/viewModel/viewModelImpl.ts:1032:59
at callback in src/vs/editor/common/viewModel/viewModelImpl.ts:1090:11
at $.N in src/vs/editor/common/viewModel/viewModelImpl.ts:1029:8
at $.executeEdits in src/vs/editor/common/viewModel/viewModelImpl.ts:1032:8
at H.executeEdits in src/vs/editor/browser/widget/codeEditorWidget.ts:1236:29
at i.merge in src/vs/editor/contrib/snippet/browser/snippetSession.ts:664:16
at o.p in src/vs/editor/contrib/snippet/browser/snippetController2.ts:150:18
at o.insert in src/vs/editor/contrib/snippet/browser/snippetController2.ts:112:9
at B.p in src/vs/editor/contrib/suggest/browser/suggestController.ts:427:21
at B.acceptSelectedSuggestion in src/vs/editor/contrib/suggest/browser/suggestController.ts:649:8
at s.handler [as d] in src/vs/editor/contrib/suggest/browser/suggestController.ts:805:5
at s.runEditorCommand in src/vs/editor/browser/editorExtensions.ts:287:11
at <anonymous> in src/vs/editor/browser/editorExtensions.ts:320:109
at runner in src/vs/editor/browser/editorExtensions.ts:315:11
at fn in src/vs/platform/instantiation/common/instantiationService.ts:68:11
at H.invokeWithinContext in src/vs/editor/browser/widget/codeEditorWidget.ts:435:37
at s.runEditorCommand in src/vs/editor/browser/editorExtensions.ts:308:17
at s.runCommand in src/vs/editor/browser/editorExtensions.ts:320:24
at handler in src/vs/editor/browser/editorExtensions.ts:154:38
at fn in src/vs/platform/instantiation/common/instantiationService.ts:68:11
at y.k in src/vs/workbench/services/commands/common/commandService.ts:95:46
at y.executeCommand in src/vs/workbench/services/commands/common/commandService.ts:60:17
at q.I in src/vs/platform/keybinding/common/abstractKeybindingService.ts:366:28
at q.G in src/vs/platform/keybinding/common/abstractKeybindingService.ts:223:15
at <anonymous> in src/vs/workbench/services/keybinding/browser/keybindingService.ts:246:38
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=8b617bd08fd9e3fc94d14adb8d358b56e3f72314&bH=b3c942d7-06af-5645-1d79-dbcc48e5f560)
Repository: tensorflow
Issue: Wrong element_spec when mapping ragged dataset
Labels: stat:awaiting tensorflower,type:bug,comp:data,TF 2.13

### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

No

### Source

binary

### TensorFlow version

2.13

### Custom code

Yes

### OS platform and distribution

Linux, Rocky 9

### Mobile device

_No response_

### Python version

3.10.12

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

```python
ds = tf.data.Dataset.from_tensor_slices(tf.ragged.constant([[1, 2, 3], [4, 5]]))
ds.element_spec
```

The `element_spec` is a `RaggedTensorSpec`

But after a `map`, like for instance
```
ds.map(tf.square)
````
the `element_spec` is just a `TensorSpec`

### Standalone code to reproduce the issue

```shell
.
```


### Relevant log output

_No response_
Repository: vscode
Issue: Assertion Failed
Labels: bug,merge-editor

```javascript
Error: Assertion Failed
at E in src/vs/base/common/assert.ts:47:21
at new l in out/vs/workbench/workbench.desktop.main.js:1069:10762
at l.reverse in src/vs/workbench/contrib/mergeEditor/browser/model/mapping.ts:393:10
at l.translateResultRangeToBase in src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.ts:284:97
at <anonymous> in src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.ts:134:23
at Array.map (<anonymous>)
at g._computeFn in src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.ts:128:35
at g.u in src/vs/base/common/observableInternal/derived.ts:160:22
at g.get in src/vs/base/common/observableInternal/derived.ts:137:10
at g.reportChanges in src/vs/base/common/observableInternal/base.ts:147:8
at g.get in src/vs/base/common/observableInternal/derived.ts:122:9
at g.reportChanges in src/vs/base/common/observableInternal/base.ts:147:8
at g.endUpdate in src/vs/base/common/observableInternal/autorun.ts:175:9
at g.endUpdate in src/vs/base/common/observableInternal/derived.ts:217:7
at g.endUpdate in src/vs/base/common/observableInternal/derived.ts:217:7
at v.finish in src/vs/base/common/observableInternal/base.ts:249:13
at m in src/vs/base/common/observableInternal/base.ts:213:6
at o.k [as value] in out/vs/workbench/workbench.desktop.main.js:68:15587
at f.w in src/vs/base/common/event.ts:1107:13
at f.x in src/vs/base/common/event.ts:1118:9
at f.fire in src/vs/base/common/event.ts:1142:9
at o.value in src/vs/editor/browser/widget/codeEditorWidget.ts:1724:39
at f.w in src/vs/base/common/event.ts:1107:13
at f.fire in src/vs/base/common/event.ts:1138:9
at I.n in src/vs/editor/common/viewModelEventDispatcher.ts:64:18
at I.endEmitViewEvents in src/vs/editor/common/viewModelEventDispatcher.ts:109:8
at $.O in src/vs/editor/common/viewModel/viewModelImpl.ts:1092:26
at $.N in src/vs/editor/common/viewModel/viewModelImpl.ts:1029:8
at $.paste in src/vs/editor/common/viewModel/viewModelImpl.ts:1047:8
at H.Nb in src/vs/editor/browser/widget/codeEditorWidget.ts:1156:13
at H.trigger in src/vs/editor/browser/widget/codeEditorWidget.ts:1085:10
at p.C in src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.ts:472:16
at async in src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.ts:277:6
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=8b617bd08fd9e3fc94d14adb8d358b56e3f72314&bH=eff5e3f5-a117-ab7d-77c3-a34918904622)
Repository: opencv
Issue: OpenCV Python import issue on Windows 10
Labels: question (invalid tracker)

### System Information

Imported from https://github.com/orgs/g-api-org/discussions/8 via @FulvioFabiani 

BTW At G-API level we also noticed Windows Python bindings don't work with new versions of Python (>3.7)

cc: @TolyaTalamanov 

### Detailed description


On W10 with Python 3.11.5 istalled, i've done pip install opencv-python. i've istalled the 4.8.0.76 version, then i 've tried to import cv2 but this is the message:
```
C:\Windows\system32>python
Python 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:38:34) [MSC v.1936 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import cv2
Traceback (most recent call last):
File "", line 1, in
File "C:\Program Files\Python311\Lib\site-packages\cv2_init_.py", line 181, in
bootstrap()
File "C:\Program Files\Python311\Lib\site-packages\cv2_init_.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: DLL load failed while importing cv2: Impossibile trovare il modulo specificato.
```
How can i resolve the error?
Thanks

### Steps to reproduce

Install OpenCV via pip on Win10 with Python 3.11.5

### 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: material-ui
Issue: [joy-ui][drawer] Support responsive/persistent state
Labels: new feature,component: drawer,package: joy-ui

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

It's great to see a Drawer component added in the latest update to Joy UI.

However, it doesn't address all common usecases. E.g.: a responsive/persistent drawer as is supported by Material UI.

### Examples 🌈

Many menus are made with what in Material UI is called a responsive and persistent drawer, as a matter of fact, the documentation uses this design pattern for its navigation where the drawer is just part of the page on large screen and becomes collapsible and/or hides entirely on smaller screens.

### Motivation 🔦

_No response_
Repository: vscode
Issue: Cannot read properties of null (reading 'left')
Labels: bug,error-telemetry,editor-indent-guides

```javascript
TypeError: Cannot read properties of null (reading 'left')
at y.prepareRender in src/vs/editor/browser/viewParts/indentGuides/indentGuides.ts:138:46
at k.prepareRender in src/vs/editor/browser/view/viewOverlays.ts:133:19
at U.P in src/vs/editor/browser/view.ts:498:13
at <anonymous> in src/vs/editor/browser/view.ts:445:30
at func in src/vs/editor/browser/view.ts:659:10
at safeInvokeNoArg in src/vs/editor/browser/view.ts:445:3
at U.D in src/vs/editor/browser/view.ts:249:8
at Object.getPositionFromDOMInfo in src/vs/editor/browser/view.ts:337:10
at u.getPositionFromDOMInfo in src/vs/editor/browser/controller/mouseTarget.ts:360:27
at Object.c [as createFromDOMInfo] in src/vs/editor/browser/controller/mouseTarget.ts:49:24
at n.w in src/vs/editor/browser/controller/mouseTarget.ts:938:26
at n.v in src/vs/editor/browser/controller/mouseTarget.ts:900:19
at n.B in src/vs/editor/browser/controller/mouseTarget.ts:1015:18
at n.o in src/vs/editor/browser/controller/mouseTarget.ts:736:44
at n.g in src/vs/editor/browser/controller/mouseTarget.ts:561:41
at n.createMouseTarget in src/vs/editor/browser/controller/mouseTarget.ts:504:33
at w.p in src/vs/editor/browser/controller/mouseHandler.ts:250:34
at i.a in src/vs/editor/browser/controller/mouseHandler.ts:79:33
at i.u in src/vs/editor/browser/controller/mouseHandler.ts:574:18
at i.start in src/vs/editor/browser/controller/mouseHandler.ts:433:25
at w.z in src/vs/editor/browser/controller/mouseHandler.ts:327:29
at <anonymous> in src/vs/editor/browser/controller/mouseHandler.ts:130:83
at callback in src/vs/editor/browser/editorDom.ts:165:4
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=8b617bd08fd9e3fc94d14adb8d358b56e3f72314&bH=427fdc8c-4f4e-cf9b-17e4-7a116ba516b7)
Repository: godot
Issue: C# Exported member of Nested GodotObject don't show up in GDScript intelisense
Labels: bug,topic:gdscript,topic:dotnet

### Godot version

v4.1.1.stable.mono.official [bd6af8e0e]

### System information

Godot v4.1.1.stable.mono - Windows 10.0.19045 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 3060 Ti (NVIDIA; 30.0.14.7141) - Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz (20 Threads)

### Issue description

The problem occur when trying to access a GodotObject field in another GodotObject.

I would expect to have intelisense completion in GDScript, but there is nothing.
Intelisense work fine on a non nested GodotObject

### Steps to reproduce

1.  Create a C# project
2.  Add 2 C# class inheriting GodotObject marked as [GlobalClass]
3. Add a `class2` field in `class1` marked as [export]
4. Add some field in `class2` marked as [Export]
5. Try accessing the `class2` field in `class1` from a GDScript
6. The intelisense will not suggest field in `class2` but field in `class1` show up fine

### Minimal reproduction project

Create two GodotObject C# class:
```c#
[GlobalClass]
public partial class Test : GodotObject
{
    [Export] public Other other { get; set; }
    [Export]public int number { get; set; }
}
``` 
and
```c#
[GlobalClass]
public partial class Other : GodotObject
{
    [Export] public int number;

    public void Test() { }
}
``` 

and try to access the member Test.Other in a GDScript like this:

```gdscript
func test(test: Test):
	test.other.number
``` 
The intelisense suggestion after typing the `.` does not include the `number` nor `Test` member