sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: storybook
Issue: [Bug]: Component `argTypes` are not merged with story specific argTypes
Labels: bug,needs triage

### Describe the bug

Likewise is done with `args` I expected Story `argTypes` and Component `argTypes` are merged together following the order precedence of Story > Component > Global.

Here the argTypes of TextEnabled story is ignored and the component default argTypes definition is taking precedence.
![image](https://github.com/storybookjs/storybook/assets/71693205/074f5005-cbe5-4bed-ad53-0bb07d577fdb)


### To Reproduce

https://stackblitz.com/edit/storybook-react-template-wlwehw-ydoyrj

### System

```shell
Environment Info:

  System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  Binaries:
    Node: 16.20.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.4.2 - /usr/local/bin/npm
  npmPackages:
    @storybook/addon-essentials: 7.1.0 => 7.1.0 
    @storybook/preset-create-react-app: 7.1.0 => 7.1.0 
    @storybook/react: 7.1.0 => 7.1.0 
    @storybook/react-webpack5: ^7.1.0 => 7.1.0 
    @storybook/theming: 7.1.0 => 7.1.0
```


### Additional context

_No response_
Repository: deno
Issue: Astro static site build still requires some manual import mapping
Labels: node compat

In order to successfully run `deno run -A npm:astro build` on the default blog template project, the following `deno.json` imports must be included:

```
{
  "imports": {
    "html-escaper": "npm:html-escaper",
    "@astrojs/internal-helpers/path": "npm:@astrojs/internal-helpers/path"
  }
}
```

Would be ideal to not require this if possible!
Repository: vscode
Issue: Files in .gitignore missing from search when Exclude Git Ignore is off
Labels: search,polish

Type: <b>Bug</b>

When searching a codebase, files in `.gitignore` are being excluded from the search even though Exclude Git Ignore is unchecked for the User, Workspace and Folder settings.

Expected behavior is that files in `.gitignore` are only excluded when Exclude Git Ignore is checked.

Disabling "Exclude Settings and Ignore Files" in the search makes the files appear.

VS Code version: Code 1.80.1 (Universal) (74f6148eb9ea00507ec113ec51c489d6ffb4b771, 2023-07-12T17:20:23.298Z)
OS version: Darwin arm64 21.6.0
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Apple M1 Pro (8 x 24)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>metal: disabled_off<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)|32, 29, 23|
|Memory (System)|16.00GB (0.15GB free)|
|Process Argv|--crash-reporter-id 77ab6b0a-7967-43bb-909c-90e75503ba8d|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (17)</summary>

Extension|Author (truncated)|Version
---|---|---
vscode-toggle-quotes|Bri|0.3.6
vscode-eslint|dba|2.4.2
vscode-html-css|ecm|1.13.1
auto-close-tag|for|0.5.14
copilot|Git|1.97.270
copilot-labs|Git|0.14.884
beautify|Hoo|1.5.0
python|ms-|2023.12.0
vscode-pylance|ms-|2023.7.20
jupyter|ms-|2023.6.1101941928
jupyter-keymap|ms-|1.1.2
jupyter-renderers|ms-|1.0.17
vscode-jupyter-cell-tags|ms-|0.1.8
vscode-jupyter-slideshow|ms-|0.1.5
vscode-fileutils|sle|3.10.2
code-spell-checker|str|2.20.5
volar|Vue|1.8.5


</details><details>
<summary>A/B Experiments</summary>

```
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30792226
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
3biah626:30602489
89544117:30613380
showlangstatbar:30737416
vsctsb:30748421
03d35959:30757346
pythonfmttext:30731395
pythoncmv:30756943
fixshowwlkth:30771522
hideindicator:30785051
pythongtdpath:30769146
i26e3531:30792625
pythonnosm12tcf:30779713
pythonidxpt:30784022
pythonnocebcf:30776496
e537b577:30786199
dsvsc013cf:30789518
dsvsc014cf:30791936

```

</details>

<!-- generated by issue reporter -->
Repository: PowerToys
Issue: Desktop search with the power of Ultrasearch
Labels: Product-PowerToys Run,Needs-Triage

### Description of the new feature / enhancement

I run a program called Ultrasearch because, unfortunately, Windows' built-in file search system usually fails to find files which it should.

It would be great if PT Run would have an improved desktop seach function which was as good as Ultrasearch. (or integrated with it??)

