sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: InputEventMouseButton generated when pressing Alt
Labels: bug,topic:core

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
Godot Engine v3.2.1.stable.mono.official - https://godotengine.org

**OS/device including version:**
NAME="Ubuntu"
VERSION="16.04.7 LTS (Xenial Xerus)"

OpenGL ES 3.0 Renderer: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2)

**Issue description:**
When a mouse button is kept pressed, an event with pressed=false is generated when pressing the Alt key 

**Steps to reproduce:**

Create a control
```
using Godot;
using System;

public class Control : Godot.Control
{
    public override void _GuiInput(InputEvent inputEvent)
    {
        if (inputEvent is InputEventMouseButton inputEventMouseButton && ((ButtonList)inputEventMouseButton.ButtonIndex == ButtonList.Left))
        {
            GD.Print("Left was pressed: " + inputEventMouseButton.AsText());
        }
    }
}
```

Launch the project.
Press mouse left button.
Keeping mouse left button down, press alt.
See unexpected event:

```
Left was pressed: InputEventMouseButton : button_index=BUTTON_LEFT, pressed=false, position=(652, 258), button_mask=0, doubleclick=false
```

**Minimal reproduction project:**
[click-and-alt.zip](https://github.com/godotengine/godot/files/5435815/click-and-alt.zip)
Repository: rust
Issue: "Reach into" Result/Option to look for expected methods in error messages
Labels: C-enhancement,A-diagnostics,T-compiler,A-suggestion-diagnostics,D-newcomer-roadblock

Sometimes it would be really helpful if the compiler could "reach into" a Result or Option.  Say one forgets to `?` or even `.unwrap()`, the compiler currently says something like "no method named `get_ref` found for enum `std::result::Result<tokio_rustls::client::TlsStream<tokio::net::TcpStream>, std::io::Error>` in the current scope".  It would be helpful if it would say something along the line of ".. but contained type T contains the requested method".

@estebank
Repository: bitcoin
Issue: Call interfaces::Wallet::getWalletTxs asynchronous
Labels: Feature,Brainstorming,Wallet

This function is only used by `TransactionTableModel` constructor which, for big wallets, causes a delay/hang on startup. This is even noticeable in #10102.

There's two simple changes to improve this:
 1. defer `getWalletTxs` to when the transactions view is opened
 2. call in a background thread to not block Qt event loop, like wallet loading

However the following issues would still be present:
 - doesn't reduce IPC traffic
 - keeps a huge lock on `cs_wallet`
 - loads the whole wallet in the transaction model unnecessarily (the view only shows a subset)

Considering the above, one way to improve is to paginate `getWalletTxs`. 

However, `TransactionTableModel` can decomposes each transaction in multiple records, so it's not possible to know beforehand the row count and also because each page of transactions results in an indeterminate number of rows.

I have 2 different approaches to improve:

 a) manage wallet records on `CWallet` and expose them with `interfaces::Wallet::getRecords` that supports pagination
 b) instead of table model, make records children of a row for each txid - this would allow to reopen #12578.

I'd love to know other's thoughts on this matter. Are the 2 simple changes 1. and 2. enough for the moment?
Repository: pytorch
Issue: Mixing Numpy's arrays and PyTorch tensors
Labels: triaged,module: numpy,needs design,module: ux

## 🐛 Bug

`t + a != a + t`, where `t` is a tensor and `a` is an array.

## To Reproduce

```python
>>> import torch
>>> import numpy as np
>>> t = torch.arange(3.)
>>> a = -np.arange(3.)
>>> print(t + a)
>>> print(a + t)

tensor([0., 0., 0.], dtype=torch.float64)

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-1279-6264a51fb86e> in <module>
      2 a = -arange(3.)
      3 print(t + a)
----> 4 print(a + t)

TypeError: unsupported operand type(s) for +: 'numpy.ndarray' and 'Tensor'
```

## Expected behavior

`t + a == a + t`.

