sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: "Engine.max_fps" Fails When Running HTML5 Build On Google Chrome On Android Mobile Devices?
Labels: bug,platform:web,topic:porting,needs testing

### Godot version

v4.0.rc5.official [6296b4600]

### System information

[4.0 RC5 Win 11] - HTML5 on Google Chrome On Android Mobile Devices

### Issue description

Hi,

Running Godot Engine v4.0 RC 5 on Windows 11.

When running an HTML5 build of our game on Google Chrome on Android mobile devices, "`Engine.max_fps`" fails?
The Frames Per Seconds of our HTML5 game runs with no limiting, ie: the game runs as fast as the device can perform?

If we switch over to:
`Engine.physics_ticks_per_second = x`
The FPS limit is honored?

This only affects HTML5 builds running on Google Chrome on Android mobile devices, PC desktop Internet browsers are OK...

Any ideas?

Jesse "JeZxLee"

### Steps to reproduce

Read description.

### Minimal reproduction project

https://github.com/BetaMaxHero/GDScript_Godot_4_T-Story
Repository: material-ui
Issue: [Rating] Precision doesn't work on android chrome
Labels: component: rating,mobile

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Steps to reproduce 🕹

Link to live example: https://mui.com/material-ui/react-rating/

Steps:

1. Open example at android cellphone using chrome or if you are using PC, open chrome and change device mode using dev tool.
2. Try to select 0.5, 1.5, 2.5 and so on at Rating precision section.
3.


### Current behavior 😯

I set precision 0.5 at Rating component and expected to select 0.5, 1.5, 2.5 and so on, but when I touch, 1 selected instead of 0.5, 2 instead of 1.5, 3 instead of 2.5 and so on only in android chrome. It works well on iphone chrome and safari.

### Expected behavior 🤔

If I set precision 0.5 at Rating component, 0.5, 1.5, 2.5 and so on should be selected on android chrome as well.

### Context 🔦

I made rating component for user review using custom icon with precision 0.5, but it doesn't work on only android chrome. I tried issue [#32557](https://github.com/mui/material-ui/issues/32557) solution which change pointer-events as auto on MuiSvgIcon-root, but it still doesn't work on only android chrome.

### Your environment 🌎

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
```
</details>

Google Chrome: 110.0.5481.177(Official Build) (x86_64)
Repository: godot
Issue: Default shortcut does not seem to work on macos
Labels: bug,platform:macos,needs testing,topic:input

### Godot version

v4.0.rc5.official [6296b4600]

### System information

MacOS arm64

### Issue description

The default shortcut for distraction free mode and many other shortcuts do not work out of the box, this was a problem in godot 3.x too.  This might be a macos problem or it just might be the engine but I hope this can be easily fixed. 

Thank you.

### Steps to reproduce

The specific shortcut i am talking about is ctrl + command. + d

### Minimal reproduction project

no need
Repository: TypeScript
Issue: Infer from usages should not widen literal types
Labels: Suggestion,Help Wanted,Domain: Refactorings,Experience Enhancement

# Bug Report

<!--
  Please fill in each section completely. Thank you!
-->

### 🔎 Search Terms

string literal to string, infer type from usages, code fix, quickfix

### ⏯ Playground Link

<!--
  A link to a TypeScript Playground "Share" link which shows this behavior

  The TypeScript Workbench can be used for more complex setups, try
  https://www.typescriptlang.org/dev/bug-workbench/

  As a last resort, you can link to a repo, but these will be slower for us to investigate.
-->
[Playground link with relevant code](https://www.typescriptlang.org/play?noImplicitAny=false&ts=4.9.5&ssl=16&ssc=2&pln=1&pc=1#code/DYUwLgBAhgsAUPKEC8EBEAzA9lt0DO62uEAPugEZQBOa88okF9cFKEA5uAEIAUAlCwDGACxBCA1nwqCEcDAFcAdkLABLLEoijxU3mCwBhMZIBcRHHnJoqtfhADe8AL4tFK9Zs48B5zJbJKGjwnOAhwiGpwBWotf1wXIA)

### 💻 Code

<!-- Please post the relevant code sample here as well-->
```ts
let a

a = "foo" as "foo" | "bar"

let b