https://www.jam-software.com/ultrasearch_free

### Scenario when this would be used?

It would be a single keyboard shortcut, making PT Run more powerful.

### Supporting information

_No response_
Repository: pytorch
Issue: convit_base: AssertionError: Mutating module attribute rel_indices during export.
Labels: triaged,oncall: pt2,oncall: export

cc @ezyang @msaroufim @bdhirsh @anijain2305 @zou3519 @chauhang @avikchaudhuri @gmagogsfm @zhxchen17 @tugsbayasgalan @angelayi @suo @ydwu4 @wconstab
Repository: PowerToys
Issue: Thumbnails for currently running apps Powertoys run
Labels: Needs-Triage

### Description of the new feature / enhancement

Would like to be quickly able to see the thumbnails for the currently running applications since I use this the most

### Scenario when this would be used?

Anytime someone is trying to quickly switch between running windows by name

### Supporting information

currently it is a generic icon which makes it hard to distinguish
Repository: godot
Issue: Pausing tree makes descendants of SubViewport ignore input, despite having process_mode = always
Labels: enhancement,topic:core,documentation,topic:input

### Godot version

v4.1.1.stable.official

### System information

Godot v4.1.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1080 (NVIDIA; 31.0.15.3179) - AMD Ryzen 5 1600 Six-Core Processor (12 Threads)

### Issue description

My project has a SubViewport containing a node which implements the `_input` function and has `process_mode = always`. Neither it nor any of the other virtual functions for input handling gets called on this node when the scene tree is paused.

`_process` is still getting called, so I _can_ work around the issue by implementing it in all relevant descendants and using the `Input` singleton.

### Steps to reproduce

1. Add a SubViewport
2. Add any node as child and implement `_input(event: InputEvent)`
3. Pause the scene tree: `get_tree().paused = true`

In the repro, observe only `_process` is handling the ui_accept action. Move ExpectsInput out of the SubViewport and all functions will handle it.

### Minimal reproduction project

[pause_input.zip](https://github.com/godotengine/godot/files/12095589/pause_input.zip)
Repository: neovim
Issue: Allow passing both buf and win to nvim_set_option_value
Labels: enhancement,api,options

### Problem

As of today, it is not possible to define a local window option associated with a buffer number.

As per reported by the vim doc (`:h local-options`):

> It's possible to set a local window option specifically for a type of buffer.

But with the current lua API in function `nvim_set_option_value`, it is not possible to do this. 

Here is an example with `cursorline` which is a `local to window` option.

```
nvim_set_option_value('cursorline', 1, {'buf': 2})
```

Today this does not work.

### Expected behavior

```
nvim_set_option_value('cursorline', 1, {'win': 1000, 'buf': 2})
nvim_set_option_value('cursorline', 1, {'buf': 2})
```

The above should define the local window option for the given buffer and the given window, and the doc should be updated. Omitting the `win` could mean "current window". Or maybe the API should be different if there is another better way to communicate the intent.

Another possibility is to allow that through `vim.wo` such as:

```
vim.wo[w][b] = true
```

This issue is to reference the progress on the topic, but the feature has already been thought of, as reported by the comments in the code.

https://github.com/neovim/neovim/blob/2f22ed6a00db10c4852a8fa232b8782f8b6a6646/runtime/lua/vim/_options.lua#L207C10-L207C10
Repository: vscode
Issue: Quiet light theme bad highlight
Labels: bug,themes,editor-theming

Type: <b>Bug</b>

Hello.
1) Select the Quiet light theme.
2) Open a file and search for a comment.
 => The comment is unreadable because of the highlight.
Repository: go
Issue: go/importer: import/export does not preserve package versions
Labels: Documentation,NeedsFix

#61175 added `go/types.Package.GoVersion`, which reports the Go version used to type-check the package. One of the motivators for this change was to make the `GoVersion` available in the [`cgocall`](https://cs.opensource.google/go/x/tools/+/master:go/analysis/passes/cgocall/cgocall.go;l=274;drc=1ca21856af7bffea38bd16dc62d9d31f4b6b5b86) analyzer.

