sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: ant-design
Issue: arrowPointAtCenter is not correct
Labels: 🐛 Bug,help wanted,Inactive,4.x

<img width="277" alt="图片" src="https://user-images.githubusercontent.com/507615/193207589-c3ad334f-424a-4899-aacc-b32b4d914207.png">

https://4x.ant.design/components/popover-cn
Repository: flutter
Issue: `backgroundBlendMode: BlendMode.clear` is rendered as black instead of transparent using `AndroidSurfaceView`
Labels: platform-android,framework,engine,a: platform-views,has reproducible steps,P2,found in release: 3.4,found in release: 3.5,team-android,triaged-android

## Steps to Reproduce

1. upgrade flutter version 3.3.1 from 2.x.x
2. in my code BlendMode.clear is black
3. but in version 2.x.x BlendMode.clear is transparent

**Expected results:** <!-- what did you want to see? -->
transparent

**Actual results:** <!-- what did you see? -->
black
<details>
<summary>Code sample</summary>

https://www.dartpad.dev/?id=e75b493dae1287757c5e1d77a0dc73f1


```dart
@override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      backgroundColor: Colors.orange,
      body: Stack(
        children: [
          Container(
            decoration: const BoxDecoration(
              color: Colors.red,
            ),
            width: 800,
            height: 600,
          ),
          Container(
            decoration: const BoxDecoration(
              color: Colors.blue,
            ),
            width: 400,
            height: 300,
          ),
          Container(
            decoration: const BoxDecoration(
              color: Colors.green,
              backgroundBlendMode: BlendMode.clear,
            ),
            width: 100,
            height: 100,
          ),
        ]
      ),
    );
  }
```

</details>

<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue. If there is a crash, please include
      the entirety of the crash log including the backtrace.
-->

```
```

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
```

</details>


<!--
      Consider also attaching screenshots and/or videos to better
      illustrate the issue.

      You can upload them directly on GitHub.
      Beware that video file size is limited to 10MB.
-->

![image](https://user-images.githubusercontent.com/38067791/193214261-73befd16-3f58-4af2-8434-810443cf0c30.png)
Repository: go
Issue: x/exp/apidiff: has a missing case in check whether a struct implements a interface
Labels: NeedsInvestigation

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go1.18
</pre>

### Does this issue reproduce with the latest release?

<pre>
yes
</pre>


### What operating system and processor architecture are you using (`go env`)?

<pre>
$ go env
GOHOSTARCH="amd64"
GOOS="linux"
</pre>


### 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.
-->

First, I create two packages named old and new in different folders, and create a file in each package.
The file content is here.
```
// the file in old package
package demo

type Iface interface{
	Func()
}

type S struct {}

func (s *S) Func() {}
```
```
// the file in new package
package demo

type Iface interface{
	Func()
}

type S struct {}

