sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: stable-diffusion-webui
Issue: [Feature Request]: Twirl Open/Close Prompt Windows (negative prompt window especially)
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 ?

Hi!

Thanks for an amazing project, it's been fun following this since day 1!

I have a feature request. I would like to be able to twirl open the prompt windows (negative specifically or/and positive as well). This would make it easier for streaming and public displays since negative prompts often times include "forbidden" words and would also make the UI much cleaner since the majority of tweaking happens in the positive prompt rather than the negative one. The negative is only tweaked when necessary, I think.

Would be awesome to see this small gradio thing implemented or any hints on how to do it yourself would be appreciated! :) 

### Proposed workflow

1. Be in any generator mode, txt2img or img2img.
2. Beside the Prompt input windows there is a small triangle to twirl open or close any of the prompt windows at the top, just like we can with any additions to A1111 that get's it own little twirl down menu.
3. Profit?

Open:
![brave_plBy0hswHP](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/55516443/32471645-338c-4c86-8e55-62543133b170)

Closed:
![brave_plBy0hswHP2](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/55516443/5f154d23-6862-4cb2-a9c8-0b1ac39f3785)


### Additional information

_No response_
Repository: tauri
Issue: [bug] Global shortcuts not working in some games
Labels: type: bug,status: needs triage

### Describe the bug

I am working on migrating an electron application for managing savefiles in games over to Tauri, but I am facing some issues with global shortcut handling.
While the shortcuts appear to work in most games I tested (for example Elden Ring, Apex and Trackmania), I could not get them working when playing Dark Souls 2 or Dark Souls 3.
I believe this is related to either exclusive fullscreen handling or DirectInput, but I am not entirely sure.
I faced the same issue with global shortcuts in Electron, where I ended up using node-global-keyboard-listener instead. I tried a few crates for global key listeners, but they did seem to play nicely with Tauri when the window was in focus.

### Reproduction

1. Register global shortcut from @tauri-apps/api/globalShortcut
2. Launch a conflicting game (e.g. Dark Souls 2 or Dark Souls 3)
3. Attempt to use the global shortcut while the game is in fullscreen

### Expected behavior

Global shortcuts should work in fullscreen games

### Platform and versions

