sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: [go_router] Allow to disable or add a `restoreRouteInformation` custom implementation of `GoRouteInformationParser` of `GoRouter`
Labels: c: new feature,package,c: proposal,P3,p: go_router,team-go_router,triaged-go_router

<!-- 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

My use case is to insert an entire app (the App widget) inside another app and prevent the internal app navigation from modifying the browser URL.

## Proposal

My idea is to somehow make that method always returns `null`.

## Alternative

I have been reviewing how to perform the modification and I see no other way than copying the `GoRouter` code to create an implementation that uses a custom implementation of `GoRouteInformationParser` that overwrites the `restoreRouteInformation` method by always returning `null`.

## Reference

* `restoreRouteInformation`: https://github.com/flutter/packages/blob/166e2c270978165250453786bb0b337ac24d54fd/packages/go_router/lib/src/parser.dart#L128
Repository: PowerToys
Issue: Add toggle switch to disable all File Explorer addons
Labels: Idea-Enhancement,Help Wanted,Product-Settings,Status-In progress,Product-File Explorer

### Description of the new feature / enhancement

It seems that all of the other features of PowerToys have a convenient on/off toggle at the top of each of their settings page. This would be great to have for the File Explorer addons as well.

### Scenario when this would be used?

I use alternative tools to generate thumbnails and it becomes tedious to uncheck each File Explorer addon on each of my installations. It would be sweet to have a simple toggle switch instead. 

### Supporting information

_No response_
Repository: PowerToys
Issue: Add CIE LCH, Oklab and Oklch formats to Color Picker
Labels: Idea-Enhancement,Help Wanted,Product-Color Picker

### Description of the new feature / enhancement