// func (s *S) Func() {}
```
And I use apidiff to diff these two packages
```
func ImplementTest() {
	// get pkgs in old package
	oldDir := "/the/old/package/path"
	oldCfg := &packages.Config{
		Mode:  packages.NeedTypes | packages.NeedName | packages.NeedImports | packages.NeedDeps,
		Tests: false,
		Dir:   oldDir,
	}
	oldPkgs, err := packages.Load(oldCfg, "./...")
	if err != nil {
		fmt.Println("packages.Load() error: ", err.Error())
	}
	// then do same action in new package
	// ...
	
	// then use apidiff the diff them
	for _, op := range oldPkgs {
		for _, np := range newPkgs {
			if op.Name == np.Name {
				fmt.Println(apidiff.Changes(op.Types, np.Types))
			}
		}
	}
}
```

### What did you expect to see?

<pre>
Incompatible changes:
- (*S).Func: removed
- (*S): no longer implements Iface
</pre>


### What did you see instead?

<pre>
Incompatible changes:
- (*S).Func: removed
</pre>

### The problem I found

Problem location
```
// in file apidiff.go
// line 109 ~ 116
for otn2, nt2 := range d.correspondMap {
	if otn1 == otn2 {
		continue
	}
	if types.Implements(otn2.Type(), oIface) && !types.Implements(nt2, nIface) {
		d.incompatible(otn2, "", "no longer implements %s", objectString(otn1))
	}
}
```

This code can only check whether S implements Iface, but cannot check whether *S implments Iface, which is the reason why the results I get are not as expected.
Whether this code should be changed to this?
```
// in file apidiff.go
// line 109 ~ 116
for otn2, nt2 := range d.correspondMap {
	if otn1 == otn2 {
		continue
	}
	if types.Implements(otn2.Type(), oIface) && !types.Implements(nt2, nIface) {
		d.incompatible(otn2, "", "no longer implements %s", objectString(otn1))
	}
	// to check whether *S implements interface
	if types.Implements(types.NewPointer(otn2.Type()), oIface) && !types.Implements(types.NewPointer(nt2), nIface) {
		d.incompatible(otn2, "", "no longer implements %s", objectString(otn1))
	}
}
```
Repository: godot
Issue: Control.set_anchors_preset not work as expect
Labels: discussion,topic:gui

### Godot version

v4.0.beta2.official [f8745f2f7]

### System information

Windows 10 64bit

### Issue description

In the docs, it say:
![image](https://user-images.githubusercontent.com/35988767/193226043-d292fe52-e70a-45a7-a704-f9b2a6039670.png)

In the 2D editor, I can set the anchors preset as expect:
![GIF](https://user-images.githubusercontent.com/35988767/193226603-5d62a269-620e-4e9f-9317-05c60e4d1c7a.gif)

And I want set preset with code:
![image](https://user-images.githubusercontent.com/35988767/193226778-6dac61f8-6221-414b-88be-809f18e4d386.png)

But there wasn't any effect:
![GIF](https://user-images.githubusercontent.com/35988767/193227733-8ec30fa6-d523-401f-8cff-13ae77605164.gif)


### Steps to reproduce

Please run the reproduction project

### Minimal reproduction project

[AnchorTest.zip](https://github.com/godotengine/godot/files/9682241/AnchorTest.zip)
Repository: pytorch
Issue: Discrepancy in output shape for batch_norm inference mode between CUDA and CPU
Labels: module: nn,module: cuda,triaged,actionable

### 🐛 Describe the bug

For CPU inputs `torch.native_batch_norm` returns 0-sized outputs, but for CUDA inputs it returns a copy of `running_mean` argument and inverse of standard deviation.
What's the reason for this discrepancy and what's the correct output? Can we align the behavior of two backends?

CPU code path:
https://github.com/pytorch/pytorch/blob/8f4edf1e1dc9419f0bab66a67c8f149d7b53fc25/aten/src/ATen/native/Normalization.cpp#L684-L687

CUDA code path:
https://github.com/pytorch/pytorch/blob/fe87ae692f813934d1a74d000fd1e3b546c27ae2/aten/src/ATen/native/cuda/Normalization.cu#L440-L443

### Versions

Latest master.

cc @albanD @mruberry @jbschlosser @walterddr @kshitij12345 @saketh-are @ngimel
Repository: flutter
Issue: Tap gesture is not detected on iOS status bar after hot restart when `SystemUiMode.edgeToEdge` is set.
Labels: platform-ios,framework,t: hot reload,f: gestures,has reproducible steps,P2,found in release: 3.4,found in release: 3.5,team-ios,triaged-ios

I've created a minimal flutter app to reproduce the issue. I do admit I'm not totally sure if that's expected behavior or if it's a bug.

**Expected results:** The tap on status bar gesture gets detected
**Actual results:** the tap on status bar gesture is not detected in SystemUiMode.edgeToEdge

You can run the example app provided and follow along:
If you switch SystemUiMode from edgeToEdge to immersive you get different behavior. With "immersive" the tap on status bar gesture gets recognized as expected and "tap detected" prints to the console. If you try "edgeToEdge" the tap doesn't get detected anymore and no print output.

Flutter 3.3.3
iOS Simulator iPhone 14 iOS 16.0

edit: initially reproducable and mentioned inconsistencies couldn't be reproduced anymore with Flutter 3.3.3

<details>
<summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(
    const FooWidget(),
  );
}

class FooWidget extends StatelessWidget {
  const FooWidget({
    Key? key,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
    return GestureDetector(
      onTap: () => print("tap detected"),
      child: Directionality(
        textDirection: TextDirection.ltr,
        child: Container(
          color: Colors.blueAccent,
          child: const Center(
            child: Text("centered text"),
          ),
        ),
      ),
    );
  }
}
```

