sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: electron
Issue: Add click event to BrowserWindow
Labels: enhancement :sparkles:,component/BrowserWindow

### Preflight Checklist
* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

### Problem Description
I want to be able to intercept click events for a `BrowserWindow` (or `WebContents`), so that I can prevent a timeout. The page in my app checks for activities, but this doesn't work for cross-domain iframes (the `'click'` event won't bubble out of the iframe), so I want to detect this at the window level. This will also allow me to intercept clicks on the titlebar and shell of the window.

### Proposed Solution
Add `'click'` event for the `BrowserWindow` or `WebContents` that detects all types of clicks (left, middle, right clicks on the entire window)

### Alternatives Considered
Otherwise, I have to hook each Windows message that I care about and handle this myself:
```
win.hookWindowMessage(0x0202, () => {
    preventTimeout();
    return 0;
});
```
Repository: flutter
Issue: Flutter Analyzer crashes multiples times when running medium/large apps 
Labels: c: crash,tool,dependency: dart,P2,team-tool,triaged-tool

Okay, Flutter Analyzer most likely doesn't crash at all if my app scale is small. When my app scales up to medium, it begins crashing several times (5-10 times a day), every restart takes 1-2 mins. I'm basically can't do anything while it restarting. Can we make this a top priority issue? Cause it really slows down dev time, a lot?
Repository: flutter
Issue: Flutter Logo typeface is not on-brand
Labels: framework,a: quality,has reproducible steps,P2,found in release: 3.3,found in release: 3.6,team-framework,triaged-framework