```text
[✔] Environment
    - OS: Windows 10.0.22621 X64
    ✔ WebView2: 114.0.1823.58
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.70.0 (90c541806 2023-05-31)
    ✔ Cargo: 1.70.0 (ec8a8a0ca 2023-04-25)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 16.13.0
    - npm: 9.7.2

[-] Packages
    - tauri [RUST]: 1.4.1
    - tauri-build [RUST]: 1.4.0
    - wry [RUST]: 0.24.3
    - tao [RUST]: 0.16.2
    - @tauri-apps/api [NPM]: 1.4.0
    - @tauri-apps/cli [NPM]: 1.4.0

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: ../dist
    - framework: Vue.js (Vue CLI)
    - bundler: Webpack
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: PowerToys
Issue: Make sure the application (i.e Windows Explorer) open at initiated screen(start en context menu)
Labels: Needs-Triage

### Description of the new feature / enhancement

Situation:
Three screen, all of them have a taskbar a with  startmenu  active.

Now: When I click on the start menu on display 2  to open an application I will be surprised by the application displaying on  display 1, 2, or 3 (Probably , but I'm not sure, the last used)  Anyway almost never in front of my eyes

What I want, at least an option (i.e. when pressing Ctrl key) which will result in seeing the application in the screen  from which it's initiated

### Scenario when this would be used?

See Description

### Supporting information

_No response_
Repository: next.js
Issue: [NEXT-1335] NextResponse.redirect() not working in production app (Next.js versions 13.4.4-13.4.12)
Labels: bug,Navigation,Internationalization (i18n),Runtime

### Verify canary release

* [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```
Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:22 PDT 2022; root:xnu-8020.140.41~1/RELEASE_ARM64_T6000
    Binaries:
      Node: 16.14.2
      npm: 9.1.2
      Yarn: 1.22.15
      pnpm: 6.11.0
    Relevant packages:
      next: 13.4.4
      eslint-config-next: 13.4.7
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.1.3
```

### Which area(s) of Next.js are affected? (leave empty if unsure)

Middleware / Edge (API routes, runtime), Routing (next/router, next/navigation, next/link)

### Link to the code that reproduces this issue or a replay of the bug

[https://github.com/SanderRuusmaa/NextResponse.redirect-not-working](https://github.com/SanderRuusmaa/NextResponse.redirect-not-working)

### To Reproduce

Reproduce by following the official Next js /pages router doc on implementing the correct way of "prefixing the default locale" in your app.

[https://nextjs.org/docs/pages/building-your-application/routing/internationalization](https://nextjs.org/docs/pages/building-your-application/routing/internationalization)

The provided GitHub repo also is a way to reproduce it:
By running "npm run build" and "npm run start" and trying to then access [http://localhost:3000/test-page](http://localhost:3000/test-page) the browser receives a "error 400 - Bad Request" page.

![](https://uploads.linear.app/099ed59a-06c6-472f-9977-4798721bda90/7c07f451-402e-4675-ad81-548cee6b5587/491d609b-d0a1-4026-82ad-36063762c792)

NB!: Redirecting works in dev mode (npm run dev).

### Describe the Bug

Clearly some sort of bug that started to occur after 13.4.3 version of Next.js. Version 13.4.3 and prior work fine. Verified that from 13.4.4 to the latest canary this problem persists.

The Next server runs into an error (code 400) when trying to redirect the request. This happens regardless of trying to always prefix the locale of the app. Even redirecting to [https://www.google.com](https://www.google.com) gives the same error in production mode.

### Expected Behavior

NextResponse.redirect() actually redirects the request to the specified absolute URL and does not show a error 400 - Bad Request page.

In this GitHub repo example, visiting [http://localhost:3000/test-page](http://localhost:3000/test-page) should redirect the user to  [http://localhost:3000/en/test-page](http://localhost:3000/en/test-page) (or .../et/... if the NEXT_LOCALE cookie is "et").

### Which browser are you using? (if relevant)

*No response*

### How are you deploying your application? (if relevant)

locally + Kubernetes pod

<sub>From [SyncLinear.com](https://synclinear.com) | [NEXT-1335](https://linear.app/vercel/issue/NEXT-1335/nextresponseredirect-not-working-in-production-app-nextjs-versions)</sub>
Repository: vscode
Issue: No registered selector for ID: ms-vscode.npm-command
Labels: error-telemetry,debt,terminal-quick-fix

```javascript
Error: No registered selector for ID: ms-vscode.npm-command
at <anonymous> in src/vs/workbench/contrib/terminalContrib/quickFix/browser/terminalQuickFixService.ts:64:11
```
[Go to Errors Site](https://vscode-errors-dev.azurewebsites.net/card?ch=4649b5333370139d161e7b5d4f78ca13741efa35&bH=76510ad1-4493-b1f0-c0ed-1e2f4f75c16e)
Repository: stable-diffusion-webui
Issue: [Feature Request]: Offline Mode
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 ?

Have an option to download all files that could be requested by an extension or Automatic1111 before their use. Then have an option to block further downloads.

I recognize this is some real work, but it could add security benefits to the program (see below).

### Proposed workflow

1. Go to Settings
2. Go to offline mode
3. Choose download all resources
4. Choose enter offline mode

No further online events would occur.

### Additional information

I don’t want to have to rely on having access to the Internet when I use Automatic1111. Additionally, I want to be able to evaluate all files being downloaded from a security perspective, and/or put them in another drive and symbolically link to them. Great example of an offending extension is Controlnet, which lets you manually download some files for it, but downloads others as you begin to use it.
Repository: ui
Issue: Cannot use value other than string on Select's onValueChange
Labels: Stale

Form schema and hook?
```ts
const FormSchema = z.object({
	theme: z.enum(['light', 'dark', 'system']),
});

	const form = useForm<z.infer<typeof FormSchema>>({
		resolver: zodResolver(FormSchema),
		defaultValues: {
			theme: theme as z.infer<typeof FormSchema>['theme'],
		},
	});