But `Package.GoVersion` is not recorded in export data, nor can it be populated by an importer, because there is no corresponding setter. ~Therefore one of the goals of this new API is not achieved.~ (EDIT: perhaps it's still OK, because the version will still be set for the package _currently_ being analyzed).

Tentatively marking this as a release blocker (at least to make a decision), because #61175 was a release blocker.

CC @rsc @adonovan @mdempsky @griesemer
Repository: material-ui
Issue: [Skeleton][joy-ui] Long text is partially visible in Firefox
Labels: bug 🐛,component: skeleton,package: joy-ui,browser: Firefox

### Steps to reproduce 🕹

Link to live example:
https://codesandbox.io/s/dh9qs5?file=/Demo.js

Steps:
1. Open the attached link in Firefox


### Current behavior 😯

Text inside Skeleton is partially visible in Firefox (115.0.2). I don't know if this is related, but the console also displays the error

> Using kebab-case for css properties in objects is not supported. Did you mean WebkitMaskImage?
> in JoySkeletonRoot (created by Skeleton)
>     in Skeleton (created by InlineSkeleton)
>     in InlineSkeleton

https://github.com/mui/material-ui/assets/11437502/3a83bb05-5df2-4dd9-976c-d7fbbd84e0c1



### Expected behavior 🤔

Skeleton should cover all text, like in Chrome

https://github.com/mui/material-ui/assets/11437502/801f3110-d87a-4549-9603-d817532886d9



### Context 🔦

_No response_

### Your environment 🌎

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
System:
    OS: Windows 10 10.0.19045
  Binaries:
    Node: 18.12.0 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 9.6.3 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 114.0.5735.199
    Firefox: 115.0.2
    Edge: Spartan (44.19041.1266.0), Chromium (114.0.1823.82)
  npmPackages:
    @emotion/react: ^11.11.1 => 11.11.1 
    @emotion/styled: ^11.11.0 => 11.11.0 
    @mui/base:  5.0.0-beta.8 
    @mui/core-downloads-tracker:  5.14.1 
    @mui/joy: ^5.0.0-alpha.81 => 5.0.0-alpha.88 
    @mui/private-theming:  5.13.7 
    @mui/styled-engine:  5.13.2 
    @mui/system:  5.14.1 
    @mui/types:  7.2.4
    @mui/utils:  5.14.1
    @types/react:  18.2.15
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    typescript:  4.9.5
```
</details>
Repository: rust
Issue: Incomplete optimization of direct use `&mut *ptr`
Labels: A-LLVM,I-slow,A-codegen,T-compiler

https://play.rust-lang.org/?version=stable&mode=release&edition=2021&gist=b07e04c6c2f3d00c8a7764bea0d61794

```rust
extern "C" {
    fn fun();
}

fn black_box_fun() {
    unsafe { fun() };
}

#[inline]
pub fn restrict<T: ?Sized, F: FnOnce(&mut T) -> R, R>(x: &mut T, f: F) -> R {
    f(x)
}

pub fn foo(x: *mut i32) {
    let x = unsafe { &mut *x };
    *x = 1;
    black_box_fun();
    if *x != 1 {
        black_box_fun();
    }
}

pub fn bar(x: *mut i32) {
    restrict(unsafe { &mut *x }, |x| {
        *x = 1;
        black_box_fun();
        if *x != 1 {
            black_box_fun();
        }
    })
}
```

```asm
playground::foo:
	pushq	%rbx
	movq	%rdi, %rbx
	movl	$1, (%rdi)
	callq	*fun@GOTPCREL(%rip)
	cmpl	$1, (%rbx)
	jne	.LBB0_2
	popq	%rbx
	retq

.LBB0_2:
	popq	%rbx
	jmpq	*fun@GOTPCREL(%rip)

playground::bar:
	movl	$1, (%rdi)
	jmpq	*fun@GOTPCREL(%rip)
```

Why didn't we generate the best code?
Repository: godot
Issue: Resources dropped in floating windows don't get imported
Labels: bug,topic:editor,topic:porting

### Godot version

4.1.1

### System information

linux

### Issue description

If a dock is floating (e.g. the FileSystemDock), dragging e.g. an image from the os file system to it won't import it, you must drop it on the main editor window.

### Steps to reproduce

pop a window out and drag a file to it

### Minimal reproduction project

no
Repository: rust
Issue: rustdoc leaks MIR ConstValue representation of cross-crate const values that have an opaque type
Labels: T-rustdoc,C-bug,F-type_alias_impl_trait,A-cross-crate-reexports

Minimized reproducer:

`producer.rs` (compiled with `rustc producer.rs --crate-type=lib`):

```rs
#![feature(type_alias_impl_trait)]

pub const K: Opaque = 12;

pub type Opaque = impl Trait;

pub trait Trait {}
impl Trait for i32 {}
```

`consumer.rs` (documented with `rustdoc consumer.rs --edition=2021 --extern=producer=libproducer.rlib`):

```rs
pub use producer::*;
```

Rendered output in `doc/consumer/constant.K.html` (notice the `transmute` part):

```rs
pub const K: impl Trait = 12; // {transmute(0x0000000c): producer::Opaque}
```

@rustbot label C-bug T-rustdoc F-type_alias_impl_trait A-cross-crate-reexports
Repository: flutter
Issue: Construct a Color from hex code
Labels: c: new feature,engine,c: proposal,P3,team-framework,triaged-framework

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

Translating a custom app design in Figma to a Flutter app, the original designer provides colors as hex codes: 

<img width="907" alt="Screenshot 2023-07-18 at 11 27 44 AM" src="https://github.com/flutter/flutter/assets/12416400/d9e7b127-1514-478c-899d-10a8afec22dd">

The existing options to use these colors in Flutter include:
1.) Call Color() and provide hex code and append `0xff` to the front ex: `Color(0xffA2E3F6)`
2.) Create an extension or class which does the conversion from hex code --> int or Color. 

There's a [StackOverflow question](https://stackoverflow.com/questions/50081213/how-do-i-use-hexadecimal-color-strings-in-flutter) which covers these options. 

Either of these options adds an extra step for developers in between design and  code and isn't as straightforward for developers coming from other backgrounds ex: web & CSS. 


### Proposal

Provide a simpler way to construct a Color class with the common color hex code format. Infer an alpha value of FF if it's not specified, ex:
`Color(#A2E3F6)` == `Color(0xFFA2E3F6)`
Repository: vscode
Issue: Handle bad auth state better in the Issue Reporter
Labels: bug,issue-reporter

We've received a few issues where auth state is invalid but the Issue Reporter doesn't react to the invalid auth token. We should react accordingly and either:

* use the "preview on GitHub" flow (the one that opens the browser) when the token is invalid
* prompt the user to re-authenticate

The latter is more correct, but it could be hard to do with the issue reporter showing on top of the editor.
The former is probably a more smooth experience.
Repository: flutter
Issue: Nesting `ScrollController`s
Labels: c: new feature,framework,f: scrolling,c: proposal,P3,team-framework,triaged-framework

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

I have an UI with mainly these widgets:

```dart
CustomScrollView(
  physics: const AlwaysScrollableScrollPhysics(
    parent: BouncingScrollPhysics(),
  ),
  slivers: [
    SliverFillRemaining(
      hasScrollBody: true,
      child: ListView(
        children: [],
      ),
    ),
  ],
),
```

(on my actual UI, the Listview is wrapped in a Column and on top of it there is a "title".)

This is intended so that the list will be centred on the screen when it has few items and it will fill the screen when there are multiple items.

### Proposal

I would like to propose a way of nesting `ScrollController`s so that when my `ListView` gets to the top, the UI would still scroll using the `AlwaysScrollableScrollPhysics(parent: BouncingScrollPhysics())` moving the title with it. And when it found the end of the list as well. 

This would make my title always visible on the screen and also when reaching both ends of the `ScrollView`, the title would move together with the content making it a little more dynamic. 

And it would not make it so that when the user drags outside of the list, focusing on the title for example, the full-screen move even when there are still some items inside the list to show, it would first scroll the list, and then show the `BouncingScrollPhysics`.
Repository: react-native
Issue: Different TextInput behavior with flex-basis:0
Labels: Issue: Author Provided Repro,Component: TextInput,Needs: Triage :mag:

### Description

Android and IOS exhibit different behaviors in the following scenario: a textInput with a thick border and flex:1, within a view with flex:1.

On Android, the border is not taken into account to determine the size to allot to the textInput.

Possibly related to https://github.com/facebook/react-native/issues/38518

### React Native Version

0.72.3

### Output of `npx react-native info`

System:
  OS: Windows 10 10.0.19045
  CPU: (32) x64 AMD Ryzen Threadripper PRO 3955WX 16-Cores
  Memory: 92.13 GB / 127.86 GB
Binaries:
  Node:
    version: 20.4.0
    path: C:\Program Files\nodejs\node.EXE
  Yarn: Not Found
  npm:
    version: 9.8.0
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: AI-222.4459.24.2221.10121639
  Visual Studio:
    - 17.6.33723.286 (Visual Studio Community 2022)
Languages:
  Java: 1.8.0_372
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.3
    wanted: 0.72.3
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

### Steps to reproduce

In the example below, the text is below the textInput's border on web and iOS, but above the border on Android, leaving almost no room for the textInput's background.

### Snack, code example, screenshot, or link to a repository

https://snack.expo.dev/ANgohiA9k?platform=android



```
        <View style={{maxHeight:1000, minHeight:50, backgroundColor:'green'}}>
          <View style={{backgroundColor: 'yellow',
              flex:1,
              height:200,
              marginTop: 20,
              }}>
            <TextInput style={{borderTopWidth: 20, borderColor: 'red', backgroundColor:'blue', height:100, flex:1, padding:0 }}
              editable
              multiline
              value="bla bla bla 2"/>
          </View>
        </View>
```
Repository: flutter
Issue: Android Platform View in texture mode messes up input processing
Labels: platform-android,a: platform-views,team-android

Reproduction:

1. Checkout github.com/0xZOne/platform_view_performance.git
2. Run demo
3. Click "Matrix Transform" button
4. Drag the rotation slider back and forth

You will notice that the rotation slider jumps around (from 15 degrees to 300 and then back).

@HansMuller and I looked at it this morning and it seems like under certain rotation angles the drag gesture isn't right and becomes confused. I suspect that somehow the Android Platform View input area is not sized correctly and we end up interfering with the drag gesture being delivered to the slider.
Repository: react-native
Issue: (Android) Incorrect text positioning for a Text with a thick border
Labels: Issue: Author Provided Repro,Platform: Android,Needs: Triage :mag:

### Description

For a Text element, the border does not offset the content position on Android.

Possibly related to https://github.com/facebook/react-native/issues/38517.

### React Native Version

0.72.3

### Output of `npx react-native info`

System:
OS: Windows 10 10.0.19045
CPU: (32) x64 AMD Ryzen Threadripper PRO 3955WX 16-Cores
Memory: 92.13 GB / 127.86 GB
Binaries:
Node:
version: 20.4.0
path: C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm:
version: 9.8.0
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-222.4459.24.2221.10121639
Visual Studio:
- 17.6.33723.286 (Visual Studio Community 2022)
Languages:
Java: 1.8.0_372
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.3
wanted: 0.72.3
react-native-windows: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not found

### Steps to reproduce

Create a Text with a thick border: the content appears over the border rather than below. See example below.

### Snack, code example, screenshot, or link to a repository

https://snack.expo.dev/qdar-dc_I

```
<View style={{flex:1, paddingTop:30}}>
    <Text style={{borderTopWidth:20, borderColor:'yellow', backgroundColor:'cyan'}}>text</Text>
</View>
```
Repository: pytorch
Issue: torch.sparse.sampled_addmm doesn't compute gradients for 3D tensors
Labels: module: sparse,triaged

### 🐛 Describe the bug

Hi, I hope you don't mind me raising so many issues 😄

`torch.sparse.sampled_addmm` works fine in the forward phase for both 2D and 3D tensors. However, in the backward pass it fails for 3D tensors and throws a cryptic error message.

```
import torch

B, N, D, p = 4, 100, 30, 0.01
M1 = torch.randn(B, N, D).cuda().requires_grad_(True)
M2 = torch.randn(B, D, N).cuda()
mask = torch.bernoulli(p * torch.ones((N, N))).to_sparse_csr().cuda()

out = torch.sparse.sampled_addmm(mask, M1[0], M2[0])
out.to_dense()[0, 0].backward()  # works

out = torch.sparse.sampled_addmm(mask, M1, M2)
out.to_dense()[0, 0, 0].backward()  # doesn't work
```

I receive the following error:
```
RuntimeError: crow_indices is supposed to be a vector, but got 2 dimensional tensor.
```

### Versions

PyTorch version: 2.0.1+cu117

cc @alexsamardzic @nikitaved @pearu @cpuhrsch @amjames @bhosmer