sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: opencv
Issue: NaN values in cv::fisheye::estimateNewCameraMatrixForUndistortRectify
Labels: bug,category: calib3d,confirmed

### System Information

OpenCV master.
Operating System / Platform: macOS 11.7
Compiler & compiler version: Apple clang version 12.0.0

### Detailed description

Fisheye calibration was successful - intrinsic matrix and distortion parameters are similar to the ground truth, but cv::fisheye::estimateNewCameraMatrixForUndistortRectify returns NaN values when I try to find a new calibration matrix:

[nan, 0, nan;
 0, nan, nan;
 0, 0, 1]


### Steps to reproduce

```cpp
#include <iostream>
#include <opencv2/core.hpp>
#include <opencv2/calib3d.hpp>

void test_initUndistortRectifyMap() {
	cv::Matx33d K(1.20017697e+03, -1.42041106e-01,  9.51246069e+02,  0.00000000e+00,  1.19942873e+03,  6.01045081e+02,  0.00000000e+00,  0.00000000e+00,  1.00000000e+00);
	cv::Vec4d D(-0.99137234, -0.1205525 ,  0.36863644, -1.0656211);
    cv::Size img_size(1900, 1200);
	const float balance = 0;
	cv::Matx33d I = cv::Matx33d::eye();
	cv::Mat K_new;
	cv::fisheye::estimateNewCameraMatrixForUndistortRectify(K, D, img_size, I, K_new, balance);
	std::cout << K_new << "\n";
}
```
### 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: [webview_flutter] Add support for detecting process termination on Android
Labels: c: new feature,p: webview,package,c: proposal,team-ecosystem,P2,triaged-ecosystem

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

WebView APIs for Android and iOS provide support for handling process termination:

