sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: Video player plugin should support WebVTT closed captions file format. 
Labels: c: new feature,a: accessibility,p: video_player,package,c: proposal,team-ecosystem,P3,triaged-ecosystem

<!-- 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 our the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Use case

This file format is commonly used on the web. https://github.com/flutter/flutter/issues/25388 was resolved, but the only supported file type right now is SubRip. More specifically, when the `video_player` plugin is used to display [HLS](https://en.wikipedia.org/wiki/HTTP_Live_Streaming), we want the ability to read captions from the stream and display them in our app. 

Example HLS with captions: https://developer.apple.com/streaming/examples/advanced-stream-fmp4.html

<!--
     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 alternative solutions you've considered. Is there a package
     on pub.dev/flutter that already solves this?
-->

## Proposal

<!--
     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.
-->

We should write a subclass of `ClosedCaptionFile` in the `video_player` plugin that can read closed caption files in WebVTT format. We also _may_ need to modify the player to support reading captions on the go, as a stream while the video file is being streamed.
Repository: flutter
Issue: [web][safari] unskip safari text related tests
Labels: a: tests,team,framework,a: typography,platform-web,browser: safari-macos,P2,team-web,triaged-web

Bunch of tests are skipped for text/measurement in Safari in the following files. We should either skip them or change them to work in in Safari. (note: there is a chance that the browser has a bug for the tests methods use case)

- [x] text_test.dart
- [ ] paragraph_test.dart
- [ ] measurement_test.dart (80% was failing so the entire file is skipped)

Text editing has another issue.
Repository: flutter
Issue: [web][safari] unskip safari text editing tests
Labels: a: tests,a: text input,team,framework,platform-web,browser: safari-macos,P2,team-web,triaged-web

Some methods in text_editing_test.dart are skipped in Safari. We should either skip them or change them to work in in Safari. (note: there is a chance that the browser has a bug for the tests methods use case)
Repository: flutter
Issue: Change backgroundColor of CupertinoActionSheet
Labels: framework,f: cupertino,d: stackoverflow,c: proposal,team-design,triaged-design

is it possible to add in the future a parameter `backgroundColor` or something like that to change the backgroundColor of the `CupertinoActionSheet`? Actually you can only switch between two colors.
Repository: TypeScript
Issue: Composite projects: support strict dependencies
Labels: Suggestion,In Discussion

Google (and Bazel rules_typescript) use a special-purpose TypeScript compiler. One of the reasons for this is we want to enforce strict dependencies.

Strict dependencies means you may only import or reference symbols declared in a project you explicitly declare to be an input. This is an essential property in a large monorepo as a defense against accidental coupling between projects.

For example we might have three directories, A B and C:

```
alexeagle@alexeagle:~/Projects/repro_strict_deps$ cat A/a.ts
export const a = 'hello';
alexeagle@alexeagle:~/Projects/repro_strict_deps$ cat A/tsconfig.json 
{
    "compilerOptions": {
        "composite": true
    }
}
```

```
alexeagle@alexeagle:~/Projects/repro_strict_deps$ cat B/b.ts
import {a} from '../A/a';

export function sayHello(f: string) {
    console.log(a + f);
}
alexeagle@alexeagle:~/Projects/repro_strict_deps$ cat B/tsconfig.json
{
    "compilerOptions": {
        "composite": true,
    },
    "references": [
        {"path": "../A"}
    ]
}
```

```
alexeagle@alexeagle:~/Projects/repro_strict_deps$ cat C/c.ts
import {a} from '../A/a'; // SHOULD FAIL HERE
import {sayHello} from '../B/b';

sayHello('world');
console.error(a);
alexeagle@alexeagle:~/Projects/repro_strict_deps$ cat C/tsconfig.json
{
    "references": [
        // NO REF TO A
        {"path": "../B"}
    ]
}
```

Let's say we work on library B. We decide we no longer need to depend on A, so we remove the dependency, but this breaks users such as C. This is a serious impediment to good code practices because our dependency on A leaked to users who reference its symbols without declaring their own dependency. In a big monorepo, the breakage of removing a dependency can prevent ever cleaning them up

