sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: Floating and resizable Remote Screen visualization for MWB
Labels: Needs-Triage

### Description of the new feature / enhancement

wow I've tried the Powertoys Mouse Without Borders feature on Windows and it's wonderful,
I just miss being able to see the remote screen, it would be great if the remote screen could be seen, for instance in pip mode floating on the desktop, or a window, so I could see what I am doing on the other PC.
this way I can control my home computer from the company building.

Sorry if someone has asked, I did not find any reference.
thanks so much for your work, it is amazing

### Scenario when this would be used?

Use the MWB feature but also see the remote screen in a floating and resizable window

### Supporting information

_No response_
Repository: PowerToys
Issue: Mouse Without Borders for Android and other OSs
Labels: Idea-Enhancement,Product-Mouse Without Borders

### Description of the new feature / enhancement

I would like mouse without borders to be available for android; It would be the exact same thing 

### Scenario when this would be used?

I always have my phone next to my PC and I would like to not need to  
always reach out for it when I need to use it

### Supporting information

_No response_
Repository: PowerToys
Issue: feature request: disable windows explorer automatic selection of folder type for "Optimize this folder for" function
Labels: Needs-Triage

### Description of the new feature / enhancement

This function is broken in windows 11, "Also apply this template to all subfolders" is not working so you'll need to change for EVERY folder instead of just one top folder/disk. So, it would be nice if powertoys can disable automatic selection of folder type globally/per directory.

### Scenario when this would be used?

If you have large folders with music/video/photos, especially on HDD you will get slow loading times for this folder, even NVME will not help if you have thousands of files.

### Supporting information

