sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: terminal
Issue: [WSL] Horizontal Scroll-bar displayed needlessly after resizing tmux session through SSH
Labels: Product-Conhost,Issue-Bug,Area-UserInterface,Priority-3

# Note
I was directed to post WSL console issues here (link redirects from `microsoft/console` to `microsoft/terminal`). See: https://github.com/microsoft/WSL/issues/new?assignees=&labels=&template=bug_report.md&title=

# Environment

```none
Windows build number: 1909
Windows Terminal version (if applicable): WSL latest. But not WSL 2.

Any other software? No.
```

# Steps to reproduce

Happens often, but not reliably.

1. `ssh` to a remote machine
2. Start a `tmux` session
3. Resize the terminal window several times. Print lines. Switch sessions/windows. `clear` screen, and repeat. Etc.
4. At some point you'll see this:
![image](https://user-images.githubusercontent.com/5769148/81737682-c3415500-9498-11ea-8ecc-6ee4d81cf4c7.png)
Then it goes away only by restarting the terminal.

# Expected behavior

* Scroll bar is displayed only when needed by non-wrapping content.

# Actual behavior

At some point you'll see this:
![image](https://user-images.githubusercontent.com/5769148/81737682-c3415500-9498-11ea-8ecc-6ee4d81cf4c7.png)
Then it goes away only by restarting the terminal.
Repository: go
Issue: proposal: encoding/asn1: allow setting params on elements of slices
Labels: Proposal,Proposal-Crypto

encoding/asn1 currently provides a number of struct field tags to manipulate how fields are parsed/encoded, notably setting the time type, string type, or marking slices or structs as a SET rather than a SEQUENCE.

Unfortunately it is impossible to set these fields on elements of a slice. This makes it impossible to encode certain things like `SEQUENCE OF IA5String` or parse `SEQUENCE OF SET` (see #27426 and #18834 for examples).

The only real workaround for this is manually encoding/parsing each element of a slice with `MarshalWithParams`/`UnmarshalWithParams`, and then constructing/parsing a SEQUENCE yourself, which is obviously quite prone to errors and overly complex.

Ideally there would be a way to set parameters for each member of the slice. Probably the simplest solution to this problem would be adding a new struct tag, `element-param:x` or something, which would be passed through to `makeField`/`parseField`. For example this would then allow the following struct

```
type example struct {
	A []string `asn1:"element-param:ia5"`
}
```

to be encoded as a `SEQUENCE OF IA5String`.

cc @FiloSottile @katiehockman
Repository: TypeScript
Issue: Type annotation for all exports in the module
Labels: Suggestion,In Discussion

## Search Terms
Export, typed exports, modules, Next.js, Redwood.js 

## Suggestion
Allow a new syntax [From issue #420](https://github.com/microsoft/TypeScript/issues/420#issuecomment-52346304) that will allow typing all of exports in a module.

```ts
export implements {
  default: string
  foo: (bar: boolean) => number
}

export default "Hello world!";
export function foo(bar) { return 1 }
```
<!-- removing to remove noise
### Sharing "module types"
It should be possible to import module types

```ts
import ModuleType from './module.ts';

type export = ModuleType;
```

### Alternative syntaxes 

```
type export = {}
```

```ts
module type = {}
```

```ts
export module {}
```

-->

<!-- A summary of what you'd like to see added or changed -->

## Use Cases and Examples
Increasingly frameworks are using named module exports as a way of organizing their code. For instance [Next.js](https://nextjs.org/docs/basic-features/data-fetching) is using named exports to specify things like exported component and functions for fetching data:

```ts
import { PageModule } from 'next'

type Post = { title: string };
export implements PageModule<{ posts: Posts[] }>;

function Blog({ posts }) {
  return (
    <ul>
      {posts.map(post => (
        <li>{post.title}</li>
      ))}
    </ul>
  )
}

export async function getStaticProps() {
  return { props: { posts: [] } }
}

export default Blog
```

### Frameworks relying on named export 

* [Next.js](https://nextjs.org/docs/basic-features/data-fetching)
* [Redwood.js](https://redwoodjs.com/tutorial/side-quest-how-redwood-works-with-data)
* [Remix.js](https://blog.remix.run/p/remix-preview)
* [SevlteKit](https://kit.svelte.dev/)
* [StroryBook](https://storybook.js.org/blog/component-story-format/)
* [CloudFlare Workers](https://github.com/cloudflare/workers-types)
* > please suggest more 

<!-- Show how this would be used and what the behavior would be -->

## Checklist

My suggestion meets these guidelines:

* [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [x] This wouldn't change the runtime behavior of existing JavaScript code
* [x] This could be implemented without emitting different JS based on the types of the expressions
* [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).


### Related issues
* https://github.com/microsoft/TypeScript/issues/420
* https://github.com/microsoft/TypeScript/issues/13626
Repository: go
Issue: x/build/cmd/gomote: long wait times trying to create aix-ppc64 gomote
Labels: Builders,NeedsInvestigation

<!--
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
go version devel +45df88e7b3 Mon May 11 12:04:55 2020 -0400 darwin/amd64
</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
GO111MODULE=""
GOARCH="amd64"
GOBIN="/Users/jfaller/go/bin"
GOCACHE="/Users/jfaller/Library/Caches/go-build"
GOENV="/Users/jfaller/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/jfaller/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/jfaller/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/jfaller/src/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/jfaller/src/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
GOAMD64="alignedjumps"
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/kt/9h7gfgy955lgbm_cys108l2c002pwh/T/go-build218247787=/tmp/go-build -gno-record-gcc-switches -fno-common"

</pre></details>

### What did you do?

`gomote create aix-ppc64`
`# host type "host-aix-ppc64-osuosl" is not elastic; 0 of 1 machines connected, 0 busy`

### What did you expect to see?

A gomote created in a reasonable amount of time

### What did you see instead?

I reset the command after 15 minutes, and did it again. It's still waiting after 17 more minutes. I'd expect it to be able to free up the gomote for me earlier.
Repository: vscode
Issue: Make editor.action.marker.nextInFiles prioritize severe issues
Labels: feature-request,languages-diagnostics

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

The command editor.action.marker.NextInFiles navigates to the next issue regardless of the severity. IMHO this makes the functionality less useful, especially if you have many extensions that give you all kinds of "help" and you likely only cares about compile issues 80% of the time.

On the other hand, IntelliJ only navigates to a warning when the entire file does not have any errors. Can we have a setting that tweaks this behavior?
Repository: flutter
Issue: Normalization of common properties
Labels: framework,c: proposal,P3,team-framework,triaged-framework

## Proposal

The `Text` widget allows us to specify the text property without specifying the property name:

```dart
Text("This parameter", style: ...)
```

This behavior should be available in other widgets as well, for instance:

```dart
Padding(EdgeInsets.all(16), child: Widget()); // No need for padding:
```

```dart
RichText(TextSpan("Span 1", children: [TextSpan("Span 2")])); // No need for text:
```

In other words: any property that defines the widget (text for Text, padding for Padding, text for TextSpan) should not require the name of the property.

Changing, for example, the `Padding` constructor to this should not break everything (altough it would mess with the `@required` helper):
```
 const Padding([this.padding], {
    Key key,
    this.padding,
    Widget child,
  }) : assert(padding != null),
       super(key: key, child: child);
```
Repository: pytorch
Issue: Can I add more "Project Documentation" on the PYPI webpage? 
Labels: module: build,module: docs,triaged,small

## 📚 Documentation MISSING

 Currently, the only documentation on the pages says "The author of this package has not provided a project description"

Can I have permission or a contact person to call so I can help add more instructions, a README.md or work to implement existing pages that need documentation? 

The <Project description> on website https://pypi.org/project/torch/ is where I am referencing and I would be happy to start adding documentation as Torch is on my list of things to learn. -->

<!-- Currently, the only documentation on the pages says "The author of this package has not provided a project description"

Can I have permission or a contact person to call so I can help add more instructions, a README.md or work to implement existing pages that need documentation? 

The <Project description> on website https://pypi.org/project/torch/ is where I am referencing and I would be happy to start adding documentation as Torch is on my list of things to learn. -->


cc @malfet
Repository: PowerToys
Issue: Enter Unicode codepoints via keyboard
Labels: Idea-New PowerToy

# Summary of the new feature/enhancement
Enable the ability to toggle between traditional 3-digit char code, and hex Unicode codepoint entry via keyboard.

<!-- 
A clear and concise description of what the problem is that the new feature would solve.
Describe why and how a user would use this new functionality (if applicable).
-->

To enter a symbol, e.g. £, I click and hold <kbd>ALT</kbd> and then type <kbd>0</kbd><kbd>1</kbd><kbd>6</kbd><kbd>3</kbd> (the decimal character code for the UK Pound symbol) on the numeric keyboard.

However, what if I wanted to type hexadecimal Unicode codepoint for an arbitrary codepoint, e.g. U+1F600 for 😀 ("grinning face").

> Yes, I know there's the emoji keyboard, but they only expose the emoji subset of the available Unicode code-space. I want to be able to enter ANY Unicode codepoint.

# Proposed technical implementation details (optional)

Interestingly, this capability [appears to already be available](https://ix23.com/windows-how-to-enter-unicode-characters-via-the-keypad/), but it's disabled by default behind a registry setting which requires reg hacking and the user to restart, Plus there's no UI setting that would make this switch easy to find and change.

Bonus points if the toggle itself could be keyboard activated so I could switch between 3-digit and hex-Unicode codes without rebooting.
Repository: flutter
Issue: [google_maps_flutter] `testTakeSnapshot` test fails on CI
Labels: team,platform-android,p: maps,package,P2,team-android,triaged-android

The `testTakeSnapshot` fails on CI because the API Key for google map sdk is not set up on the firebase test lab's test devices.
Snapshot on Android only works when the GoogleMap API Key is configured in the app, otherwise it will time out.

The test is skipped in https://github.com/flutter/plugins/commit/4b7fe4256972f4d8e3987ee44a638d13f032e62c
Repository: storybook
Issue: Addon-docs: enable configuration of CSF syntax highlighting
Labels: feature request,addon: docs,block: source

**Is your feature request related to a problem? Please describe.**
 
We currently use `vue` single file components to write all our stories and then load them in through an associated `.stories.js` CSF file. We've got a custom webpack loader that abstracts out the SFC code to `component.__source` and thanks to the recently added `transformSource` function, we're able to render that output no problem. Unfortunately we're unable to specify a language which leaves the syntax highlighting in a less than ideal state. 

**Describe the solution you'd like**
As a developer using storybook, I'd like a convenience prop for configuring the source code `language` when using CSF:


```
example.story = {
    parameters: {
        docs: {
            source: {
                language: 'html' // or 'markup', 'jsx', etc,
            },
            transformSource: () => component.__source
        }
    }
};
```
Repository: go
Issue: encoding/asn1: Marshal/Unmarshal will create/parse invalid SETs
Labels: NeedsInvestigation

Marshal and Unmarshal will happily encode and parse invalid SETs. Every component of a SET must have a distinct tag, either by using distinct types of each field or using explicit tagging to get around having multiple non-distinct fields. This specification of SETs allows for undefined ordering of components, since in theory each component can only map to a single field.

Currently Marshal ignores this and will happily encode a SET with multiple identical component tags. Similarly Unmarshal will parse an invalid SET. Due to how parsing works though (SETs are parsed in order, the same as SEQUENCEs, so unordered SETs with distinct fields cannot be parsed, see #19873) enforcing this constraint wouldn't provide significant benefit.

I took a stab at this in https://go-review.googlesource.com/c/go/+/233199, but realized that the naive approach of just using the field type was not sufficient. Really the struct test would need to take the final tag for a field into account, after explicit tagging etc has been applied, but unfortunately there is a bunch of logic that happens outside of `getUniversalType` for determining that which makes it hard to copy into a separate method.
Repository: TypeScript
Issue: New operator should return object returned by constructor
Labels: Suggestion,Awaiting More Feedback

<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker.

Please help us by doing the following steps before logging an issue:
  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  * Read the FAQ, especially the "Common Feature Requests" section: https://github.com/Microsoft/TypeScript/wiki/FAQ

-->

## Search Terms

<!-- List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily -->
new, operator, constructor, return, object

## Suggestion

<!-- A summary of what you'd like to see added or changed -->
in javascript, calling with the operator `new` a function that returns an object does not resolves to the created instance but to the object returned by the function

Typescript should do the same.

That could offer a better compliance with the ECMAScript standard.

## Use Cases

<!--
What do you want to use this for?
What shortcomings exist with current approaches?
-->
This can for example allow to create async constructor (see examples)
## Examples

<!-- Show how this would be used and what the behavior would be -->
```js
function foo(returnDate = false) {
  this.bar = 1;
  if(returnDate) return new Date()
}
const obj1 = new foo() // ES resolves to a foo instance ; typescript get error "ts(2350)"
const obj2 = new foo(true) // ES resolves to a Date     ; typescript get error "ts(2350)"
obj1 instanceof foo // true
obj2 instanceof foo // false
```
// `obj1` and `obj2` type should be `foo | Date`

Use case example: async constructor:
```js
class Foo {
  constructor() {
    return Promise.resolve().then(() => this);
  }
}

const foo1 = await new Foo();
const foo2 = new Foo(); // foo2 is Promise<Foo> ; ts consider foo2 as Foo
```
## Checklist

My suggestion meets these guidelines:

* [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [x] This wouldn't change the runtime behavior of existing JavaScript code
* [x] This could be implemented without emitting different JS based on the types of the expressions
* [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
Repository: neovim
Issue: Inconsistent behavior of :yank command and yy when clipboard is set to unnamedplus
Labels: bug,clipboard

<!-- Before reporting: search existing issues and check the FAQ. -->

- `nvim --version`: v0.5.0-416-g2b00d1d09
- `vim -u DEFAULTS` (version: ) not applicable
- Operating system/version: Ubuntu 18.04
- Terminal name/version: zoc terminal
- `$TERM`: xterm-256color

I am using Neovim on Ubuntu server without GUI.

### Steps to reproduce using `nvim -u NORC`

+ Open a file with nvim: `nvim -u NORC test.txt`
+ set the clipboard option: `:set clipboard=unnamedplus`
+ yank a line with `:yank` command
+ yank a line with `yy`

### Actual behaviour

When yanking a line with `:yank` command for the first time, I see a warning message:

> clipboard: No provider. Try ":checkhealth" or ":h clipboard". 

Subsequent running of this command do not produce any warnings.

If I instead use `yy`, no warning will be ever issued.

### Expected behaviour

Since the documentation for `unnamedplus` for `clipboard` option says：

> A variant of the "unnamed" flag which uses the clipboard register '+' (quoteplus) instead of register '*' for all yank, delete, change and put operations which would normally go to the unnamed register.

IIUIC, the warning for `:yank` command is because we set clipboard to `unnamedplus`, but there is no clipboard provider existing. If that is the case, `yy` should also produce such a warning.

The warning for `:yank` command appear only once when we first use it. Is it intentional? I would expect all `:yank` command will produce such a warning since register `+` is used but not provider available.
Repository: TypeScript
Issue: Object.values and Object.entries are unsound and inconsistent with Object.keys.
Labels: Suggestion,Awaiting More Feedback

**Search Terms:**
Object.values Object.entries sound soundness unsound inconsistent Object.keys

**Code**
Proposed change: https://github.com/MicahZoltu/TypeScript/commit/603c36370c7fdcd142b1493ca8cbbb955db73b69

**Related Issues:** <!-- Did you find other bugs that looked similar? -->
#12207
#12253

Back in November 2016, a PR (#12207) was submitted to make the types of `Object.entries` and `Object.values` generic.  This PR was reviewed and accepted, and as a note it was recommended that `Object.keys` be updated similarly.  The author then submitted a PR to update `Object.keys` (#12253) but @ahejlsberg made the [very valid point](https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208) that this change was unsound and the PR was closed.  The author of both PRs then suggested that perhaps #12207 should be reverted, but this revert never happened.

This issue is to discuss options for rectifying this situation and I propose we make `Object.entries` and `Object.values` consistent with the sound behavior of `Object.keys`.  The major issue here is that this *IS* a breaking change since people may be relying on the currently unsound behavior of `Object.values` and `Object.entries`.  However, I think having TypeScript be inconsistent on this front indefinitely is not good, and I don't think changing `Object.keys` to be unsound is the right solution, so at the least this change should be merged into TS 4.x.
Repository: neovim
Issue: :silent doesn't silence hit-enter prompt for executing long search
Labels: bug-vim

- `nvim --version`: NVIM v0.4.3
- Operating system/version: Gentoo
- Terminal name/version: alacritty 0.4.2
- `$TERM`: alacritty

### Steps to reproduce using `nvim -u NORC`

```
nvim -u NORC
" any search query that will be displayed in more than one line works.
:let search = 'normal! /\<\V\Ca_\?\%(r\|R\)_\?\%(e\|E\)_\?\%(a\|A\)_\?\%(l\|L\)_\?\%(l\|L\)_\?\%(y\|Y\)_\?\%(l\|L\)_\?\%(o\|O\)_\?\%(n\|N\)_\?\%(g\|G\)_\?\%(i\|I\)_\?\%(d\|D\)_\?\%(e\|E\)_\?\%(n\|N\)_\?\%(t\|T\)_\?\%(i\|I\)_\?\%(f\|F\)_\?\%(i\|I\)_\?\%(e\|E\)_\?\%(r\|R\)_\?\%(n\|N\)_\?\%(a\ |A\)_\?\%(m\|M\)_\?\%(e\|E\)_\?\%(b\|B\)_\?\%(e\|E\)_\?\%(c\|C\)_\?\%(a\|A\)_\?\%(u\|U\)_\?\%(s\|S\)_\?\%(e\|E\)_\?\%(i\|I\)_\?\%(c\|C\)_\?\%(a\|A\)_\?\%(n\|N\)\>' 
" make sure to reset your cmdheight to 1 again before continuing.
" alternatively just execute this command twice.
:silent execute search
```

### Actual behaviour
```
:silent execute search
Press ENTER or type command to continue
```

### Expected behaviour
```
:silent execute search
```
Repository: godot
Issue: Deleting a used dependency causes the hierarchy to be unloadable
Labels: bug,topic:core,topic:editor

**Godot version:** 3.2.1.stable.official

**OS/device including version:** Windows 10.0.18362

**Issue description:** Deleting a scene/node/resource that is "in use" causes every object in the hierarchy to be unusable, and cannot be fixed since they don't load.  There's no way to open the scene and delete any offending references to the thing you deleted, as the "Edit Dependencies" only allows you to set another scene, not delete a reference.  And because that scene has an issue, any scenes it is in can't be loaded, or any of their parents.

**Steps to reproduce:**  Levelnode -> Creaturenode-> Spritenode -> Sprite.  Deleting the Spritenode caused the Creaturenode to have an issue, which causes the Levelnode to have an issue, which means none of them can load.

A better solution to this should exist.
Repository: opencv
Issue: podspec - spec.dependency "OpenCV-iOS"
Labels: platform: ios/osx

 - ERROR | [OSX] unknown: Encountered an unknown error (The platform of the target `App` (macOS 10.6) is not compatible with `OpenCV-iOS (3.1.1)`, which does not support `macOS`.) during validation.
Repository: flutter
Issue: [webview_flutter] Support disabling overscroll
Labels: c: new feature,p: webview,package,team-ecosystem,P3,triaged-ecosystem

Hi,
By default, WebView scrolling is enabled on iOS
But in some cases I want to disable it

like this
```
_webView.scrollView.alwaysBounceVertical = NO;
_webView.scrollView.bounces = NO;
```

can it add a paramter on WebView class to control?
Repository: flutter
Issue: Image_picker camera temporary null size file
Labels: platform-android,p: image_picker,package,e: OS-version specific,P2,team-android,triaged-android

When I use image_picher to read images from the camera and cancel the request without taking the photo, the plugin correctly returns a null value, but a temporary file with zero size is created in my folder anyway, which I cannot delete because the returned value is null.