b = getB()

checkB(b)

function checkB(toCheck: "foo" | "bar") {
}

function getB(): "foo" | "bar" {
    return "foo"
}
```

### 🙁 Actual behavior

After running infer from usages quickfix, you get `string` type in `a` and `b` positions

### 🙂 Expected behavior

Should get inffered type `"foo"`


I think in case of as and satisfies clauses the type should be just copied literally?


As you can see from example this is common case for string enums, like when some function expects some string enum instead of just `string`, but this information gets lost
Repository: go
Issue: net/http: data race in TestIdleConnChannelLeak
Labels: NeedsFix

https://storage.googleapis.com/go-build-log/7b8a05da/linux-amd64-race_7029367f.log

```
==================
WARNING: DATA RACE
Write at 0x000000f00218 by goroutine 1479:
  net/http.SetReadLoopBeforeNextReadHook()
      /workdir/go/src/net/http/export_test.go:76 +0x29e
  net/http_test.testIdleConnChannelLeak()
      /workdir/go/src/net/http/transport_test.go:3189 +0x1dd
  net/http_test.run[...].func1()
      /workdir/go/src/net/http/clientserver_test.go:90 +0x194
  testing.tRunner()
      /workdir/go/src/testing/testing.go:1579 +0x238
  testing.(*T).Run.func1()
      /workdir/go/src/testing/testing.go:1632 +0x44

Previous read at 0x000000f00218 by goroutine 1457:
  net/http.(*persistConn).readLoop()
      /workdir/go/src/net/http/transport.go:2108 +0x18f
  net/http.(*Transport).dialConn.func5()
      /workdir/go/src/net/http/transport.go:1772 +0x33

Goroutine 1479 (running) created at:
  testing.(*T).Run()
      /workdir/go/src/testing/testing.go:1632 +0x835
  net/http_test.run[...]()
      /workdir/go/src/net/http/clientserver_test.go:82 +0x390
  net/http_test.TestIdleConnChannelLeak()
      /workdir/go/src/net/http/transport_test.go:3174 +0xea
  testing.tRunner()
      /workdir/go/src/testing/testing.go:1579 +0x238
  testing.(*T).Run.func1()
      /workdir/go/src/testing/testing.go:1632 +0x44

Goroutine 1457 (finished) created at:
  net/http.(*Transport).dialConn()
      /workdir/go/src/net/http/transport.go:1772 +0x24d9
  net/http.(*Transport).dialConnFor()
      /workdir/go/src/net/http/transport.go:1463 +0x129
  net/http.(*Transport).queueForDial.func1()
      /workdir/go/src/net/http/transport.go:1432 +0x44
==================
--- FAIL: TestIdleConnChannelLeak (0.01s)
    --- FAIL: TestIdleConnChannelLeak/h1 (0.01s)
        testing.go:1449: race detected during execution of test
    testing.go:1449: race detected during execution of test
FAIL
FAIL	net/http	7.010s
FAIL
```
Repository: TypeScript
Issue: Allow checking json in conjunction with .d.json.ts files
Labels: Suggestion,Awaiting More Feedback

# Suggestion

## 🔍 Search Terms

checkJson, check json, .d.json.ts

## ✅ Viability 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, new syntax sugar for JS, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).

## ⭐ Suggestion

So in TS 5.0 we can add `.d.json.ts` files to type JSON files, i.e.:

```ts
// config.d.json.ts

declare const config: {
    option?: string,
    option2?: number,
};

export default config;
```

```jsonc
// config.json
{
    "option": "foo",
    "option2": 12
}
```

```ts
// main.ts
import config from "./config.json" assert { type: "json" };

// config has type { option?: string, option2?: number }
```

This is nice, but it would be better if we could validate that the corresponding `.json` files do in fact actually match the type. I'd like to propose a new option, `checkJson` that when set validates types errors within JSON files.

For example suppose we have:

```ts
// config.d.json.ts
declare const config: {
    value: string,
};

