sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Create Dialog extends out of screen
Labels: bug,topic:editor,confirmed,usability,regression

### Godot version

4.1 db5113d

### System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 30.0.15.1403) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

### Issue description

Create dialog (e.g. Add Node) is super big and can extend below screen:
![](https://chat.godotengine.org/file-upload/n6aeL6W88pk5iCmFE/Clipboard%20-%202%20czerwca%202023%2022:57)

### Steps to reproduce

1. Open project
2. Press Ctrl + A

### Minimal reproduction project

N/A
Repository: storybook
Issue: [Bug]: Issues while using some of the codemod with different version of recast installed
Labels: bug,dependencies

### Describe the bug

Hi thank you for all the work you are doing!

I've face an issue while doing some codemod _(to migrate to v7)_.

Here's the bug I faced when running `npx storybook@latest migrate csf-2-to-3`:

```bash
 Transformation error (The expression evaluated to a falsy value:    assert_1.default.ok(lines instanceof linesModule.Lines) )
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

  assert_1.default.ok(lines instanceof linesModule.Lines)
```

This happens when there are multiple version of recast installed. https://github.com/benjamn/recast/pull/645#issuecomment-542932020

Here's what I had installed:

```bash
$ npm ls recast
REDACTED
├─┬ @storybook/addon-docs@7.0.18
│ └─┬ @storybook/csf-tools@7.0.18
│   └── recast@0.23.1 deduped
├─┬ @types/jscodeshift@0.11.6
│ └── recast@0.20.5
├─┬ apollo@2.34.0
│ └─┬ apollo-codegen-core@0.40.9
│   └── recast@0.21.5
├─┬ jscodeshift@0.15.0 invalid: "^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0" from node_modules/jscodeshift-add-imports
│ └── recast@0.23.1
└─┬ storybook@7.0.18
  └─┬ @storybook/cli@7.0.18
    ├─┬ @storybook/codemod@7.0.18
    │ ├─┬ jscodeshift@0.14.0
    │ │ └── recast@0.21.5
    │ └── recast@0.23.1 deduped
    └─┬ jscodeshift@0.14.0
      └── recast@0.21.5

```

I was able to fix the issue by ensuring that there's only one version of recast installed on my porject:

```json5
// package.json
{
  // ...
  "overrides": {
    "recast": "0.23.1"
  }
}
```

With the override here's what I now have:

```bash
$ npm ls recast
REDACTED
├─┬ @storybook/addon-docs@7.0.18
│ └─┬ @storybook/csf-tools@7.0.18
│   └── recast@0.23.1 deduped
├─┬ @types/jscodeshift@0.11.6
│ └── recast@0.23.1
├─┬ apollo@2.34.0
│ └─┬ apollo-codegen-core@0.40.9
│   └── recast@0.23.1 deduped
├─┬ jscodeshift@0.15.0 invalid: "^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0" from node_modules/jscodeshift-add-imports
│ └── recast@0.23.1 deduped
└─┬ storybook@7.0.18
  └─┬ @storybook/cli@7.0.18
    ├─┬ @storybook/codemod@7.0.18
    │ ├─┬ jscodeshift@0.14.0
    │ │ └── recast@0.23.1 deduped
    │ └── recast@0.23.1 deduped
    └─┬ jscodeshift@0.14.0
      └── recast@0.23.1 deduped
```

Now I'm able to run:

```bash
npx storybook@latest migrate csf-2-to-3
```

I think one fix would be to ensure that all storybook module are using the same version of recast.

### To Reproduce

_No response_

### System

_No response_

### Additional context

_No response_
Repository: flutter
Issue: [Feature Request] Add support for "overflow" tabs in TabBar
Labels: c: new feature,framework,f: material design,c: proposal,P2,team-design,triaged-design

Here's a custom implementation we put together for DevTools: 
![Screenshot 2023-06-02 at 10 18 19 AM](https://github.com/flutter/flutter/assets/43759233/9acee701-46f7-4932-b8b7-880fa85a94e4)
PR: https://github.com/flutter/devtools/pull/5875.

It would be great if this (and tab re-ordering https://github.com/flutter/flutter/issues/127693) were supported for the TabBar widget out of the box.
Repository: pytorch
Issue: BCELoss and BCEWithLogitsLoss differ when one of the input logits is float("inf")
Labels: module: nn,triaged,actionable,module: edge cases

### 🐛 Describe the bug

Based on the docs, it seems like `BCEWithLogitsLoss` is supposed to be the more numerically table sibling of `BCELoss`. However, when one of the input logits to `BCEWithLogitsLoss` is `float("inf")` the result is `Nan` whereas `sigmoid(inf) = 1.0`, so it should probably be well defined. When I use `BCELoss(sigmoid(x), target)` it gives the desired result.

```
x = torch.tensor([float("inf"), 1.0])
y = torch.tensor([1.0, 0.0])

loss = F.binary_cross_entropy_with_logits(x, y)
print (loss)

loss = F.binary_cross_entropy(x.sigmoid(), y)
print (loss)

print(torch.nn.BCEWithLogitsLoss()(x, y))
print(torch.nn.BCELoss()(x.sigmoid(), y))
```

Output:

```
tensor(nan)
tensor(0.6566)
tensor(nan)
tensor(0.6566)
```


### Versions

1.12.1

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
Repository: pytorch
Issue: After dynamo minifier generates repros that don't entirely match what we minified over
Labels: low priority,triaged,module: dynamo

### 🐛 Describe the bug

The after dynamo minifier tests minified graphs by feeding them directly to the backend in question. However, this is not what the repro script does: the repro script runs dynamo (torch.compile) on the serialized FX graph, with the backend set. If running dynamo on a dynamo'ed FX graph is not idempotent, then you can end up with a slightly different dynamo graph, which could in turn mean you end up with a repro that doesn't actually repro.

Fortunately, for the most part, Dynamo'ing a serialized FX graph idempotent. But there's one notable case I recently ran into where it isn't: when the graph is empty! (In that case we never bother calling the graph at all.) In my case (testing) this is easy enough to work around; I'm not sure if there are other cases that actually matter in practice.

### Versions

main

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @aakhundov @kadeng @anijain2305 @Xia-Weiwen @ipiszy
Repository: rust
Issue: TAIT: "unconstrained opaque type" error when constraining use is unreachable.
Labels: C-bug,F-type_alias_impl_trait

This is allowed:

```rust
type Tait = impl Sized;
fn foo() -> Tait {
    42
}
```

But this is not: [playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=8c5c645646c43fdfd0bec95f4653c6e2)

```rust
type Tait = impl Sized;
fn foo() -> Tait {
    loop{}
    42
}
```

```
error: unconstrained opaque type
 --> src/lib.rs:3:13
  |
3 | type Tait = impl Sized;
  |             ^^^^^^^^^^
  |
  = note: `Tait` must be used in combination with a concrete type within the same module
```

It feels somewhat surprising to me, since unreachable code should still be typechecked. 

@rustbot label F-type_alias_impl_trait
Repository: PowerToys
Issue: Power rename
Labels: Needs-Triage

### Description of the new feature / enhancement

a table that fills one column with current name of the folders and the other column with the name to be replaced with

### Scenario when this would be used?

when someone wants to rename multiple folders with different names at once this feature would be useful

### Supporting information

_No response_
Repository: flutter
Issue: Flutter seems not to agree what is the estimated size of `ui.Image`
Labels: framework,a: images,has reproducible steps,P2,found in release: 3.10,found in release: 3.11,team-framework,triaged-framework

### 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

Location 1: Here Flutter thinks it is `width x height x 4 x 4/3`

https://github.com/flutter/flutter/blob/39adf1b32a2c12b67fc84daedb0b9b75eeb8df02/packages/flutter/lib/src/painting/debug.dart#L77

Comments say that, "Tracks the bytes used by a [dart:ui.Image]", "Assume 4 bytes per pixel and that mipmapping will be used, which adds 4/3".

Location 2:Here Flutter thinks it is `width x height x 4`

https://github.com/flutter/flutter/blob/39adf1b32a2c12b67fc84daedb0b9b75eeb8df02/packages/flutter/lib/src/painting/image_stream.dart#L104

Comments say that, "The size of raw image pixels in bytes", where the `ui.Image` is called as "The raw image pixels" in another comment.

Therefore, it seems that both refer to the byte size of `ui.Image`, while they disagree whether there is a mipmap.

This may confuse users since they will see two locations reporting sizes with a large difference, and also confuses me a little bit since I do not know which is the truth (when solving my memory leaks).

### Expected results

-

### Actual results

-

### Code sample

<details><summary>Code sample</summary>

```dart
[Paste your code here]
```

</details>


### Screenshots or Video

<details>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
[Paste your output here]
```

</details>
Repository: pytorch
Issue: nn.ChannelShuffle1d
Labels: module: nn,triaged,needs research

### 🚀 The feature, motivation and pitch

nn.ChannelShuffle operates on 2D tensors. Either:

- Introduce nn.ChannelShuffle1d, nn.ChannelShuffle2d, etc
- Adjust nn.ChannelShuffle to support 1d as well

### Alternatives

Convert 1D -> 2D artificially before applying ChannelShuffle:

```python
channel_shuffle = nn.ChannelShuffle(4)
x = torch.arange(64).reshape(1, 8, 8)
x = channel_shuffle(x[..., None])[..., 0]
```

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
Repository: PowerToys
Issue: Power renaming removes links from links
Labels: Issue-Bug,Product-PowerRename,Needs-Triage

### Microsoft PowerToys version

0.70.1

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

PowerRename

### Steps to reproduce

I have made some desktop links by going to my disks via "my computer" drive d: in that case and used the right-click option "send to desktop" where you get your links cluttered all together and have to order them yourself.
Anyway, ordering five icons is not to bad, the bad thing however was that the "PowerRenamer" removed the link to the program I wanted to rename. 
One of them was Cinebench 23, so the link name was "Cinebench.exe - Verknüpfung" (it's the German one) and I selected the link and used the "Powerrenamer", which I recon will be amazing, once the kinks are removed.
I typed in ".exe - Verknüpfung " in the "find expression" windows and Renamer removed it from the link name as expected but it also removed the link to the exe file and it became an emtpy link.

### ✔️ Expected Behavior

I did  expect the Renamer to rename even just links to exe files as regular file renaming. 

### ❌ Actual Behavior

The link was renamed as expected but it also removed the link to the exe file I was trying to link to. It became an empty link or text file with no text.

### Other Software

_No response_
Repository: PowerToys
Issue: Windows snapping & Mouse without Borders
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.70.0

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Mouse Without Borders

### Steps to reproduce

1. Set Easy Mouse to enabled
2. Drag a window to the edge of the screen adjacent to another device running Mouse without Borders
3. At the edge of the screen the mouse continues on the adjacent device

### ✔️ Expected Behavior

1. Drag a window to the edge of the screen adjacent to another device running Mouse without Borders
2. While dragging a window, th mouse stops at the edge of the screen.
3. The window being dragged snaps

Alternatives:
- Don't move between machines for dragging at all
- Don't move between machines for dragging, when files sharing is turned off
- Delay moving between machines fpr a short amount of time to allow release of windows

### ❌ Actual Behavior

The window being dragged does not snap, but is centered either on top of the screen or in the middle, depening on the seeting of "Block mouse at screen corners"

### Other Software

_No response_
Repository: PowerToys
Issue: Allow for other syntax highlighters to be loaded for developer previewer 
Labels: Idea-Enhancement,Product-File Explorer,Product-Peek

### Description of the new feature / enhancement

@Aaron-Junker

As discussed in [.vbs and .inf support for developer previewer](https://github.com/microsoft/PowerToys/issues/24322)

AutoHotkey files (.ahk) show as no preview available and AutoIt (.au3) show but only in monochrome text.

There is no syntax highlight definition for au3 and ahk in Monaco but they both have extensions to provide syntax highlighting in VS Code that are available on Github

[AutoHotkey Plus Plus](https://github.com/vscode-autohotkey/ahkpp)

[AutoIt-VSCode](https://github.com/loganch/AutoIt-VSCode)

It should be possible to convert them from json to the correct format.



### Scenario when this would be used?

These are common file formats so support for these would be a great enhancement

### Supporting information

_No response_
Repository: next.js
Issue: Use file-loader to modify the image path error after packaging
Labels: bug

### Verify canary release

- [ ] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
      Platform: win32
      Arch: x64
      Version: Windows 10 Home China
    Binaries:
      Node: 14.17.6
      npm: N/A
      Yarn: N/A
      pnpm: N/A
    Relevant packages:
      next: 12.2.4
      eslint-config-next: 12.2.2
      react: 18.2.0
      react-dom: 18.2.0

warn  - Latest canary version not detected, detected: "12.2.4", newest: "13.4.5-canary.4".
        Please try the latest canary version (`npm install next@canary`) to confirm the issue still exists before creating a new issue.
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

_No response_

### Link to the code that reproduces this issue or a replay of the bug

no

### To Reproduce

//next.config.js
webpack: (config, options) => {

    config.module.rules.push(
      {
        test: /\.(png|jpe?g|gif|svg)$/i,
        use: [
          {
            loader: 'file-loader',
            options: {
              name: 'static/medssssia/[name].[hash].[ext]',
              publicPath: '/scasca',
              outputPath: 'static/images',
            },
          },
        ],
      }
    );

    return config;
  }


//index.tsx

import Image from "next/image";
import logo from "@/assets/arrowNone.png"

const Home = (props: any) => {

  return (<div>
  //    <Image  height={90} width={120} src={logo} alt=""  ></Image>

    <Image  height={90} width={120} src={logo} alt=""  ></Image>
  </div>)
};

export default Home;

### Describe the Bug

![image](https://github.com/vercel/next.js/assets/35223950/0a87760d-419e-47e2-9809-7483a738ff83)
An error is reported when building


### Expected Behavior

Whether I introduce a local Image in the next/Image, IMG Tag, or Sass, I want to be able to change the path of the packaged Image


### Which browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_
Repository: PowerToys
Issue: The installer deletes \ProgramData\Package Cache
Labels: Issue-Bug,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.70.1

### Installation method

GitHub

### Running as admin

None

### Area(s) with issue?

General

### Steps to reproduce

Package Cache is actually a junction to a folder on another drive.
Tricks like setting the readonly attribute do not stop your installer from gangrene.
After removing the link, the installer safely crashes, although it could have deleted, for example, the Windows folder.

### ✔️ Expected Behavior

I expected to work with the link as an ordinary folder, which all other programs do.

### ❌ Actual Behavior

After removing the link, the installer safely crashes, although it could have deleted, for example, the Windows folder.

### Other Software

_No response_
Repository: node
Issue: Support GMAC and multiple AAD chunks for AEAD
Labels: crypto,feature request,never-stale

### What is the problem this feature will solve?

Node.js only allows a single call to `setAAD()` for AEAD algorithms. AAD that consists of multiple chunks must be concatenated in memory before it can be passed to `setAAD()`, which is highly inefficient.

GMAC is a MAC algorithm based on AES-GCM that consumes the entire input data as AAD and leaves the plaintext/ciphertext empty. The AES-GCM authentication tag is the MAC produced by GMAC. Implementing GMAC on top of Node.js again requires concatenating all input data in memory before calling `setAAD()`.

### What is the feature you are proposing to solve the problem?

Extend the API to allow appending multiple chunks of AAD. This is common practice and supported by various cryptographic libraries, including OpenSSL.

We should consider carefully if such an extension should be a separate `WritableStream` or if a simpler API makes more sense.

### What alternatives have you considered?

Concatenating all data in memory before passing it to `setAAD()`.

My primary use case for multiple calls to `setAAD()` is GMAC, so a separate GMAC API (similar to the existing [HMAC API](https://nodejs.org/docs/latest-v18.x/api/crypto.html#cryptocreatehmacalgorithm-key-options)) would also be sufficient for my purposes. However, it would leave a gap between AES-GCM and GMAC for those rare use cases that have multiple chunks of AAD and a non-empty plaintext/ciphertext.

On a side note, I preliminarily decided against adding streaming support for AAD in https://github.com/wintercg/proposal-webcrypto-streams, see [this section of the explainer](https://github.com/wintercg/proposal-webcrypto-streams/blob/31630ad4581e594f84e511aaaeae376bd8628fc0/explainer.md#additional-data-in-aead-ciphers). However, that is mostly due to the API constraints of the Web Crypto API.
Repository: flutter
Issue: [flutter_markdown] Support onSelectionChanged for SelectableText
Labels: c: new feature,package,c: proposal,team-ecosystem,P3,p: flutter_markdown,triaged-ecosystem

### 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)

### Use case

This issue was already raised in [#81715](https://github.com/flutter/flutter/issues/81715) and is probably related to #118045 as well.

It is currently impossible to figure out which text was selected by a user in the Flutter Markdown widget if ```selectable = true```. This is quite annoying especially since it is a fundamental feature of ```SelectableText```.

### Proposal

The easiest fix would be to just pass through the ```onSelectionChanged``` callback from ```SelectableText.rich```. Preferably of course also the other callbacks. Only the ```onTap``` callback does not provide much information.
Repository: stable-diffusion-webui
Issue: [Feature Request]: How to get `fn_index`
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 ?

RT:
How to get `fn_index`.
Because 'sdapi' cannot use `plugin`, so I wonder whether it can be called through the api of the page?
But I found that `fn_index` is subject to change

### Proposed workflow

None

### Additional information

_No response_
Repository: PowerToys
Issue: Create some key combo feature to case-swap text
Labels: Needs-Triage

### Description of the new feature / enhancement

When entering and you realise you had caps lock on, the key combo would turn e.g. tHIS iS sOME tEST tEXT into This Is Some Text Text.

I'm aware some stuff has combos like MS Word but a global combo that worked in most circumstances such as browsers, text editors, etc would be very useful.

### Scenario when this would be used?

When entering and you realise you had caps lock on, the key combo would turn e.g. tHIS iS sOME tEST tEXT into This Is Some Text Text.

### Supporting information

Hopefully self-explanatory
Repository: stable-diffusion-webui
Issue: [Feature Request]: Extras > Batch from directory > Recursive Folders
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 ?

In the Extras tab, when doing a batch from directory upscaling, would it be possible to get another checkbox toggle (or in settings), for a recursive folder upscaling?

Meaning that I want it to also upscale images sorted in subfolders, and it should make those subfolders in the output directory as well.

Example:
C:\ImagesToBatch\Image1.jpg
C:\ImagesToBatch\Subfolder\Subimage.jpg
C:\ImagesToBatch\Subfolder\Bad Generations\Garbage.jpg

Would output:
C:\Output\Image1.jpg
C:\Output\Subfolder\Subimage.jpg
C:\Output\Subfolder\Bad Generations\Garbage.jpg

### Proposed workflow

1. Go to Extras tab
2. Go to the Batch from Directory sub-tab
3. Check or leave unchecked a box that says "Recursive", that also has a mouseover description of what it does


### Additional information

_No response_
Repository: terminal
Issue: In Terminal "command prompt", it seems there's no shortcut to select current command's text? Ctrl-a not working
Labels: Issue-Feature,Product-Conpty,Area-Interaction

Is there a reason ctrl-a doesn't allow selecting all the text of the current command line input, such as to then copy it to the clipboard? For now, using ctrl-a does nothing but append ^A to the end of that input. I'm referring here to the Terminal "command prompt" view. 

Note that in the Powershell view, or the traditional Windows command prompt (conhost), ctrl-a does this task, so some of us have it trained into our fingers. :-)  Since it seems that key combination is unused (in the "command prompt' view), has it been considered for this task?

Yes of course there is the shortcut to "select all", ctrl+shift+a, but that selects the entire terminal (input and output). I'm asking about just the command input. (For any who don't understand what I mean here, simply type a command to run it, then hit up-arrow to retrieve it. I'm asking how to select that command--or any other past one, without using the mouse, such as to copy it to the clipboard.)

And to be clear, I find no feature in the "command palette" to do this ("select all" for the displayed command, only). So for now one must use their mouse to select such a command, which is why I seek a shortcut alternative.  

Again, ctrl-a works this way in the Terminal powershell view and the traditional command prompt, and it's not being used in the Terminal Command prompt. Could it be? Or am I missing something?  (And I looked, but I didn't see any open issues that seemed related.)