sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: FancyZones on custom monitor layout is vertically squished upwards when editing
Labels: Issue-Bug,FancyZones-Layouts,Product-FancyZones,Needs-Triage

### Microsoft PowerToys version

0.65.0

### Installation method

PowerToys auto-update

### Running as admin

No

### Area(s) with issue?

FancyZones Editor

### Steps to reproduce

I have three monitors laid out like this:
![image](https://user-images.githubusercontent.com/12707910/210490249-bbfa8151-f126-45ea-bad1-8cbc2cfa9d15.png)

When I go to edit a layout (since adding monitor 1), the layout grid doesn't extend all the way to the bottom of monitor 1. And the position of all flat splitters are a bit off (vertical splitters seem positioned fine).
This is what the zones draw as for my layout named "||=||". You can see that I was trying to get a few splitters to align with the top of the central monitor/screen, and had to add new ones because I couldn't grab them once I dropped one too high (by moving mouse up on monitor 1 ;-)).
![image](https://user-images.githubusercontent.com/12707910/210490631-aff732de-3257-46cf-b3fa-d90a695b87c9.png)

This is what the zones look like in use with various windows Shift-dragged into the zones as annotated:
![screen layout strangeness](https://user-images.githubusercontent.com/12707910/210493212-3276f1e1-3b7c-44af-8207-b3af0a35dfc5.png)

This is what it looks like when editing the splitters:
![image](https://user-images.githubusercontent.com/12707910/210492457-db9ccb51-0834-4cc9-aaf7-4d6a3bd0e1ff.png)

I hope this is enough info!

[PowerToysReport_2023-01-04-15-29-37.zip](https://github.com/microsoft/PowerToys/files/10341664/PowerToysReport_2023-01-04-15-29-37.zip)


### ✔️ Expected Behavior

The layout editing and actual locations on screen to agree.

### ❌ Actual Behavior

The layout while editing is vertically squished to occupy the top (approx) 80% of the virtual screen extent, but in use, there is no vertical squishing. I can't position flat splitters properly because of the 'squishing' while editing.

### Other Software

_I can't think of any software that would be interfering with this_

*Edit: to update annotated screen grab to show full extent*
Repository: tauri
Issue: [feat] pass state into a new window
Labels: type: feature request

### Describe the bug

I'm looking for a way to send data to a newly created window while using react. On the main view, a button is pressed to open a new window that shows information for a specific item.
This is my current method, but it is not elegant

`    const webview = new WebviewWindow('playControl-label', {
      url: '/playControl',
      title: 'playControl',
    });
    webview.once('tauri://created', e => {
      webview.emit('set_as_panel', payload);
    });`

`    const webview = WebviewWindow.getByLabel('playControl-label');
    webview?.listen('set_as_panel', (e) => {
      console.log('set_as_panel:', e.payload);
    });`

### Reproduction

_No response_

### Expected behavior

Ideally, there would be an option to pass properties into the window when created. For example:

`function openPanel(panelID) {
    const webview = new WebviewWindow(panelID, {
        url: 'index.html',
        title: panelID,
        width: 600,
        height: 400,
        props: { panelID: panelID } //set window properties
    })
    ...
}`

### Platform and versions

![image](https://user-images.githubusercontent.com/49396751/210496530-8c2e9ce6-34c7-458e-a4e9-22f0dd5c2f07.png)


### Stack trace

_No response_

### Additional context

Similar discussion: https://github.com/tauri-apps/tauri/discussions/4195
Repository: opencv
Issue: Generated CmakeModule.config file can not use
Labels: duplicate,question (invalid tracker),category: build/install

### System Information

```
Darwin_x86/opencv4.6.0/lib/cmake/opencv4/OpenCVModules.cmake:174 (message):
  The imported target "libprotobuf" references the file

     "//opencv4.6.0/lib/opencv4/3rdparty/liblibprotobuf.a"

  but this file does not exist.  Possible reasons include:
```

Apprently I disabled protobuf, why the cmakemodule.config still need protobuf?

### Detailed description

```
Darwin_x86/opencv4.6.0/lib/cmake/opencv4/OpenCVModules.cmake:174 (message):
  The imported target "libprotobuf" references the file

     "//opencv4.6.0/lib/opencv4/3rdparty/liblibprotobuf.a"

  but this file does not exist.  Possible reasons include:
```

Apprently I disabled protobuf, why the cmakemodule.config still need protobuf?

### Steps to reproduce

```
Darwin_x86/opencv4.6.0/lib/cmake/opencv4/OpenCVModules.cmake:174 (message):
  The imported target "libprotobuf" references the file

     "//opencv4.6.0/lib/opencv4/3rdparty/liblibprotobuf.a"

  but this file does not exist.  Possible reasons include:
```

Apprently I disabled protobuf, why the cmakemodule.config still need protobuf?

### 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: flutter
Issue: [iOS]Black screen flash before homepage when use storyboard as LaunchScreen
Labels: platform-ios,engine,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-ios,triaged-ios

**Step:**
1. Create new Flutter Project
2. Use Xcode change 'Launch Screen File' select 'Main.storyboard'
3. flutter run --release

**Problem:**
Black screen flash after launchImage before homepage when use storyboard as LaunchScreen.

https://user-images.githubusercontent.com/18301340/210504948-08ac919f-a6bb-40e1-bd86-a3a1452f2275.MP4


<details>
<summary>flutter doctor -v</summary>

```
[✓] Flutter (Channel stable, 3.3.10, on macOS 13.1 22C65 darwin-x64, locale zh-Hans-CN)
    • Flutter version 3.3.10 on channel stable at /Users/kuanggang/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (3 weeks ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/kuanggang/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.1 22C65 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available
```
</details>
Repository: PowerToys
Issue: Search within pdf, spotify, youtube 
Labels: Idea-Enhancement,Needs-Triage,Run-Plugin

### Description of the new feature / enhancement

be able to search inside pdf documents would be great.
Also playing songs from spotify, searching youtube videos from the search would be nice addition, since some other application already have these features.

### Scenario when this would be used?

saves lots of time being able to search within pdf files without having to find the exact pdf where the text that I wanna find.
For spotify and youtube, cortana doesn't help, so having these features would be great. Similar to this one:
![43535](https://user-images.githubusercontent.com/82116502/210514764-bdabc20b-8925-4e3e-a77e-68c86279a63a.png)


### Supporting information

Gave a reference picture.
Repository: PowerToys
Issue: Copyable snapshots
Labels: Needs-Triage

### Description of the new feature / enhancement

The selected text can generate a snapshot (similar to a photo), which can be sent to the other party as a file. At the same time, the contents of the snapshot can be copied (copy is very important, you can not edit, but the content must be able to copy)

### Scenario when this would be used?

Writing code.Many times I want to make a nice snapshot of the selected code and send it to the other person, who can open it and view the content and copy it

### Supporting information

![Snipaste_2023-01-04_16-49-19](https://user-images.githubusercontent.com/33871402/210517671-3158f5f0-8fdb-4926-89cb-f72e7766ea1f.png)
Repository: storybook
Issue: [Feature Request]: Ergonomic sorting within a directory
Labels: feature request,has workaround,core

### Is your feature request related to a problem? Please describe

If you use Storybook for textual documentation (mostly `.mdx` files) you cannot just sort your chapters alphabetically. It's also hard to sort them numerical by prefixing your files with numbers, if you later want to add a chapter somewhere in the middle you have to manually rename a lot of files.

Therefor you currently have to rely on changing your Storybook config, if you want to make changes to your sorting. But the people who write documentation are not necessarly the ones who also maintain the Storybook config (maybe it's even coming from a 3rd party package).

### Describe the solution you'd like

It would be nice if the sorting of your stories files could be configured in the same directory where you write your stories, but independent of the name of your files.

Maybe there is an optional `stories.config.js` file that can be applied on a directory level?

### Describe alternatives you've considered

Export a sorting array in the directory level and import it in my `preview.js`, but apparently this is not supported? Because the sorting needs to be statically analyzable?

### Are you able to assist to bring the feature to reality?

yes, I can

### Additional context

_No response_
Repository: flutter
Issue: Cannot run flutter test integration on web, it fails with not supported for integration tests yet
Labels: a: tests,c: new feature,tool,platform-web,c: proposal,f: integration_test,P3,team-web,triaged-web

## Description
Flutter Integration tests were not allowed for web and causing exception, at the same time Flutter Drive works. are there any plans on bringing in support for Flutter Integration test? since we could see document talks about migration to Flutter Test Integration & not the Flutter Drive.

### Flutter Test Integration:

> `flutter test integration_test/test/sampleIT.dart --flavor qa --dart-define=environment=qa --dart-define=listenForOtp=false --no-sound-null-safety -d web-server --no-headless`

<img width="993" alt="Screenshot 2023-01-04 at 3 17 14 PM" src="https://user-images.githubusercontent.com/108999289/210531996-636e0711-84bd-4f43-9365-f72817941903.png">

### Flutter Drive Test:
> `flutter drive --driver=test_driver/integration_test.dart --target=integration_test/test/sampleIT.dart -d web-server --no-sound-null-safety --no-headless`
Repository: flutter
Issue: Configure Splash Radius of Icon in BottomNavigationBar
Labels: c: new feature,framework,f: material design,c: proposal,P2,has partial patch,team-design,triaged-design


<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Use case
While adding a `BottomNavigationBar` in `Scaffold`, there is no property to modify the splash radius of the icon.

Kindly check below screen-recording:

https://user-images.githubusercontent.com/38665793/210537495-de6e9851-1b92-4938-a0fc-b40b90ed1a5a.mov

Current Code:

```dart
    BottomNavigationBar(
      backgroundColor: const Color(0xFFFAFAFA),
      showSelectedLabels: false,
      showUnselectedLabels: false,
      currentIndex: selectedIndex,
      onTap: onItemTap,
      type: BottomNavigationBarType.fixed,
      items: [
        const BottomNavigationBarItem(
          label: 'Home',
          activeIcon: Icon(Icons.home),
          icon: Icon(Icons.home_outlined),
        ),
      ],
    );
```

<!--
     Please tell us the problem you are running into that led to you wanting
     a new feature.

     Is your feature request related to a problem? Please give a clear and
     concise description of what the problem is.

     Describe the alternative solutions you've considered. Is there a package
     on pub.dev/flutter that already solves this?
-->

## Proposal

Add a property inside `BottomNavigationBar` as `iconSplashRadius` or `splashRadius`:

```dart
    BottomNavigationBar(
      splashRadius: 18.0, // <- suggested property (or `iconSplashRadius`)
      backgroundColor: const Color(0xFFFAFAFA),
      showSelectedLabels: false,
      showUnselectedLabels: false,
      currentIndex: selectedIndex,
      onTap: onItemTap,
      type: BottomNavigationBarType.fixed,
      items: [
        const BottomNavigationBarItem(
          label: 'Home',
          activeIcon: Icon(Icons.home),
          icon: Icon(Icons.home_outlined),
        ),
      ],
    );
```

<!--
     Briefly but precisely describe what you would like Flutter to be able to do.

     Consider attaching something showing what you are imagining:
      * images
      * videos
      * code samples

     Does this have to be provided by Flutter directly, or can it be provided
     by a package on pub.dev/flutter? If so, maybe consider implementing and
     publishing such a package rather than filing a bug.
-->
Repository: pytorch
Issue: [discussion] Analyzing a list of tensors stored as intermediate values / saved_for_backward in autograd graph
Labels: module: autograd,good first issue,triaged,actionable

### 🚀 The feature, motivation and pitch

It's useful for understanding memory usage and if memory can be saved by refatoring to fusion + inplace

The parent issue would be https://github.com/pytorch/pytorch/issues/1529, here's the scope is only on stored intermediate values in autograd graph.

But overall, being able to get a list of all tensors and storages currently allocated (including from C++) is very useful for simple form of memory profiling (even ignoring possible memory overlaps / views etc)

E.g. it would be interesting to compare theses lists for vanilla fp32 TransformerEncoder, autocast+bf16 TransformerEncoder, autocast+fp16 TransformerEncoder, BetterTransformer / efficient_attention / flash_attention variants of TransformerEncoder. This utility should also clearly demonstrate the effect of activation checkpointing / CPU offloading techniques; Reversible Transformers / Reversible ConvNets and would be very useful for pedagogical use and debugging

Some previous discussion: https://discuss.pytorch.org/t/memory-size-of-all-tensors-referenced-by-autograd-graph/169227/4

### Alternatives

_No response_

### Additional context

_No response_

cc @ezyang @albanD @zou3519 @gqchen @pearu @nikitaved @soulitzer @Lezcano @Varal7
Repository: deno
Issue: Duplicate `graphql` package due to `peerDependency` version conflict
Labels: node compat,auto-install

HI,
the following code adapted from https://graphql.org/graphql-js/running-an-express-graphql-server/
has no issue in node.js but fails in Deno


```ts
import express from 'express';
import {graphqlHTTP} from 'express-graphql';
import {buildSchema} from 'graphql';

// Construct a schema, using GraphQL schema language
var schema = buildSchema(`
  type Query {
    hello: String
  }
`);

// The root provides a resolver function for each API endpoint
var root = {
    hello: () => {
        return 'Hello world!';
    },
};

var app = express();
app.use('/graphql', graphqlHTTP({
    schema: schema,
    rootValue: root,
    graphiql: true,
}));
app.listen(4000);
console.log('Running a GraphQL API server at http://localhost:4000/graphql');
```


The following show the error while attempting to issue the query using Deno
<img width="1211" alt="image" src="https://user-images.githubusercontent.com/6662383/210547002-3f1c66b0-c281-4476-afe4-e22106c6c18d.png">


Besides, is it possible for the Deno developers to maintain a web page to show compatibility for popular node.js libraries? This useful because the users can help  test those NPM libraries and report the issues. For example, I have encounter cases where one thought is library issue turn out to be compatibility issue.
Repository: go
Issue: runtime/trace: Tracing error when catching SIGINT
Labels: NeedsInvestigation,compiler/runtime

<!--
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.4 windows/amd64
</pre>

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
set GO111MODULE=auto
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\jeremies\AppData\Local\go-build
set GOENV=C:\Users\jeremies\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\jeremies\Documents\Perso\Trunk\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\jeremies\Documents\Perso\Trunk\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.19.4
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set GOWORK=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=C:\Users\jeremies\AppData\Local\Temp\go-build511942346=/tmp/go-build -gno-record-gcc-switches
</pre></details>

### What did you do?

I am trying to trace my golang program. Here is the code I used to produce the error
```go
package main

import (
	"fmt"
	"os"
	"os/signal"
	"runtime/trace"
	"syscall"
)

func main() {
	f, err := os.Create("trace.out")
	if err != nil {
		panic(err)
	}
	defer f.Close()

	err = trace.Start(f)
	if err != nil {
		panic(err)
	}
	defer trace.Stop()

	// random stuff
	a := 0
	for i := 0; i < 10; i++ {
		a += i
	}
	fmt.Println(a)
	// end random stuff

	sigint := make(chan os.Signal, 1)
	signal.Notify(sigint, syscall.SIGINT)

	<-sigint // this creates the problem
}
```
Then I used the cmd/runtime tool but I get the following error :
```
$ go tool trace trace.out
2023/01/04 12:49:43 Parsing trace...
failed to parse trace: no consistent ordering of events possible
```

If I remove the signal catching part of the code, the tool works fine. Is this a normal behavior ? I find it weird that catching a sigint causes this. Is there a way to fix this ?

Thank you

EDIT: From what was tested, this problem only occurs on windows (i have tested it on windows 10 and 11). I also tried to use os.Interrupt, syscall.SIGTERM instead but it does not help.
Repository: tauri
Issue: [feat] Being able to have the isolation hook be specific to a window
Labels: type: feature request

### Describe the problem

Currently it doesn't seem to be possible to have the isolation hook behave differently for different windows, at least not on all platforms, since on Linux `window.__TAURI_METADATA__` is undefined within the isolation hook (and I'm also not sure if it would be safe to use `window.__TAURI_METADATA__` since it may be maliciously modified?).

### Describe the solution you'd like

I would like to either be able to either have access to the window label in the isolation hook (ideally as part of the request object) or be able to define multiple, named isolation hooks in `tauri.conf.json` that I could then add to the window, e.g. through a method on the `WindowBuilder`.

### Alternatives considered

I have not found any alternative that works on all platforms.

### Additional context

_No response_
Repository: next.js
Issue: Next.js Link component relative path navigation goes to the wrong path
Labels: bug

### 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 22.1.0: Sun Oct  9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000
    Binaries:
      Node: 16.18.0
      npm: 8.19.2
      Yarn: 1.22.19
      pnpm: N/A
    Relevant packages:
      next: 13.1.2-canary.0
      eslint-config-next: 13.1.1
      react: 18.2.0
      react-dom: 18.2.0


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

Routing (next/router, next/navigation, next/link)

### Link to the code that reproduces this issue

https://github.com/mrob11/next-navigation-bug-repro

### To Reproduce

* Run the Next project in the linked repository
* Navigate to http://localhost:3000/parent/child-a
* Click the "Soft Nav Child B" link -- will navigate to `/child-b` when `/parent/child-b` was the expected result

Using the hard navigation (i.e. a regular old `<a>` tag) will correctly navigate to `/parent/child-b`.

Demo available here: [https://next-navigation-bug-repro.vercel.app/](https://next-navigation-bug-repro.vercel.app/)

### Describe the Bug

Using a path-relative href in the next/link component does not navigate to the same final URL as  its regular anchor tag counterpart. Instead it treats the href as if it was a root-relative (e.g. `/child-b` instead of `/parent/child-b`).

### Expected Behavior

I would expect that using path-relative notation (e.g. `./sibling`) would navigate to the same place that the regular anchor tag does.

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

_No response_

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

_No response_