sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: next.js
Issue: OpenTelemetry: some parents spans are too short
Labels: bug

### Link to the code that reproduces this issue

https://github.com/vercel/otel

### To Reproduce

1. Run with OpenTelemetry
2. Observe the that "render route (app)" span is closed prematurely, before its children are complete

### Current vs. Expected behavior

![image](https://github.com/vercel/next.js/assets/726049/ba87bccd-04e0-410e-85a3-061d12955c7c)


### Verify canary release

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

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 22.5.0
Binaries:
  Node: 18.17.1
  npm: 9.5.1
  Yarn: 1.22.19
  pnpm: N/A
Relevant Packages:
  next: 13.5.3
  eslint-config-next: 13.5.3
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.2.2
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

App Router

### Additional context

_No response_
Repository: vscode
Issue: Outline panel stops showing execution status on until reload
Labels: bug,notebook-toc-outline

### Applies To

- [X] Notebooks (.ipynb files)
- [ ] Interactive Window and\/or Cell Scripts (.py files with \#%% markers)

### What happened?

The outline panel once closed and reopened stops showing notebook execution status.

### VS Code Version

Version: 1.81.1 (user setup)

### Jupyter Extension Version

Version: 1.81.1 (user setup)

### Jupyter logs

_No response_

### Coding Language and Runtime Version

_No response_

### Language Extension Version (if applicable)

_No response_

### Anaconda Version (if applicable)

_No response_

### Running Jupyter locally or remotely?

N/A or Not sure
Repository: vscode
Issue: Show Notebook Execution Status in tabs 
Labels: feature-request,notebook-workbench-integration

<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->
When using vscode multiple files and notebooks can be open in tabs.

However a notebook does not indicate its status without opening the tab. I would be nice to see it's status without switching it in.
As a bonus it could even notify on completition or error.

This would help with forgetting what a notebook has been doing similar to microsoft/vscode-jupyter#11585
Repository: PowerToys
Issue: Move Installation to Different Drive
Labels: Area-Setup/Install,Needs-Triage,Needs-Team-Response

### Description of the new feature / enhancement

1. PowerToys app should be able to be installed on any local drive
2. PowerToys app should be movable to a different drive using Settings/Apps/Installed Apps/Move

This could also be considered an installer bug rather than an enhancement or new feature.

### Scenario when this would be used?

Users with a "primary" SSD drive as volume C: run very tight on space then need to move larger applications to a secondary drive.

### Supporting information

_No response_
Repository: flutter
Issue: [Impeller] OpenGLES Proc Table should use `std::string_view` not `char*`
Labels: engine,good first issue,P3,c: tech-debt,e: impeller,team-engine,triaged-engine

... to make ownership semantics more clear and not rely on raw pointers where we don't need to.

See below:

```h
const char* GLErrorToString(GLenum value);
bool GLErrorIsFatal(GLenum value);

struct AutoErrorCheck {
  const PFNGLGETERRORPROC error_fn;
  const char* name;

  AutoErrorCheck(PFNGLGETERRORPROC error, const char* name)
      : error_fn(error), name(name) {}

  ~AutoErrorCheck() {
    if (error_fn) {
      auto error = error_fn();
      if (error == GL_NO_ERROR) {
        return;
      }
      if (GLErrorIsFatal(error)) {
        FML_LOG(FATAL) << "Fatal GL Error " << GLErrorToString(error) << "("
                       << error << ")"
                       << " encountered on call to " << name;
      } else {
        FML_LOG(ERROR) << "GL Error " << GLErrorToString(error) << "(" << error
                       << ")"
                       << " encountered on call to " << name;
      }
    }
  }
};

template <class T>
struct GLProc {
  using GLFunctionType = T;

  //----------------------------------------------------------------------------
  /// The name of the GL function.
  ///
  const char* name = nullptr;
```
Repository: pytorch
Issue: Custom tensor attributes not preserved with registered functions
Labels: triaged,module: custom-operators,module: library

In the following snippet
```.py
import torch

class Fn(torch.autograd.Function):
    @staticmethod
    def forward(ctx, x):
        return x/x.coef

    @staticmethod
    def backward(ctx):
        pass


def my_fn_impl(x):
    x.coef = 2.
    print("COEF", x.coef)
    return Fn.apply(x)

from torch.library import Library

ns = 'capturable'
lib = Library(ns, "DEF")
fwd_name = lib.define(f"capturable::myop(Tensor x) -> Tensor")
lib.impl(fwd_name, my_fn_impl, 'CPU')

x = torch.randn(2, 3)
print(my_fn_impl(x))  #fine
print(torch.ops.capturable.myop(x)) # COEF is printed, but autograd fn says Tensor has no attribute coef
```
when `my_fn_impl` is registered on CPU key, an attribute coef that's attached to tensor in my_fn_impl is stripped by Autograd function
According to @zou3519 
>For some reason, HermeticPyObjectTLS is set, which disables PyObject preservation (the thing that would make .coef show up on the Tensor)


cc @anjali411
Repository: material-ui
Issue: [Tabs][material-ui] Scroll buttons in RTL mode not using slots component
Labels: bug 🐛,component: tabs,package: lab

### 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://codesandbox.io/s/https-github-com-mui-material-ui-issues-39296-grwzpm

Steps:

1. Using the codesandbox above
2. Depending on your screen size you may need to adjust it to see the icons appear when tabs overflow
3. Verify the custom Icon's show
4. Update the dir const on line 44 of `App.js` to be `rtl`
5. Icons used for start and end are not as provided


### Current behavior 😯

Custom Icons displayed in `ltr` mode that are set in `TabList` slots

```
        slots={{
          EndScrollButtonIcon: RightArrowIcon,
          StartScrollButtonIcon: LeftArrowIcon
        }}
```
<img width="666" alt="Screenshot 2023-10-03 at 21 29 57" src="https://github.com/mui/material-ui/assets/868127/178a493b-19b9-45fa-9ff6-fb22a0aa0773">

When theme is set to `rtl` default icons are used, not the custom icons

<img width="664" alt="Screenshot 2023-10-03 at 21 31 56" src="https://github.com/mui/material-ui/assets/868127/b2458c2d-7aed-45c4-8692-29ec593be6b1">



### Expected behavior 🤔

Icons provided via slots are used in both `ltr` and `rtl` display modes

### Context 🔦

_No response_

### 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>
Repository: PowerToys
Issue: Bug While Using Paste as Plain Text Function
Labels: Issue-Bug,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.74.0

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Paste as Plain Text

### Steps to reproduce

I am not really sure about how can you rewrite a code as I am not a programmer and I cannot provide a bug report either because the bug is actually an unwanted process that takes place on its own and does not really crash the program either.

### ✔️ Expected Behavior

If I am using paste as plain text, I expect it to work as simple as new Microsoft 365 (excel functionality) where we can use Ctrl+Shift+V to paste special (as plain text). Your function also works similar to it, however there is a little problem discussed in "actual behavior" section.

### ❌ Actual Behavior

So when I am using this function in my Excel 2021. What happens is that it locks the sticky key sometimes. For example if Control key is involved, it will lock it after pasting text as plain text. Now, if I were to press any other key on my keyboard, it will be registered as Ctrl+(the key I pressed).

At first, I thought that it was just a problem with my keyboard settings, therefore I tried changing it to Alt+V. However, I had a similar issue with it as now my Alt key was locked. 
Please look into this, thank you.

### Other Software

Microsoft Excel 2021
Repository: godot
Issue: Alt-tabbing stops input from registering that was pressed before alt-tabbing and is still held when alt-tabbing back
Labels: topic:input

### Godot version

v4.1.1.stable 

### System information

Godot v4.1.1.stable - Windows 10.0.22621 - Vulkan (Compatibility) - Intel(R) Iris(R) Xe Graphics (Intel Corporation; 31.0.101.4575) - 12th Gen Intel(R) Core(TM) i7-1260P (16 Threads)

### Issue description

Alt-tabbing stops input from registering that was pressed before alt-tabbing and is still held when alt-tabbing back

For example if I press the left key on the script editor, the cursor moves to the left. If I hold down the left key, alt-tab away, and alt-tab back while still holding down the left key, the cursor will not move to the left after focus is regained. This also happens if I start pressing the left key while focus is not on the editor and alt-tab back. If I instead click on the icon in the bottom bar, the left press is recognized, so it's just alt-tab that this happens with.

This also happens with exported projects.

### Steps to reproduce

See above

### Minimal reproduction project

N/A
Repository: next.js
Issue: Google font doesn't load after navigating back home from a custom layout in a route group
Labels: bug,Font (next/font)

### Link to the code that reproduces this issue

https://codesandbox.io/p/sandbox/great-farrell-xdzzp3

### To Reproduce

1. start application in development
2. click about us link in the navbar
3. click the button to go back to home

### Current vs. Expected behavior

The font in the hero section should remain the same after navigating home. Instead, it is different

### Verify canary release

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

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #92-Ubuntu SMP Mon Aug 14 09:30:42 UTC 2023
Binaries:
  Node: 18.15.0
  npm: 9.5.0
  Yarn: 1.22.19
  pnpm: 8.6.12
Relevant Packages:
  next: 13.5.4
  eslint-config-next: 13.5.4
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.1.6
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Font optimization (next/font)

### Additional context

The font loads fine if I use only the root layout. The issue persists when i try to use different layouts for different routes
Repository: go
Issue: proposal: errors: let GODEBUG=errstacktrace request stack backtraces
Labels: Proposal,error-handling

Errors in Go serve two main purposes: reporting problems to the user of the program, and reporting problems to the developer of the program.  The user essentially never wants to see stack traces.  For a developer, they can be helpful.  Thus it is reasonable for developers to use packages like  https://pkg.go.dev/github.com/go-errors/errors to collect developer errors--errors that the user is not expected to see.

That said, while developing a program, there are times when it is helpful for a user error to include a stack trace.  For example, this is useful when some program bug is causing an unexpected user error.  Getting a stack trace may help speed up debugging.  This can also be useful when a user reports an inexplicable user error that is repeatable with proprietary user data; here again a stack trace may help the developer debug the problem.

Therefore, I propose a new `GODEBUG` setting: `GODEBUG=errstacktrace=1`.  When this `GODEBUG` entry is set in the environment, the `errors.New` and `fmt.Errorf` functions will change to incorporate a stack trace into the message.  This stack trace will be part of the string returned by the `Error` method (which will now be a lengthy, multi-line, string).

This will permit developers debugging an obscure but repeatable problem to set an environment variable to request a stack trace for the error that they are seeing.

We could also consider providing a simple mechanism for other error generation packages to check whether this `GODEBUG` setting is turned on.

This was inspired by a comment by @fsaintjacques : https://github.com/golang/go/issues/60873#issuecomment-1745646649.
Repository: stable-diffusion-webui
Issue: Current code for dependencies checking is causing infinite package reinstalls and other inconsistencies
Labels: bug-report

### What happened?

So many extensions (even popular ones like TemporalKit) are messing up python environments because the wrong way they are checking for dependencies at runtime.
Consider the example code in the wiki (https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Developing-extensions#installpy) for installing an extension, which gets executed at every launch:

```python
import launch

if not launch.is_installed("aitextgen"):
    launch.run_pip("install aitextgen==0.6.0", "requirements for MagicPrompt")
```

This breaks for all libraries having a "-" in their name for example ffmpeg-python, scikit-image, etc... which are then installed even when they already are.

As of now the majority of extensions are just iterating over their requirements.txt file with this code... Imagine the inconsistencies this is causing... 

Please just add a note to the wiki section about this !

### Steps to reproduce the problem

```
> launch_utils.run_pip("install ffmpeg-python", "required package")
[ Installing required package: "ffmpeg-python" ... ]
[ Installed ]

> launch_utils.is_installed("ffmpeg-python")
False
> launch_utils.is_installed("ffmpeg")
True
```

### What should have happened?

Extension authors reading the wiki should have been reminded to not iterate over requirements.txt using the above code.


### Sysinfo

n/a

### What browsers do you use to access the UI ?

_No response_

### Console logs

```Shell
n/a
```


### Additional information

_No response_
Repository: go
Issue: x/debug/internal/gocore: TestVersions failures
Labels: NeedsInvestigation,compiler/runtime

```
#!watchflakes
default <- pkg == "golang.org/x/debug/internal/gocore" && test == "TestVersions"
```

Issue created automatically to collect these failures.

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

    warning: giving up on backtrace: cannot find func for pc=0xc0000001a0
    warning: giving up on backtrace: cannot find func for pc=0xc0000021a0
    --- FAIL: TestVersions (3.16s)
        --- FAIL: TestVersions/goroot (0.44s)
            gocore_test.go:138: original core pattern: core
            gocore_test.go:425: crasher output: panic: runtime error: invalid memory address or nil pointer dereference
                [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x47a1da]
    
                goroutine 1 [running]:
                panic({0x4852c0?, 0x51a7b0?})
    ...
    golang.org/x/debug/internal/gocore.Core(0xc0001ac000)
    	/tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/debug/internal/gocore/process.go:172 +0x3a9
    golang.org/x/debug/internal/gocore.loadExampleGenerated(0xc00032a4e0)
    	/tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/debug/internal/gocore/gocore_test.go:116 +0x1a5
    golang.org/x/debug/internal/gocore.TestVersions.func2(0xc00032a340?)
    	/tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/debug/internal/gocore/gocore_test.go:425 +0x13
    testing.tRunner(0xc00032a4e0, 0x5d2e48)
    	/tmp/workdir-host-linux-amd64-wsl/go/src/testing/testing.go:1593 +0xff
    created by testing.(*T).Run in goroutine 12
    	/tmp/workdir-host-linux-amd64-wsl/go/src/testing/testing.go:1646 +0x390


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: material-ui
Issue: [docs][Transitions] Slide component causes siblings to jump to their new position without animating
Labels: docs,component: transitions

### 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://codesandbox.io/s/mystifying-shamir-9l2x7q?file=/Demo.tsx

Video demo:

[Screencast from 10-03-2023 03:13:11 PM.webm](https://github.com/mui/material-ui/assets/4730591/e3f49f42-041d-4989-bb09-fde92f18dc91)


Steps:

1. Create a `TransitionGroup` with several `Slide` components
2. Add or remove items in that group
3. Observe that the siblings do not nicely animate into position



### Current behavior 😯

The components sliding in and out causes the sibling components to "jump" into place. 

In the animation above, when the "Coconut" is removed from the list, the "Apple" jumps back to the top of the list.

### Expected behavior 🤔

When a component slides in or out, the sibling components should slide into place (regardless of direction!).

In the example animation above, when the "Coconut" is removed from the list, the "Apple" should slowly ease back toward the top of the list (while "Coconut" is sliding away).

### Context 🔦

This is a pretty minor issue but the animation can be jarring to our users.

In our application, we are using `Slide` components that are going left/right (as opposed to the demo going up/down).

### Your environment 🌎

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  System:
    OS: Linux 6.2 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
  Binaries:
    Node: 18.17.1 - /usr/bin/node
    Yarn: 1.22.10 - /usr/bin/yarn
    npm: 9.6.7 - /usr/bin/npm
  Browsers:
    Chrome: 117.0.5938.132
  npmPackages:
    @emotion/react: ^11.11.1 => 11.11.1 
    @emotion/styled: ^11.11.0 => 11.11.0 
    @mui/icons-material: ^5.14.8 => 5.14.8 
    @mui/material: ^5.14.8 => 5.14.8 
    @types/react: ^18.2.15 => 18.2.21 
    react: ^18.2.0 => 18.2.0 
    react-dom: ^18.2.0 => 18.2.0 
    typescript: ^5.0.2 => 5.2.2 
```
</details>
Repository: react-native
Issue: Image BlurRadius not working on gif on android and ios
Labels: Platform: iOS,Issue: Author Provided Repro,Platform: Android,Component: Image,Needs: Triage :mag:,Newer Patch Available

### Description

The blur don't work on a gif but work with a classic img

### React Native Version

0.72.4

### Output of `npx react-native info`

info Fetching system and libraries information...
System:
  OS: Linux 6.4 Pop!_OS 22.04 LTS
  CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz
  Memory: 1.67 GB / 15.36 GB
  Shell:
    version: 5.8.1
    path: /usr/bin/zsh
Binaries:
  Node:
    version: 16.20.2
    path: ~/.nvm/versions/node/v16.20.2/bin/node
  Yarn: Not Found
  npm:
    version: 8.19.4
    path: ~/.nvm/versions/node/v16.20.2/bin/npm
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
IDEs:
  Android Studio: Not Found
Languages:
  Java:
    version: 1.8.0_382
    path: /usr/bin/javac
  Ruby:
    version: 3.0.2
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.4
    wanted: 0.72.4
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

info React Native v0.72.5 is now available (your project is running on v0.72.4).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.72.5
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.72.4
info For more info, check out "https://reactnative.dev/docs/upgrading?os=linux&platform=android".


### Steps to reproduce

`import { Image } from "react-native";

export default TestComponent() {
    return (<Image blurRadius={50}
                    resizeMode={"cover"}
                    style={{
                        width: "100%",
                        aspectRatio: 1,
                        objectFit: "contain",
                    }}
                    source={require('../../../assets/test.gif')}
                />)
 
}`

### Snack, screenshot, or link to a repository

https://snack.expo.dev/@hforgame/blurradius-issue
Repository: vscode
Issue: Fallback to default language if `files.associations` points to a invalid language
Labels: feature-request,languages-basic,keep

Type: <b>Bug</b>

Open `.yaml` file in VSCode and it's recognized as plain text. I can manually change file association but if I reopen that file or open another file it goes back to plain text.

Looks similar to:
https://github.com/microsoft/vscode/issues/127159

I've tried reloading with extensions disabled (still happens), and searched for `@builtin yaml` and can confirm it's enabled.

VS Code version: Code 1.82.3 (fdb98833154679dbaa7af67a5a29fe19e55c2b73, 2023-10-02T11:09:17.749Z)
OS version: Darwin arm64 23.0.0
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Apple M1 (8 x 24)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled|
|Load (avg)|3, 9, 5|
|Memory (System)|8.00GB (0.08GB free)|
|Process Argv|--crash-reporter-id bfcf6f59-63c2-4c83-bfc4-61465df520ff|
|Screen Reader|no|
|VM|0%|
</details>Extensions: none<details>
<summary>A/B Experiments</summary>

```
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30792226
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
89544117:30613380
showlangstatbar:30737416
962ge761:30841074
a2ce3375:30757347
7ij38806:30736111
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30805730
pythonnoceb:30805159
copilotsettingc:30839828
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572
pythonmhint1:30842940
dsvsc015:30845448

```

</details>

<!-- generated by issue reporter -->