export default config;
```

```jsonc
// config.json
{
    "value": 3
}
```

Then TypeScript would report a type error when running `tsc` on the project (or in the editor).

## 📃 Motivating Example

Pretty much anywhere manual JSON files are used in conjunction with `.d.json.ts` files would be useful. The point of TS is to help detect errors, extending this to JSON is a natural extension.

In particular this would make a particularly good alternative to [JSON schema support as I proposed in another issue](https://github.com/microsoft/TypeScript/issues/49314).
Repository: PowerToys
Issue: Saved settings' remain 
Labels: Issue-Bug,Product-Settings,Priority-1

### Microsoft PowerToys version

0.67.1

### Installation method

PowerToys auto-update, Microsoft Store

### Running as admin

No

### Area(s) with issue?

General, Settings, System tray interaction

### Steps to reproduce

Problem: Saved settings won't remain after completely closing down PowerToys (not just minimizing to system tray)

Questions: Is that possible and how? Thank you

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: next.js
Issue: Image links are 404 in Salesforce Commerce Cloud Starter demo
Labels: examples

### 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.1.0: Sun Oct  9 20:14:30 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T8103
    Binaries:
      Node: 18.12.0
      npm: 9.1.0
      Yarn: 1.22.19
      pnpm: 7.23.0
    Relevant packages:
      next: 13.2.1
      eslint-config-next: N/A
      react: 18.2.0
      react-dom: 18.2.0

### Which example does this report relate to?

with-sfcc

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

_No response_

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

_No response_

### Describe the Bug

Images are not showing in this demo, all of the image URLs are 404.

### Expected Behavior

Images should show properly in the demo.

### To Reproduce

Check it on https://salesforce-cloud-commerce.vercel.app/
Repository: ant-design
Issue: Cascader has attribute onPopupScroll or not
Labels: Inactive

### What problem does this feature solve?

I wanna scroll down and call api

### What does the proposed API look like?

it's like onPopupScroll of Select

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: flutter
Issue: Consider creating a DlAtlas object for DlCanvas.drawAtlas
Labels: engine,P3,e: impeller,team-engine,triaged-engine

The arguments to the `drawAtlas` call include a number of arrays that must match in size for the call to be valid. It is also difficult to compute the bounds of the atlas since it requires transforming each source rectangle and accumulating the results, so such an object could cache the bounds at construction time to save several layers of the graphics system from having to do that work redundantly.

See https://github.com/flutter/engine/pull/39865#discussion_r1117828496
Repository: youtube-dl
Issue: [Telegraaf] Unable to download JSON metadata: HTTP Error 403
Labels: broken-IE,fixed

youtube-dl https://www.telegraaf.nl/video/644858720/nanninga-ja21-over-coalitieruzie-zit-met-popcorn-te-kijken-ga-zo-door
[Telegraaf] 644858720: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Repository: vscode
Issue: Git - Please add "View diff with Working File" command to timeline context menu
Labels: help wanted,feature-request,git

<!-- ⚠️⚠️ 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. -->
I think it would be convenient to add the "View diff with working file" to the timeline context menu. So, when you right click on the commit in the timeline and select this command the "diff editor" will open (comparing file at that revision with the current one).

I am talking about this context menu:
![Screenshot 2023-02-27 125042](https://user-images.githubusercontent.com/25171239/221530871-73b0d5f4-4acf-4c27-84b4-454734367ac7.png)

Thanks!
Repository: vscode
Issue: Uncaught TypeError: Z.reject is not a function
Labels: bug,error-telemetry

```javascript
TypeError: Z.reject is not a function
at <anonymous> in src/vs/base/common/async.ts:1773:12
```
[Go to Errors Site](https://vscode-errors.azurewebsites.net/card?ch=441438abd1ac652551dbe4d408dfcec8a499b8bf&bH=823ae74a-fa46-76c8-05c7-e6fa20dbccc7)
Repository: vscode
Issue: Cannot read properties of undefined (reading 'startLineNumber')
Labels: error-telemetry,code-lens

```javascript
TypeError: Cannot read properties of undefined (reading 'startLineNumber')
at <anonymous> in src/vs/editor/contrib/codelens/browser/codelens.ts:69:22
at Array.sort (<anonymous>)
at S in src/vs/editor/contrib/codelens/browser/codelens.ts:67:32
```
[Go to Errors Site](https://vscode-errors.azurewebsites.net/card?ch=441438abd1ac652551dbe4d408dfcec8a499b8bf&bH=b74729c1-cdd5-ccc9-3a7c-b42ea93d7f99)
Repository: neovim
Issue: Treesitter performance (tracking issue)
Labels: performance,treesitter

### Problem

Our treesitter implementation could be more efficient to overcome many known issues with performance. Specifically around large files.

---

- [x] **Injection languages are not incremental**
   See: #18107
   Resolved with: #22309 

- [ ] **Rendering long lines is inefficient**
   See: #14756
   Resolved with: #15405

- [ ] **Parsing blocks user input**
   This is especially bad for the initial parse since this takes the longest.

   Either:
   (a): We run parsing on a separate thread (difficult).
   (b): Use treesitters parsing timeout feature to segment the parse over several event-loop iterations (less-difficult).
    
   See: #20765
   Resolved with: (b) #22420 

- [ ] **Injection queries are run too often**
   Currently we run the **full** injection query on every edit to a buffer.
   - [ ] *Incrementally* run the query on tree changes (#23070).
     - [ ] ... on tree changes that intersect the injection regions.
   - [ ] *Partially* run the query for rendered lines.

- [x] **Injections are not highlighted incrementally**
   Currently every injection is parsed, even if it never gets displayed.
  Resolved with: #24647 

---

### Other

- [ ] Add better benchmarking to the testsuite (#23070)

### Files for benchmarking:
- https://raw.githubusercontent.com/torvalds/linux/master/drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_1_sh_mask.h
- https://raw.githubusercontent.com/torvalds/linux/master/drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_2_0_sh_mask.h
- https://github.com/justinmk/notes/blob/master/delicious.md (slow edits)
Repository: kubernetes
Issue: container level cpu static policy support
Labels: sig/node,kind/feature,lifecycle/rotten,needs-triage

### What would you like to be added?

The pod is not using cpu static policy for sidecar container settings

This may be a limitation of current cpu static policy support.

https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/

We may need to support CPU static policy for the container level. Current support is pod level and if **the sidecar is not Guaranteed**, the static CPU policy will not take effect.
-  if the sidecar is not configured with an integer CPU limit/request but is Guaranteed, the static CPU policy will take effect. 


### Why is this needed?

Currently, there are more sidecars, making using a static CPU policy a worse situation.

In recent discussions, https://github.com/kubernetes/enhancements/issues/753 proposed a new design that the sidecar containers will move to initContainer, which may help in this case. @SergeyKanzhelev 


**--- below may be another problem, but also feedback for `reserved-cpu` and static CPU policy ---**

For a similar reason, we want kubelet/container runtime to reserve some CPU using `-reserved-cpu`. It may be similar to https://github.com/kubernetes/kubernetes/issues/115994.  
- the `--reserved-cpu` will only work to not reserve CPU for those pods with integer CPU limit/request(Guaranteed pod). 
- those pods that didn't use integer CPU limit/request or are not Guaranteed will use the `reserved-cpu`. 

I am not sure if this is a bug or by design.

for instance,
- - the system reserved `0-4`.
- - those pods with integer CPU limit/request(Guaranteed pod) will use `5-20`
- - but other pods are using `0-32`, and it also includes `0-4`.

This issue is tracked in #115994.

```[tasklist]
### Tasks
- [ ] After k/k PR is merged, the document in https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ shoud be updated.
```
Repository: godot
Issue: Importing blend files with textures not in project folder fails
Labels: bug,confirmed,topic:import

### Godot version

v4.0 ec8475af5eb61e988b389d032adc548f6ef39be6

### System information

Linux, Gnome on Arch

### Issue description

When importing blend files which use textures outside the Godot project folder, they are copied to `.godot/imported` but an error message says they can't be used:

```
Resource file not found: res://Folder/In/Home/CookieDough/cookie_dough_albedo.png.
  Can't find file 'res://.godot/imported/cube-872180318f08982aecd5834ac734b268_cookie_dough_albedo.png'.
  No loader found for resource: res://.godot/imported/cube-872180318f08982aecd5834ac734b268_cookie_dough_albedo.png.
  modules/gltf/gltf_document.cpp:3276 - glTF: Image index '0' couldn't be loaded with the name: cookie_dough_albedo. Skipping it.
