sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Git - "Create a branch from..." does not offer migrate
Labels: bug,help wanted,git

Type: <b>Bug</b>

Hello, Team!

When I want to create a branch from my main branch, I do not get offered to migrate my changes, or stash & create them (see attachment). I tried it with Insiders, and it is reproducible. Can you please fix this?

[CreateBranchFromDoesNotWork](https://github.com/microsoft/vscode/assets/1839739/41740fc0-a63c-4cad-a09b-93ea1cb03fca)



VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.22621
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz (8 x 1992)|
|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>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled|
|Load (avg)|undefined|
|Memory (System)|15.81GB (4.05GB free)|
|Process Argv|--crash-reporter-id 5d464342-4569-4e40-9715-034b47c41cba|
|Screen Reader|no|
|VM|67%|
</details><details><summary>Extensions (22)</summary>

Extension|Author (truncated)|Version
---|---|---
arm|dan|1.7.4
cortex-debug|mar|1.12.0
debug-tracker-vscode|mcu|0.0.15
memory-view|mcu|0.0.23
peripheral-viewer|mcu|1.4.6
rtos-views|mcu|0.0.7
git-graph|mhu|1.30.0
flake8|ms-|2023.6.0
python|ms-|2023.14.0
vscode-pylance|ms-|2023.8.50
remote-containers|ms-|0.304.0
cmake-tools|ms-|1.15.31
cpptools|ms-|1.17.5
cpptools-extension-pack|ms-|1.3.0
makefile-tools|ms-|0.7.0
code-spell-checker|str|2.20.5
shellcheck|tim|0.34.0
vscode-decompiler|tin|0.1.0
pdf|tom|1.2.2
cmake|twx|0.0.17
vscode-icons|vsc|12.5.0
linkerscript|Zix|1.0.3

(1 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263cf:30792227
vscaat:30438848
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyonecf:30548226
vsccc:30803844
2e4cg342:30602488
f6dab269:30613381
showlangstatbar:30737416
03d35959:30757346
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofa:30804715
pythonnosmt12:30797651
pythonidxptcf:30805731
pythonnoceb:30805159
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572

```

</details>

<!-- generated by issue reporter -->
Repository: vscode
Issue: `DebugSession` objects are leaked
Labels: freeze-slow-crash-leak,debt

* have a simple nodejs-program (see below)
* have no launch config
* put a breakpoint and run it once
* take a heap snapshot
* run, break, resume 10 more times
* take another heap snapshot
* 💧 ~10MB of memory are leaked

It looks like `DebugSession` instances are leaked via the `DebugModel#sessions` property. I do see [addSession](https://github.com/microsoft/vscode/blob/6b49d155ca9f2547e9e8ddfdb324db47da97411b/src/vs/workbench/contrib/debug/common/debugModel.ts#L1234) adding to this array but it's not obvious when/where deletion happens

<img width="1380" alt="Screenshot 2023-08-31 at 14 53 19" src="https://github.com/microsoft/vscode/assets/1794099/b94f5fa3-2de8-407b-aa9e-589c039a0025">
Repository: svelte
Issue: Support <svelte:head> with nested Component with <svelte:head> in SSR
Labels: bug

### Describe the problem

When a parent component has a `<svelte:head>` tag and a nested component inside it with a also a `<svelte:head>`, the content of the head tag of the nested component is stripped out in SSR.

Example:

**Parent component**
```javascript
<script>
	import ChildNested from './ChildNested.svelte'
</script>

<svelte:head> _PREFIX_ <ChildNested /> _SUFFIX_</svelte:head>
```

**Child component**
```javascript
<svelte:head>_NESTED_HEAD_</svelte:head>
_NESTED_BODY_
```

Simple reproduction [REPL](https://svelte.dev/repl/3a0d30d3a33248aea94d47be8afcd0f0?version=4.2.0), you can see the generated code for SSR at JS output tab.

Pseudo equivalent generated code to understand the problem within the browser console:

```javascript
const $$result = { head: '' };

function $$render(result) {
    result.head += '_NESTED_HEAD_';
    return '_NESTED_BODY_';
}

$$result.head += `_PREFIX_ ${$$render($$result)} _SUFFIX_`;

console.log($$result.head); // Logs "_PREFIX_ _NESTED_BODY_  _SUFFIX_"
```

[Related issues / discussions](https://github.com/sveltejs/svelte/pull/7745#discussion_r937249643).


### Describe the proposed solution

At `$$render` if parent is a `svelte:head` return head content as body.

### Alternatives considered

Maybe changing what `create_ssr_component` returns (return both head and body) or separate head and body rendering in different statements.

### Importance

nice to have
Repository: next.js
Issue: Focus issue on Firefox when using `router.replace`.
Labels: bug,Navigation

### Verify canary release

- [x] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
      Platform: linux
      Arch: x64
      Version: #1 SMP PREEMPT_DYNAMIC Sun Aug  6 20:05:33 UTC 2023
    Binaries:
      Node: 20.5.1
      npm: 9.8.0
      Yarn: 1.22.19
      pnpm: N/A
    Relevant Packages:
      next: 13.4.20-canary.13
      eslint-config-next: 13.4.19
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.2.2
    Next.js Config:
      output: N/A
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

Routing (next/router, next/navigation, next/link)

### Link to the code that reproduces this issue or a replay of the bug

https://codesandbox.io/p/sandbox/cocky-dhawan-xz6qjj?file=/app/page.tsx:22,11

### To Reproduce

Put an input in a scroll container and attach an `input` event listener to it. In the event handler, reflect the input's value to the URL bar using `router.replace`. Type something in the input.

### Describe the Bug

On Firefox, the input loses focus as soon as the URL bar gets updated, Firefox gives the focus to the scroll container. The problem goes away when you switch `router.replace` out for browser's native `history.replaceState`.

### Expected Behavior

The input should remain in focus.

### Which browser are you using? (if relevant)

Firefox 116.0.2

### How are you deploying your application? (if relevant)

_No response_
Repository: godot
Issue: Getting `cannot open/create file` error if `.godot` folder is removed when project is already open
Labels: discussion,topic:editor

### Godot version

v4.2.dev3.official [013e8e3af]

### System information

Godot v4.2.dev3 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 6GB (NVIDIA; 31.0.15.3640) - Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 Threads)

### Issue description

If project is open in Godot when the `.godot` folder is removed, you get some errors:

![kuva](https://github.com/godotengine/godot/assets/49998025/b4b5b1f2-072b-4887-b765-3fe064f4643a)

```
editor/import/resource_importer_texture.cpp:334 - Condition "f.is_null()" is true.
Cannot open MD5 file 'res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.md5'.
Cannot create file 'res://.godot/editor/filesystem_cache8'. Check user write permissions.
Cannot create file 'res://.godot/editor/filesystem_update4'. Check user write permissions.
```

This happened to me when I constructed a reproduction project for an issue. The project was still opened when I removed `.godot` folder before zipping the project folder.

It seems that Godot recreates the `.godot` folder structure only when a project is opened. Maybe it could be done also when it is detected that saving files to `.godot` folder fails because the whole folder is missing? If this error happens, error messages ("Check user write permissions") do not help very much as this is not write permission problem. Or if the recreation of `.godot` folder is too complicated at this stage, maybe an error message could instruct reloading the project.

The problem can be solved by reloading the project.


### Steps to reproduce

1. Open any project 
2. Remove project's `.godot` folder 
-> get some errors immediately 
3. Save any *.gd file 
-> get some more errors


### Minimal reproduction project

N/A
Repository: flutter
Issue: Proposal: Support Copy and Paste keycodes
Labels: a: text input,c: new feature,engine,c: proposal,P2,team-text-input,triaged-text-input

### Use case

It's great to be able to use global keyboard shortcuts for copy and paste that work in GUI apps as well as the terminal. Using Control-C and Control-V often doesn't work because they conflict with bindings within terminals.

A good solution for keyboards they support it is to use the `XF86_Paste` and `XF86_Copy` keycodes. (As they are known on Linux) Keyboards with custom firmware to make these keycodes easy to use are increasingly popular. As long as your apps support it, you can then just always use the "Copy Key" and the "Paste Key". 

Several apps and terminals already support  these keybindings as default options for copy and paste. 

### Proposal

Add support for the `XF86_Paste` and `XF86_Copy` keycodes with text inputs as alternates for copying and pasting.
Repository: kubernetes
Issue: SelfSubjectReview post GA work
Labels: sig/auth,triage/accepted

```[tasklist]
### Tasks
- [ ] Remove `APISelfSubjectReview` feature gate in `v1.31`, update docs
- [ ] Remove alpha APIs (can happen any time since we have the GA API), update docs
- [ ] Mark beta APIs deprecated (can happen any time since we have the GA API), update docs
- [ ] Remove beta APIs in `v1.31`, update docs
```

/sig auth
/assign nabokihms 

_Originally posted by nabokihms in https://github.com/kubernetes/enhancements/issues/3325#issuecomment-1677698114_
Repository: PowerToys
Issue: Mouse without borders: Clipboard and file transfer not working
Labels: Issue-Bug,Needs-Triage,Product-Mouse Without Borders

### Microsoft PowerToys version

0.72.0

### Installation method

GitHub

### Running as admin

No

### Area(s) with issue?

Mouse Without Borders

### Steps to reproduce

Copy some text or even a bitmap image or a file on either computer (local or remote)

### ✔️ Expected Behavior

Copied data or file is available when pasting on the other side

### ❌ Actual Behavior

Nothing. The clipboard remains as it was on both ends individually, nothing is copied over. This makes it really hard to work with two computers because simple things like copying a short ID text or a URL for further processing on the other side is impossible without using cloud tools like Google Keep.

Files are also not copied. I need to send over files via Bluetooth instead. Also very inconvenient.

Both used to work unreliably in previous versions. Now it's very reliable. It reliably does anything.

### Other Software

_No response_
Repository: stable-diffusion-webui
Issue: [Feature Request]: Allow to disable converting images to PNG on the train/preprocess images tab
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 ?

When using the "Keep original size" option, the image preprocessor still creates a png copy of each image. It would be useful to have an option to keep the original images and only write captions.

Even though converting to png does not lose image quality, it increases the filesize and slows down the preprocessing, so keeping an original by not converting it at all would be a helpful feature.

### Proposed workflow

1. Go to the train tab
2. Select "keep original size" in the preprocess tab, select one of the captioning options
4. click preprocess to create captions and file copies (without any conversion step in between) the original images into the destination folder



### Additional information

_No response_
Repository: flutter
Issue: --build-number not respected (at least on Android)
Labels: platform-android,tool,a: build,has reproducible steps,P2,team-tool,triaged-tool,found in release: 3.13,found in release: 3.14

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Steps to reproduce

1. Build an Android APK using the following command : 

`flutter build apk --split-per-abi --build-number="213" --build-name="1.0.0-SNAPSHOT (build #213)" --dart-define-from-file ./env/.environment.dev`

2. Check apk version code 

`aapt dump badging app-arm64-v8a-release-unsigned.apk | grep version`

### Expected results

> package: name='...' versionCode='213' versionName='1.0.0-SNAPSHOT (build 213)' platformBuildVersionName='13' platformBuildVersionCode='33' compileSdkVersion='33' compileSdkVersionCodename='13'

### Actual results

> package: name='...' versionCode='2213' versionName='1.0.0-SNAPSHOT (build 213)' platformBuildVersionName='13' platformBuildVersionCode='33' compileSdkVersion='33' compileSdkVersionCodename='13'

### Code sample

version: 1.0.0+1

on pubspec.yaml

### Screenshots or Video

_No response_

### Logs

_No response_

### Flutter Doctor output

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.2, on macOS 13.5.1 22G90 darwin-arm64, locale fr-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.81.1)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!
Repository: stable-diffusion-webui
Issue: [Feature Request]: Different model in img2img
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 ?

I am so happy with the option to choose a different model for hires.fix. My workflow is SDXL and hires.fix with a photorealstic model. But step 2 is sending it to img2img for controlnet tile upscale. But for that i need the photorealistic model. 

So an option to also have a different model in img2img would be really helpful.

### Proposed workflow

1. Main checkpoint in txt2img: Checkpoint A
2. Hires.fix; Checkpoint B
3. Img2Img: have Checkpoint B loaded.

### Additional information

_No response_
Repository: TypeScript
Issue: Incorrect conditional type evaluation on transformed function type expressions
Labels: Needs Investigation

### 🔎 Search Terms

"conditional type", "function type", "extends", "evaluation", "inference"

### 🕗 Version & Regression Information

This is the behavior in every version I tried

### ⏯ Playground Link

https://www.typescriptlang.org/play?ts=4.7.4#code/PTAEEFQUwDwFygOwCYGdQCEBQcCeAHKCUAXlAAoA3AQwBsBXKALlFTgCcBLRAcwEpSAPlCUA9p2Q4CRDKQo0GzUAHIAFlFq1RygSWFiJWKYVAAxSGVMAecIKwh5dRizZdeu-eMnGip2ZasMOwcqJyUAFgAmDxEvIwc4dVAAY1EAW3x6BGQRMPRqdiJUjIKoHNT2QuTaPB9QAHkAaTlzaHgkNDNZAH5QDkZQFgAzOlQoAG57MFBQAD1u+LBEolEuHm46NvxC1FROUUR8wtBEUTg6xvqWm2FYBBR0ayDQXv6iYdGJqZm5he+AFVUnHQnAytCgaSQcGocH2iFAyFEUHQpzgbSBACNOGjlqBtqIMeC0nV6lcyABxG5te6dSnPV7sAYfWhjSYOGbzIx4EzWf7UjqPRDCMjkAB04oKPFQLH+7GohyGqzSAAUCtQ0qgrKq5ZCEOxNf9BIIYgAlKBwejsRD-aRWQ1c6SgSl8u4CsxC0hYGba9XmqD6u23doPUDcIb+0A+jX8kP0RAAa1OAHdEABtAC6XpeFHFosl0tAsvlqEV7BVao1WorqGNQlAZotVpthEDWZYiCglH9DpMRYVSqjBuFoAA3qBU81uKB41BcKIhoX0yxmq6QzO5wuM9n-hP04NC7uY501BotMps1F9zvGnuAL6TOqmeFkHMS9hSljy3AZmJxxOiFNxiAA

### 💻 Code

```ts
// A extends B
type A = (value: string) => void
type B = (value: 'hello') => void

type FA = F<A>
// (value: string) => void

type FB = F<B>
// (value: 42) => void

// the computed values are compared correclty
type OK = FA extends FB ? true : false;
// return false

// the original expressions are not
type KO = F<A> extends F<B> ? true : false;
// return true

// This implementation does not exhibit the problem
type OO = G<A> extends G<B> ? true : false;
// return false

type F<T extends Fn> = (...args: TransformParams<Parameters<T>>) => ReturnType<T>

type G<T extends Fn> =
  Parameters<T> extends infer Params extends unknown[]
  ? (...args: TransformParams<Params>) => ReturnType<T>
  : never

type TransformParams<T> = { [K in keyof T]: K extends keyof [] ? T[K] : T[K] extends 'hello' ? 42 : T[K] };

type Fn =  (...args: any[]) => unknown;
```


### 🙁 Actual behavior

The comparison of the expressions `F<A>` and `F<B>` is incorrect and is not equivalent to the comparison of their results.

### 🙂 Expected behavior

`F<A> extends F<B>` should be `false` because it should evaluate to `((value: string) => void) extends ((value: 42) => void)`, and `string` and `42` are unrelated.

### Additional information about the issue

Interestingly, `G`, which should behave the same as `F`, does not exhibit the problem.
Repository: storybook
Issue: [Bug]: Radio control accessibility
Labels: bug,needs triage

### Describe the bug

The radio control uses different name values for each input. These names should be the same to link the inputs together in one radio group. Otherwise screen readers will see each radio input as its own group of 1 input. The keyboard interactions are also effected. You should tab to radio group and use arrows to select an option/input. Currently you tab through each radio input and press space to select. This goes against the expected behavior of a radio group.

### To Reproduce

1. Go to a story of a component with a radio control.
2. Tab to radio control.
3. Notice you need to press tab to focus the input and space to select instead of selecting using arrow keys.
    - Also notice screen readers read each input as a radio group containing 1 input.

### System

_No response_

### Additional context

_No response_
Repository: stable-diffusion-webui
Issue: [Bug]: UI unresponsive after entering output path in img2img batch
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?

As soon as I enter an "output directory" or interact in any way with the "output directory" field the UI becomes unresponsive. Clicking "Generate" still works, but switching tabs or changing values is not possible anymore.


### Steps to reproduce the problem

1. Go to img2img Batch Tab
2. Fill out "output directory"
3. Try changing tabs


### What should have happened?

Working as usual

### Sysinfo

[sysinfo-2023-08-31-17-12.txt](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/12488686/sysinfo-2023-08-31-17-12.txt)


### What browsers do you use to access the UI ?

Chrome

### Console logs

```Shell
Traceback (most recent call last):
File "C:\Users\user\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1312, in postprocess_data
block = self.blocks[output_id]
KeyError: 215

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\user\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "C:\Users\user\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1434, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "C:\Users\user\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1314, in postprocess_data
raise InvalidBlockError(
gradio.exceptions.InvalidBlockError: Output component with id 215 used in blur() event not found in this gr.Blocks context. You are allowed to nest gr.Blocks contexts, but there must be a gr.Blocks context that contains all components and events.
```


### Additional information

_No response_
Repository: tensorflow
Issue: Internal interfaces could be explicitly marked
Labels: stat:awaiting tensorflower,type:feature,comp:apis

### Issue type

Feature Request

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

Yes

### Source

binary

### TensorFlow version

2.12.0

### Custom code

No

### OS platform and distribution

_No response_

### Mobile device

_No response_

### Python version

_No response_

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

There are internal interfaces within the tensorflow package that I think would benefit from being marked more explicitly. According to [the PEP 8 style guide](https://peps.python.org/pep-0008/#public-and-internal-interfaces), *"Even with `__all__` set appropriately, internal interfaces (packages, modules, classes, functions, attributes or other names) should still be prefixed with a single leading underscore."*

While following all of PEP 8 to the letter is perhaps understandably not always adhered to in all projects, this particular section seems very reasonable. You can have no documentation for a module, and exclude it from `__all__`, both of which already indicate the module is not intended to be public, but it is still recommended to explicitly mark that module as private. Because this is commonly adhered to in the python ecosystem, some users may even expect modules not marked private to be intentionally public.

There exist old issues such as [this one](https://github.com/tensorflow/tensorflow/issues/33075) wherein it is stated that the only supported way to import anything is `import tensorflow` or possibly `from tensorflow.keras import ...`; and that `tensorflow.python` for example (or *"any other modules"*) is unsupported. To quote directly from that thread:

> so to confirm, `tf.python.keras` is *private*, intended for *development*, rather than public use? Thanks

> Yes, that's exactly the case. Anything under `tf.python` is private

If this module is intended to be private, then to be in accordance with the above guidelines, the module should be renamed from `python` to `_python`, as should all other internal interfaces. There seem several advantages to doing so: a user knows instantly that importing from `package._module` is dangerous (even if python technically permits it); an IDE may also be configured to treat such modules differently, such as excluding their contents from being displayed to the user in autocompletion, search results, etc. Doing so would also help prevent users such as the one in the issue above wondering why they encountered problems while using what on the surface looks like a public interface.

### Standalone code to reproduce the issue

```shell
Note that `import tensorflow.python` is possible, where we might expect `import tensorflow._python` indicating this is an internal interface not intended for the user to access. Running code with this import as a user would thus have unintended consequences.
```


### Relevant log output

_No response_
Repository: excalidraw
Issue: Arabic Language Support 
Labels: translation

Any incoming Arabic language support for the application ? as this would greatly enhance accessibility and usability for Arabic-speaking users.