</details>
Repository: next.js
Issue: Middleware rewrites with shallow navigation break query object from Next router
Labels: bug,Middleware

### 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: Mon Aug 22 20:19:52 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T6000
    Binaries:
      Node: 16.13.0
      npm: 8.19.1
      Yarn: 1.22.17
      pnpm: N/A
    Relevant packages:
      next: 12.3.2-canary.15
      eslint-config-next: 12.3.1
      react: 18.2.0
      react-dom: 18.2.0

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

Safari Version 16.0 (17614.1.25.9.10, 17614)

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

Vercel

### Describe the Bug

When using middleware for server side AB tests (rewriting the url) having a shallow navigation to the same dynamic page with a different query causes the NextJS router to no longer return the correct query parameters.

```
[Log] query – {test: "at-worlds-end"}

// After shallow navigating to a different page

[Log] query – {}
```

### Expected Behavior

I expect the NextJS router to give back the query parameters from the url after making a shallow navigation while using middleware to rewrite the url server side.

### Link to reproduction

https://codesandbox.io/s/youthful-antonelli-3ifojo

### To Reproduce

Visit the link and use one of the anchor tags to navigate from one dynamic page to another dynamic page. All of these pages are on the same dynamic route: `/[test]/page`. However the middleware will give you an AB test that internally rewrites you to `/[test]/new-page`. The A version will give you the title in black and the B version in red. Currently the test is setup to always give you the B version.

After navigating the query object that from the NextJS router will return an empty object instead of showing the value from the URL. When changing the cookie manually to "Original" to get the A version of the test the shallow navigation will keep giving the correct value.

This issue appears both on development and production mode.
Repository: godot
Issue: Vulkan: Project manager displays as black on macOS (Intel UHD Graphics 617)
Labels: bug,platform:macos,topic:rendering,topic:thirdparty,needs testing

### Godot version

4.0 beta 1 and 4.0 beta 2 macos universal

### System information

OSX 10.14.6, 1.6 GHz Intel Core i5, Intel UHD Graphics 617 1536mb, Air 2018 retina display

### Issue description

All Godot windows do not display content (!). Windows can be repositioned, and resized but the content is black. This does not happen with Godot 3.5.

<img width="590" alt="black window - 'project manager'" src="https://user-images.githubusercontent.com/726551/193228639-c925c207-80d2-4d9e-9ec0-5200839aa483.png">

<img width="581" alt="black window - 'about godot'" src="https://user-images.githubusercontent.com/726551/193228633-fa342411-1c93-46dc-a421-331dc04e381e.png">

When opening Godot the OS X Console throws this error for the 'tccd' process: 

> "Prompting policy for hardened runtime; service: kTCCServiceAppleEvents requires entitlement com.apple.security.automation.apple-events but it is missing for ACC:{ID: org.godotengine.godot, PID[13559], auid: 501, euid: 501, binary path: '/Applications/Godot.app/Contents/MacOS/Godot'}, REQ:{ID: com.apple.appleeventsd, PID[64], auid: 55, euid: 55, binary path: '/System/Library/CoreServices/appleeventsd'}"

When quitting Godot, the OS X Console throws these 2 errors for the 'Godot' process: 

> "CMIOHardware.cpp:339:CMIOObjectGetPropertyData the System is exiting"