It is known problem that windows explorer sorts folders by metadata (which will be very slow on hdd, and slow on ssd/nvme with large folder) if "Optimize this folder for" is set to "Pictures/Music/Videos" (windows sets this type automatically, you can't disable this):

https://superuser.com/questions/487647/sorting-by-date-very-slow
https://superuser.com/questions/238825/sort-files-by-date-modified-but-folders-always-before-files-in-windows-explorer
https://superuser.com/questions/738978/how-to-prevent-windows-explorer-from-slowly-reading-file-content-to-create-metad
https://superuser.com/questions/311432/windows-7-explorer-scanning-folder-when-opening-the-folder
https://superuser.com/questions/182209/windows-7-green-bar-of-slowness-why-do-simple-tasks-like-sorting-a-folder-by-s
Repository: rust
Issue: suboptimal span for tait non-defining use caused by using the same param twice
Labels: A-diagnostics,T-compiler,F-type_alias_impl_trait

### Code

```Rust
#![feature(type_alias_impl_trait)]

trait Trait {
    fn new() -> Self;
}

type Alias<T: Trait, U: Trait> = impl Trait;

fn foo<T: Trait, U: Trait>() -> Alias<T, U> {
    let a: T = foo::<T, T>();
    U::new()
}
```


### Current output

```Shell
error: non-defining opaque type use in defining scope
  --> src/lib.rs:10:16
   |
10 |     let a: T = foo::<T, T>();
   |                ^^^^^^^^^^^^^
   |
note: type used multiple times
  --> src/lib.rs:7:12
   |
7  | type Alias<T: Trait, U: Trait> = impl Trait;
   |            ^         ^
```


### Desired output

```Shell
error: non-defining opaque type use in defining scope
  --> src/lib.rs:10:16
   |
10 |     let a: T = foo::<T, T>();
   |                      ^  ^ type used multiple times here
   |
```


### Rationale and extra context

The current span is silly it says  "type used multiple" times and then points to a place other than where we are using a type multiple times, its not even the span of the type parameter we're using twice.

### Other cases

_No response_

### Anything else?

_No response_
Repository: godot
Issue: Crash project with c-sharp 
Labels: bug,topic:dotnet

### Godot version

4.*

### System information

windows 10

### Issue description

LOG:

Project "AppGodot.csproj" (Restore target(s)):
	Project "AppGodot.csproj" (_IsProjectRestoreSupported target(s)):
	Done building project "AppGodot.csproj".
	NuGetMessageTask: Determining projects to restore...
	Project "AppGodot.csproj" (_GenerateRestoreProjectPathWalk target(s)):
	Done building project "AppGodot.csproj".
	Project "AppGodot.csproj" (_IsProjectRestoreSupported target(s)):
	Done building project "AppGodot.csproj".
	Project "AppGodot.csproj" (_GenerateRestoreGraphProjectEntry target(s)):
	Done building project "AppGodot.csproj".
	Project "AppGodot.csproj" (_GenerateProjectRestoreGraph target(s)):
	Done building project "AppGodot.csproj".
	RestoreTask: X.509 certificate chain validation will use the default trust store selected by .NET for code signing.
	RestoreTask: X.509 certificate chain validation will use the default trust store selected by .NET for timestamping.
	RestoreTask: Restoring packages for E:\Godot4\Godot\AppGodot\AppGodot.csproj...
	RestoreTask: Generating MSBuild file E:\Godot4\Godot\AppGodot\.godot\mono\temp\obj\AppGodot.csproj.nuget.g.props.
	RestoreTask: Generating MSBuild file E:\Godot4\Godot\AppGodot\.godot\mono\temp\obj\AppGodot.csproj.nuget.g.targets.
	RestoreTask: Writing assets file to disk. Path: E:\Godot4\Godot\AppGodot\.godot\mono\temp\obj\project.assets.json
	RestoreTask: Restored E:\Godot4\Godot\AppGodot\AppGodot.csproj (in 245 ms).
	RestoreTask: 
	RestoreTask: NuGet Config files used:
	RestoreTask:     C:\Users\pc-system\AppData\Roaming\NuGet\NuGet.Config
	RestoreTask:     C:\Users\pc-system\AppData\Roaming\NuGet\config\Godot.Offline.Config
	RestoreTask:     C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config
	RestoreTask: 
	RestoreTask: Feeds used:
	RestoreTask:     https://api.nuget.org/v3/index.json
	RestoreTask:     C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
Done building project "AppGodot.csproj".
Project "AppGodot.csproj" (default targets):
	C:\Program Files\dotnet\sdk\7.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(1185,3): error MSB4020: The value "" of the "Project" attribute in element <Import> is invalid. [E:\Godot4\Godot\AppGodot\AppGodot.csproj]
Done building project "AppGodot.csproj" -- FAILED.

### Steps to reproduce

1. create a project (okay)
2. add a scene (okay)
3. add c-sharp file (okay)
4. run the scene (error)

### Minimal reproduction project

N\A - base project



How to fix? 

why is there no project generation during its creation? this happens after adding the sharp file. i constantly come across some problems that could be solved, but then the assembly just stopped working.
Repository: next.js
Issue: Having both NextJS and Strapi in the same monorepo makes linting fail (regression)
Labels: bug

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
      Platform: darwin
      Arch: x64
      Version: Darwin Kernel Version 19.6.0: Tue Jun 21 21:18:39 PDT 2022; root:xnu-6153.141.66~1/RELEASE_X86_64
    Binaries:
      Node: 18.11.0
      npm: 8.19.2
      Yarn: 1.22.19
      pnpm: N/A
    Relevant packages:
      next: 13.4.4-canary.10
      eslint-config-next: 13.4.4-canary.10
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.0.4
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

Package manager (npm, pnpm, Yarn)

### Link to the code that reproduces this issue or a replay of the bug

https://github.com/liarco/nextjs-plus-strapi-error

### To Reproduce

```bash
$ git clone git@github.com:liarco/nextjs-plus-strapi-error.git && cd nextjs-plus-strapi-error && yarn start
```

This initializes a brand new project which is affected by the issue.

A few considerations:
- the project is initialized using Yarn as the issues seems to be related to the workspaces feature. I couldn't make it work with `yarn create next-app@canary` because that throws an error so the NextJS project is created with the latest stable version, but I personally tested `canary` manually as well and the result is the same
- the [Strapi](https://strapi.io/) app is just a `package.json` file because the issue is caused by the resolved dependencies, there is no problem with the apps themself as I have been using them together with no issues in the past months
- pls note that there's a `yarn reset` command inside the reproduces to run it multiple times faster, but it uses the `rm -rf ...` command to delete the project files, just so you know...

### Describe the Bug

Trying to run `yarn lint` from a monorepo with Strapi installed results in the following error:
```
Failed to load parser './parser.js' declared in '.eslintrc.json » eslint-config-next/core-web-vitals » /PROJECT_PATH/node_modules/eslint-config-next/index.js': Cannot find module 'next/dist/compiled/babel/eslint-parser'
Require stack:
- /PROJECT_PATH/node_modules/eslint-config-next/parser.js
- /PROJECT_PATH/node_modules/@eslint/eslintrc/dist/eslintrc.cjs
```

### Expected Behavior

All modules should be resolved with no errors.

### Which browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_
Repository: PowerToys
Issue: Always on Top - minimize into icon
Labels: Needs-Triage

### Description of the new feature / enhancement

the always on top is great. but sometimes you want to see things behind it and moving covers other things... i know you minimize the window, but what if Power Toys added an icon to minimize it into a app icon? that way we could toogle it on and off . or even something to make transparente... 

### Scenario when this would be used?

needing more screen

### Supporting information

_No response_
Repository: PowerToys
Issue: Quick Accent: Arabic Diacritics (Harakat)
Labels: Needs-Triage,Product-Quick Accent

### Description of the new feature / enhancement

Add a visual interface similar to Quick Accent (Or add Arabic support to Quick Accent) to add diacritics (AKA Tashkil or Harakat) to Arabic letters, the current way to do this is by using some keybindings, which is inconvenient.
Arabic diacritics look like accents, they aren't necessary for experienced Arabic speakers but it makes reading easier and more precise for new learners and students. Harakat specify how to pronounce a letter, for example: ب = B, بَ = Ba, بِ = Be, بُ = Bo, etc.

### Scenario when this would be used?

When writing books, poems, snippets from The Quran, formal speech or general Arabic writing.

### Supporting information

See [Arabic diacritics - Wikipedia](https://en.wikipedia.org/wiki/Arabic_diacritics)
Repository: opencv
Issue: KDTree Index doesn't handle floating point NaN value
Labels: bug

### System Information

OpenCV Version: 4.7.0
Operating System: macOS Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar  6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000 arm64
Python version: Python 3.11.3

### Detailed description

When input descriptors contain `NaN` (or `inf`, or very large floating point number) can cause the KDTree index to break while BFMatcher is fine.

## KDTree Index

```
>>> matcher
< cv2.FlannBasedMatcher 0x10421f0f0>
>>> des1
array([[ 1.,  2.,  3.],
       [nan, nan, nan]], dtype=float32)
>>> des2
array([[1., 2., 3.],
       [4., 5., 6.]], dtype=float32)
>>> matcher.knnMatch(des1, des2, k=2)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
cv2.error: OpenCV(4.7.0) /tmp/opencv-20230423-16173-kbjcfg/opencv-4.7.0/modules/flann/include/opencv2/flann/kdtree_index.h:468: error: (-215:Assertion failed) result.full() in function 'getNeighbors'
```

## BFMatcher

```
>>> matcher2 = cv2.BFMatcher()
>>> matcher2.knnMatch(des1, des2, k=2)
((< cv2.DMatch 0x1449dc190>, < cv2.DMatch 0x1449dc250>), ())
>>>
```


Seems like the error comes from [this Assert](https://github.com/opencv/opencv/blob/0052d46b8e33c7bfe0e1450e4bff28b88f455570/modules/flann/include/opencv2/flann/kdtree_index.h#L468)

And it's caused by [this line](https://github.com/opencv/opencv/blob/0052d46b8e33c7bfe0e1450e4bff28b88f455570/modules/flann/include/opencv2/flann/result_set.h#L192) in the `ResultSet` floating point NaN comparison is problematic. 

### Steps to reproduce

See Description. 

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [X] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: terminal
Issue: hard to view the top right icons when Mica is enabled
Labels: Help Wanted,Issue-Bug,Product-Terminal,Area-Theming

### Windows Terminal version

1.17.11391

### Windows build number

10.0.22621.1778

### Other Software

_No response_

### Steps to reproduce

Create a custom theme and enable Mica:
```
        {
            "name": "Mica",
            "tab": 
            {
                "background": null,
                "showCloseButton": "always",
                "unfocusedBackground": null
            },
            "tabRow": 
            {
                "background": "#00000000",
                "unfocusedBackground": null
            },
            "window": 
            {
                "applicationTheme": "system",
                "useMica": true
            }
        }
```

### Expected Behavior

_No response_

### Actual Behavior

![image](https://github.com/microsoft/terminal/assets/1913505/bf87d43c-ee21-41e8-b777-3cc9f030df1e)
Repository: go
Issue: x/sys/unix: IoctlGetInt broken on 64-bit big-endian platforms
Labels: help wanted,NeedsFix,compiler/runtime

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.20.3 linux/amd64
$ go list -m golang.org/x/sys
golang.org/x/sys v0.8.1-0.20230523194307-b5c7a0975ddc
</pre>

### What operating system and processor architecture are you using (`go env`)?

```
GOARCH=s390x
GOOS=linux
```

(using QEMU on an amd64 host)

### What did you do?

```go
package main

import (
	"fmt"
	"os"

	"golang.org/x/sys/unix"
)

func main() {
	tty, err := os.OpenFile("/dev/tty", os.O_RDWR, 0)
	if err != nil {
		panic(err)
	}
	pgid, err := unix.IoctlGetInt(int(tty.Fd()), unix.TIOCGPGRP)
	fmt.Println(pgid, unix.Getpgrp())
}
```

### What did you expect to see?

Same number twice, as on amd64:

```
$ go run pgrp.go
101981 101981
```

### What did you see instead?

```
$ GOARCH=s390x go run pgrp.go
438060894388224 101994
```

The first number is 101994<<32. I believe this happens because IoctlGetInt passes a pointer to a Go int to the system call:

```go
func IoctlGetInt(fd int, req uint) (int, error) {
        var value int
        err := ioctlPtr(fd, req, unsafe.Pointer(&value))
        return value, err
}
```

The ioctl system call expects a pointer to a C int. Passing a Go int means it stores the pgid in the upper 32 bits.

Note that IoctlSetPointerInt passes a pointer to an int32:

```go
func IoctlSetPointerInt(fd int, req uint, value int) error {
        v := int32(value)
        return ioctlPtr(fd, req, unsafe.Pointer(&v))
}
```
Repository: vscode
Issue: Mouse wheel scroll does not respect windows mouse settings
Labels: bug,trackpad/scroll

<!-- ⚠️⚠️ 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. -->
In Windows settings I can change the mouse wheel scroll option to "Multiple lines at a time". It works nice in the browser but VSC ignores this settings.
Repository: vscode
Issue: Focus on already opened editor instead of default editor provided by extension
Labels: bug,help wanted,custom-editors

<!-- ⚠️⚠️ 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. -->

Sometimes I open a file with the text editor instead of a `customEditor`. In this case, when this editor is still open and that I click in Explorer view on the file, I would like to have the focus on the text editor as there is already an opened editor for it.

Currently it is opening another editor for the same file:

![openingWithAnotherEditorThanTheAlreadyOpenedOne](https://github.com/microsoft/vscode/assets/1105127/877b9e2f-c561-458d-a84b-c4361b10805e)

I'm wondering if it would make sense to even remember the last type of editor used for each file so that it will reopen will last editor used even if editor is still opened or not.
Repository: PowerToys
Issue: Switch from Machine Wide to Per User install
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.70.0

### Installation method

GitHub

### Running as admin

No

### Area(s) with issue?

General

### Steps to reproduce

I have machine wide installation of PowerToys. I removed machine wide installation and I installed per user installation.

### ✔️ Expected Behavior

Keep all PowerToys settings and shortcuts

### ❌ Actual Behavior

lost settings and shortcuts

### Other Software

_No response_
Repository: neovim
Issue: Cannot set the type of the previous Visual selection
Labels: enhancement,marks

### Problem

nvim_buf_set_mark has no effect under this situation

### Steps to reproduce

* `$ echo abcdefghijk | nvim --clean -`
* `:so test.lua`
* `V<esc>`
* `:so test.lua`

test.lua
```
local api = vim.api

local bufnr = api.nvim_get_current_buf()

api.nvim_buf_set_mark(bufnr, "<", 1, 2, {})
api.nvim_buf_set_mark(bufnr, ">", 1, 5, {})
vim.cmd("normal! gv")
```

### Expected behavior

```
api.nvim_buf_set_mark(bufnr, "<", 1, 2, {})
api.nvim_buf_set_mark(bufnr, ">", 1, 5, {})
```
should be honored.

### Neovim version (nvim -v)

0.9.0

### Vim (not Nvim) behaves the same?

N/A

### Operating system/version

archlinux

### Terminal name/version

st 0.9

### $TERM environment variable

st-256color

### Installation

system package manager
Repository: pytorch
Issue: after add /path_to_libtorch/libtorch/lib to LD_LIBRARY_PATH, I can't import torch_scatter.
Labels: module: build,module: cpp,module: abi,triaged

### 🐛 Describe the bug

To compile and use libtorch, I add libtorch/lib to $LD_LIBRARY_PATH. However, it causes error if I import torch_scatter. The following is the error:
>>> import torch_scatter
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.8/site-packages/torch_scatter/__init__.py", line 16, in <module>
    torch.ops.load_library(spec.origin)
  File "/usr/lib/python3.8/site-packages/torch/_ops.py", line 643, in load_library
    ctypes.CDLL(path)
  File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /usr/lib/python3.8/site-packages/torch_scatter/_version_cuda.so: undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKSs

It looks like there is a conflict.
Once I remove the "/path_to_libtorch/libtorch/lib" from LD_LIBRARY_PATH, the problem will disappear. However, I will not be able to use libtorch anymore.

### Versions

python 3.8
torch == 2.0.0+cu117
torchvision==0.15.1+cu117
torchaudio==2.0.1+cu117

cc @malfet @seemethere @jbschlosser
Repository: stable-diffusion-webui
Issue: [Feature Request]: To do correct preview thumbnail files priority
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 have some model with two preview files (`mymodel.jpg`, `mymodel.preview.png`). `mymodel.preview.png` - is thumbnail file in extra networks, download by extenson. It doesn't suit me and so I put in `mymodel.jpg`.

BUT! AUTOMATIC1111 nevertheless load `mymodel.preview.png`.

If I have `mymodel.jpg` and `mymodel.preview.jpg` all correct. Loading `mymodel.jpg`.

 It's strange behavior.


### Proposed workflow

To do correct files priority.

High priority: `mymodel.[any supported image format]`
Low priority: `mymodel.preview.[any supported image format]`


### Additional information

_No response_
Repository: PowerToys
Issue: Differentiate activated/ deactivated tools in sidebar
Labels: Idea-Enhancement,Needs-Triage

### Description of the new feature / enhancement

I would suggest to show activated and deactivated tools in the sidebar differently. 

### Scenario when this would be used?

Right now, I have to check every available tool in the sidebar to see which one is activated and which on is deactivated. 
Showing activated/ deactivated tools differently (e.g., deactivated tools greyed-out) I can see right away which tools I am using.

### Supporting information

_No response_
Repository: terminal
Issue: Dragging a tab off in space shows the red circle (not allowed) icon
Labels: Issue-Bug,Area-UserInterface,Product-Terminal,Tracking-External,External-Blocked-WinUI3

### Windows Terminal version

1.18.230522001-preview

### Windows build number

10.0.19045.2965

### Other Software

_No response_

### Steps to reproduce

Drag a tab.

### Expected Behavior

_No response_

### Actual Behavior

The not allowed icon (white square and red circle with red diagonal)  is displayed even though the action is successful.

Also, the `Settings` tab can be dragged off resulting in multiple open settings windows.