sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: Support Material Symbols 
Labels: c: new feature,framework,f: material design,customer: crowd,c: proposal,P3,team-design,triaged-design

[Developer documentation](https://developers.google.com/fonts/docs/material_symbols)
[Design doc](https://docs.google.com/document/d/1UHRKDl8-lzl_hW_K2AHnpMwvdPo0vGPbDI7mqACWXJY/)

To take into consideration:
- 3 separate variable fonts for outlined, rounded, and sharp styles
- advantages provided by using a variable font
- possibly not using `static const`s

Related issues:

- automatic updating (#83741)
- providing them in a package (#12569)
- better integration with IDEs (https://github.com/flutter/flutter/issues/11073, https://github.com/dart-lang/sdk/issues/47667), could store data in https://github.com/flutter/tools_metadata
- https://github.com/flutter/flutter/issues/104987
Repository: electron
Issue: [Feature Request]: 'did-change-color-scheme' event on webcontents
Labels: enhancement :sparkles:,component/webview,component/webcontents

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

Browsers currently support a way to trigger a dark mode rendering by setting a `color-scheme` meta tag, or defining a `color-scheme` css property on the `:root`  element. When this is set to `dark`, browsers will automatically render a dark background behind the webcontents, as well as change the text color.

To see this in action, see this demo page: https://color-scheme-demo.glitch.me/ (warning: This will flip from light to dark every three seconds) and accompanying explainer article: https://web.dev/color-scheme/

Regular browser windows in Electron will switch this background color along with the text color, but other webcontents, like those in `webviews` don't. This results in rendering white text on a white ( transparent) background when color-scheme is set to dark.

You could use JS to read out the `color-scheme` meta tag and find if `color-scheme` is a defined CSS property and manually set a background color behind a webview. This will work once but the color-scheme value can update at any moment with no additional signal, which can make webviews unreadable.

**Note** this is a distinct feature from `prefers-color-scheme`. That indicates the preference of the user, while `color-scheme` indicates whether a site supports dark, light or both.

### Proposed Solution

An event on webContents that is called when the color-scheme changes, similar to the `did-change-theme-color` event we already have. 

### Alternatives Considered

1. Injected JavaScript listeners that observe the CSSStyleSheet and DOM tree.
2. Chrome itself forces a dark background on iframes (see example 3 below). We could do the same for webviews.

### Additional Information

1. Fiddle of the above demo page set as the webContents of a BrowserWindow: https://gist.github.com/5244ed27b3fdb152ea4d8087362c2066 observe that the background changes.
2. Fiddle of the above demo page set as the webContents of a Webview: https://gist.github.com/5bb84a61cd87c3809d28fbf61b8714b9 observe that while the text color changes, the background color doesn't change.
4. Codepen of the above demo page set in an iframe: https://codepen.io/Kilian/pen/xxpNvEb Notice that in Chromium the background of the iframe does update.
Repository: go
Issue: proposal: database/sql: add MaxIdleConnections to DBStats 
Labels: Proposal

This is a proposal to add MaxIdleConnections to DBStats. 

Currently, DBStats exports the following metrics: 
```
type DBStats struct {
    MaxOpenConnections int // Maximum number of open connections to the database.

    // Pool Status
    OpenConnections int // The number of established connections both in use and idle.
    InUse           int // The number of connections currently in use.
    Idle            int // The number of idle connections.

    // Counters
    WaitCount         int64         // The total number of connections waited for.
    WaitDuration      time.Duration // The total time blocked waiting for a new connection.
    MaxIdleClosed     int64         // The total number of connections closed due to SetMaxIdleConns.
    MaxIdleTimeClosed int64         // The total number of connections closed due to SetConnMaxIdleTime.
    MaxLifetimeClosed int64         // The total number of connections closed due to SetConnMaxLifetime.
}
```
We had issues where our applications were configured with a MaxOpenConnections != MaxIdleConnections, leading to a lot of connection churning to the DB. 
MaxOpenConnections is already available in the stats but MaxIdleConnections is missing, making it hard to track affected applications.
Repository: youtube-dl
Issue: Support for Talk TV
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
- [ ] 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.
-->

- (https://watch.talk.tv/watch/vod/45196240)
- (https://watch.talk.tv/watch/replay/12216792)
- (https://watch.talk.tv/watch/replay/12218475)

## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

New UK TV Channel, Talk TV (talk.tv) has on demand shows. 

It is an unsupported URL. Any way we could fix this?

Thanks!
Repository: vscode
Issue: Support DAP's ValueFormat for formatting values in variables list
Labels: feature-request,debug

I had a feature request to show Variables in hex format. I found `supportsValueFormattingOptions `/`valueFormat` but it seems that VS Code does not currently support it (see https://github.com/microsoft/vscode/issues/28025#issuecomment-321196952).

The recommendation in Nov 2020 was for debug extensions to implement a context menu entry to handle this:

https://github.com/microsoft/vscode/issues/28025#issuecomment-722687806

However, this is not an ideal solution because (if I understand correctly) it needs work both in the VS Code extension and in the DAP Server, including some custom way for the VS Code extension to pass this setting to the DAP Server (in some non-standard, VS-Code-extension-specific way).

It would be much better if VS Code had built-in UI for this and supported `supportsValueFormattingOptions `/`valueFormat`. In Mar 2021 at `supportsValueFormattingOptions `/`valueFormat`, @weinand said:

> But as soon as VS Code will start using it, we will add "format" as an optional property on `InlineValueContext`.

So it seems like there may be a plan to move to this, but as far as I can tell there is no existing issue tracking/discussing it.
Repository: electron
Issue: [Feature Request]:  BrowserView Rotation
Labels: enhancement :sparkles:,component/BrowserView

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

I am currenctly trying to implement an embedded WebBrowser in an application. 
It is working great, I have used a BrowserView to disable navigating outside the page or opening new pages. Yet for our specific purpose, it would be amazing if we were able to rotate the BrowserView inside the BrowserWindow. (The application will be shown on a Table, therefore rotation would be useful)

### Proposed Solution

From a user point of view, it should be as easy as setting a 'rotation' property on your BrowserView like this:
```javascript
const view = new BrowserView();
view.rotation = 81;
```
Or directly at setBounds maybe?
```javascript
const view = new BrowserView();
view.setBounds({
    'x': 100,
    'y': 100,
    'height': 600,
    'width': 850,
    'rotation': 81
});
```

### Alternatives Considered

-

### Additional Information

_No response_
Repository: neovim
Issue: nvim_echo() with an empty message "hides" the commandline input
Labels: bug,display

### Neovim version (nvim -v)

0.7.0

### Vim (not Nvim) behaves the same?

Not applicable

### Operating system/version

Linux

### Terminal name/version

GNOME terminal

### $TERM environment variable

xterm-256color

### Installation

Arch Linux Community repository

### How to reproduce the issue

Create this file:

```lua
vim.defer_fn(function()
  vim.api.nvim_echo({ { '', '' } }, false, {})
end, 5000)
```

Now open the file and run `:so %`, then immediately type `:echo 'test'` but _don't_ run the command. Instead, wait for up to 5 seconds, and observe how the input is hidden. The input appears again when you change it (e.g. by typing an extra character).

This can be seen here:

[![asciicast](https://asciinema.org/a/ogeMsStVjETHiyrSOR01VH4ZI.svg)](https://asciinema.org/a/ogeMsStVjETHiyrSOR01VH4ZI)

### Expected behavior

I would expect that echo'ing messages using `nvim_echo()` doesn't impact the commandline input. The regular `:echo` command appears to behave exactly that way.

### Actual behavior

The input is "hidden", and re-appears when you change the commandline input.
Repository: youtube-dl
Issue: Add prompt information for zsh completions
Labels: 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.
- Search the bugtracker for similar feature 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 feature request
- [x] I've verified that I'm running youtube-dl version **2021.12.17**
- [x] I've searched the bugtracker for similar feature requests including closed ones


## Description

<!--
Provide an explanation of your issue in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible.
-->

WRITE DESCRIPTION HERE

Now, the completion of youtube-dl is: (e.g. zsh)

```
❯ youtube-dl --<Tab>
--abort-on-error                 --dump-pages                     --hls-prefer-native              --no-continue                    --rm-cache-dir
...
```

How about:

```
❯ youtube-dl --<Tab>
option
--abort-on-error                  Abort downloading of further videos (in the playlist or the command line) if an error occurs
--abort-on-unavailable-fragment   Abort downloading when some fragment is not available
...
```

It is just

```
#compdef youtube-dl

compdef _gnu_generic youtube-dl
```

I believe if use `youtube-dl --completion zsh` to generate a shell script, it can be done better.
Repository: flutter
Issue: Cleanup "Examples can assume"
Labels: framework,P2,c: tech-debt,team-framework,triaged-framework

There are 47 files with these. I'm assuming these are remnants of an old way of displaying sample code?

e.g.
```
// Examples can assume:
// late AnimationController controller;
```

@gspencergoog is this correct?
Repository: PowerToys
Issue: Bug: for "always on top", the upper side of the window causes the mouse cursor to be in "loading" state
Labels: Issue-Bug,Product-Always On Top,Status-Reproducible

### Microsoft PowerToys version

0.57.2

### Running as admin

- [ ] Yes

### Area(s) with issue?

Always on Top

### Steps to reproduce

Enable "always on top".
Open some app, such as Windows calculator.
Make it be always-on-top, using the key-combination you have (CTRL+start+T in my case).
Move the mouse cursor to the top-edge of the window.

### ✔️ Expected Behavior

Should be as usual

### ❌ Actual Behavior

It shows a loading-state for the cursor.

### Other Software

Attached video showing the issue:

[chrome_2022-04-26_16-28-29.zip](https://github.com/microsoft/PowerToys/files/8563585/chrome_2022-04-26_16-28-29.zip)
Repository: godot
Issue: Vulkan: Tilesets light occlusion leaks
Labels: bug,topic:rendering,regression,topic:2d

### Godot version

v4.0.alpha.custom_build [5c54770b7]

### System information

Windows 10, GTX 1050ti, GLES3

### Issue description

Tileset light occlusion leaks through



![1](https://user-images.githubusercontent.com/63138805/165312769-f56002ca-39f5-43af-860f-a1463dda43cf.PNG)
![2](https://user-images.githubusercontent.com/63138805/165312787-716e1039-ed85-449f-89e4-1b8ba1b9b2f0.PNG)



### Steps to reproduce

1. Create a tileset with a occlusion layer and a tile covered completely by occlusion rectangle
2. Place multiple in a row in a tilemap
3. Create a light with shadow

### Minimal reproduction project


[tilemap_example.zip](https://github.com/godotengine/godot/files/8563674/tilemap_example.zip)
Repository: flutter
Issue: [pigeon] Allow annotating class names with ObjC name
Labels: platform-ios,package,p: pigeon,P3,team-ios,triaged-ios

In a recent webview PR we had a Pigeon class whose name had `Url` in it; on the ObjC side that's not the correct capitalization, and should instead be `URL`. We should allow annotating class names with an ObjC name, just as we do with methods, so that generated code can match class naming conventions.
Repository: vscode
Issue: Prevent menu selection from static mouse hover
Labels: bug,menus

* vscode.insiders, safari
* trigger quick fix for a missing import
* for a split second the first menu entry is selected (the correct one) but than the last is selected (happens at ~sec 2 in the recording)


https://user-images.githubusercontent.com/1794099/165321608-e0a615e6-e65b-46fd-ab43-2ce0a3fea4e3.mov

capture of sec2

<img width="597" alt="Screenshot 2022-04-26 at 16 19 40" src="https://user-images.githubusercontent.com/1794099/165321283-ce7590c5-82d3-4270-800d-5af67b068890.png">
Repository: vscode
Issue: extension.extensionKind is wrong for extensions not running on the host
Labels: bug,api,debt,extension-host

Testing #148039

- in a remote window use `vscode.extensions.allAcrossExtensionHosts` and look at the `extensionKind` of the extensions that are not located on the remote. 
- :bug: All extension have `Workspace` set. 
- Extension located on `vscode-local` should be `UI`
```
* vscode.bat
  * extensionUri: vscode-local:/usr/share/code-insiders/resources/app/extensions/bat
  * extensionKind: Workspace
* vscode.clojure
  * extensionUri: vscode-local:/usr/share/code-insiders/resources/app/extensions/clojure
  * extensionKind: Workspace
* vscode.coffeescript
  * extensionUri: vscode-local:/usr/share/code-insiders/resources/app/extensions/coffeescript
  * extensionKind: Workspace
* vscode.configuration-editing
  * extensionUri: file:///home/martin/.vscode-server-insiders-testresolver/bin/ab86e0229d6b4d0cb49cfd6747c92cafcd2bd4af/extensions/configuration-editing
  * extensionKind: Workspace
```
Repository: flutter
Issue: [in_app_purchase] Feature request: Google Play application licensing for testing billing
Labels: platform-android,would be a good package,p: in_app_purchase,c: proposal,P3,team-android,triaged-android

Hi, to my knowledge there is currently no way to setup google play application licensing on a flutter app. This means I have to launch my app to the public before I can test my `in_app_purchase` integration and my 'Real-time developer notifications' via pub/sub & Cloudrun which is not ideal.

https://developer.android.com/google/play/billing/test

I found [this repo](https://github.com/yongjhih/flutter_play_licensing) that looks like someone had this working but 2 years out of date no longer maintained. It would be great to have an official package that enables this functionality.
Repository: go
Issue: testing: fuzzer aborts with "fuzzing process hung or terminated unexpectedly while minimizing: EOF"
Labels: NeedsInvestigation

### What version of Go are you using (`go version`)?

<pre>
go version go1.18.1 linux/arm64
</pre>

### Does this issue reproduce with the latest release?

Yes.

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
GO111MODULE=""
GOARCH="arm64"
GOBIN="/home/lorenz/.local/bin"
GOCACHE="/home/lorenz/.cache/go-build"
GOENV="/home/lorenz/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/lorenz/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/lorenz/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_arm64"
GOVCS=""
GOVERSION="go1.18.1"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/lorenz/ebpf/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build640695223=/tmp/go-build -gno-record-gcc-switches"
</pre></details>

### What did you do?

I ran the following in the https://github.com/cilium/ebpf repo at d4e048f8a6d8d213b452c61573bd8150c35b557c.

```
$ go test -fuzz FuzzSpec -run XXX ./internal/btf/
WARNING: Failed to adjust rlimit, tests may fail
fuzz: elapsed: 0s, gathering baseline coverage: 0/14 completed
fuzz: elapsed: 0s, gathering baseline coverage: 14/14 completed, now fuzzing with 4 workers
fuzz: elapsed: 3s, execs: 21471 (7155/sec), new interesting: 1 (total: 15)
fuzz: elapsed: 5s, execs: 22115 (279/sec), new interesting: 1 (total: 15)
--- FAIL: FuzzSpec (5.31s)
    fuzzing process hung or terminated unexpectedly while minimizing: EOF
    Failing input written to testdata/fuzz/FuzzSpec/a2142308b78fc52a699d1f6e6c6e6552ed94b5ff5c376733a080dfb12fd98cd4
    To re-run:
    go test -run=FuzzSpec/a2142308b78fc52a699d1f6e6c6e6552ed94b5ff5c376733a080dfb12fd98cd4
FAIL
exit status 1
FAIL	github.com/cilium/ebpf/internal/btf	5.324s
```

### What did you expect to see?

I expected the command given to reproduce the issue to result in a crash.

### What did you see instead?

```
go test -run=FuzzSpec/a2142308b78fc52a699d1f6e6c6e6552ed94b5ff5c376733a080dfb12fd98cd4 -v
WARNING: Failed to adjust rlimit, tests may fail
testing: warning: no tests to run
PASS
ok  	github.com/cilium/ebpf	0.004s
```

The contents of the file are:

```
$ cat internal/btf/testdata/fuzz/FuzzSpec/a2142308b78fc52a699d1f6e6c6e6552ed94b5ff5c376733a080dfb12fd98cd4
go test fuzz v1
[]byte("\x9f\xeb\x01\x00\x18\x00\x00\x000000000000000\x00\x009")
```
Repository: rust
Issue: Wrong fix suggested for missing as_mut in the presence of RefCell<Option<>>
Labels: A-diagnostics,T-compiler

<!--
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.

If you cannot produce a minimal reproduction case (something that would work in
isolation), please provide the steps or even link to a repository that causes
the problematic output to occur.
-->

Given the following code: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=d77c477c52217e25856306f659a26e42

```rust
use std::cell::RefCell;

fn foo(cell: &RefCell<Option<Vec<()>>>) {
    cell.borrow_mut().unwrap().pop().unwrap();
}
```

The current output is:

```
Compiling playground v0.0.1 (/playground)
error[[E0507]](https://doc.rust-lang.org/nightly/error-index.html#E0507): cannot move out of dereference of `RefMut<'_, Option<Vec<()>>>`
 [--> src/lib.rs:4:5
](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=d77c477c52217e25856306f659a26e42#)  |
4 |     cell.borrow_mut().unwrap().pop().unwrap();
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Option<Vec<()>>`, which does not implement the `Copy` trait
  |
help: consider borrowing the `Option`'s content
  |
4 |     cell.borrow_mut().unwrap().as_ref().pop().unwrap();
  |                               +++++++++

For more information about this error, try `rustc --explain E0507`.
error: could not compile `playground` due to previous error
```

There are two separate issues here:

1. The suggested `as_ref` is in the wrong place and should be after the `borrow_mut()`, not after the `unwrap()`.
2. The suggested `as_ref` really should be an `as_mut`
Repository: rust
Issue: rust-gdb should automatically break on `rust_panic`
Labels: C-enhancement,T-compiler,WG-debugging

Why when the assert falls, assert! in rust-gdb, an Inferior process exited with code occurs and it is impossible to get a backtrace and walk around it (how can this be done with assert in libc)?

Rust's assert:
```
fn main() {
    assert!(false);
}
```
one can get this in `rust-gdb`:
```
[Inferior 1 (process 18696) exited with code 0145]
(gdb) bt
No stack.
```
And in C:
```
#include <assert.h>

int main() {
    assert(0);
    return 0;
}
```
You get this:
```
Program received signal SIGABRT, Aborted.
0x... in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x... in raise () from /lib64/libc.so.6
...
(gdb) f 4
#4 0x... in main () ...
4         assert(0);
(gdb)
```