```

Form:
```
						<FormField
							control={form.control}
							name='theme'
							render={({ field }) => (
								<FormItem>
									<FormLabel>Thema</FormLabel>
										<Select onValueChange={field.onChange} defaultValue={field.value}>
```

Error:
```
Type '(event: "light" | "dark" | "system" | ChangeEvent<Element>) => void' is not assignable to type '(value: string) => void'.
  Types of parameters 'event' and 'value' are incompatible.
    Type 'string' is not assignable to type '"light" | "dark" | "system" | ChangeEvent<Element>'.ts(2322)
```

The onValueChange is typed as such:
```
export interface SelectProps {
     ...
    onValueChange?(value: string): void;
```

How can I make this work with enum?
Repository: vscode
Issue: Revived terminals should take latest command's cwd into account
Labels: bug,terminal-process

Repro:

1. Open a terminal
2. cd into a different directory
3. Wait a few seconds (to make sure it's persisted)
4. File > Exit
5. Open vscode, 🐛 it's restored to its original cwd, not the one in step 2

![image](https://github.com/microsoft/vscode/assets/2193314/09a39bf8-ae75-44ab-b6c3-80742ced0324)

The cwd sequence did happen, it re-created using the initial cwd though:

```
2023-06-29 07:30:55.258 [trace] [RPC Event] PtyService#_onProcessData.fire({"id":5,"event":"\u001b]633;D;0\u0007\u001b]633;A\u0007\u001b]633;P;Cwd=C:\\x5cGithub\\x5cmicrosoft\\x5cvscode\u0007\u001b]633;B\u0007"})
```

Found when looking into https://github.com/microsoft/vscode/issues/133542
Repository: vscode
Issue: Simple file dialog: support multi-select
Labels: feature-request,simple-file-dialog

We have scenarios where a user can multi-select, for example when adding folders to a multi-root workspace. This works fine with 1 usage of the native dialog, but the simple file dialog seems to restrict to 1 folder per usage.

This ask is to support multi-selection in simple file dialogs.

//cc @luabud
Repository: angular
Issue: Standalone migration step "Bootstrap the project using standalone APIs" doesn't respect imports of localeDe and registerLocaleData
Labels: area: migrations,P3,bug,cross-cutting: standalone

### Command

generate

### Is this a regression?

- [ ] Yes, this behavior used to work in the previous version

### The previous version in which this bug was not present was

_No response_

### Description

After having successfully updated from 15.2.9 to 16.1.1 I did the migration to standalone via
 ng g @angular/core:standalone.
The first two steps succeeded. The third step "Bootstrap ..." doesn't transform to main.ts the following entries in the deleted app.module.ts:
...
import { registerLocaleData } from '@angular/common';                            
import localeDe from '@angular/common/locales/de';                               
...
registerLocaleData(localeDe);
...

I got the error "Missing locale data ...". After having added manually the three lines to main.ts everthings works fine.

### Minimal Reproduction

1. Add the three lines mentioned above to an existing app.module.ts (and use the locale somewhere)
2. Do the migration steps to standalone
3. Inspect main.ts (the three lines are missing).

### Exception or Error

```text
Error: Missing locale data for the locale "de".
```


### Your Environment

```text
Angular CLI: 16.1.1
Node: 18.16.1
Package Manager: npm 9.7.2
OS: linux x64

Angular: 16.1.2
... animations, cdk, common, compiler, compiler-cli, core, forms
... language-service, material, material-date-fns-adapter
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1601.1
@angular-devkit/build-angular   16.1.1
@angular-devkit/core            16.1.1
@angular-devkit/schematics      16.1.1
@angular/cli                    16.1.1
@schematics/angular             16.1.1
rxjs                            7.8.1
typescript                      4.9.5
```


### Anything else relevant?

_No response_
Repository: vscode
Issue: Git - Support ignoring files using .git/info/exclude
Labels: feature-request,git

Currently, we have a context menu item to add a file to `.gitignore`, it would be great to have a context menu item to add a file to `.git/info/exclude` because it's a lot more annoying to change `.git/info/exclude` than .gitignore (because it's hidden) 

<img width="381" alt="image" src="https://github.com/microsoft/vscode/assets/16353531/13096078-95fb-454e-951b-1f5a173d71ed">
Repository: go
Issue: x/build/cmd/watchflakes: fails to attribute `*** Test killed with quit:` failures to the running test
Labels: Builders,NeedsInvestigation

In https://github.com/golang/go/issues/57995#issuecomment-1570598641, I see a test failure ending in:
```
*** Test killed with quit: ran too long (4m0s).
FAIL	bytes	240.041s
```

but `watchflakes` matched that to the explicit condition `test == "" `.

This pattern should be fairly easy to match, so `watchflakes` should attribute these failures to the correct package's tests.

(attn @cherrymui)
Repository: material-ui
Issue: [Drawer][material] Clicking outside the drawer doesn't close it if i disable backdrop with hideBackDrop={true}
Labels: docs,component: drawer,status: expected behavior

### What's the problem? 🤔

https://stackoverflow.com/questions/76580788/mui-hidebackdrop-true-doesnt-allow-me-to-click-outside-of-drawer-component-to, heres the stackoverflow link but basically I have a Drawer component that opens when I click an icon on the Map. Then the drawer menu opens and the backshadow drops on the map. When i click on the map with backshadow the drawer simply closes without problem. I want to remove the backshadow tho, so in the API it says i can just use hideBackDrop={true}, this does indeed remove the backshadow but if i click on the outside of drawer on the map now it doesnt close drawer.

### What are the requirements? ❓

I need it to close on click outside without having a backdrop

### What are our options? 💡

_No response_

### Proposed solution 🟢

_No response_

### Resources and benchmarks 🔗

https://stackoverflow.com/questions/76580788/mui-hidebackdrop-true-doesnt-allow-me-to-click-outside-of-drawer-component-to
Repository: go
Issue: x/pkgsite/internal/stdlib: TestResolveSupportedBranches failures
Labels: NeedsInvestigation,pkgsite

```
#!watchflakes
post <- pkg == "golang.org/x/pkgsite/internal/stdlib" && test == "TestResolveSupportedBranches"
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/ce9d850132bb4dfb8c03d15ea7f8ba7d3f1f54ab)):

    --- FAIL: TestResolveSupportedBranches (10.00s)
        stdlib_test.go:384: ResolveSupportedBranches: remoteGoRepo.refs: Get "https://go.googlesource.com/go/info/refs?service=git-upload-pack": context deadline exceeded


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: godot
Issue: Projects being ran close themselves after a few minutes with `xcb_in.c:757: xcb_request_check: Assertion '!reply' failed.` if VSync is disabled.
Labels: bug,platform:linuxbsd,topic:rendering,topic:porting,needs testing

### Godot version

v4.0.3.stable.official [5222a99f5]

### System information

OS: EndeavourOS Linux x86_64. CPU: Intel i5-12600K. GPU: AMD Radeon RX 6700 XT. RADV driver version 23.1.3. Vulkan API version 1.3.246.

### Issue description

When running a simple project that uses Forward+ and has vsync turned off, the window that has the running project will close itself after a short period of time, ranging from a few seconds to a few minutes. No error message is printed to the editor. Running Godot from a terminal will show ```Godot_v4.0.3-stable_linux.x86_64: xcb_in.c:757: xcb_request_check: Assertion `!reply' failed.``` when the running project closes itself.

This occurs for both 3D and 2D projects, and also for exported projects.

This does not appear to happen if VSync is set to be active in the project. It also does not appear to happen if the Compatibility (OpenGL) renderer is used instead of Forward+ (Vulkan) regardless of VSync state.

Googling the error brings me to https://github.com/godotengine/godot/issues/69352 and https://github.com/godotengine/godot/issues/75308 , however the assertions are different and the circumstances are somewhat different so I assume it's a separate issue.

Full terminal output:
```
Running: /home/neerti/Projects/Godot/Godot4/Godot_v4.0.3-stable_linux.x86_64 --path /home/neerti/Projects/Godot/Godot4/MinimalReproductionProject --remote-debug tcp://127.0.0.1:6007 --editor-pid 29007 --position 704,374 res://scene.tscn
Godot Engine v4.0.3.stable.official.5222a99f5 - https://godotengine.org
Vulkan API 1.3.246 - Forward+ - Using Vulkan Device #0: AMD - AMD Radeon RX 6700 XT (RADV NAVI22)
 
Godot_v4.0.3-stable_linux.x86_64: xcb_in.c:757: xcb_request_check: Assertion `!reply' failed.
```

### Steps to reproduce

1. Run Godot in a shell if you want to see the assertion failure message.
2. Open the provided minimal reproduction project.
3. Run the project with VSync Mode set to Disabled. (The provided project should have that already be set).
4. Wait for a few minutes until the window closes.
5. When it does, check the shell for the error message.


### Minimal reproduction project

[MinimalReproductionProject.zip](https://github.com/godotengine/godot/files/11908359/MinimalReproductionProject.zip)
Repository: storybook
Issue: [Bug]: SyntaxError: Unexpected closing tag "{elementName}"
Labels: bug,needs triage

### Describe the bug

Hi! seems codesnipes are broken for vue3 when slots used


### To Reproduce

Template example where 'content' is a slot:
```
<Tooltip
      v-bind="args"
      @update:state="onUpdateState($event)"
      @open="onOpen($event)"
      @close="onClose($event)"
    >
      ${args.default}

      ${args.content ? `
        <template #content>
          ${args.content}
        </template>
      ` : ''}
</Tooltip>
```
and this is triggers 'SyntaxError: Unexpected closing tag "Tooltip".'

but if i rewrite story to exclude slots from v-bind - it works, but code snippet contains empty props binding...

```
  <Tooltip
      :placement="args.placement"
      :is-open="args.isOpen"
      :offset="args.offset"
      @update:state="onUpdateState($event)"
      @open="onOpen($event)"
      @close="onClose($event)"
    >
      ${args.default}

      ${args.content ? `
        <template #content>
          ${args.content}
        </template>
      ` : ''}
    </Tooltip> 
```
<img width="676" alt="image" src="https://github.com/storybookjs/storybook/assets/2384641/c3192d93-3bb4-4fb1-93eb-f11788301d8a">


### System

```shell
Tested in 7.0.24 and 7.1.0-alpha.41
```


### Additional context

_No response_
Repository: godot
Issue: Using setget set with child node throws null instance error
Labels: discussion,topic:core,topic:gdscript,documentation

### Godot version

4.1 RC1

### System information

Windows10 

### Issue description

Using setget set with child node to show or change the value throw null instance error when used with variable value other than default value.

### Steps to reproduce

1. add control node and it's child with label node
2. create variable with set like float
3. set value in ready func other than default value, in this case like 10 
4. show result in label node using set func

### Minimal reproduction project

[bugs.zip](https://github.com/godotengine/godot/files/11908795/bugs.zip)
Repository: stable-diffusion-webui
Issue: [Bug]: Broken images with vertical lines
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?

Around half way through the sampling steps 4 horizontal lines appear across the image, always in the same places. The whole rest of the image occasionally also turns into gray noise. Before the half way point, image appears to be generating normally.
![00013-3197159140](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/138147373/35759dea-a0b5-440e-9f46-a028ab0ea1f2)
![00014-3680851789](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/138147373/e310ffcd-bae7-4654-b18c-00381753887e)


### Steps to reproduce the problem

1. Write prompt
2. Press "Generate"
3. Wait until half way point in generation


### What should have happened?

Image should continue to generate normally

### Version or Commit where the problem happens

Version: v1.4.0

### What Python version are you running on ?

None

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

_No response_

### What device are you running WebUI on?

_No response_

### Cross attention optimization

Automatic

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

_No response_

### Command Line Arguments

```Shell
--opt-sub-quad-attention --lowvram --disable-nan-check --precision full --no-half
```


### List of extensions

No

### Console logs

```Shell
part 1: https://pastebin.com/pyrz4CRr
part 2: https://pastebin.com/0TcnEmm5
```


### Additional information

Garuda Linux + XanMod Kernel
AMD RX 570 4GB
Arch4Edu ROCm
Repository: flutter
Issue: [Impeller] Vulkan Allocator needs capabilities check for expected memory types.
Labels: engine,P2,e: impeller,team-engine,triaged-engine

Today we're just using the preferred flags and accepting whatever fallback we get. However, on the S10 it appears that lazy textures used for MSAA/stencil are not supported. As a result, we may be creating and throwing away device local textures in a dedicated allocation, causing the memory churn.

We may wish to switch to a different pooling strategy or caching mechanism if lazy textures are not supported.