We would like to propose a strictness setting when used with Project References, such that imports (or ambient references) from transitive dependencies should be disallowed.

/cc @evmar @josephperrott
Repository: go
Issue: cmd/compile: error has incorrect column number
Labels: NeedsInvestigation,compiler/runtime

<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
1.13.7
</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>
$ go env
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/pdq/gocode"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.13.7"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.13.7/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/mv/slwhmwcj03d0npjtlsnjcm2m0000gn/T/go-build196033875=/tmp/go-build -gno-record-gcc-switches -fno-common"
pdq@quackbook-air ~/v/simscope $
</pre></details>

### What did you do?

Playground: https://play.golang.org/p/DyuvyvPwrv6

```
package main

type ABC struct {
	A string
}

func hello(first string, second string, third bool) {
}

func main() {
var abc ABC
hello("hello", "world", abc)
}
```

### What did you expect to see?

```
./prog.go:12:24: cannot use abc (type ABC) as type bool in argument to hello
```

### What did you see instead?

```
./prog.go:12:16: cannot use abc (type ABC) as type bool in argument to hello
```

NOTE: I removed leading whitespace in the source code to eliminate ambiguity.  

The error is pointing to the second argument column ("world" on column 12) instead of the third argument column (abc on column 24).
Repository: flutter
Issue: Cache shaders on Fuchsia
Labels: customer: fuchsia,engine,dependency: fuchsia,c: performance,platform-fuchsia,perf: speed,P2,team-engine,triaged-engine

On Fuchsia, a Flutter runner is shared across multiple applications. We should use a single persistent cache for the Skia shaders for each Flutter runner, so that we only compile each shader once per version of the engine, even across multiple apps.
Repository: flutter
Issue: FloatingActionButton flickers on Hero animation
Labels: framework,a: animation,f: material design,has reproducible steps,found in release: 2.10,found in release: 2.13,team-design,triaged-design

I have a list of images in a `SliverList` with a `FloatingActionButton` on the bottom-right corner. When the user click's any image on the `SliverList`, the image animates to a new `Route` where the image goes behind the `AppBar` on this new page. I am using a `Hero` widget to make the animation from the `SliverList` item to the `AppBar` `flexibleSpace`.