> "CMIO_DALA_System.cpp:264:GetPropertyData error 1970171760 (<private>) getting property selector (<private>) scope (<private>) element 0"`



The OS Console app has many other errors too but it's difficult to see which are triggered by Godot.




### Steps to reproduce

1. Open application. The windows shown all have black content for me.

### Minimal reproduction project

No project required.
Repository: ant-design
Issue: table 表格删除当前页面的所有数据之后，当前页面数据为空，页码发生了变化但是并没有触发页码的 onChange 事件
Labels: Inactive

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ji-ben-yong-fa-antd-4-23-3-forked-dclroz?file=/demo.js)

### Steps to reproduce

1. 页码翻倒最后一页
2. 删除当前页面的所有数据
3. 当前页面数据为空，页码发生了变化，但是没有触发 onChange 事件

### What is expected?

远程请求数据时，删除了最后一页的所有数据，页码改变之后我需要自动触发 onChange 事件，以便再次请求数据

### What is actually happening?

当前前页面数据删除为空，页码发生了变化，但是没有触发 onChange 事件

| Environment | Info |
| --- | --- |
| antd | 4.20.7 |
| React | 18.0.0 |
| System | Windows 10  64 位 |
| Browser | google |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: storybook
Issue: Cannot add a mailto link to mdx documentation
Labels: bug,needs triage

**To Reproduce**
I tried adding a `[Contact Us](test@gmail.com).` to my documentation page written in mdx, 

But when I click on it i'm redirected to http://localhost:4400/mailto:test@gmail.com, instead of opening an email

**To Reproduce**
1. Make a file named test.stories.mdx
2. Add the line `[Contact Us](mailto:test@gmail.com)`.
3. Click on the link

**System**
Environment Info:

  System:
    OS: macOS 12.6
    CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
  Binaries:
    Node: 16.10.0 - ~/.nvm/versions/node/v16.10.0/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 6.14.8 - /usr/local/bin/npm
  Browsers:
    Chrome: 106.0.5249.61
    Firefox: 95.0
    Safari: 16.0
  npmPackages:
    @storybook/addon-essentials: ~6.5.9 => 6.5.9 
    @storybook/addon-notes: ^5.3.21 => 5.3.21 
    @storybook/addon-postcss: ^2.0.0 => 2.0.0 
    @storybook/core-server: ~6.5.9 => 6.5.9 
    @storybook/html: ~6.5.9 => 6.5.9 
    @storybook/web-components: ^6.5.9 => 6.5.9
Repository: vscode
Issue: Make tree view more stable
Labels: ux,file-explorer,polish

<!-- ⚠️⚠️ 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. -->

## Make tree view UI more stable
When I'm using the tree view, I often find myself losing the item I'm working with and needing some moment to re-discover it. I have found a reproducible scenario in which this happens and recorded a video of it.

### Video
https://user-images.githubusercontent.com/153391/193243131-34b66936-bde2-4969-a8da-161a2a4327ef.mov

### Description
Basically, when I create a new folder below an existing one, the tree view will add a new item below the folder and expand that folder to make it visible. I am assuming that there is some code there that makes sure that the new item will be in view (which makes sense), but that code is a bit heavy-handed and often the tree view will scroll even when there seems to be no real reason to do so, causing a disconcerting jump making me lose track of where the item I'm working with is and having to re-discover it. This takes me out of my focus and happens quitte often, because the tree view is such a central widget in the VSCode UI. 

I found that whether this happens or not and how far the jump will be seems to be related to the length of the scroll bar and the position of the folder you create a new item under. Ironically it seems to be worse when the item is high up in the view, even though that actually means that there is no need to scroll at all. I expect this scrolling to occur only when really needed. In general I'd like to be in control of the scrolling as much as possible, so that the position of all items remains stable unless I change it myself.

### Feature or bug, you decide
I'm posting this as a feature request, but some might consider it a bug... I see you have 5K issues already, so probably this one would have low priority, but when it's time for you guys to see what you might improve in VSCode UI-wise, I hope you consider this one as it is a very central component and probably it will turn out to not be that hard to fix.
Repository: youtube-dl
Issue: New extractor for sanmarinortv.sm
Labels: site-support-request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.12.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2021.12.17**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single video: https://www.sanmarinortv.sm/news/cultura-c6/il-sacro-don-gramentieri-in-colorama-a230079
- Playlist: https://www.sanmarinortv.sm/news/cultura-c6


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

An extractor for RTV San Marino (https://www.sanmarinortv.sm/) is missing.
I found that video address starts with: https://d2hrvno5bw6tg2.cloudfront.net/s3-player/, probably it's a common service used by other extractors.

Thanks a lot
Repository: create-react-app
Issue: Chrome Dev Tools not showing variable values on mouseover
Labels: needs triage

Hi,

I am trying to debug my cra-application (typescript) with chrome dev tools.

The normal behavior was to hover over a variable to see it's value(s) inside the sources tab.
That seems to be not working with react-scripts@5.0.1

If I downgrade to react-scripts 4.0.3 it is working again.

5.0.1 behavior:
![image](https://user-images.githubusercontent.com/62015648/193258082-b677b693-ad36-40d3-8ff5-01bf649ec477.png)

4.0.3 behavior:
![image](https://user-images.githubusercontent.com/62015648/193258377-04351068-b66e-456e-843b-40f5ffc9eb84.png)


Am I doing something wrong?

To reproduce you can just create a new react-app using create-react-app --template typescript and test.
Then just downgrade the react-scripts version.
Repository: vscode
Issue: Merge Editor: Optimize Labels For Various Git Merge Conflicts
Labels: feature-request,under-discussion,merge-editor

There are various ways git can encounter a merge conflict. We should make sure the labels make sense and the merge editor can be opened in all cases.

Currently, by default, the labels are "incoming" and "current".

Conflicts can happen when
* merging a branch into the current branch: `git checkout myfeature; git merge main`
   * the current branch is "current", the branch that is merged into the current one becomes "incoming"
* rebasing the current branch on to a different branch: `git checkout myfeature; git rebase main`
    * the different branch becomes "current", the commits of the current branch "incoming".
    * This could be confusing. Especially since intermediate commits of the current branches have no labels.
* pushing a new commit to a remote branch that has changes that haven't been fetched yet: `git pull` / `git pull --rebase`
   * the current branch is "current", the upstream branch becomes "incoming"
* applying a stash: `git stash pop`
   * the current branch is "current", the stashed changes become "Stashed changes"

Ideas:
* For rebases, it could be helpful to follow parent-reverse pointers to see how far away the commit to rebase is from the branch that is being rebased.
* Tooltip on Current/Incoming could help ("commit being rebased", "new parent of the rebased commit")
Repository: vscode
Issue: Lock icon inconsistency between output and editor groups
Labels: ux,polish

We recently changed the output lock icon to show a lock when the output is not locked (@mjbvz @sandy081). However we have other locations in the UI that use the lock icon, for example when you open a second editor group, you can lock it from the "..." menu:

<img width="673" alt="image" src="https://user-images.githubusercontent.com/900690/193274118-957c754b-275a-4912-b054-8008406f6b65.png">

Here the icon indicates the current state, where as in output channel it indicates the state after clicking.

This is a UX inconsistency.
Repository: go
Issue: x/pkgsite: change go.mod link to proxy.golang.org's go.mod link
Labels: pkgsite,proxy.golang.org

Currently, the go.mod link in the details section is linked to the source repository's go.mod file.

Example: https://pkg.go.dev/github.com/pedroalbanese/edgetk@v1.2.3 
![Screen Shot 2022-09-30 at 9 15 08 AM](https://user-images.githubusercontent.com/4999471/193277767-f52ed4de-8d40-48a0-9e3e-69d8778a8b56.png)

But it's not guaranteed that the source still hosts the file or the same content.
Instead use the link to the proxy.golang.org's .mod endpoint. For example,

`https://proxy.golang.org/<proxy-protocol-encoded-module-path>/@v/<canonical-version>.mod`