The text [is rendered in Roboto](https://github.com/flutter/flutter/blob/4d7525f05c05a6df0b29396bc9eb78c3bf1e9f89/packages/flutter/lib/src/painting/flutter_logo.dart#L268), yet this font is unavailable on certain platforms and is not the Product Sans font that is specified for the logotype.

I took a few screenshots:

FlutterLogo widget on iPhone (looks like font fallback to San Francisco, colors wrong)
![image](https://user-images.githubusercontent.com/2319867/86043948-40e80280-b9fe-11ea-9941-045db32297c6.png)

FlutterLogo widget on web (looks like font is Roboto, colors wrong):
![image](https://user-images.githubusercontent.com/2319867/86044021-5ceba400-b9fe-11ea-9664-6ffb2db31b3c.png)

Flutter logo in go/flutter-logo: 
![image](https://user-images.githubusercontent.com/2319867/86044088-77258200-b9fe-11ea-90e5-4864eac09844.png)

I think we need to convert it to vector art, rather than use random fonts that may or may not be present on a given device. 

Also see https://github.com/flutter/flutter/issues/16713, which addresses a separate issue relating to the color of the 'F' marque.
Repository: godot
Issue: Graph node and mouse wheel scroll.
Labels: bug,topic:gui

**Godot version:**
3.*

**OS/device including version:**
Any?

**Issue description:**
Graph node in visual script and shader script...
![image](https://user-images.githubusercontent.com/22836285/86048299-f6e03a80-ba58-11ea-90ff-319679551a23.png)
if grab it and start move to another position, and scroll (GraphEdit) with mouse wheel... problem with offset. Graph node not change position to mouse position when scroll (vertical and horizontal with "Shift+ mouse wheel").

**Steps to reproduce:**
Start move graph node and scroll with mouse.


P.S. small proposal: maybe add feature - when move it to corners, then starting scroll. it improve usability.
Repository: TypeScript
Issue: Allow to find references of the actual type
Labels: Suggestion,Needs Proposal

I feel it is impossible with TS to find all calls to a method of a type that is defined in a very generic interface, such as `dispose`:

![image](https://user-images.githubusercontent.com/900690/84394289-08be8280-abfd-11ea-9e3a-777f3613e8f1.png)

This makes it basically impossible to find all references of e.g. the `dispose` method of `EditorInput`. 

Is there something we can do? My current only workaround is to remove all interfaces temporarily so that the `dispose` method does not come in from a generic interface.

Maybe the references viewlet could group by type?

//cc @jrieken
Repository: pytorch
Issue: Custom c++ extension build process doesn't preserve color from compiler
Labels: module: cpp-extensions,module: cpp,triaged,better-engineering

When I work on torchvision I would like to see color from my compiler, but I don't have it.

cc @yf225 @glaringlee
Repository: flutter
Issue: Decommission the flutter_tools commands shard
Labels: team,tool,P2,team-tool,triaged-tool

Currently the commands shard is a bit of a hodge-podge, the tests it contains either make use of real commands (invoking flutter re-entrantly, running the analyzer) or they are just _really confused unit tests_ that are non-hermetic (that is, significant functionality is mocked out without being completely hermetic).

Any tests that are clearly unit tests should be refactored to actually be hermetic and moved to the general.shard. Any integration tests should be more clearly marked as such and moved to the the integration.shard.
Repository: pytorch
Issue: torch::autograd::Function should set AutoNonVariableTypeMode when running forward
Labels: module: autograd,triaged

Currently, it does not, which means you cannot write idiomatic redispatch as:

```
  static torch::autograd::variable_list forward(
      torch::autograd::AutogradContext* ctx,
      torch::autograd::Variable input,
      torch::autograd::Variable rois,
      ...) {
    ctx->saved_data["spatial_scale"] = spatial_scale;
    ...
    // at::AutoNonVariableTypeMode g;
    auto result = roi_align(
        input,
        rois,
        ...
```

You have to add the AutoNonVariableTypeMode guard yourself. This should have been taken care of in Function.

cc @ezyang @SsnL @albanD @zou3519 @gqchen
Repository: flutter
Issue: CupertinoRefreshIndicator needs a pop in animation when it triggers
Labels: framework,a: fidelity,f: cupertino,P2,team-design,triaged-design

minor fidelity issues with `CupertinoRefreshIndicator`:

native behavior (iOS 13.5, slow-mo), around 7 second mark

![native](https://user-images.githubusercontent.com/31859944/84831507-485fe280-afe0-11ea-8576-d216e106f4d3.gif)
Repository: flutter
Issue: Editing engine.version can result in a bricked install when the Dart SDK is unable to be downloaded and requires deletion of bin/cache to resolve.
Labels: c: crash,tool,dependency: dart,P2,team-tool,triaged-tool

## Logs

Changed bin\internal\engine.version to `f6a95deb733b43732941758df209380570b2ec18`

```
flutter upgrade
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine f6a95deb733b43732941758df209380570b2ec18...
Downloading the Dart SDK using the BITS service failed, retrying with WebRequest...
Invoke-WebRequest : NoSuchKeyThe specified key does not exist.No such object:
flutter_infra/flutter/f6a95deb733b43732941758df209380570b2ec18/dart-sdk-windows-x64.zip
At C:\src\flutter\bin\internal\update_dart_sdk.ps1:68 char:5
+     Invoke-WebRequest -Uri $dartSdkUrl -OutFile $dartSdkZip
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
   eption
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Error: Unable to update Dart SDK. Retrying...
```

changed back to previous hash `fc725775253ef4808680260b362ca35154f49e64` and received `The system cannot find the path specified.`.

Had to delete cache to restore flutter to a working state.

cc @christopherfujino
Repository: pytorch
Issue: Quantization support for F.Softmax
Labels: oncall: quantization,low priority,triaged

## 🚀 Feature
Support the F.Softmax in quantization model

## Motivation
sometimes we need to add 2 tensors in quantized model, we could use torch.nn.quantized.FloatFunctional() , however sometimes we need F.Softmax on classification, then there is no such support, and the output is not within [0,1], it is not a big problem, but nice to support it. 



cc @jerryzh168 @jianyuh @dzhulgakov @raghuramank100 @jamesr66a @vkuzo
Repository: pytorch
Issue: Sparse Convolutional support
Labels: module: sparse,triaged

hi,when pytorch can support sparse convolution in pytroch master?thanks.


cc @vincentqb
Repository: TypeScript
Issue: importsNotUsedAsValues = error should apply to export statements
Labels: Suggestion,In Discussion

**TypeScript Version:**  3.9.2

**Search Terms:** importsNotUsedAsValues, error, export

**Code**

```ts
import { Interface } from "./module";
export { Interface } from "./module";
```

With a `"importsNotUsedAsValues"` set to `"error"`. 

**Expected behavior:**

`tsc` would error on the export statement.

**Actual behavior:**

`tsc` does not error on the export statement, it only errors on the import statement.  TypeScript, by default, would elide both statements in the compile and should error in the same way.

**Playground Link:** N/A
Repository: TypeScript
Issue: Object is possibly undefined after undefined check on readonly property
Labels: Suggestion,Experience Enhancement

<!-- 🚨 STOP 🚨 STOP 🚨 STOP 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section!

Please help us by doing the following steps before logging an issue:
  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ

Please fill in the *entire* template below.
-->

<!--
Please try to reproduce the issue with the latest published version. It may have already been fixed.
For npm: `typescript@next`
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly
-->
**TypeScript Version:**  3.7.4, 3.9.2

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
Object is possibly undefined
undefined readonly callback
**Code**
```ts
class Test {
  private readonly testProperty?: { value: number };
  public constructor(testProperty: { value: number }) {
    this.testProperty = testProperty;
  }

  public method() {
    if (this.testProperty) {
      Promise.resolve().then(() => this.testProperty.value); //Object is possibly undefined
    }
  }
}
```

**Expected behavior:**
testProperty should not be resolved as possibly undefined as this is not possible in this scenario as the property has already been checked and it is marked as readonly.

**Actual behavior:**
testProperty is possibly undefined, requiring another undefined check.

**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->
https://www.typescriptlang.org/play/#code/MYGwhgzhAEAqCmEAu0DeAoa0AOAnAlgG5hLzS7xgAmA9gHYgCe0pyACrjdvLkowPwAuNNGIgArvGF1xAWwBGPaAF8A3Jhzj5IfMGjB6yXOOBIauABSskHLjz7DUosBKnQZCpcoCUaDViQAC3wIADprW25eZgBeFkQbTii+dSxldA1sLR09WXggmioLXwwsLHwAM2grYLCIpPtGEv8y21kQ+FCKCBoQQnhi8MD4Ogti6BiAPhZa8ITIxtCxSW9VaAB6dYB5eQAreFNoEJwaKHxtZnE6KngK-Dp4Khb0tPRlIA

**Related Issues:** <!-- Did you find other bugs that looked similar? -->

Similar issues but these i understand why TypeScript would report an error, in my case the property is readonly so it seems like a bug to me.
https://github.com/microsoft/TypeScript/issues/38053
https://github.com/microsoft/TypeScript/issues/11498
Repository: youtube-dl
Issue: www.xmegadrive.com 
Labels: site-support-request,nsfw

<!--

######################################################################
  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 2020.06.16.1. 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 **2020.06.16.1**
- [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.xmegadrive.com/videos/goddess-amanda-they-make-you-weak/
- Playlist: https://www.xmegadrive.com/playlists/204/cei5/


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->


you do not need to be logged in to view or download the videos
Repository: pytorch
Issue: Enhance supported types of functional.pad 
Labels: module: nn,triaged,enhancement,module: numpy

## 🚀 Feature

Currently, `torch.nn.functional.pad` does not support input tensors with dtype other than float32 or float64 for modes "replicate" and "reflect".

Method execution fails with error, for example : 
```
 RuntimeError: "replication_pad2d_cpu" not implemented for 'Long'
```

Feature request is to improve the support for other types like uint8, long, etc

## Alternatives

We still can cast to float, perform the operation and recast back after to the original dtype.


## Additional context

Torchvision: https://github.com/pytorch/vision/issues/2350

cc @albanD @mruberry @fmassa 


**EDIT:** I can work on this issue if we agree that this feature is useful and is needed to be done.
Repository: opencv
Issue: Parsing error (Failed to parse NetParameter file: yolov3-spp.weights) in cv::dnn::dnn4_v20200310::readNetFromDarknet
Labels: question (invalid tracker),category: dnn

##### System information (version)
<!-- Example
- OpenCV => 4.3
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2017
-->

I can currently use the DNN module to call **Darknet's yolov3.weights**, but when I call **yolov3-spp.weights**, such an **error** occurs. I want to know is it because of the incompatibility of opencv? Is there a way to avoid this error? Has anyone tried calling the v3-spp model? In addition, when I use **readNetFromONNX**, any ONNX model **cannot be read**, including **yolov3-spp.onnx** and any model in the **ONNX model library**.
Repository: rust
Issue: [Missed optimization?] Having many if branches that all check for Some(_) is slower than pre-destructuring the Some before the if section
Labels: C-enhancement,A-codegen,T-compiler,I-heavy,C-optimization

If you compile the following code in play.rust-lang.org to LLVM IR in release mode, it will generate 135 lines of LLVM code.
```rust
pub fn has_start(board_idx: usize, start_idx: Option<usize>) -> Option<usize> {
    match board_idx {
        0 => {
            if start_idx == Some(0) { return Some(0) };
            if start_idx == Some(15) { return Some(3) };
        }
        1 => if start_idx == Some(1) { return Some(0) },
        2 => if start_idx == Some(2) { return Some(0) },
        3 => if start_idx == Some(3) { return Some(0) },
        4 => {
            if start_idx == Some(4) { return Some(0) };
            if start_idx == Some(5) { return Some(1) };
        }
        5 => if start_idx == Some(14) { return Some(3) },
        9 => if start_idx == Some(6) { return Some(1) },
        10 => {
            if start_idx == Some(13) { return Some(3) };
            if start_idx == Some(12) { return Some(2) };
        }
        11 => if start_idx == Some(11) { return Some(2) },
        12 => if start_idx == Some(10) { return Some(2) },
        13 => if start_idx == Some(9) { return Some(2) },
        14 => {
            if start_idx == Some(8) { return Some(2) };
            if start_idx == Some(7) { return Some(2) };
        }
        _ => { return None }
    }
    None
}
```
However, if you pre-destructure the Some, as in the following example, you now generate only 109 lines of LLVM code.
```rust
pub fn has_start(board_idx: usize, start_idx: Option<usize>) -> Option<usize> {
    if let Some(start) = start_idx {
        match board_idx {
            0 => {
                if start == 0 { return Some(0) };
                if start == 15 { return Some(3) };
            }
            1 => if start == 1 { return Some(0) },
            2 => if start == 2 { return Some(0) },
            3 => if start == 3 { return Some(0) },
            4 => {
                if start == 4 { return Some(0) };
                if start == 5 { return Some(1) };
            }
            5 => if start == 14 { return Some(3) },
            9 => if start == 6 { return Some(1) },
            10 => {
                if start == 13 { return Some(3) };
                if start == 12 { return Some(2) };
            }
            11 => if start == 11 { return Some(2) },
            12 => if start == 10 { return Some(2) },
            13 => if start == 9 { return Some(2) },
            14 => {
                if start == 8 { return Some(2) };
                if start == 7 { return Some(2) };
            }
            _ => { return None }
        }
    }
    None
}
```
Seems like a relatively simple opportunity for optimisation behind the scenes?
Repository: godot
Issue: Don't allow exporting a project if no main scene is defined
Labels: bug,topic:editor,topic:porting,confirmed

<!-- Please search existing issues for potential duplicates before filing yours:	
https://github.com/godotengine/godot/issues?q=is%3Aissue	
-->

**Godot version:**
<!-- Specify commit hash if using non-official build. -->
godot 3.2.2-stable


**OS/device including version:**
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
Windows, gles2


**Issue description:**
<!-- What happened, and what was expected. -->
When exporting a game with no selected main scene, exported game crashes on start


**Steps to reproduce:**
Not select a main scene and then export to windows


**Minimal reproduction project:**
<!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. -->
Repository: pytorch
Issue: Incremental version of pca_lowrank
Labels: feature,module: cuda,triaged,function request

## 🚀 Feature
An incremental version of pca_lowrank - processing a mini-batch of samples in each iteration.
Similar to sklearn.decomposition.IncrementalPCA(), but in GPU.

## Motivation

The current implementation processes all the data in one go and can run quickly only if all the data fits into the GPU memory.

## Pitch

It is sometimes needed to perform PCA on a large dataset of images. Doing it in GPU using pytorch is great, but currently limited by GPU memory. An incremental version will allow processing large datasets.

## Alternatives

Doing PCA in CPU using sklearn :(


cc @ngimel
Repository: flutter
Issue: Xcode 11.5 archive build failed flutter: Multiple commands produce GoogleUtilities.framework
Labels: platform-ios,tool,t: xcode,P3,c: fatal crash,team-ios,triaged-ios

I try to take these steps: "Product" -> "Archive" to unload the application to testers, but when these steps are performed, this error is constantly displayed:

    Multiple commands produce '/Users/user/Library/Developer/Xcode/DerivedData/Runner-dpjgfafimzpddicamlmtfyiidicx/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework':
    1) Target 'GoogleUtilities-00567490' has create directory command with output '/Users/user/Library/Developer/Xcode/DerivedData/Runner-dpjgfafimzpddicamlmtfyiidicx/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework'
    2) Target 'GoogleUtilities-Environment-Logger-UserDefaults' has create directory command with output '/Users/user/Library/Developer/Xcode/DerivedData/Runner-dpjgfafimzpddicamlmtfyiidicx/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework'

**Flutter doctor:** 
```

    [✓] Flutter (Channel stable, v1.17.4, on Mac OS X 10.15.4 19E287, locale ru-RU)
        • Flutter version 1.17.4 at /Users/user/dev/flutter
        • Framework revision 1ad9baa8b9 (13 days ago), 2020-06-17 14:41:16 -0700
        • Engine revision ee76268252
        • Dart version 2.8.4
    
     
    [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
        • Android SDK at /Users/user/Library/Android/sdk
        • Platform android-29, build-tools 29.0.3
        • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
        • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    
    [✓] Xcode - develop for iOS and macOS (Xcode 11.5)
        • Xcode at /Applications/Xcode.app/Contents/Developer
        • Xcode 11.5, Build version 11E608c
        • CocoaPods version 1.9.1
    
    [✓] Android Studio (version 4.0)
        • Android Studio at /Applications/Android Studio.app/Contents
        • Flutter plugin version 46.0.1
        • Dart plugin version 192.8052
        • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    
    [✓] VS Code (version 1.46.1)
        • VS Code at /Users/user/Applications/Visual Studio Code.app/Contents
        • Flutter extension version 3.12.0
    
    [✓] Connected device (1 available)
        • iPhone (Илья) • 6cd3a4fb82220c402eee2444a3db70abb14b53ab • ios • iOS 13.5.1
    
```
I also tried to do the actions that were described in other Issue, but nothing helped, the error was still there

I tried to set in the settings of the build Use legacy system, it did not help :(