```

`res://.godot/imported/cube-872180318f08982aecd5834ac734b268_cookie_dough_albedo.png` exists in this case.

### Steps to reproduce

1. Create a blend file using a texture outside the project directory
2. Place it in the Godot project

### Minimal reproduction project

[BlendImportExternalTextures.zip](https://github.com/godotengine/godot/files/10838561/BlendImportExternalTextures.zip)

The errors are shown immediately after opening the project.
Repository: PowerToys
Issue: PowerToys Run - Overlay
Labels: Needs-Triage

### Description of the new feature / enhancement

Sometimes when the run window comes up i miss it as it blends in with the surrounding content. Could you add a toggle so that a similar effect to the Mouse Utilities overlay appears for all other screen content apart from the run window?

### Scenario when this would be used?

Every time the run window appears. The benefit will be seeing the run window when it is overlayed on similar coloured content.

### Supporting information

_No response_
Repository: next.js
Issue: Shallow Routing not always triggering the "routeChangeComplete" event
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: linux
      Arch: x64
      Version: #1 ZEN SMP PREEMPT_DYNAMIC Tue, 14 Feb 2023 22:08:11 +0000
    Binaries:
      Node: 16.17.1
      npm: 8.15.0
      Yarn: 1.22.19
      pnpm: N/A
    Relevant packages:
      next: 13.2.2-canary.1
      eslint-config-next: N/A
      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://github.com/Osman-Sodefa/nextjs-shallow-routing-not-triggering-event

### To Reproduce


1. Checkout, start and open the reproduction project
2. Click on either "Shallow Push" or "Shallow Replace" -> The Counter does not go up
3. Click on either "Push" or "Replace" -> The Counter goes up
4. Click on either "Shallow Push" or "Shallow Replace" -> The Counter goes up again

https://user-images.githubusercontent.com/90332566/221545334-ebe6dfbf-9f48-4a2b-a88a-8e461e8efe07.mp4

### Describe the Bug

Sometimes when using `shallow`, the event `"routeChangeComplete"` is not being fired anymore, which we're using for page view tracking.
In our application this issue seems to be much more inconsistent than in the reproduction so there might be multiple issues involved.

### Expected Behavior

Shallow routing should always trigger the `"routeChangeComplete"` event.

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

Firefox 110, Chromium 110

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

Vercel
Repository: go
Issue: net/http: TestTransportClosesBodyOnError failures
Labels: NeedsInvestigation

```
#!watchflakes
post <- pkg == "net/http" && test == "TestTransportClosesBodyOnError"
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/ee04bd3ed5d32d32a7b040bcd42fe225b58f3e93)):

    --- FAIL: TestTransportClosesBodyOnError (0.00s)
        --- FAIL: TestTransportClosesBodyOnError/h2 (0.01s)
            transport_test.go:3704: Unexpected success reading request body from handler; want 'unexpected EOF reading trailer'


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: PowerToys
Issue: PowerToys Run shouldn't' reopen apps
Labels: Needs-Triage

### Description of the new feature / enhancement

I wondering if it's possible that when I write the name of an opened application like Edge, if this app is already open, PowerToys Run don't open the app again. Instead in my opinion is preferable that put at the top of the view this application.

Thanks

### Scenario when this would be used?

In all scenarios

### Supporting information

Not necessary
Repository: excalidraw
Issue: POC for hiding bounding box when dragging/resizing
Labels: discussion

For more cleaner UI when editing, so it's easier to see what you're doing.

![excal-hide-bounding-box-on-drag](https://user-images.githubusercontent.com/5153846/221567202-cd80dbf6-7db0-40d9-be8f-1e4d798345d9.gif)

Will be especially useful when we ship snapping, because our bounding box is offset due to the nature of sloppy rendering.

![image](https://user-images.githubusercontent.com/5153846/221562469-ad8a0ae8-b93f-494d-9fbb-edca86983c27.png)

vs

![image](https://user-images.githubusercontent.com/5153846/221562453-3a05cfc2-9248-447b-a108-6c848412a93c.png)

---

Note: it's not 100% clear whether we want to go with this, so we just need to implement a simple proof of concept (not handling all the cases) so we can play around with this, first.