The problem happens when the clicked image is behind the `FloatingActionButton` on the first page and the user clicks the back button on the second page. When the user clicks the image on the `SliverList` the image animates fine to the next page, but when it goes back the image transitions from the top (the `AppBar`) to the bottom right in front of the `FloatingActionButton`, while the `FloatingActionButton fades-in as the second page fades-out, and then the `Hero` widget suddenly replaces the source image with the destination image, as the source is on top of the `FloatingActionButton` and the destination is behind, the end result is the `FloatingActionButton` flickering in place, which goes against all the soft transitions that happened before.

So in a nutshell, as we go back we see the `FloatingActionButton` fading-in while the image moves covering it then suddenly it appears on top of the image.
Repository: angular
Issue: Angular 9: projectable nodes change position
Labels: type: bug/fix,freq1: low,area: core,state: confirmed,core: content projection,core: dynamic view creation,P4

<!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅

Oh hi there! 😄

To expedite issue processing please search open and closed issues before submitting a new one.
Existing issues often contain information about workarounds, resolution, or progress updates.

🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->


# 🐞 bug report

### Is this a regression?

<!-- Did this behavior use to work in the previous version? -->
<!-- ✍️--> Yes, the previous version in which this bug was not present was: 8

### Description
If you create a template with multiple `ng-content` and some of them under `ngIf` directive, strange behavior happens. Seems like the projectables nodes change their position and display in the wrong placeholders.


## 🔬 Minimal Reproduction
<!--
Please create and share minimal reproduction of the issue starting with this template: https://stackblitz.com/fork/angular-issue-repro2
-->
https://stackblitz.com/edit/angular-ivy-whjpes?file=src%2Fapp%2Fapp.component.ts
In the given link you can see that both `Header text` and `Content text` are placed in the wrong positions: `Content text` displays in the div with class `header`, while `Header text` displays in the div with class `content`. If you remove `ngIf` everything works fine.

<!--
If StackBlitz is not suitable for reproduction of your issue, please create a minimal GitHub repository with the reproduction of the issue.
A good way to make a minimal reproduction is to create a new app via `ng new repro-app` and add the minimum possible code to show the problem. 
Share the link to the repo below along with step-by-step instructions to reproduce the problem, as well as expected and actual behavior.

Issues that don't have enough info and can't be reproduced will be closed.

You can read more about issue submission guidelines here: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-submitting-an-issue

-->

## 🌍  Your Environment

**Angular Version:**
Angular v.9 of all packages
Repository: flutter
Issue: Get properties of widget using flutter driver
Labels: c: new feature,framework,t: flutter driver,P3,team-framework,triaged-framework

Hello guys, 

I want to get some properties of a widget (color, hintText, onTap, ...) by using flutter driver. I tried to use `.getWidgetDiagnostics()` or `.getRenderTree()` or `.getRenderObjectDiagnostics()`, none of them include the property value I want. Could you help to achieve this ?

Thanks in advanced.
Repository: godot
Issue: Exporting selected scenes to HTML5 does not export project audio bus
Labels: bug,topic:editor,confirmed,topic:audio,topic:export

**Godot version:**
v3.2

**OS/device including version:**
Windows 10 v1909

**Issue description:**
Exporting selected scenes to HTML5 does not export project audio bus file (*.tres). Which means `AudioEffectInstance.get_magnitude_for_frequency_range` doesn't work on HTML5 unless the user exports all resources in the project, or manually adds `*.tres` to the "Filters to export non-resource files/folders".

**Steps to reproduce:**
Create a new project that uses AudioEffectInstance.get_magnitude_for_frequency_range, add a new audio bus, and export to HTML5 by selecting only the scene file.
Repository: scrcpy
Issue: Turning screen off (mirroring) kills brightness adjustment
Labels: screenoff

When I start `scrcpy` with the `--turn-screen-off` command line option, or if I use `ctrl-o` keyboard shortcut, once running to keep the mirroring working while turning the screen off, then **any subsequent screen brightness change is no more taken in account until I reboot**.

No matter what I do after:
* Changing  brightness manually
* Turning off and on adaptive brightness

The screen brightness will remain what it was before the `scrcpy` session. And this, until I reboot which eventually restores the mechanism.

If I run `scrcpy` without passing the command line option or issuing the `ctrl-o` keyboard shortcut, everything is fine from brightness adjustment point of view...

I didn't notice this initially, or at least didn't make the link as clear as it is now.
This is on _Samsung S9_ running [/e/](https://e.foundation/) (basically the same as [LineageOS](https://lineageos.org/)) based on Oreo , but a friend of mine running [LineageOS](https://lineageos.org/) on a _Samsung S7_  do not face the same issue...
Repository: go
Issue: image/color: documentation doesn't include links to relevant color theory resources
Labels: Documentation,NeedsInvestigation


### What version of Go are you using (`go version`)?


<pre>
$ go version
1.13.7
</pre>

### Does this issue reproduce with the latest release?

Yes: https://tip.golang.org/pkg/image/color/

### What did you expect to see?

The `image/color` relies on some color theory. But no pointers are given to learn about that theory.

Here are a few questions for which the documentation should give answers or even just hints:
* What is Alpha?
* What is the difference between alpha-premultiplied and non-alpha-premultiplied (some answer exists in doc for type [RGBA](https://tip.golang.org/pkg/image/color/#RGBA), but more in overview would be helpful) and when should one be used).

Also, no examples. That would be useful to understand [Model](https://tip.golang.org/pkg/image/color/#Model).

### What did you see instead?

The [package overview section](https://tip.golang.org/pkg/image/color/#pkg-overview) is a single sentence:

> Package color implements a basic color library.
Repository: godot
Issue: Godot Editor and game freezes when using .gdns file
Labels: bug,topic:editor,topic:gdextension,crash

**Godot version:** 3.2

**OS/device including version:** Ubuntu 19.10

**Issue description:** I'm trying to include this module [TTSDriver.zip](https://github.com/godotengine/godot/files/4191420/TTSDriver.zip)
The godot editor freezes when put in the background. Game also freeze when trying to quit with the close button.

**Steps to reproduce:** Include the file given in a project - run the app and try to quit it or put the godot editor in the background and come back to it 
Code doesn't matter because even if I don't preload it the issue occures anyway  
The module [source](https://github.com/bruvzg/godot_tts)  
The problem goes away if i rename the TTSDriver.gdns to TTSDriver.gdns.back (but I can't use it anymore in the code ;-) )
Repository: godot
Issue: "Auto Key" not auto keying when changing values from inspector
Labels: bug,topic:editor

**Godot version:**
v3.2
**OS/device including version:**
Windows 10

**Issue description:**
![image](https://user-images.githubusercontent.com/37254287/74330758-047a7980-4d71-11ea-968a-134b43b90462.png)

With Auto Key enabled, along with the other transforms, it only works when you animate with move, rotate and scale tools. but if you change the values in the inspector, it doesn't auto key those values. I would scale with the tool, and then punch in accurate numbers in the inspector, but it does not auto key from the inspector.

**Steps to reproduce:**
1. Add your animation player, create your animation track, enable auto key.
2. Animate using Inspector.

**Minimal reproduction project:**
-
Repository: vscode
Issue: Support custom QuickPick filter logic
Labels: feature-request,quick-pick

Currently the `QuickPick` filter logic supports wild cards and which parts of the item to search in but not things like switched up word order or regex. [An issue](https://github.com/brunnerh/insert-unicode/issues/13) was opened for one of my extensions asking for a more lenient search, which does not seem possible with the current API.

Rather than adding a lot of options specifying exactly how the filtering behaves it might be easier and more sensible to provide a custom filter callback and maybe a filter delay option. The delay would trigger the filter logic only `n` milliseconds after the user has last typed, in case the filter logic is complex or there are many items (- i have 33k -) causing long filter times.

Suggested interface for the options:

```ts
interface QuickPickOptions {
	// ...

