sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: In Multi diff view action menu get's hide behind the file name 
Labels: bug,verification-found,multi-diff-editor

Right click in the Multi diff view and see the action get's hide behind the file name line as well as the sidebar

//cc @hediet 

![image](https://github.com/microsoft/vscode/assets/50770619/0b379a35-8e96-497d-b836-8caa9d870e9f)
Repository: angular
Issue: ComponentFixture.detectChanges hides host binding issues with non-dirty OnPush components
Labels: area: testing

### Which @angular/* package(s) are the source of the bug?

core

### Is this a regression?

No

### Description

When writing unit tests for components, change detection is triggered with `ComponentFixture.detectChanges`. This forces a refresh of the component's host view, which contains host bindings (and ignores the `OnPush`/`Dirty` flags). This will hide any issues where the component updates host binding values but does not call `ChangeDetectorRef.markForCheck`. If this isn't done, the host binding won't ever get refreshed when the component is used in the application.

### Please provide a link to a minimal reproduction of the bug

_No response_

### Please provide the exception or error you saw

_No response_

### Please provide the environment you discovered this bug in (run `ng version`)

_No response_

### Anything else?

_No response_
Repository: flutter
Issue: go_router deep linking behaviour
Labels: c: new feature,package,c: proposal,P2,p: go_router,team-go_router,triaged-go_router

### 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

My app does process payments outside the app - using browser.
Final url is our deepLink which gets triggered. I want it to open my current route with updated query parameters.
Currently if we open a deep-link the whole stack is poped and the screens are lost with its state. Then it created new route which was given in the deep-link URI and opens that route in initial state.


### Proposal

Let go_router control this behaviour when opening deepLinks. Behaviour modes could be:

- `REPLACE` - as current implementation
- `PUSH` - the new one. This could simply call `push` method on go_router instead `replace`

Another approach is to add deepLink handler which would allow app to intercept a redirect completely.
Repository: vscode
Issue: Notebook focus indicator is not pixel perfect
Labels: polish,notebook-layout

When hovering this, it expands further left than right as 3px total are being added:
![image](https://github.com/microsoft/vscode/assets/2193314/d795d5ad-b845-4796-be3c-49ced21de4ab)

![image](https://github.com/microsoft/vscode/assets/2193314/d751c206-727d-4a77-bc33-b7b65b83d144)
Repository: go
Issue: x/tools/gopls: "type name %q without type spec" bug in Hover (via telemetry)
Labels: NeedsInvestigation,gopls,Tools,gopls/telemetry-wins

```
#!stacks
"bug.Errorf" &&
 ("source.hover:133" || "golang.hover:+266")
```

This stack `A-IqbA` was [reported by telemetry](https://storage.googleapis.com/prod-telemetry-merged/2023-11-12.json):

hover:133 is https://cs.opensource.google/go/x/tools/+/refs/tags/gopls/v0.14.1:gopls/internal/lsp/source/hover.go;l=225 is
```
return protocol.Range{}, nil, bug.Errorf("type name %q without type spec", obj.Name())
```

```
gopls/bug
golang.org/x/tools/gopls/internal/bug.report:35
golang.org/x/tools/gopls/internal/bug.Errorf:2
golang.org/x/tools/gopls/internal/lsp/source.hover:133
golang.org/x/tools/gopls/internal/lsp/source.Hover:4
golang.org/x/tools/gopls/internal/lsp.(*Server).hover:18
golang.org/x/tools/gopls/internal/lsp.(*Server).Hover:1
golang.org/x/tools/gopls/internal/lsp/protocol.serverDispatch:300
golang.org/x/tools/gopls/internal/lsp/lsprpc.(*StreamServer).ServeStream.ServerHandler.func3:5
golang.org/x/tools/gopls/internal/lsp/lsprpc.(*StreamServer).ServeStream.handshaker.func4:52
golang.org/x/tools/gopls/internal/lsp/protocol.Handlers.MustReplyHandler.func1:2
golang.org/x/tools/gopls/internal/lsp/protocol.Handlers.AsyncHandler.func2.2:3
runtime.goexit:0
```
```
golang.org/x/tools/gopls@devel devel linux/amd64 (1)
golang.org/x/tools/gopls@v0.14.1 go1.21.3 darwin/arm64 (1)
```

Reported using golang.org/x/tools/gopls/internal/telemetry/cmd/stacks.


Dups: G_PnXA gzmDpA 4fCWeg
Repository: excalidraw
Issue: "Error Installing Script" on Android
Labels: 3rd-party

When using the Obsidian plugin on Android, I'm unable to install some scripts from the built-in store--I get a "Error installing script: SCRIPT NAME.md" message at top right. I'm not sure what the ones that succeed have in common with each other. The following seemed to work (gave an "Installed XXXX" message), but then I didn't see any evidence that the interface changed after their "install", and they failed on subsequent attempts to install.
- Add Connector Point
- Add Link to Existing File and Open (install seemed to work with v1.9.19, but then it wasn't present when I came back 
- Add Next Step in Process
- Auto Draw for Pen
- Box Selected Elements

And these were a few that failed immediately:
- Auto Layout
- Box Each Selected Groups
- Concatenate lines
- Connect elements

That was with the Excalidraw Obsidian plugin v1.9.19. After updating to 2.0.1, I seem to be getting the "Error installing" message with every script. The Obsidian Android app is at v1.4.16 (114) API v1.4.16.
Repository: godot
Issue: CollisionObject3D doesn't check for `CSG*` objects with  `Use Collision` enabled in their collider warning check.
Labels: discussion,documentation,topic:physics,topic:3d

### Godot version

4.2.rc1

### System information

Godot v4.2.rc1 - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4090 (NVIDIA; 31.0.15.3598) - 13th Gen Intel(R) Core(TM) i9-13900K (32 Threads)

### Issue description

Minor nit, the warnings for shapes don't check for colliders on CSG objects.
<img width="286" alt="image" src="https://github.com/godotengine/godot/assets/742517/73838695-e75f-451d-9ba7-741b6cc5d01f">

Collision is enabled:
<img width="374" alt="image" src="https://github.com/godotengine/godot/assets/742517/f9266c5c-877a-453f-ade5-afc63b8725b0">


### Steps to reproduce

Create an Area3D with a CSGCylinder3D in it and turn on "Use Collision". The warning persists.

Expectation: the warning should go away.

### Minimal reproduction project

N/A
Repository: react
Issue: [DevTools Bug]: hook parsing fails while using functional component + redux or alternative
Labels: Type: Bug,Status: Unconfirmed,Component: Developer Tools

### Website or app

https://github.com/reduxjs/redux-templates/tree/master/packages/cra-template-redux-typescript

### Repro steps

Before the step-by-step approach, please note, this is not specific to the cra-template-redux-typescript repo mentioned above, nor to redux itself, as it can be easily reproduced by integrating redux (or even other alternative, like zustand) to any react-based project where you use functional components together with hooks.

1. set up a bare template repo: `npx create-react-app my-app --template redux-typescript`
2. cd my-app
3. npm start
4. Observe the `Counter` component in devtools -> notice hook parsing failed.
5. go to `src/features/counter/Counter.tsx` and stub out the two lines which wire redux into the component (easier to stub out than to delete them and all reference in the JSX):
```typescript
// const count = useAppSelector(selectCount);  // stubbed out
// const dispatch = useAppDispatch();          // stubbed out
const count = 1;
const dispatch = (x:any) => null;
```
6. save & reload (or let HMR do it)
7. Observe the `Counter` component in devtools -> notice hook parsing works properly.

### How often does this bug happen?

Every time

### DevTools package (automated)

_No response_

### DevTools version (automated)

_No response_

### Error message (automated)

_No response_

### Error call stack (automated)

_No response_

### Error component stack (automated)

_No response_

### GitHub query string (automated)

_No response_
Repository: angular
Issue: Nested styles on html tags dosen't work in inline style
Labels: state: has PR,area: compiler,core: CSS encapsulation,P3

### Which @angular/* package(s) are the source of the bug?

common, compiler, core

### Is this a regression?

Yes

### Description

When I try to style nested html tags it's not working when I use the inline style(independs if string or array), for example:

```
styles: `
:host {
  display: block;
  a {
    color: red
  }
}`
```

Weirdly, when I put the same styles in a separated file and use the stylesUrl it's work fine. The same happens and works fine when I use a class name instead tag name 

### Please provide a link to a minimal reproduction of the bug

https://stackblitz-starters-q2t2hm.stackblitz.io

### Please provide the exception or error you saw

_No response_

### Please provide the environment you discovered this bug in (run `ng version`)

_No response_

### Anything else?

The bug either happens in v16 but in v15 dont
Repository: godot
Issue: ConfirmationDialog with `visible = true` spawns at invalid position when embedded subwindows is disabled
Labels: bug,topic:gui

### Godot version

v4.2.rc1.official [ad72de508]

### System information

Arch Linux #1 SMP PREEMPT_DYNAMIC Wed, 08 Nov 2023 16:05:38 +0000 - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 6800 XT () - AMD Ryzen 9 5900X 12-Core Processor (24 Threads)

### Issue description

If a `ConfirmationDialog` is set as `visible = true` before it's shown via `popup_centered()`, then it will be spawned at an invalid position. This can be prevented by having embedded subwindows enabled.

Error message:
```
scene/main/window.cpp:1742 - Window 69 spawned at invalid position: (2680, 390).
```

### Steps to reproduce

Execute this script in the editor (assuming your editor does not embed subwindows):
```gdscript
@tool
extends EditorScript

func _run() -> void:
	var root := get_editor_interface().get_base_control()
	var dialog := ConfirmationDialog.new()
	dialog.visible = true
	root.add_child(dialog)
	dialog.popup_centered(Vector2(400, 300))
	dialog.visibility_changed.connect(dialog.queue_free)
```
(it's the same behavior in-game, I just find it simpler to test with just an editor script)

### Minimal reproduction project

-
Repository: pytorch
Issue: [export] Helper function for specifying dynamic batch size
Labels: triaged,export-triage-review,oncall: export

### 🚀 The feature, motivation and pitch

For infra users, sometimes they want to be able to just say "set the first dimension of every input to be a batch size". But in order to do this, the current dynamic_shapes API asks for a mapping of input dimensions to the function signature. But from an infra point of view though, they don't know the function signature. So currently the way to do so is something like what is done in [this file](https://fburl.com/code/rscjc838), although this file assumes the input is just a list of tensors (no pytrees). It would be nice to wrap this up in some helper function.

cc @avikchaudhuri @gmagogsfm @zhxchen17 @tugsbayasgalan @suo @ydwu4 @SherlockNoMad 

### Alternatives

_No response_

### Additional context

_No response_
Repository: react-native
Issue: React native share "tintColor" property not working on iOS per docs
Labels: Platform: iOS,API: Share,Needs: Triage :mag:,Newer Patch Available,Never gets stale

### Description

Trying to change the color of the share menu on iOS per the docs https://reactnative.dev/docs/share and the color never changes. I've tried expo snack, in my own app, etc.



### React Native Version

0.72.5

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

System:
  OS: macOS 14.0
  CPU: (10) arm64 Apple M2 Pro
  Memory: 718.67 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.7.0
    path: /opt/homebrew/bin/node
  Yarn: Not Found
  npm:
    version: 10.1.0
    path: /opt/homebrew/bin/npm
  Watchman:
    version: 2023.09.04.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.12.1
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.0
      - iOS 17.0
      - macOS 14.0
      - tvOS 17.0
      - watchOS 10.0
  Android SDK: Not Found
IDEs:
  Android Studio: 2022.2 AI-222.4459.24.2221.9862592
  Xcode:
    version: 15.0.1/15A507
    path: /usr/bin/xcodebuild
Languages:
  Java: Not Found
  Ruby:
    version: 2.6.10
    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.5
    wanted: 0.72.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

### Steps to reproduce

Using exact same code in the react native share docs webpage with exception of adding tintColor:

Using iPhone 12 on iOS 16.6.1

```typescript
import React from 'react';
import {Alert, Share, View, Button} from 'react-native';

const ShareExample = () => {
  const onShare = async () => {
    try {
      const result = await Share.share({
        message:
          'React Native | A framework for building native apps using React',
      }, { tintColor: "#000000" }
      );
      if (result.action === Share.sharedAction) {
        if (result.activityType) {
          // shared with activity type of result.activityType
        } else {
          // shared
        }
      } else if (result.action === Share.dismissedAction) {
        // dismissed
      }
    } catch (error: any) {
      Alert.alert(error.message);
    }
  };
  return (
    <View style={{marginTop: 50}}>
      <Button onPress={onShare} title="Share" />
    </View>
  );
};

export default ShareExample;
```

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

https://snack.expo.dev/@christophergabba/example
Repository: next.js
Issue: No response is returned from route handler (Response differs due to polyfill!)
Labels: bug

### Link to the code that reproduces this issue

https://github.com/luthfib/auth0-nextjs-repro/tree/fetch-issue

### To Reproduce

1. Copy `.env.example` to `.env` and set it up for an auth0 account
2. `pnpm install`
3. `pnpm run build`
4. `pnpm run start`
5. Open Chrome incognito window. After logging in, open dev tools and go to application and clear site data. Then refresh the page and you should get a 500.


### Current vs. Expected behavior

I expect auth to work and to be redirected correctly back to the main page.

Instead their's a 500 and server shows:
```
 ⨯ Error: No response is returned from route handler '/.../auth0-nextjs-repro/app/api/auth/[auth0]/route.ts'. Ensure you return a `Response` or a `NextResponse` in all branches of your handler.
```

### 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 23.1.0: Mon Oct  9 21:28:12 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T8103
Binaries:
  Node: 18.14.2
  npm: 9.5.0
  Yarn: 1.22.5
  pnpm: 8.9.2
Relevant Packages:
  next: 13.5.6
  eslint-config-next: 13.5.5
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.2.2
Next.js Config:
  output: standalone
```


### Which area(s) are affected? (Select all that apply)

App Router

### Additional context

Next error is from https://github.com/vercel/next.js/blob/6ed4fddf8a55f956ca6a714e081a384880d45e52/packages/next/src/server/future/route-modules/app-route/module.ts#L367

Cross-fetch overriding of `Response` object: https://github.com/lquixada/cross-fetch/blob/v4.x/src/node-polyfill.js#L8

In testing, I setup some console logs and used a [WeakMap/objectId trick](https://stackoverflow.com/a/35306050) to verify that the `Response` object is indeed getting changed due to the polyfill. This happens after Next has defined `NextResponse` so the nextResponse object inherits from the original Response and not the polyfill version. This causes `res instaceof Response` to fail. For more on this see https://nextjs-forum.com/post/1163946577388380171
Repository: godot
Issue: MeshInstance2D Gets Artifacts if Object Is Rotated.
Labels: topic:rendering,documentation,topic:2d

### Godot version

4.2

### System information

Windows 11

### Issue description

MeshInstance2D gets artifacts if an object Is Rotated.

![image](https://github.com/godotengine/godot/assets/2251298/00bf9f88-6f97-4ede-b244-7065b8b345af)

![image](https://github.com/godotengine/godot/assets/2251298/e90f94eb-843f-4e70-945b-003ed4808361)


### Steps to reproduce

1. Create MeshInstance2D
2. Set Mesh as New Capsule Mesh.
3. Add Texture in the MeshInstance2D
4. Rotate the MeshInstance2D

And artifacts will appear.

### Minimal reproduction project

--
Repository: vscode
Issue: PWA interferes with rendering the WCO on Windows 11
Labels: bug,windows,titlebar,confirmation-pending,windows 11

SteVen found the following issue on Windows 11 with VS Code Insiders:

1. Run VS Code as an Edge PWA. You can do this by navigating to https://vscode.dev and clicking on the extension button on the right side of the browser's top search bar.
2. Near the top-right corner of the VS Code PWA, in the top bar, there is a `^` button. Press that button to collapse the top bar, which renders it in a more compact way.
3. Move the mouse over the maximize button and hover it.
4. :bug: The snap layout panel does not show up.
Repository: svelte
Issue: Inline constant expressions from mustache tags into template
Labels: perf

### Describe the problem

https://github.com/sveltejs/kit/pull/11059 as it stands now would change the output of the `@sveltejs/enhanced-img` preprocessor to:
```
<picture><source srcset={"/1 1440w, /2 960w"} type="image/avif" /><source srcset={"/3 1440w, /4 960w"} type="image/webp" /><source srcset={"5 1440w, /6 960w"} type="image/png" /><img src={"/7"} alt="basic test" width=1440 height=1440 /></picture>
```

This would cause extra output to be inserted into the generated JS:
```
 	var source = $.child(picture);
	$.attr(source, "srcset", "/1 1440w, /2 960w");
	var source_1 = $.sibling(source);
	$.attr(source_1, "srcset", "/3 1440w, /4 960w");
	var source_2 = $.sibling(source_1);
	$.attr(source_2, "srcset", "5 1440w, /6 960w");
```

It would be nice not to have these calls and still continue to rely only on the `$.template` call

### Describe the proposed solution

Automatically evaluate and inline any expressions known to have constant values

### Alternatives considered

Possibly we can make relative paths not the default in SvelteKit so that we hit this case less often. This optimization may be nice nonetheless not only for the relative paths case, but for other instances where the user may write such code

### Importance

nice to have
Repository: go
Issue: net/http: TestTransportNoReuseAfterEarlyResponse failures due to leaked transports
Labels: Testing,NeedsInvestigation

```
#!watchflakes
post <- pkg == "net/http" && test == "TestTransportNoReuseAfterEarlyResponse" && `appears to have leaked a Transport`
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/790c49aa2f5194c46e0638526b8e810abf450afb)):

    --- FAIL: TestTransportNoReuseAfterEarlyResponse (2.62s)
        --- FAIL: TestTransportNoReuseAfterEarlyResponse/h1 (2.62s)
            main_test.go:161: Test appears to have leaked a Transport:
                internal/poll.runtime_Semacquire(0x56d7d7f8?)
                	/tmp/buildlet/go/src/runtime/sema.go:67 +0x25
                internal/poll.(*FD).Close(0xc000288800)
                	/tmp/buildlet/go/src/internal/poll/fd_unix.go:113 +0x65
                net.(*netFD).Close(0xc000288800)
                	/tmp/buildlet/go/src/net/fd_posix.go:37 +0x32
                net.(*conn).Close(0xc000692008)
    ...
                testing.(*T).Run(0xc000a09860, {0xf98d51f?, 0xf64c56d?}, 0xc0002d8060)
                	/tmp/buildlet/go/src/testing/testing.go:1736 +0x3ab
                net/http_test.run[...](0xc000a09860, 0xfb220b0, {0xc0004ba740, 0x2?, 0x183e44b0})
                	/tmp/buildlet/go/src/net/http/clientserver_test.go:82 +0x283
                net/http_test.TestTransportNoReuseAfterEarlyResponse(0xc000a09860)
                	/tmp/buildlet/go/src/net/http/transport_test.go:3490 +0x9c
                testing.tRunner(0xc000a09860, 0xfb20d38)
                	/tmp/buildlet/go/src/testing/testing.go:1682 +0xfb
                created by testing.(*T).Run in goroutine 1
                	/tmp/buildlet/go/src/testing/testing.go:1735 +0x390


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: rust
Issue: rustdoc replaces `##` with `#` even if it is in a code block
Labels: T-rustdoc,C-bug

I tried this code:

```rust
/// ```
/// define_component!(
///     #[derive(Debug)]
///     ##[min(0.0))]
///     ##[max(100.0))]
///     ##[default(50.0)]
///     pub Fuel(pub f32);
/// );
/// ```
macro_rules! define_component {
    (
        $(#[$attr:meta])*
        ##[min($min:expr)]
        ##[max($max:expr)]
        ##[default($default:expr)]
        $self_vis:vis $self:ident($inner_vis:vis $inner:ty);
    ) => {};
}
```

The `define_component` macro uses a single hash sign `#` to represent a normal attribute (e.g. `#[derive(Debug)]`), and uses a double hash sign `##` to represent an argument specific to that macro (e.g. `##[min(0.0)]`).

I ran `cargo doc --document-private-items --open` and opened the generated `define_component` page.

I expected to see this happen:

```text
define_component!(
    #[derive(Debug)]
    ##[min(0.0))]
    ##[max(100.0))]
    ##[default(50.0)]
    pub Fuel(pub f32);
);
```

Instead, this happened:

```text
define_component!(
    #[derive(Debug)]
    #[min(0.0))]
    #[max(100.0))]
    #[default(50.0)]
    pub Fuel(pub f32);
);
```

`##` were replaced by `#`. (e.g. `##[min(0.0)]` became `#[min(0.0)]`)

I think rustdoc should keep code blocks as written (except for coloring, etc.). This is because code blocks are generally expected to be enclosed in the HTML `<pre>` tag, which defines preformatted text.

In other words, code blocks are preformatted and should be kept as written.

Perhaps the following code is related:
https://github.com/rust-lang/rust/blob/2831701757eb7b3105eda26a306c2f3a97e2664b/src/librustdoc/html/markdown.rs#L169-L172

### Workaround
If the doc comment starts with ` ```text ` instead of ` ``` `, this problem does not occur.

### Meta
`rustdoc --version --verbose`:
```
rustdoc 1.74.0 (79e9716c9 2023-11-13)
binary: rustdoc
commit-hash: 79e9716c980570bfd1f666e3b16ac583f0168962
commit-date: 2023-11-13
host: x86_64-unknown-linux-gnu
release: 1.74.0
LLVM version: 17.0.4
```
Repository: tauri
Issue: [feat] Build for the web
Labels: type: feature request,priority: 3 low

### Describe the problem

I know that Yew already exists, but implementing a way to build for the web in tauri would be a really useful feature

### Describe the solution you'd like

I don't need this feature urgently, but it would be nice if it could at least be added to the Tauri roadmap by an admin to be implemented at some point. I just want a simple way to build a single page app (or even multi page at some point). I think it'd be a great idea because then the web app can leverage the power of rust whilst still being easy to write and having nice gui.

### Alternatives considered

Of course, there's yew, but that'd mean you'd have to create your app again from the ground up.

### Additional context

_No response_