Android: [WebViewClient.onRenderProcessGone](https://developer.android.com/reference/android/webkit/WebViewClient#onRenderProcessGone(android.webkit.WebView,%20android.webkit.RenderProcessGoneDetail))

iOS: [WKNavigationDelegate.webViewWebContentProcessDidTerminate](https://developer.apple.com/documentation/webkit/wknavigationdelegate/1455639-webviewwebcontentprocessdidtermi?language=objc)

`webview_flutter_wkwebview` currently supports the method as a `WebResourceError` in the [NavigationDelegate. onWebResourceError](https://pub.dev/documentation/webview_flutter/latest/webview_flutter/NavigationDelegate/onWebResourceError.html). This is due to the pre-4.0 version of `webview_flutter` handling it this way. This callback would be better supported as its own callback since it doesn't have an error code or a description like other `WebResourceError`s. 

### Proposal

Add a new platform interface method to `PlatformNavigationDelegate` in `webview_flutter_platform_interface`. This could be called something like `setOnWebViewRenderProcessTerminated(ProcessTerminationDetails)`. 

For iOS we could support this new method and still call it as a `WebResourceError` to avoid a breaking change.
Repository: rust
Issue: Generated Docs Have Bad Links on Fedora 38 on 86_64
Labels: T-rustdoc,A-docs,C-bug

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

rustup 1.26.0 (5af9b9484 2023-04-05)
cargo 1.70.0 (ec8a8a0ca 2023-04-25)
rustc 1.70.0 (90c541806 2023-05-31)

I installed rust using rust-init, rather than the packaged version, so that I'd have access to rustup, with its "docs --book" feature to access the book locally. Using this command results in an unformatted TOC that contains broken links.

In a similar fashion, using cargo doc --open results in the same behavior for a project's documentation; an unformatted TOC that contains broken links.

Both documents are expecting files to be present in a directory structure under /run/user/1000. Though the root location and file exists for an index.html exists, expected subdirectories and files under that are missing.

I didn't capture the details version details, but I did check the behavior of at rustup docs --book on my Win 10 machine and that created formatted documentation, as if I were viewing it from the site itself, so no problems there.

Though the problems seem to be related, I more concerned about the inablity to use cargo doc for project documentation.
Repository: godot
Issue: external editor cause error whenever it used in 4.1
Labels: topic:editor,needs testing

### Godot version

4.1 stable

### System information

Nobara OS, vscodium

### Issue description

Whenever you open script with external editor, it will cause error.

### Steps to reproduce

1.open new empty project
2.start new empty script and open it with external editor.
3.error

### Minimal reproduction project

[Project123123.zip](https://github.com/godotengine/godot/files/12009557/Project123123.zip)
Repository: PowerToys
Issue: Using the nine-square grid measure  screen
Labels: Idea-Enhancement,Needs-Triage,Product-Screen Ruler

### Description of the new feature / enhancement

When I activating the screen ruler, I hope to not only select a rectangular box, but also a nine-square grid. Thanks a lot .

### Scenario when this would be used?

measure  screen

### Supporting information

_No response_
Repository: flutter
Issue: NullError in didUpdateScrollDirection
Labels: c: crash,framework,f: scrolling,P2,needs repro info,customer: huggsy (g3),team-framework,triaged-framework

Internal: b/297736409

Copied from internal bug b/290501086 - see that bug for more details.

We're seeing a `NullError` crash reported in a Google app starting from July 5. I suspect the version of scroll_position.dart in the release is before the latest commit, so the error is occurring here:

https://github.com/flutter/flutter/blob/2b105ac6ddc86c7f8671b32611552bec76ae316e/packages/flutter/lib/src/widgets/scroll_position.dart#L1009

Sadly, we don't have a repro for this and so it's difficult to guess what's happening. Maybe `notificationContext` is null? I'm not sure what would cause that.

<details>
<summary>Stack trace from the crash report</summary>

```
Translated error message:
   NullError
Deobfuscated stack trace:
  didUpdateScrollDirection(flutter/lib/src/widgets/scroll_position.dart:1009)
  ScrollPositionWithSingleContext.updateUserScrollDirection(flutter/lib/src/widgets/scroll_position_with_single_context.dart:171)
  ScrollPositionWithSingleContext.beginActivity(flutter/lib/src/widgets/scroll_position_with_single_context.dart:117)
  goIdle(flutter/lib/src/widgets/scroll_position_with_single_context.dart:129)
  ScrollPositionWithSingleContext.goBallistic(flutter/lib/src/widgets/scroll_position_with_single_context.dart:153)
  delegate(flutter/lib/src/widgets/scroll_activity.dart:63)
  BallisticScrollActivity._end(flutter/lib/src/widgets/scroll_activity.dart:572)
  Closure.cspForwardCall(sdk/lib/_internal/js_runtime/lib/js_helper.dart:2210)
  _rootRun(sdk/lib/async/zone.dart:1391)
  _rootRun[function-entry$4](sdk/lib/async/zone.dart:1390)
  _CustomZone.run(sdk/lib/async/zone.dart:1300)
  _zone(sdk/lib/async/future_impl.dart:121)
  handleWhenComplete(sdk/lib/async/future_impl.dart:199)
  _Future._propagateToListeners.handleWhenCompleteCallback(sdk/lib/async/future_impl.dart:810)
  _Future._propagateToListeners(sdk/lib/async/future_impl.dart:866)
  _Future._completeWithValue(sdk/lib/async/future_impl.dart:641)
  _Future._asyncCompleteWithValue.<anonymous>(sdk/lib/async/future_impl.dart:715)
  _rootRun(sdk/lib/async/zone.dart:1399)
  _rootRun[function-entry$4](sdk/lib/async/zone.dart:1390)
  _CustomZone.run(sdk/lib/async/zone.dart:1300)
  _CustomZone.runGuarded(sdk/lib/async/zone.dart:1209)
  _CustomZone.bindCallbackGuarded.<anonymous>(sdk/lib/async/zone.dart:1249)
  _microtaskLoop(sdk/lib/async/schedule_microtask.dart:40)
  _startMicrotaskLoop(sdk/lib/async/schedule_microtask.dart:49)
  _AsyncRun._initializeScheduleImmediate.internalCallback(sdk/lib/_internal/js_runtime/lib/async_patch.dart:48)
  invokeClosure(sdk/lib/_internal/js_runtime/lib/js_helper.dart:1945)
  convertDartClosureToJS(sdk/lib/_internal/js_runtime/lib/js_helper.dart:1977)
```
</details>
Repository: rust
Issue: Wrong "unnecessary parentheses around function argument"-warning with macro in assignment and return positions
Labels: A-lints,T-compiler,C-bug,L-unused_parens

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

I tried this code:

```rust

macro_rules! range_array {
    ( $( $num:tt ),* ) => {
        [ $( { let value = $num; value..=value } ),* ]
    };
}

fn foo(x: u8) -> u8 {
    x
}

fn main() {
    // This isn't allowed, need to use a token tree.
    //assert_eq!(range_array![1, foo(4), 5], [1..=1, 4..=4, 5..=5])

    // But this triggers an unused_paren warning.
    assert_eq!(range_array![1, (foo(4)), 5], [1..=1, 4..=4, 5..=5]);
}
```

I expected to see this happen: No warnings

Instead, this happened:
```
warning: unnecessary parentheses around assigned value
  --> src/main.rs:12:32
   |
12 |     assert_eq!(range_array![1, (foo(4)), 5], [1..=1, 4..=4, 5..=5]);
   |                                ^      ^
   |
   = note: `#[warn(unused_parens)]` on by default
```


This is an unexpected corner case of #47775 (assignment), and **was not** fixed by #47896. Assignment-expressions and block-return-expressions are affected:
```rust
$num; // OK
let value = $num; // Warn
let value = 0 + $num; // OK
let value = 0 + ($num); // OK
let value = { $num }; // Warn
let value = 0 + { $num }; // Warn
let value = { 0 + $num }; // OK
{ $num }; // Warn
0 + { $num }; // Warn
```

In my actual use case, I can't do `0 + $num`. I don't think I have any idenity function available.

### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

`rustc --version --verbose`:
```
rustc 1.72.0-nightly (83964c156 2023-07-08)
binary: rustc
commit-hash: 83964c156db1f444050a38b2498dbd0da6d5d503
commit-date: 2023-07-08
host: x86_64-pc-windows-msvc
release: 1.72.0-nightly
LLVM version: 16.0.5
```

I still have a 1.36 install of rust, and that showed the same warning, so I think this has been around for a while.
Repository: flutter
Issue: Use full 4x4 matrix for mapRect operation in Transform layer
Labels: engine,P2,team-engine,triaged-engine

After fixing https://github.com/flutter/flutter/issues/82961, we drop down to a 3x3 matrix here: https://github.com/flutter/engine/blob/b9b1b63c2ba99c149f2846ac1c5430084f2ec346/flow/layers/transform_layer.cc#L49

We should do the rect mapping using the full 4x4 transform. Skia has an implementation for this in SkMatrixPriv.

@flar fyi
Repository: stable-diffusion-webui
Issue: [Bug]: When I set hidden_tabs:["Settings"] in the configuration, the reload ui of the footer will be invalid
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

 set hidden_tabs:["Settings"] in the config.json，Because of the closed settings tab，the reload ui of the footer will be invalid

### Steps to reproduce the problem

 set hidden_tabs:["Settings"] in the config.json
![image](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/39818039/ac99385a-3edc-455b-b70d-b549308eb388)
reload UI need hidden?
![image](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/39818039/7bbbe0c0-b965-45f1-9239-8e13ec54ef8d)


### What should have happened?

Whether to hide the bottom reload UI when the settings tab is hidden


### Version or Commit where the problem happens

v1.4.0

### What Python version are you running on ?

None

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

Windows

### What device are you running WebUI on?

CPU

### Cross attention optimization

Automatic

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

_No response_

### Command Line Arguments

```Shell
none
```


### List of extensions

none

### Console logs

```Shell
none
```


### Additional information

_No response_
Repository: TypeScript
Issue: error TS4058: Return type of exported function has or is using name '$SYM' from external module fileA but cannot be named
Labels: Help Wanted,Possible Improvement

# Bug Report

### 🔎 Search Terms

cannot be named symbol
TS4058

### 🕗 Version & Regression Information

- This changed between versions 4.7.4 and 5.2.0-dev.20230710
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about "cannot be named"

### ⏯ Playground Link

Two files involved, so can't make a playground link

### 💻 Code

declaration=true

```ts
// fileA.ts
export const $SYM = Symbol("$SYM");
export const OBJ = { [$SYM]: 42 };

// fileB.ts
import type { $SYM, OBJ } from "./fileA";
export function func(obj: typeof OBJ, sym: typeof $SYM) {
  return [obj, sym];
}
```

### 🙁 Actual behavior

Error: Return type of exported function has or is using name '$SYM' from external module "fileA" but cannot be named.

### 🙂 Expected behavior

The expectation was that it compiles. Because if I use a string constant literal instead of the symbol, it works.

P.S.
In version 4.7.4 it worked, BUT it worked incorrectly: it generated declarations like `function func(obj: { [$SYM]: number })` without actually importing $SYM, so it treated $SYM as a string (I think it was a bug). Now that bug is fixed, but there is still no way to generate declarations for similar situations (and as you can see, importing $SYM explicitly doesn't help).
Repository: flutter
Issue: Scrolling Jank on Pixel 7 Pro
Labels: e: device-specific,platform-android,framework,engine,c: performance,f: scrolling,P2,team-engine,triaged-engine

I am experiencing scroll jank across every Flutter app I have installed on my Pixel 7 Pro. Note my device is currently set to `Smooth Display` with a QHD+ screen resolution. That is, it attempts to render at 120 fps at 1440p. I've tried a wide range of apps like [Wonderous](https://play.google.com/store/apps/details?id=com.gskinner.flutter.wonders&hl=en_US&gl=US), [Philips Hue](https://play.google.com/store/apps/details?id=com.philips.lighting.hue2&hl=en_US&gl=US), [Reflectly](https://play.google.com/store/apps/details?id=com.reflectlyApp&hl=en_US&gl=US), [Stock Events](https://play.google.com/store/apps/details?id=app.stockevents.android&utm_source=stockevents.app&hl=en), etc.

The most recent app I downloaded which demonstrates scrolling jank is an open source Lemmy app called [Thunder](https://github.com/hjiangsu/thunder). I attempted to debug the jank using DevTools. I discovered the jank occasionally comes from the UI thread but more frequently from the rasterization thread. See a screenshot below:

<img width="1901" alt="image" src="https://github.com/flutter/flutter/assets/1840773/1cc225fe-1a2d-4688-9877-715a1506b033">
 
The corresponding export data is [here](https://gist.github.com/grouma/2eace8581da61895a6619849f27b933c#file-gistfile1-txt).

I started ripping out portions of the UI but the rasterization jank remained. I decided to create a very simple [app](https://gist.github.com/grouma/025d14e0f87f740bf3b87d22c32d40ab) to profile. This app certainly shouldn't be showing jank but it does, see the screenshot below.

<img width="1901" alt="image" src="https://github.com/flutter/flutter/assets/1840773/2bab3faf-7b4a-438b-94e1-6bd26ce46e02">

The corresponding export data is [here](https://gist.github.com/grouma/db798dd6c56516618b64d32244cc43c3)

Obviously not all apps on my phone demonstrate jank. As a quick sanity check, I threw together a simple React Native app that made use of FlatList. That app scrolled without any perceivable jank so the phone should be able to render a simple scrollable list at 120 fps.

Flutter 3.12.0-15.0.pre.79 • channel master • https://github.com/flutter/flutter.git
Framework • revision 488ad3846c (85 minutes ago) • 2023-07-10 20:42:13 -0400
Engine • revision daecd616f5
Tools • Dart 3.1.0 (build 3.1.0-292.0.dev) • DevTools 2.25.0
Device: Pixel 7 Pro
OS: Android 13 (TQ3A.230705.001)

cc @jonahwilliams @Hixie
Repository: pytorch
Issue: torch version compare
Labels: triaged,module: python frontend

### 🐛 Describe the bug

When I install pytorch from source code, I got torch version '2.0.0a0+gitc263bd4',  but 'torch.torch_version.TorchVersion('2.0.0a0+gitc263bd4') >= (2, 0, 0)' return false.  Torch installed from whl will show version '2.0.0+cpu' and
'torch.torch_version.TorchVersion('2.0.0+cpu') >= (2, 0, 0)' is correct.

```
import torch
from torch.torch_version import TorchVersion
torch.torch_version.TorchVersion('2.0.0a0+gitc263bd4') >= (2, 0, 0)
```

### Versions

2.0.0a0+gitc263bd4

cc @albanD
Repository: stable-diffusion-webui
Issue: [Bug]: When I set hidden_tabs:["Settings"] in the configuration，Web page error
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

![image](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/39818039/f1278179-8603-44b1-9a6b-6dae6cb5fc43)


### Steps to reproduce the problem

![image](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/39818039/c0d2a08d-4c1d-462e-9c94-b5d019bd1a47)
![image](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/39818039/9b6499f4-a44c-4845-88e3-bf03d9179595)
check this
![image](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/39818039/6db5cf8e-c509-48c4-989e-9b2dff5243e1)
![image](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/39818039/a3d75ce1-7ed2-4050-abd2-26f1043f2b6f)


### What should have happened?

There should be no error


### Version or Commit where the problem happens

v1.4.0

### What Python version are you running on ?

Python 3.10.x

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

Windows

### What device are you running WebUI on?

CPU, Other GPUs

### Cross attention optimization

Automatic

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

Google Chrome

### Command Line Arguments

```Shell
none
```


### List of extensions

none

### Console logs

```Shell
none
```


### Additional information

none
Repository: godot
Issue: AudioStreamPlayer2D Doesn't Move Proportional to Parent ParallaxLayer
Labels: discussion,confirmed,topic:audio,topic:2d

### Godot version

4.1

### System information

Godot v4.1.stable - Arch Linux #1 SMP PREEMPT_DYNAMIC Sat, 10 Jun 2023 00:35:35 +0000 - Vulkan (Compatibility) - AMD Radeon RX 7900 XT (gfx1100, LLVM 16.0.0, DRM 3.52, 6.3.7-arch1-1) () - AMD Ryzen 9 3950X 16-Core Processor (32 Threads)

### Issue description

I have an AudioStreamPlayer2D as a child node of a background element. The background element, being on a ParallaxLayer, moves at a small fraction of the camera's (and AudioListener2D's) movements. Unfortunately, the AudioStreamPlayer does not honor this fractional moving so it does not stay aligned with the background element.

### Steps to reproduce

Put AudioStreamPlayer2D on parallax background with some graphic and make the layer move at some small fraction of the distance as the camera with the AudioListener2D. Move the camera and AudioListener2D. The visual object will still be on the screen but the AudioStreamPlayer2D will be inaudible with a great enough distance.

### Minimal reproduction project

[AudioStreamPlayer2D Bug.zip](https://github.com/godotengine/godot/files/12011366/AudioStreamPlayer2D.Bug.zip)
Repository: material-ui
Issue: 1st class support for React-Hook-Form
Labels: out of scope,new feature,waiting for 👍

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

Hi!

I want to use React-Form-Hool (that seems to be the leader in this space) to validate my forms.

I would like MUI to provide its own version of the register function that binds a input control to a useForms element.

### Examples 🌈

There is a pr in the main repo with documentation how to use RFH, but there is a lot of boilerpøate that is prone to errors.
https://github.com/mui/material-ui/pull/37522

### Motivation 🔦

Proper form validation with MUI controls with the least amount of code 

(we will generate Zod schemas automaticaly based on our OpenApi schemas to tie everything together!)

### Order ID 💳 (optional)

56440
Repository: tauri
Issue: Can't play DRM on Mac OS
Labels: type: bug,platform: macOS,status: needs triage

Hello,
My app is Vue 3 + Tauri. I use DRM Widevine to play protected video. 

It works very well on Window: both for normal browser (Chrome, Edge) and Tauri App.

But in Mac OS: Tauri App not support Widevine DRM.
I don't think this is issue of Mac OS because when I run app on normal browser (Chrome, Edge) on Mac OS, it work very well.

I also tested on many Mac devices, the problem is the same. I also change to use Fairplay DRM but Fairplay is not support as well.

So my question is: Does Tauri NOT support play video DRM on Mac OS?
 
I would be very grateful to receive all advice. Thank you.
Repository: terminal
Issue: Windows Terminal crashes when dragging a tab
Labels: Issue-Bug,Severity-Crash,Product-Terminal,Needs-Tag-Fix

### Windows Terminal version

1.17.11461.0 and 1.18.1462.0

### Windows build number

10.0.22000.1936

### Other Software

_No response_

### Steps to reproduce

Open Terminal and create a session of any type eg  Command Prompt, ssh connection, Powershell

Left click on session tab and drag

### Expected Behavior

Reorder tabs

### Actual Behavior

Terminal crashes with no visible error message

Crashdumps are created in %LOCALAPPDATA%\CrashDumps