	/**
	 * Time in milliseconds to wait after last user input
	 * before filtering the list.
	 * @default 0
	 */
	filterDelay: number,

	/**
	 * Optional filter callback which overrides the default filter
	 * behavior. The callback is called for every item in the list
	 * with the current user input.
	 * @default undefined
	 */
	filterCallback?: (item: QuickPickItem | string, filterText: string) => boolean,
}
```

I had a look at handling a quick pick "manually" by using `createQuickPick` but it also filters completely automatically.

---

Maybe `QuickPickOptions` could also be made generic. It already has the `onDidSelectItem` property which uses a union for the item type instead of a generic. Then functions like `showQuickPick<T extends QuickPickItem>` could propagate their generic type to the options argument.
Repository: flutter
Issue: [google_maps_flutter] Plans for adapting Maps SDK Utility Library for google_maps_flutter
Labels: c: new feature,p: maps,package,c: proposal,team-ecosystem,P3,triaged-ecosystem

## Use case
Adape the existing Maps SDK Utility Libraries on [Android](https://github.com/googlemaps/android-maps-utils) and [iOS](https://github.com/googlemaps/google-maps-ios-utils)

Adapting the existing utility library from both native platforms will allow:
- Rendering KML and GeoJSON 
- Rendering Heatmap
- Other features from the utility libraries

## Proposal
#### Approach 1:
To create a separate plugin, which depends on the existing `google_maps_flutter`

Since the existing utility only requires a reference to the map view, I think is the easiest approach.
I have try to build a plugin which depends on the `google_maps_flutter`. However, it seems impossible to get a reference on the MapView, since the plugin passes a `GoogleMapFactory` directly to flutter and no way of getting the MapView reference.

#### Approach 2:
Add utility implementation to the main `google_map_flutter` library.

However, this seems to be an approach which contradicts the motivation of the existing separate native utility libraries.

Does the Flutter team currently have any plans for adapting the utility libraries?
Repository: rust
Issue: Tracking issue for target_feature 1.1 RFC
Labels: T-lang,B-unstable,B-RFC-implemented,C-tracking-issue,F-target_feature_11,S-tracking-ready-to-stabilize,A-target-feature

This is a tracking issue for the RFC "target_feature 1.1" (rust-lang/rfcs#2396).

Issues: https://github.com/rust-lang/rust/labels/F-target_feature_11

## People

*Last updated in Mar 2023:*

* Shepherd: ~~gnzlbg~~ @workingjubilee (person who can help answer tricky questions that arise during implementation)
* Lang team liaison: @joshtriplett (main point of contact from lang team)

## Step

- [x] Implement the RFC: https://github.com/rust-lang/rust/pull/69274
- [ ] Adjust documentation: https://github.com/rust-lang/reference/pull/1181
- [x] Stabilization PR ([see instructions on rustc-guide][stabilization-guide])
- [x] Revert? https://github.com/rust-lang/rust/pull/108654
- I suppose we're off the end of the script, here. Bugs to fix:
  - [x] https://github.com/rust-lang/rust/issues/108645
  - [x] https://github.com/rust-lang/rust/issues/108646
  - [x] https://github.com/rust-lang/rust/issues/108655
  - [ ] https://github.com/rust-lang/rust/issues/116558
  - [x] https://github.com/rust-lang/rust/issues/131058
- [ ] Re-stabilization PR: https://github.com/rust-lang/rust/pull/134090

[stabilization-guide]: https://rust-lang.github.io/rustc-guide/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rust-lang.github.io/rustc-guide/stabilization_guide.html#documentation-prs

## Unresolved questions

* ~~https://github.com/rust-lang/rust/issues/72012 -- soundness hole where safe target-feature functions implement the `Fn` traits.~~
* ~~#73631 -- behavior of closures and target-features~~

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":null}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: rust
Issue: Tracking Issue for `std::cell::{Ref, RefMut}::leak`
Labels: T-libs-api,B-unstable,C-tracking-issue,Libs-Tracked

#68712 adds methods to convert `RefCell` guards `Ref`/`RefMut` into references with the lifetime of the underlying cell.

The feature gate for the issue is `#![feature(cell_leak)]`.

