sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Editor Doesn't Unload/Reload DLL if DLL is Named "nativelib.dll" (Not Case Sensitive)
Labels: bug,topic:gdextension

### Godot version

3.4.4-stable_win64

### System information

Windows 10

### Issue description

After 6 months of working on my project, I suddenly ran into this issue, which did not allow me to rebuild/delete my native library unless the editor was closed. (my Native Tools Command Prompt would return "Access is denied")

Renaming the DLL to anything else seems to fix the issue.

### Steps to reproduce

Make sure to have scons installed and a Command Prompt for native tools.
Get the godot-cpp repository for 3.4. Generate the bindings via command:

**scons generate_bindings=yes bits=64**

Unzip the minimal reproduction project in the same folder as the godot-cpp repository.
Try building the library via command:

**scons platform=windows**

This will generate the DLL file named "nativelib.dll" within the project's bin/win64 folder.
When the project editor is running (but not focused), try modifying LibTest.cpp and rebuilding the library.
(Or you can just try deleting nativelib.dll entirely)

### Minimal reproduction project

[LockedDLLTest.zip](https://github.com/godotengine/godot/files/9530267/LockedDLLTest.zip)
Repository: flutter
Issue: Remove TextSelectionDelegate from SelectableRegionState
Labels: a: text input,framework,c: proposal,P2

SelectableRegionState currently [mixes in](https://github.com/flutter/flutter/blob/652ff7a5e6684fb3fe94f89cfd23a8445f5943e5/packages/flutter/lib/src/widgets/selectable_region.dart#L241) TextSelectionDelegate in order to receive text selection toolbar functionality, however, this functionality is being remove from TextSelectionDelegate in https://github.com/flutter/flutter/pull/107193.  After the deprecations in that PR are removed, it should be possible to remove TextSelectionDelegate from SelectableRegionState altogether.

### Why remove TextSelectionDelegate?

TextSelectionDelegate provides functionality that is related to editing text and which SelectableRegion doesn't use ([example](https://github.com/flutter/flutter/blob/652ff7a5e6684fb3fe94f89cfd23a8445f5943e5/packages/flutter/lib/src/widgets/selectable_region.dart#L869)).  Text selection should be separate from text editing.

CC @chunhtai
Repository: PowerToys
Issue: Keyboard Manager doesn't detect brightness up/down keys
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Priority-3,Status-Reproducible

### Microsoft PowerToys version

0.62.0

### Running as admin

- [X] Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

- Open PowerToys Settings
- Navigate to Keyboard Manager
- Click on "Remap a key"
- Click on "+" in the "Remap Keys" window
- Click on either one of the "Type" buttons
- Press brightness up or brightness down key (as found on Microsoft Surface or other Microsoft keyboards)

### ✔️ Expected Behavior

- The button press being detected
- "Brightness Up" or "Brightness Down" appearing in the "Keys Pressed" field

### ❌ Actual Behavior

- No key stroke being detected by PowerToys, as if no button was pressed at all
- Windows brighness change pop up appearing in top left corner (Default behavior for these buttons)

![image](https://user-images.githubusercontent.com/67933114/189219384-caf6eb00-76e2-4d0b-85c7-8517bf05146f.png)

![image](https://user-images.githubusercontent.com/67933114/189220131-550b2edc-062c-4040-887a-ff9af3d3b2fd.png)


### Other Software

_No response_
Repository: next.js
Issue: DehydratedState type error
Labels: bug

### Verify canary release

- [x] I verified that the issue exists in the latest Next.js canary release

"next": "12.2.5" Works
"next": "^12.2.5" Fails
"next": "latest" Fails (12.3.0)

### Provide environment information

   Binaries:
      Node: 17.6.0
      npm: 8.5.1
      Yarn: 1.22.10
      pnpm: N/A
    Relevant packages:
      next: 12.2.5
      eslint-config-next: 12.2.5
      react: 18.2.0
      react-dom: 18.2.0

### What browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

Amplify deploying SSR build using "next build"

### Describe the Bug

Type error created when trying to reference "dehydratedState" from pageProps (using react-query) in app.tsx. Temporarily solved by changing the type of pageProps to any or reverting next to version 12.2.5

In _app.tsx,

`import { AppProps } from 'next/app';`
`function MyApp({ Component, pageProps }: AppProps): JSX.Element {`
`...  <Hydrate state={pageProps.dehydratedState}> ...`

Worked in previous versions of next

### Expected Behavior

No type error on build

### Link to reproduction

bug report template with npx create next-app -e reproduction-template

### To Reproduce

Create next react app, add react-query as a package

update the main app definition to use type from AppProps (imported from next/app)

`function MyApp({ Component, pageProps }: AppProps): JSX.Element {`

Add a default dehydratedState

`<Provider store={store}>
<ThemeProvider theme={theme}>
                    <QueryClientProvider client={queryClient}>
                        <Hydrate state={pageProps.dehydratedState}>
                            <MainApp>
                                <Component {...pageProps} />
                            </MainApp>
                        </Hydrate>
                    </QueryClientProvider>
                </ThemeProvider>
            </Provider>`

Create an aws amplify frontend application and connect it to a branch. Configure the output directory to be .next and the build command to be "next build" or "yarn/npm build". Ensure that amplify recognizes the new app as using SSR

### Temporary Workarounds

Revert next to version 12.2.5
== or ==
In app.tsx, change the type of pageProps to be any OR redeclare it with a type of any before using it. i.e -
`function MyApp({ Component, pageProps: p }: AppProps): JSX.Element {`
`const pageProps: any = p`;
Repository: material-ui
Issue: [Masonry] Extra Right Margin
Labels: discussion,package: lab,component: masonry

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

When you set the "spacing" property, it adds the spacing to the right side margin.

If you have a two column layout, currently it:

- adds no space on the left of the left column (which makes sense)
- adds space between the two columns (which makes sense)
- adds space on the right of the right column (which does not make sense)

Similarly for 3, 4, 5, etc. column layouts, it adds space between the columns and on the right of the right-most column but not on the left of the left-most column.

### Expected behavior 🤔

The spacing should be applied only between items, not on the right side of the last column. It looks bad on multi-column layouts because spacing on the right ends up being larger than that of the left. This is especially bad on a single column layout for mobile devices in portrait mode where the wider space on the right is very obvious.

Any workarounds?

### Steps to reproduce 🕹

Steps:

1. Go look at the masonry documentation page at https://mui.com/material-ui/react-masonry/
2. You can probably notice visually the right margins are wider, but if not, you can also:
3. Inspect the first item in browser dev tools
4. Go up to the parent element, a div with class="MuiMasonry-root css-1mgjsc9"
5. There is extra margin on the right side.

### Context 🔦

I want the layout to be clean and symmetric as it should be. Left and right margin should be equal.

### Your environment 🌎

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
```
</details>
Repository: material-ui
Issue: [Masonry] Give Masonry Fine Grained Spacing Controls 
Labels: package: lab,component: masonry,enhancement

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

Currently there is only a single "spacing" setting to specify the spacing. It would be great if you could specify "horizontal spacing" and "vertical spacing" separately. It would also be great to specify if you want spacing applied to the left and right of the masonry component or just between columns. This could be done in conjunction with fixing bug #34234 which is related to having margin on the right of the masonry but not on the left.

### Examples 🌈

_No response_

### Motivation 🔦

There are reasons to want vertical and horizontal spacing to be different and I want to fully control my design. Consider a responsive masonry layout where the mobile view just has a single column. I want the spacing horizontally on either side of the column to be zero (to use all available space) but I want some vertical spacing (to separate the items).
Repository: pytorch
Issue: PyTorch-DirectML RFC
Labels: feature,triaged

### 🚀 The feature, motivation and pitch

We propose to add a DirectML backend as an out-of-tree plugin extension for PyTorch. The DirectML backend will provide hardware acceleration across all DirectX12 compatible GPUs for Windows and the Windows Subsystem for Linux. The RFC PR can be found here: https://github.com/pytorch/rfcs/pull/46. 

### Alternatives

_No response_

### Additional context

_No response_
Repository: excalidraw
Issue: removing line points doesn't properly sync to remote clients
Labels: bug

![excal-line-edit-syncing-bug](https://user-images.githubusercontent.com/5153846/189233390-d84e916d-9dab-4b2e-9728-8f330e2d8d7f.gif)
Repository: PowerToys
Issue: Alternative trigger systems
Labels: Idea-Enhancement,Product-Quick Accent

### Description of the new feature / enhancement

- Ability to press an activation key THEN the letter would really make it better.
- Allow for keys other than arrows and especially space. Those are not very good options IMO.

### Scenario when this would be used?

Well, all the time.

### Supporting information

The spacebar is always getting in the way of typing. If the delay is too low (<300ms) I type unwanted diacritics all the time. Even with 400ms, still happens. Too high and two letters are printed instead of one. I just think having other key would solve this problem altogether, like AltGr, which is already used for special symbols, punctuation marks and diacritics in several keyboard layouts.

The arrow keys are not good either. If you touch type, unless you're typing in a foreign language, diacritics are likely in the alpha keyboard, so raising your hand off is counter productive and slows your typing down.

The activation key should really be pressed before the letter. This avoids having more than one letter show up, or having to time your presses, and overall it is just better, most hotkeys work this way, keypress first, letter afterwards
Repository: godot
Issue: GridMap references MeshLibrary items only by number and not by name, causing tiles to scramble if their order changes
Labels: enhancement,topic:core,topic:3d

### Godot version

v4.0.alpha.custom_build [95c35417c]

### System information

Linux (Fedora 36)

### Issue description

When storing tile data for a GridMap, the meshes used for each tile are referenced only by a number, not their name. So the first item in the MeshLibrary is referenced as `0`, the second item `1`, and so on.
This means that if new items are added to the library not at the end, or any are removed or change order, the tiles in the GridMap get scrambled.
It would be better if they were referenced by name to avoid this. You could still store them as numbers, just add a table that says that tiles with number `x` use the mesh called `y`.

### Steps to reproduce

1. Create some tiles and save them in a project as glTF
2. Create a MeshLibrary from them
3. Make a GridMap with the MeshLibrary and add some tiles
4. Add and remove some tiles from the glTF and reexport the MeshLibrary
5. All of your GridMap tiles are scrambled

### Minimal reproduction project

[GridMap.zip](https://github.com/godotengine/godot/files/9531479/GridMap.zip)
Repository: PowerToys
Issue: Search YAML Front Matter tags from PowerToys Run
Labels: Idea-Enhancement,Product-PowerToys Run,Needs-Triage,Run-Results (Indexer)

### Description of the new feature / enhancement

Make YAML front matter tags on markdown files searchable on global search.

### Scenario when this would be used?

Quickly searching for all markdown files containing YAML front matter associated with a specific tag. This would be a great feature for users of markdown editors, such as Typora or Obsidian.

Quickly search blog posts containing YAML front matter with a specific tag on a WordPress server

### Supporting information

_No response_
Repository: PowerToys
Issue: Space bar (almost) stops working in Pidgin with Quick Accent enabled
Labels: Issue-Bug,Priority-2,Area-App Compat,Product-Quick Accent

### Microsoft PowerToys version

0.62.0

### Running as admin

- [X] Yes

### Area(s) with issue?

Quick Accent

### Steps to reproduce

Once Quick Accent is enabled, typing into a chat window in Pidgin 2.12.0 I have to literally WHACK the space bar to add spaces. Other apps (Notepad++ 8.3.1) show similar behavior, though not to the same extent as Pidgin. Uninstalled Logitech Options and uninstalled the keyboard from Device Manager and rebooted but issue remained. Attached the same Logitech MX Keys wireless keyboard to two other Windows 10 computers and it did not have any issues. The issue went away completely once I turned Quick Accent off.    

### ✔️ Expected Behavior

To not have to stop and PRESS DOWN on the keyboard 

### ❌ Actual Behavior

NospacesinanythingItypedinPidginorNotepad++

### Other Software

Pidgin 2.12.0 
Notepad++ 8.3.1
Repository: go
Issue: net/http/cgi: QUERY_STRING not used when REQUEST_URI is set (Tomcat)
Labels: NeedsInvestigation

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.19.1 linux/amd64
</pre>

### Does this issue reproduce with the latest release?
Yes


### What operating system and processor architecture are you using (`go env`)?
Compile on Debian GNU/Linux 11 (bullseye)  with Intel CPU
Run on Raspbian GNU/Linux 10 (buster) with Armv7 (Raspberry Pi 3 Model B)



<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.19.1"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3827448816=/tmp/go-build -gno-record-gcc-switches"
</pre></details>

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on go.dev/play is best.
-->

I created a CGI program which parse GET Parameters with `net/http#Request.ParseForm`.
On Apache, that works.
On Tomcat, it doesn't.
The reason is a environment variable "REQUEST_URI" doesn't include parameters on Tomcat, I guess.

Environment variables:
```
[Apache]
REQUEST_URI="/cgi-bin/testcgi?id=1"
QUERY_STRING="id=1"

[Tomcat]
REQUEST_URI="/cgi-bin/testcgi"
QUERY_STRING="id=1"
```

I checked the source code of this problem.  (`net/http/cgi/child.go`)
QUERY_STRING is used only when REQUEST_URI is blank. (Am I right?)
Repository: deno
Issue: "Deno.serve()" - Better UX for 103 Early Hints on HTTP server
Labels: suggestion,ext/http

Edit: In practice Chrome only supports 103 Early Hints over HTTP/2, so I realized there is no point in sending Early Hints with the current flash server. I would appreciate it if you could introduce this in the future when HTTP/2 can be used with `Deno.serve()`.

https://chromium.googlesource.com/chromium/src/+/master/docs/early-hints.md#what_s-not-supported

-----

~~Flash server can return [103 Early Hints](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103) response.~~ It's great, but I wish there was a better UX.

```ts
// the way i currently do
import { writeAll } from "https://deno.land/std@0.154.0/streams/mod.ts";

const encoder = new TextEncoder();
const ok = (body: string) => {
  const { byteLength } = encoder.encode(body);
  const text = [
    "HTTP/1.1 103 Early Hints",
    "Link: </style.css>; rel=preload",
    "Link: </script.js>; rel=preload",
    "",
    "",
    "HTTP/1.1 200 OK",
    "Content-Type: text/plain",
    `Content-Length: ${byteLength}`,
    "",
    body,
    "",
  ].map((str) => `${str}\r\n`).join("");
  return encoder.encode(text);
};

const handler = (async (req: Request) => {
  const [conn, _firstPacket] = Deno.upgradeHttpRaw(req);

  const res = ok("hello");
  await writeAll(conn, res);

  conn.close();
}) as unknown as Deno.ServeHandler;

Deno.serve(handler);
```

I think it would be great if we could write something like the following instead of the less versatile style above. (And it should also improve performance.)


```ts
Deno.serve((req, ctx) => {
  ctx.respondInformationalResponse(
    new Response(null, {
      status: 103,
      headers: {...},
    }),
  );
  return new Response("hello");
});
```

For your reference:

- Similar discussion for hyper HTTP server: https://github.com/hyperium/hyper/issues/2426
- Library that supports 103 early hints for Node.js: https://www.npmjs.com/package/early-hints
- Since cloudflare supports 103 early hints, it would be nice to be able to use 103 early hints in deno deploy as well: https://blog.cloudflare.com/early-hints/#testing-early-hints-with-web-page-test
Repository: vscode
Issue: Option for closing the panel when editor area is used
Labels: feature-request,layout

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->


I like the features of the integrated terminal, but I like to see either the terminal or the files I edit and not both because then I don't have enough space either the file editor and nor the terminal.

While it is possible to open the terminal always maximized, I don't see an option how to automatically hide the terminal then you click on a file in the explorer section. Then you click on a file in the explorer section the terminal only resizes, which, how I have described above, I don't like.

My feature request is an option in the settings which hides the panel completely then something in the editor area has changed (e.g. clicking on a file).
Repository: excalidraw
Issue: When zoomed in, the drawing content is not displayed.
Labels: bug,performance ⚡️

Appears to occur in safari on all devices
Error message
```
Canvas area exceeds the maximum limit width * height > ******
```
Repository: PowerToys
Issue: PowerRename-need to auto rename when file created
Labels: Idea-New PowerToy

### Description of the new feature / enhancement

When a file is newly created（eg. HH.txt）the specified fold（eg. D:\）， it is automatically renamed(eg.TT-HH.txt)

### Scenario when this would be used?

When a file is newly created or moved in, it is automatically renamed

### Supporting information

_No response_
Repository: neovim
Issue: Automatic newline on save never sends a didChange notification
Labels: bug,lsp

### Neovim version (nvim -v)

v0.7.2 and v0.8.0-dev+539-g662681694

### Language server name/version

LanguageServer.jl v4.3.1

### Operating system/version

Ubuntu 20

### Steps to reproduce using "nvim -u minimal_init.lua"

init:
```
require'lspconfig'.julials.setup({})
vim.lsp.set_log_level("TRACE")
```
Opening a file, delete all lines (e.g. `ggdG`), save. The deletion of files sends a change notification, but then on save the file content has a newline appended. There is no change notification for this addition, which I believe there should be. The error doesn't happen with `:set noeol`. See https://github.com/julia-vscode/LanguageServer.jl/issues/1025 for more details.

### Expected behavior

_No response_

### Actual behavior

_No response_

### Log file

https://gist.github.com/fredrikekre/6a2fb3543893a36a9bf20355ef98e75a
Repository: godot
Issue: HTML5 export doesn't play AudioStreamPlayer audio in Safari when 'Export Type' set to 'Threads'
Labels: bug,platform:web,platform:ios,platform:macos,topic:porting

### Godot version

3.5.stable

### System information

macOS 12.5.1, Radeon Pro 560X 4 GB, Safari Version 15.6.1 (17613.3.9.1.16)

### Issue description

In a GLES2 project with HTML5 export type set to 'Threads', `AudioStreamPlayer` with every other option set to default audio works correctly in every browser except Safari.

Safari spams the following error to console:
> [Error] Output buffer has not enough frames! Skipping output frame.
	onPrintError (index.js:369)
	error (index.js:9:211645)
	(anonymous function) (index.js:9:220421)

This error is only spammed to console with 'Threads' export. Regular doesn't do it. I'm not sure if this is related to the audio issue or not so figured I'd include it.


### Steps to reproduce

Make a GLES2 project. Add an `AudioStreamPlayer` to a Node2D scene and the following GDScript:
```go
const song: AudioStreamSample = preload("res://Stage-1.wav")

onready var player: AudioStreamPlayer = $AudioStreamPlayer

func _ready() -> void:
	player.stream = song
	player.play()
```

Export to HTML5 with all options default but set 'Export Type' to 'Threads'.

### Minimal reproduction project

https://github.com/Flynsarmy/gd-audiostream-test
Repository: rust
Issue: Incorrect byte ordering SockAddrV6 flowinfo
Labels: C-bug,T-libs,A-io

According to the gnu libc documentation sockaddr_in6::sin6_flowinfo is provided in network byte ordering (see https://www.gnu.org/software/libc/manual/html_node/Internet-Address-Formats.html), as is consistent with the other fields in sockaddr_in6 which appear directly in the ipv6 header.

However, the rust's standard library SocketAddrV6 implementation does not do any conversion from network byte ordering on access: https://doc.rust-lang.org/src/std/net/addr.rs.html#481-483
Repository: godot
Issue: LSP rename not working correctly
Labels: bug,topic:gdscript,topic:thirdparty

### Godot version

v3.5.stable.arch_linux

### System information

Arch Linux

### Issue description

Original issue: https://github.com/godotengine/godot-vscode-plugin/issues/361. More details in a comment: https://github.com/godotengine/godot-vscode-plugin/issues/361#issuecomment-1241676566

The behavior depends on where you issued a rename.

```gdscript
extends Node


var test := 1


func _ready() -> void:
	test += 1
	test += 1

```

If you rename `test` on the declaration line, nothing changes. If you do it on other instances, only the original declaration line is changed.

### Steps to reproduce

See above

### Minimal reproduction project

_No response_