## Environment

 - PyTorch Version (e.g., 1.0): 1.5.1

## Comment

It's the same bug we had in Torch, when summing a tensor to a number or summing a number to a tensor.

cc @mruberry @rgommers @heitorschueroff
Repository: rust
Issue: Unexpected truncated boolean when debug printing with limited float precision.
Labels: T-lang,T-libs-api,A-fmt

I tried this code
```rust

fn main() {                                                                                                                                                                                                                                                                                                                                                                 
    println!("Hello, world! {:.3?}", false);                                                                                                                                                                                                                                                                                                                                
} 
```
Actual output
```
Hello, world! fal
```

Expected output, because a boolean isn't a decimal....
```
Hello, world! false
```

Version stuff:
```
$ rustc --version --verbose
rustc 1.40.0 (73528e339 2019-12-16)
binary: rustc
commit-hash: 73528e339aae0f17a15ffa49a8ac608f50c6cf14
commit-date: 2019-12-16
host: x86_64-apple-darwin
release: 1.40.0
LLVM version: 9.0
```
Repository: electron
Issue: Add dialog event to webContents
Labels: enhancement :sparkles:

<!--  As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can.
-->

### Preflight Checklist
<!-- Please ensure you've completed the following steps by replacing [ ] with [x]-->

* [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
<!-- Is your feature request related to a problem? Please add a clear and concise description of what the problem is. -->
Electron uses native dialog boxes for `alert` and `confirm` that may not conform to the app theme and completely ignores any calls to `prompt`

### Proposed Solution
A `dialog` event should be added to `webContents` that would be emitted whenever `window.alert`, `window.confirm`, or `window.prompt` are called. This should be similar the the dialog event issued by the webview tag in Chrome apps (https://developer.chrome.com/apps/tags/webview#event-dialog). 

The event would return: 
* The name of the function that was called
* The text that was to be displayed in the dialog
* The default text (for prompt only)
* A function that can be called to simulate a user accepting the request (it would accept a parameter that represents the user response)
* A function that can be called to simulate the user cancelling the dialog. 

The default behaviour would be kept unless `preventDefault` is called.

### Alternatives Considered
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
I've considered overriding the functions in question, but an event would be preferable and much easier to use.

### Additional Information
None.
Repository: create-react-app
Issue: error running npx create-react-app@next
Labels: stale,needs triage,issue: bug report

### Describe the bug

error running npx create-react-app@next
error message: You are running `create-react-app` 4.0.0-next.117+2b1161b3, which is behind the latest release (4.0.0).

We no longer support global installation of Create React App.

Please remove any global installs with one of the following commands:
- npm uninstall -g create-react-app
- yarn global remove create-react-app
### Did you try recovering your dependencies?

yes, but i can't because it will not bootstrap my project.

### Which terms did you search for in User Guide?

i tried searching the error message.

(Write your answer here if relevant.)

### Environment

Need to install the following packages:
  create-react-app
Ok to proceed? (y) y

Environment Info:

  current version of create-react-app: 4.0.0
  running from C:\Users\progr\AppData\Local\npm-cache\_npx\c67e74de0542c87c\node_modules\create-react-app

  System:
    OS: Windows 10 10.0.19041
    CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
  Binaries:
    Node: 15.0.1 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 7.0.3 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 86.0.4240.111
    Edge: Spartan (44.19041.423.0), Chromium (86.0.622.51), ChromiumDev (88.0.673.0)
    Internet Explorer: 11.0.19041.1
  npmPackages:
    react: Not Found
    react-dom: Not Found
    react-scripts: Not Found
  npmGlobalPackages:
    create-react-app: Not Found

### Steps to reproduce
 
im trying to run `npx create-react-app@next --scripts-version=@next --template=cra-template@next myapp` but i'm getting this wired error message.

### Expected behavior

The project should get created.

### Actual behavior

getting an error

### Reproducible demo

i'm not sure how to reproduce, on my laptop i always get this error, i already tried uninstalling node, but it did not help
Repository: godot
Issue: Animation Track messes when undo after changing keyframe time using Inspector slider 
Labels: bug,topic:editor,topic:animation

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:** 3.2.3.stable
<!-- Specify commit hash if using non-official build. -->


**OS/device including version:** Ubuntu 20.04 LTS
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->


**Issue description:**
<!-- What happened, and what was expected. -->
If you select an animation keyframe and try to change its **Time** value in the Inspector tab _by using its slider_ and try to undo the changes, the animation track will not undo the new value, duplicating the keyframe.

A few illustrative screenshots:

![Screenshot from 2020-10-26 00-24-19](https://user-images.githubusercontent.com/8457973/97145787-02e8ba00-1724-11eb-9a34-afec6d7a06a9.png)
_Starting with any animation keyframe_

![Screenshot from 2020-10-26 00-24-39](https://user-images.githubusercontent.com/8457973/97145792-0419e700-1724-11eb-9914-f9f8f55422db.png)
_If you try to drag the **Time** slider_

![Screenshot from 2020-10-26 00-25-07](https://user-images.githubusercontent.com/8457973/97145793-0419e700-1724-11eb-9597-c32fd0b68bf3.png)
_To a new value and press Ctrl+Z_

![Screenshot from 2020-10-26 00-25-30](https://user-images.githubusercontent.com/8457973/97145794-04b27d80-1724-11eb-8ded-c6ec7061d7c2.png)
_The Animation track will end up like this_

The issue does not happen if you try typing a new value in the **Time** field.

**Steps to reproduce:**
- Open provided repro project.
- On the main scene, select any keyframe from the animation track.
- In the Inspector tab, use the slider under **Time** value to drag it and assign a new value.
- Press Ctrl+Z to undo this action. The animator track will end up creating a new keyframe for the previous. 

**Minimal reproduction project:**
<!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. -->
[slider_undo_keyframe_repro.zip](https://github.com/godotengine/godot/files/5437450/slider_undo_keyframe_repro.zip)
Repository: flutter
Issue: Different paddings in titlePading of FlexibleSpace
Labels: framework,f: material design,a: quality,c: proposal,has reproducible steps,found in release: 3.3,found in release: 3.7,team-design,triaged-design

Hi!
![image](https://user-images.githubusercontent.com/33434500/97164005-651fda00-1779-11eb-9c05-2fc75acc04e0.png) ![image](https://user-images.githubusercontent.com/33434500/97164031-736df600-1779-11eb-8db7-6e5306912c41.png)

It is possible to have different padding in the titlePadding when it is collapsed and when it is not. 
When it is not collapsed I would like a 16px filling vertically, and when it is collapsed I would like a 50px filling because of the hamburger menu.

But as the paddings are the same for both situations, what happens in the images above happens.

My code is this:
```dart
SliverAppBar(
                    expandedHeight: 100.0,
                    floating: false,
                    pinned: true,
                    flexibleSpace: FlexibleSpaceBar(
                        centerTitle: false,
                        titlePadding:
                            EdgeInsets.symmetric(vertical: 16, horizontal: 16),
                        title: Text(
                            AppLocalizations.of(context).translate("dashboard"),
                            style: TextStyle(
                                color: Colors.white,
                                fontWeight: FontWeight.bold)),
                        background:
                            Container(color: Theme.of(context).primaryColor))),
```

I need help please. Thank you!
Repository: PowerToys
Issue: [FancyZones] Add a timer to activate zones upon grabbing a window.
Labels: Idea-Enhancement,Product-FancyZones

A feature would greatly benefit all users as it does not require any additional key pressing, but will be especially useful for touch screen users.

In the settings the timer option would allow the user to set a custom delay (2sec for example).
After the user has "grabbed" a window, wait for it to stop moving, at that point, the timer should activate, and upon expiration (e.g. After 2 sec) zones would activate.
If within 2 seconds the user has moved the window again, timer would not activate, and wait for Window to stop moving before activating a countdown.
Repository: material-ui
Issue: [Tooltip] Component fire on resize event of the iframe
Labels: bug 🐛,component: tooltip

## Current Behavior 😯
When a user hover on button with tooltip the onresize event of the iframe fired

## Expected Behavior 🤔
The onresize event shouldn't be fired
<!-- Describe what should happen. -->

## Steps to Reproduce 🕹

 1.  Go to https://codesandbox.io/s/muddy-violet-hcnkt?file=/src/App.js
 2. Open the console.log 
 3. Hover on the icon button

 
## Context 🔦

<!--
  What are you trying to accomplish? How has this issue affected you?
  Providing context helps us come up with a solution that is most useful in the real world.
-->

## Your Environment 🌎

<!--
  Include as many relevant details about the environment with which you experienced the bug.
  If you encounter issues with TypeScript please include version and tsconfig.
-->

| Tech        | Version |
| ----------- | ------- |
| Material-UI | v5.?.?  |
| React       |         |
| Browser     |         |
| TypeScript  |         |
| etc.        |         |
Repository: material-ui
Issue: [Autocomplete] options dropdown has z-index issue while scrolling Dialog content
Labels: component: autocomplete

## Current Behavior 😯

While scrolling inside the `Dialog` content with an `Autocomplete` options dropdown currently visible, the dropdown options are still visible after scrolling up/down so that the `Autocomplete` is out of view.

## Expected Behavior 🤔

The `Autocomplete` options dropdown is not visible anymore, after scrolling out of view.

## Steps to Reproduce 🕹

https://codesandbox.io/s/autocomplete-z-index-4r1xj

Steps:

1. Open Dialog
2. Open Autocomplete
3. Scroll down

## Your Environment 🌎

| Tech        | Version |
| ----------- | ------- |
| Material-UI | v4.11.0 (Lab `Autocomplete`) / v5.0.0-alpha.14  |
| React       |  16.13.1       |
| Browser     |  Chrome / Firefox / Safari       |
| TypeScript  |  4.0.3       |
Repository: ant-design
Issue: Iframes doesn't load to completion when in tab with forceRender
Labels: Inactive

- [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
[![Edit on CodeSandbox](https://codesandbox.io/s/rc-tabs-iframe-load-failure-in-forcerender-tab-rvdww?file=/index.js)]

### Steps to reproduce
Let the first visible chart load fully. Then after a couple seconds, switch to another tab.
You can see that the loader is gone but the chart haven't finished to load.

### What is expected?
We expect that the charts (that are embeded in frames) loads fully, even without focus

### What is actually happening?
When we switch tabs, the iframes stop loading while in background.

| Environment | Info |
|---|---|
| antd | 4.7.3 |
| React | 16.12.0 |
| System | mac/linux |
| Browser | chrome latest |

---
It was not the case before we updated to ant 4. Working fine with Ant 3.

I managed to reproduced with only rctabs so I opened the issue there  : https://github.com/react-component/tabs/issues/325


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: PowerToys
Issue: scratchpads  Option
Labels: Idea-New PowerToy,Product-Virtual Desktop

## scratchpads 

Hello If  could have a scratchpad on windows that would be amazing.

What is a scratchpad.
A scratchpad is a togglable zone that carries the app with it on every desktop.

It works like this.
I put Spotify on a scratchpad and give it shortcut caps + a
I put discord on a scratchpad and give it shortcut caps + s

i switch desktops to desktop 5 i pres a and s,
They both apear in their designated areas.
I switch desktops.

The spotify and discord are still in their designated areas, and now the other windows of the desktop I switched to are also there.

All after using it in Linux I have become a giant fan.
It's also very handy with the Windows terminal, I think.

---

If you'd like to see this feature implemented, add a 👍 reaction to this post.
Repository: godot
Issue: multiselect is not possible with pen input
Labels: bug,platform:windows,topic:input

**Godot version:**
3.2.3.stable.mono

**OS/device including version:**
Windows 10,
Project settings->window->tablet driver: "wintab" (default)
xp pen tablet (artist 13.3 pro)

**Issue description:**
selecting multiple objects, by holding shift or ctrl, is not possible with a pen device

**Steps to reproduce:**
- select an object in the outliner (or viewport)
- hold shift / ctrl
- click another object in the outliner (or viewport)

when using the mouse, both objects will be selected.
when using a pen / tablet, only the second object will be selected

**Minimal reproduction project:**
any scene with 2 or more objects.
Repository: rust
Issue: Improve diagnostics for impl Trait capturing lifetimes
Labels: A-lifetimes,A-borrow-checker,T-compiler,A-impl-trait,C-bug,A-async-await,AsyncAwait-Triaged

I tried this code:

```rust
use futures_util::stream::{once, Stream};
use std::io;

fn assert_static<T: 'static>(value: T) {}

async fn foo(a: &str) {
    assert_static(bar(a.split(',')));
}

fn bar<T>(_: T) -> impl Stream<Item = Result<Vec<u8>, io::Error>> {
    once(async { Ok(vec![]) })
}
```

I expected to see this happen: compiles correctly.

Instead, this happened:

```rust
error[E0759]: `a` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement
 --> src/lib.rs:6:14
  |
6 | async fn foo(a: &str) {
  |              ^  ---- this data with an anonymous lifetime `'_`...
  |              |
  |              ...is captured here...
7 |     assert_static(bar(a.split(',')));
  |     ------------- ...and is required to live as long as `'static` here
```

### Meta

rustc 1.47.0. This appears to be https://github.com/rust-lang/rust/issues/42940, fixing which might depend on `type-alias-impl-trait` (although so far that's only a workaround, not really a fix?). It would be nice to have more specific diagnostics here.
Repository: neovim
Issue: Add vertical padding to statusline
Labels: enhancement,ui

I know this is a unimportant request, but I would still like it if it's relatively simple to implement. And I would also be interested in controlling padding in the completion menu.
Repository: flutter
Issue: Proposal to add selectingSplashColor / selectingHighlightColor for bottomNavigationBar
Labels: framework,f: material design,c: proposal,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

For developer who do not want to show any splash and highlight effect on their buttons

<!--
     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

any possibility to add a `selectingSplashColor` or `selectingHighlightColor` in the `BottomNavigationBar`?

<!--
     Briefly but precisely describe what you would like Flutter to be able to do.

     Consider attaching images showing what you are imagining.

     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: flutter
Issue: Flutter web : Allow to add event listener on other windows
Labels: dependency: dart,platform-web,c: proposal,P3,team-web,triaged-web

Hello,

## Use case

On Flutter web, I would like to login with Twitter.
To do that, I need to access a verify page and check if the url was changed in order to catch the oauth_verifier variable.

On Flutter web, I can open a new web page with 
`final html.WindowBase popupLogin = html.window.open(
        url,
        "popup_name",
        "menubar=no, status=no, scrollbars=no, menubar=no, width=1000, height=500");`

Then I would like to add an event listener to catch when the url change :
`popupLogin.addEventListener("hashchange", (event) {
      print(event);
    });`

However, I get the following error : You can only attach EventListeners to your own window

## Proposal

Allow user to add event listener on other windows, like what we can do with standard JS.

Thank you ! 
Best regards,
Fabien
Repository: pytorch
Issue: [META] DO NOT DELETE THIS LABEL
Labels: triaged,open source,fb-exported,Merged

These labels are used to label pull requests and don't necessarily have an issues labeled with them. Don't delete this label just because it doesn't look used!
Repository: opencv
Issue: Question about async forward in DetectionModel wrapper
Labels: feature,category: dnn

Hey guys,
I would like to know if is there any feature for that being worked or if you guys have plans to add an sync predict method or something like that, also if it already exist could you guys re-direct me for that?