### Unresolved Questions

- [ ] Should similar methods be provided for `MutexGuard` and  `RwLockReadGuard`/`RwLockWriteGuard`?
- [ ] Should `unsafe` methods be added to forcefully revert a leak?
- [ ] For `undo_leak`, would it make more sense not to return a reference (i.e., separate this from `get_mut`)?
Repository: pytorch
Issue: [feature request] Add "groups" argument to nn.Fold and nn.Unfold
Labels: feature,module: nn,triaged

## 🚀 Feature
Add a `groups` argument to the `Fold` and `Unfold` modules (and the corresponding functions in `functional`)

## Motivation

Currently it is a little bit cumbersome to implement e.g. a custom `AvgPool2d` or `MaxPool2d` filter using `Fold` and `Unfold`, as the channel information is not retained. For an input of shape `[B, C, H, W]` `Fold` will output an array of `[B, #pixels_per_window, #windows]` and it is cumbersome to divide that up into the channels again in this stage.

## Pitch

Adding a `group` argument (just like in the `Convxd` modules) would simplify that (by choosing `groups=C`), and provide a natural extension of these modules. I'd suggest for `Fold` to output a shape of `[B, groups, #pixels_per_window, #windows]` instead. 

## Alternatives

I don't think there are any really elegant alternatives. `Fold` and `Unfold` are provide to implement custom filtering and pooling functionality.

## Additional context

none
Repository: flutter
Issue: Move "flutter update-packages" command to dev
Labels: team,tool,c: proposal,P3,team-tool,triaged-tool

The flutter update packages command is only used to initialize/upgrade/track dependencies for the flutter repo. If it is accidentally invoked by a user, they may put their repository into a bad state which requires either resetting it with git or re-downloading. To guard against this, we should move the logic of this command to dev, and leave a breadcrumb in the tool to the new location.

@zanderso