CIE LCH, Oklab and Oklch colours are coming to CSS Color Module 4. [See here](https://www.w3.org/TR/css-color-4/#lab-colors).

For a summary and in-depth explanation of the benefits see [OKLCH in CSS: why we moved from RGB and HSL](https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl).

There is an online colour picker for Oklch here: https://oklch.com/

### Scenario when this would be used?

As an emerging and important new standard, these colour definitions needs tools to help designers adopt them. Currently no colour pickers provide these formats, as far as I know.

Miriam Suzanne, core contributor to Sass and Invited Expert on the W3C CSS Working Group in [When Our Tools Hold Us Back](https://www.oddbird.net/2022/11/11/platform-tools/) writes:

> I don’t know of any popular design tools that provide LCH, or the newer okLAB/okLCH variants, let alone relative colors defined as a function of mixing or adjusting other underlying colors.
>
> And when it comes to copying our colors out of a design tool, the options are generally 6-digit HEX, or copying individual channel values, one at a time. Either way, converting our colors into a more human-friendly syntax would often be an extra step, and may not be worth the effort.
>
> Since all legacy colors on the web rely on a single color model (RGB) and gamut (sRGB), there has been little meaningful difference between formats (until now). Once we used a graphic interface to pick the color we want, it maybe didn’t matter what format we copy-pasted into a variable somewhere.
>
> But what’s the designer path towards using new, extended color spaces in CSS? Can they ever gain traction on the web without first finding support in our design tools? I’m not sure.

And Chris Coyier in [Hex Colors Aren’t Great At Anything Except Being Popular](https://chriscoyier.net/2023/02/01/hex-colors-arent-great-at-anything-except-being-popular/):

> Perhaps it’s best to think of this as an opportunity: someone (please) make a kick-ass color app that supports all the newest color formats, relative colors, color mixing, and all that, and have the app help out with their usage in CSS (copy and paste with quality fallbacks, etc).

### Supporting information

- [OK, OKLCH 👑 - Chris Coyier](https://chriscoyier.net/2023/01/22/ok-oklch-%f0%9f%91%91/)
- [LCH colors in CSS: what, why, and how?](https://lea.verou.me/2020/04/lch-colors-in-css-what-why-and-how/)
- [OK LCH, I’m Convinced](https://blog.jim-nielsen.com/2023/ok-lch-im-convinced/)
- [LCH is the best color space!](https://atmos.style/blog/lch-color-space)

Adam Argyle has said lab, lch, oklab, oklch, etc are [going to land in Chrome 110](https://twitter.com/argyleink/status/1583110952492601345?lang=en).
Repository: vscode
Issue: [html] format on paste removes whitespace
Labels: bug,html

Type: <b>Bug</b>

VS Code unsolicitedly removes white space when pasting.

https://user-images.githubusercontent.com/9283914/216198250-c2801af7-259a-4dc6-a1d0-7889e38a2308.mp4

VS Code version: Code 1.74.3 (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T16:59:02.252Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-5960X CPU @ 3.00GHz (4 x 3000)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: unavailable_off<br>raw_draw: disabled_off_ok<br>skia_renderer: enabled_on<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: disabled_off|
|Load (avg)|undefined|
|Memory (System)|12.00GB (7.13GB free)|
|Process Argv|--crash-reporter-id aec6428d-8cff-448d-b3b8-b7bf7709edfc|
|Screen Reader|no|
|VM|50%|
</details><details><summary>Extensions (5)</summary>

Extension|Author (truncated)|Version
---|---|---
vscode-bicep|ms-|0.14.6
vscode-language-pack-de|MS-|1.74.12140926
vscode-dotnet-runtime|ms-|1.6.0
azure-account|ms-|0.11.3
powershell|ms-|2023.1.0


</details>
<!-- generated by issue reporter -->
Repository: next.js
Issue: React errors in Server Components don't get properly reported in the browser
Labels: bug

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

    Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 22.2.0: Fri Nov 11 02:03:51 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T6000
    Binaries:
      Node: 16.14.2
      npm: 8.5.0
      Yarn: 1.22.15
      pnpm: 6.11.0
    Relevant packages:
      next: 13.1.7-canary.2
      eslint-config-next: 13.1.6
      react: 18.2.0
      react-dom: 18.2.0

### Which area(s) of Next.js are affected? (leave empty if unsure)

App directory (appDir: true)

### Link to the code that reproduces this issue

https://stackblitz.com/edit/vercel-next-js-qev6wd?file=app%2Fpage.tsx,next.config.js,app%2Fclient.tsx

### To Reproduce

Import a non-existent export from a Server component.

```js
import { Something } from './client.tsx';

export default function Page() {
  return <Something />;
}
```



### Describe the Bug

I see a pretty bad error message:

```
Unhandled Runtime Error
Error: Unsupported Server Component type: undefined
```

<img width="943" alt="Screenshot 2023-02-02 at 01 00 02" src="https://user-images.githubusercontent.com/810438/216205779-a1a971cd-4063-46bf-b212-8ff79e429921.png">


### Expected Behavior

The actual error is only shown in the terminal:

```
Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Check your code at page.tsx:4.
```

**This is the error that should be shown in the overlay as well.**

I'm also surprised it's presented as a runtime error rather than a build error.


### Which browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_
Repository: flutter
Issue: [Web] Set serviceWorkerVersion to app version
Labels: c: new feature,platform-web,c: proposal,P3,team-web,triaged-web

<!-- 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

<!--
     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?
-->

When building web it would be nice if app version will be stored/saved in serviceWorkerVersion in index.html. 

Providing version will seamlessly trigger updates and loading of new changes for existing users of the app, and if flutter build populates it using either pubspec version or flutter build --version (preferrable) that will simplify our CI/CD pipelines.

## Proposal

Use app version during build process and push it to serviceWorkerVersion in index.html.
<!--
     Briefly but precisely describe what you would like Flutter to be able to do.

     Consider attaching something showing what you are imagining:
      * images
      * videos
      * code samples

     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: vscode
Issue: [FER] remove single entry from command palette history
Labels: feature-request,quick-open

<!-- ⚠️⚠️ 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. -->
**terms**: command history; command palette history; clear; remove; remove single entry;

I use command palette as a primary method to do all kind of things and I believe many people use it in the same way. It records history and recently used command so if you use some commands very often you can find them really quick.
However if you recently invoked a command and you are not going to reuse it that often, it may disturb your search list and ruin your muscle memories.

Surely you call clear all command history by "clear command history", and it will clear all command palette history so you can reliably restore what it used to be. However there is an easier option: why not place there a button to remove a single entry from the search list ?

<img width="590" alt="截屏2023-02-01 下午6 13 09" src="https://user-images.githubusercontent.com/34736747/216214299-4657030d-42f2-4fef-b655-a7e4dd61e47e.png">

What I am suggesting is to place a button near the gear button, and it will remove the single history entry on clicked, as shown above.



<!-- Describe the feature you'd like. -->
Repository: pytorch
Issue: Why does the torch model have no memory leaks under gpu, but there is a memory leak under cpu, torch version 1.10.1
Labels: needs reproduction,triaged

### 🐛 Describe the bug

Why does the torch model have no memory leaks under gpu, but there is a memory leak under cpu, torch version 1.10.1

### Versions

Why does the torch model have no memory leaks under gpu, but there is a memory leak under cpu, torch version 1.10.1
Repository: go
Issue: x/build/internal/installer/darwinpkg: macOS PKG installer shows misleading error when installing for the wrong architecture 
Labels: Builders,NeedsInvestigation

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.20 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=""
GOCACHE="/Users/stever/Library/Caches/go-build"
GOENV="/Users/stever/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/stever/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/stever/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.20"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/3y/936sl4d50dd_38rvrs041qn80000gn/T/go-build2823487662=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### What did you do?

Accidentally attempted to install the go1.20 installer for ARM64 rather than x86.64.


### What did you expect to see?

An error message that I have the wrong installer.


### What did you see instead?

An error message saying "Go can't be installed on this computer."  This is an inaccurate message; Go *can* be installed on this computer — it just needs a different installer.
Repository: flutter
Issue: `ios_content_validation_test` flaked: Crash when compiling scroll_notification_observer.dart "NoSuchMethodError: Class 'int' has no instance getter 'name'."
Labels: platform-ios,dependency: dart,P2,c: flake,team-ios,triaged-ios,dependency:dart-triaged

```
[ios_content_validation_test] [STDOUT] stdout:            error: [+5172 ms] Unhandled exception:
[ios_content_validation_test] [STDOUT] stdout:                       Crash when compiling package:flutter/src/widgets/scroll_notification_observer.dart:
[ios_content_validation_test] [STDOUT] stdout:                       NoSuchMethodError: Class 'int' has no instance getter 'name'.
[ios_content_validation_test] [STDOUT] stdout:                       Receiver: 3322010
[ios_content_validation_test] [STDOUT] stdout:                       Tried calling: name
[ios_content_validation_test] [STDOUT] stdout: 
[ios_content_validation_test] [STDOUT] stdout:                       #0      Object.noSuchMethod (dart:core-patch/object_patch.dart:38:5)
[ios_content_validation_test] [STDOUT] stdout:                       #1      SourceFunctionBuilderImpl.computeFormalParameterScope (package:front_end/src/fasta/source/source_function_builder.dart:215:22)
```
https://ci.chromium.org/p/flutter/builders/prod/Mac_ios%20ios_content_validation_test/9122

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8790312798644413297/+/u/run_ios_content_validation_test/test_stdout

Failed once, then passed on the rerun.
Repository: godot
Issue: Export variables that are set with @tool do not update correctly
Labels: bug,topic:gdscript,topic:editor,regression

### Godot version

4.0 rc1

### System information

Windows 10

### Issue description

The node doesn't update its export variables after the tool is run until you select a different node and then select the original node again. However, when running the game, it doesn't print the values(it thinks the variable is empty still), and also when you save the scene and reload it, the array is empty. So it is impossible to edit the array from a tool. This use to work (prior to beta 17 I think).


### Steps to reproduce

Open the project..
othernode has a script attached which makess an @export array variable. It is empty by default..
There is a @tool script that can be run on the "othernode." It will fill the array with data.
So, select the "othernode" and then select the fillArrayTool.gd script and run it.
Notice how the othernode still shows the array as empty after running the script.
Click the "othernode2" in the scene and then back to "othernode".. Notice how the array now shows the data..
Now try running the game.. it will print the data.. Notice how it prints an empty array.. 
Ok now, stop the program and duplicate the print() command so that it prints multiple times..hit save and the array in the node inspector gets cleared..

If you try saving the scene with the data, when you reload it, it will be empty.

### Minimal reproduction project

[exportArrayBug.zip](https://github.com/godotengine/godot/files/10564320/exportArrayBug.zip)
Repository: vscode
Issue: Can't open ipynb file in a Codespace even with Jupyter installed
Labels: bug,web,notebook-serialization

![image](https://user-images.githubusercontent.com/8599/216223236-4252045e-a977-41e8-854e-09319e934977.png)

```
  ERR Error: Cannot open resource with notebook editor type 'jupyter-notebook', please check if you have the right extension installed and enabled.
    at jr.setInput (workbench.web.main.js:1703:72646)
    at async o.M (workbench.web.main.js:2320:23027)
    at async o.D (workbench.web.main.js:2320:21622)
    at async o.openEditor (workbench.web.main.js:2320:20488)
    at async workbench.web.main.js:2502:13441
    at async workbench.web.main.js:2552:63788
```

Before that I uninstalled Polyglot Notebooks, as it required me to install .NET (how on a Codespace?)

Maybe more is wrong with Insiders on Codespaces right now.

![image](https://user-images.githubusercontent.com/8599/216223696-4296e716-7b97-4b2c-98e4-414621b5990e.png)


Version: 1.75.0-insider
Commit: e2816fe719a4026ffa1ee0189dc89bdfdbafb164
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.70
Embedder: codespaces

<!-- generated by web issue reporter -->
Repository: electron
Issue: [Bug]: click event on Tray Icon is broken in Linux
Labels: platform/linux,bug :beetle:,has-repro-repo,22-x-y,23-x-y

### 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 bug report that matches the one I want to file, without success.

### Electron Version

22.0.2

### What operating system are you using?

Ubuntu

### Operating System Version

Ubuntu 22.04.1 LTS

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

I created a tray icon, added the context menu, and registered for a click event. when we left-click the icon it should fire the click event when right click the icon it should show the context menu.

### Actual Behavior

I created a tray icon, added the context menu, and registered for a click event. when we click the icon it shows the context menu regardless of the type of click (right or left).

### Testcase Gist URL

_No response_

### Additional Information

Steps to reproduce:

- Clone the [srilakshmikanthanp/quicknote](https://github.com/srilakshmikanthanp/quicknote.git) repository
- run `npm install` to install packages
- run `npm run start`
- click the icon on the taskbar

On Windows:

- it is working perfectly on windows platforms
Repository: godot
Issue: Array `map`/`filter` fail with typed-array variables and functions
Labels: topic:core,topic:gdscript

### Godot version

v4.0.beta17.official [c40020513]

### System information

KDE neon 22.04 (Ubuntu-derived)

### Issue description

After beta.17, trying to assign the result of `Array#map` or `Array#filter` to typed-array variables, or returning their values as the result of typed-array functions fail.

The following sample code demonstrates the issue:

```gdscript
@tool
extends EditorScript

func test1() -> Array[int]:
	return range(5).map(func(n): return n) # → [0, 1, 2, 3, 4]

func test2() -> Array[int]:
	var result: Array[int] = range(10).filter(func(n): return n % 2 == 0) # → [0, 2, 4, 6, 8]
	return result

func _run() -> void:
	print(test1())
	print(test2())
```

![Screenshot_20230202_013030](https://user-images.githubusercontent.com/61425/216232027-2cdeb150-c964-4d02-afd5-1f2e1658ac86.png)

Casting the returned values doesn't work either.

### Steps to reproduce

Assign the result of `Array#map` or `Array#filter` to a variable whose type is a qualified typed-array.

### Minimal reproduction project

N/A
Repository: ant-design
Issue: Popover doesn't show when used in Menu item along with a `a` tag
Labels: Inactive,improvement

### Reproduction link

[https://codepen.io/abdulsattar/pen/jOpQoEw?](https://codepen.io/abdulsattar/pen/jOpQoEw?)

### Steps to reproduce

Place a Popover and an `a` tag in Menu.Item. The Popover doesn't open on hover.

### What is expected?

Popover does not open on hover.

### What is actually happening?

Popover should pen on hover.

| Environment | Info |
| --- | --- |
| antd | 5.1.7 |
| React | 18 |
| System | Windows |
| Browser | Chrome |

---
It works fine if there is no `a` tag or some other tag.

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: next.js
Issue: API query parameter will make route 404 when use NextjS 13 and turbopack
Labels: bug

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 22.2.0: Fri Nov 11 02:03:51 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T6000
    Binaries:
      Node: 19.4.0
      npm: 9.2.0
      Yarn: N/A
      pnpm: 7.25.0
    Relevant packages:
      next: 13.1.7-canary.2
      eslint-config-next: 13.1.6
      react: 18.2.0
      react-dom: 18.2.0

### Which area(s) of Next.js are affected? (leave empty if unsure)

Routing (next/router, next/navigation, next/link)

### Link to the code that reproduces this issue

https://stackblitz.com/edit/vercel-next-js-qrmkgs

### To Reproduce

1. turn on turbopack with nextjs
2. setup a query parameter like `products?name=123`
3. visit the url `/api/products?name=123`.

### Describe the Bug

When we turn on turbopack. the API route will show 404 error if we use query parameter


### Expected Behavior

Match the exists api route without any error

### Which browser are you using? (if relevant)

Chrome

### How are you deploying your application? (if relevant)

_No response_