sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: electron
Issue: [Feature Request]: Load main.js and preload.js from a URL
Labels: enhancement :sparkles:

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

When it comes to developing an electron app with TypeScript and bundlers, it would be neat to not write files to a `dist` folder but instead to keep transformed and bundled files in memory.

Currently the electron executable treats every URL as a website to open. `node_modules/.bin/electron http://localhost:3000/dist/main.js` will show `main.js` contents in the window like what normal browser does. In addition, `webPreferences.preload` requires an absolute file path pointing to the preload script.

### Proposed Solution

1. Allow electron to start with a `main.js` from a URL, so that this file can be served by e.g. an HTTP server. To make it compatible with current command line interface, maybe `electron --main <url/to/main.js>` is a good start.

2. Allow `webPreferences.preload` to be a URL.

### Alternatives Considered

Some linux users can use memfs (like `/tmp`) to achieve something similar. However that's not applicable for macOS and Windows users.

### Additional Information

_No response_
Repository: flutter
Issue: [quick_actions] [android] Add support to manage existing shortcuts
Labels: c: new feature,platform-android,p: quick_actions,package,P3,team-android,triaged-android

### Use case

Currently [quick_actions](https://pub.dev/packages/quick_actions) do not support android specific method to manage/update/disable shortcuts.
As per android docs, it would be usefull to add the possibility to [Update shortcuts](https://developer.android.com/develop/ui/views/launch/shortcuts/managing-shortcuts#update-shortcuts) and [Disable shortcuts](https://developer.android.com/develop/ui/views/launch/shortcuts/managing-shortcuts#disable-shortcuts).

Also this would help with disabling deprecated shortcuts that have been added to the homescreen, since the current [clearShortcutItems](https://pub.dev/documentation/quick_actions/latest/quick_actions/QuickActions/clearShortcutItems.html) method does NOT remove shortcuts added to the homescreen by the user

### Proposal

Add some methods to access these android specific features
Repository: flutter
Issue: [OverlayPortal] Add `anchor` parameter as in `flutter_portal`
Labels: c: new feature,framework,c: proposal,P3,team-framework,triaged-framework

### Use case

As `flutter_portal` is not maintained anymore, I thought I'd replace it with the new `OverlayPortal`.
I found out, however, that there is no `anchor` parameter as there was in `flutter_portal`.

This feature was really convenient in `flutter_portal` and currently I don't see the reason to "upgrade" to `OverlayPortal` as long as I don't have this parameter.

(Maybe I'm missing something, but positioning the Overlay with the `OverlayPortal` currently seems quite inconvenient, compared to `flutter_portal`)

### Proposal

It would be great if something similar to the `anchor` parameter could be added to the `OverlayPortal`. This way the positioning of the Overlay will be a lot simpler than it is currently.

Here is an example from `flutter_portal`:
```dart
PortalTarget(
  visible: true,
  anchor: const Aligned(  // This is what I'd love to have in the OverlayPortal!
    follower: Alignment.topLeft,
    target: Alignment.topRight,
  ),
  portalFollower: Material(...),
  child: RaisedButton(...),
)
```
Repository: storybook
Issue: [Bug]: Custom MDX components doesn't work with JSDoc autodocs
Labels: question / support,has workaround,addon: docs

### Describe the bug

Following [these docs](https://storybook.js.org/docs/writing-docs/autodocs#working-with-custom-mdx-components), I've configured various MDX components to use components from our style guide or otherwise display differently (e.g. `p`s, `h` headings, `code` snippets, etc.). This works for pages written directly in MDX (i.e. have a `.mdx` extension), but it **does not affect** docs Storybook auto-generates from component JSDocs.

I understand the caveat for how `MDXProvider`'s `components` prop works:

> “We now ‘sandbox’ components, for lack of a better name. It means that when you pass a component for h1, it does get used for `# hi` but not for `<h1>hi</h1>`”

Although JSDocs are _technically_ written in Markdown, I wonder if they're getting turned into raw HTML _before_ being passed to the `MDXProvider`. :thinking:

Is this a bug with Storybook? Or is there a different way I should be going about this, where I can customize how pieces of the JSDoc are rendered on the autodocs page?

### Reproduction link

https://stackblitz.com/edit/github-wxehxx

### Reproduction steps

1. Go to the reproduction link.
2. You should land at the root of the app `/`. Note the first paragraph's text is red. This is how I've configured `p` tags to render using `MDXProvider` and a custom `DocsContainer` in the example.
3. Go to the Docs page for the **Button** story (i.e. `/?path=/docs/example-button--docs`).
4. Note the paragraph (generated from `Button`'s JSDoc) is not styled.

### System

```bash
Storybook Environment Info:

  System:
    OS: Linux 6.5 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
    CPU: (16) x64 AMD Ryzen 9 PRO 7940HS w/ Radeon 780M Graphics
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 18.20.2 - ~/.nvm/versions/node/v18.20.2/bin/node
    npm: 10.7.0 - ~/.nvm/versions/node/v18.20.2/bin/npm
    pnpm: 9.0.6 - ~/.nvm/versions/node/v18.20.2/bin/pnpm <----- active
  Browsers:
    Chrome: 125.0.6422.141
  npmPackages:
    @storybook/addon-essentials: ^8.1.5 => 8.1.5 
    @storybook/addon-interactions: ^8.1.5 => 8.1.5 
    @storybook/addon-links: ^8.1.5 => 8.1.5 
    @storybook/addon-mdx-gfm: ^8.1.5 => 8.1.5 
    @storybook/blocks: ^8.1.5 => 8.1.5 
    @storybook/manager-api: ^8.1.5 => 8.1.5 
    @storybook/preview-api: ^8.1.5 => 8.1.5 
    @storybook/react: ^8.1.5 => 8.1.5 
    @storybook/react-vite: ^8.1.5 => 8.1.5 
    @storybook/test: ^8.1.5 => 8.1.5 
    @storybook/theming: ^8.1.5 => 8.1.5 
    @storybook/types: ^8.1.5 => 8.1.5 
    eslint-plugin-storybook: ^0.8.0 => 0.8.0 
    storybook: ^8.1.5 => 8.1.5 
    storybook-dark-mode: ^4.0.1 => 4.0.1
```


### Additional context

_No response_
Repository: tauri
Issue: [bug] Installation failed on macos13
Labels: type: bug,status: needs more info,platform: macOS,status: needs triage

### Describe the bug

```
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               T-Shell [6385]
Path:                  /Applications/T-Shell.app/Contents/MacOS/T-Shell
Identifier:            com.theBlind.tShell-Plus
Version:               1.0.0 (20240531.055531)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2024-05-31 21:57:06.1878 +0800
OS Version:            macOS 13.4 (22F66)
Report Version:        12
Anonymous UUID:        C6198214-72BD-E5F0-0402-BAB7D2D44842


Time Awake Since Boot: 6400 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: /opt/homebrew/*/libssl.3.dylib
Referenced from: <F0B14B70-34E2-3A48-B6B8-BE8ADDC0ACAB> /Applications/T-Shell.app/Contents/MacOS/T-Shell
Reason: tried: '/opt/homebrew/*/libssl.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/*/libssl.3.dylib' (no such file), '/opt/homebrew/*/libssl.3.dylib' (no such file)
(terminated at launch; ignore backtrace)
```

### Reproduction

_No response_

### Expected behavior

_No response_

### Full `tauri info` output

```text
tauri 1.5
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: ant-design
Issue: Table: Horizontal scrollbar is between table and fixed summary
Labels: Inactive,improvement

### Reproduction link

[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/react-fugmrb?file=demo.tsx)

### Steps to reproduce

Create a table with a summary, and make the summary fixed to the bottom. Add a scroll={{x: <number>}} so the table scrolls in the horizontal direction (i.e. x-scroll, or left to right)

### What is expected?

It's intuitive for users that the scroll bar is below all elements it scrolls. In this case, it will be intuitive for the horizontal scroll bar to be below both the table contents and the summary. If a table has a summary that is not fixed, the horizontal scroll is below both the table and the summary.

### What is actually happening?

On tables with a fixed summary, the horizontal scroll bar is shown between the table content and the summary. 

| Environment | Info |
| --- | --- |
| antd | 5.17.4 |
| React | 18.3.1 |
| System | Windows, Mac |
| Browser | 125.0.6422.113 |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->

![ant_table_horizontal_scroll](https://github.com/ant-design/ant-design/assets/3293478/c8062207-1894-44c8-a37f-10af113a01e2)
Repository: PowerToys
Issue: Fancy zones switches monitors when using RDC
Labels: Issue-Bug,Product-FancyZones,Needs-Triage

### Microsoft PowerToys version

0.81.1

### Installation method

Microsoft Store

### Running as admin

No

### Area(s) with issue?

FancyZones

### Steps to reproduce

This is only an issue through RDC. I have two monitors both at home and at my office. No issues in person. At home, connected to my office PC thru VPN/RDC, the following occurs:

1. Initiate RDC connection and login.
2. Everything is OK, I have a custom zone on Monitor 2, no zone on monitor 1. This is the expected behavior and matches my experience when I am in the office working locally.
3. Walk away, remote PC auto locks after 10 minutes of inactivity. Local PC screen stays awake.
4. Wake up Remote PC thru RDC connection and Log back in. (This happens on monitor 1). By this point the RDC window is no longer full screen covering both monitor. It is a window that I have to full screen again to occupy both monitors.
5. Fancy zones have now switched monitors where now the custom zone is on monitor 1 and no zone is on monitor 2.

This seems to be new behavior as I do not recall this happening before. I can open fancy zones setup and switch the location of the zones to restore the setup.
[PowerToysReport_2024-05-31-10-01-41.zip](https://github.com/user-attachments/files/15514989/PowerToysReport_2024-05-31-10-01-41.zip)





### ✔️ Expected Behavior

The zone configuration should remain in place. 

### ❌ Actual Behavior

The configured zones swapped monitors.

### Other Software

Remote Desktop
Local PC Latest Windows 10
Remote PC Latest Windows 11
Repository: electron
Issue: [Bug]: `network.mojom.NetworkService` utility crashed
Labels: platform/macOS,crash :boom:,bug :beetle:,status/reviewed,stale,component/utilityProcess,29-x-y

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.

### Electron Version

29.1.6

### What operating system are you using?

macOS

### Operating System Version

macOS 13.4

### What arch are you using?

arm64 (including Apple Silicon)

### Last Known Working Electron version

_No response_

### Expected Behavior

Electron should not crash

### Actual Behavior

```
EXC_BREAKPOINT / EXC_ARM_BREAKPOINT / 0x10e8f9978
Fatal Error: EXC_BREAKPOINT / EXC_ARM_BREAKPOINT / 0x10e8f9978
```

<img width="584" alt="image" src="https://github.com/electron/electron/assets/380914/7fe54a18-2dfe-4752-8fcd-ff4025f44fd7">

We're seeing several thousand crashes a week from a wide variety of users/installations. It seems like this bug has been around for many releases as it was previously filed here https://github.com/electron/electron/issues/37469 and closed. 

### Testcase Gist URL

_No response_

### Additional Information

I can provide minidumps with relevant crash info privately.
Repository: stable-diffusion-webui
Issue: [Feature Request]: What if I modify the parameters in the configuration file so that the program can render images through the CPU?
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

I deployed Stable Diffusion on Windows 11. My graphics card has a small memory of 6GB, which makes it unable to render large images. I want it to use the CPU to render large images, but I don't remember how to modify the configuration parameters to let the CPU render images. Let the experts who know this method tell me.

### Proposed workflow

1. By modifying the configuration file, it can render images through the CPU.



### Additional information

_No response_
Repository: godot
Issue: [4.3 beta 1] Godot Wayland produces corrupt config if language does not use '.' as decimal separator
Labels: bug,platform:linuxbsd,topic:editor,needs testing

### Tested versions

- v4.3.beta1.official [a4f2ea91a]

### System information

Godot v4.3.beta1 - openSUSE Tumbleweed 20240523 - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 580 Series (RADV POLARIS10) () - Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (8 Threads)

### Issue description

Godot writes invalid `editor_settings-4.3.tres` and invalid `project.godot` files, when the User's language does not use a period as a decimal separator.  
Floats get represented like `0,57` instead of `0.57`, causing issues like `Parse Error: Expected 4 arguments for constructor`.

This prevents Godot from starting until editor_settings file is fixed.  

Starting Godot with `LANG=C ./godot` fixes the problem. 

### Steps to reproduce

- run Godot 4.3 Beta 1 with PC language set to German
- change colors in Theme settings of the Editor
- close Godot
- start Godot
- crashes immediately, `Parse Error: Expected 4 arguments for constructor`

### Minimal reproduction project (MRP)

n.a.
Repository: godot
Issue: Setting a SegmentShape2D as a ShapeCast2D's shape and setting the segment's A and B to a zero vector causes computer to run out of application memory
Labels: bug,topic:physics,needs testing,crash,topic:2d

### Tested versions

Godot 4.2.2

### System information

Godot v4.2.2.stable - macOS 14.5.0 - Vulkan (Forward+) - integrated Apple M1 - Apple M1 (8 Threads)

### Issue description

If I assign a `SegmentShape2D` as a `ShapeCast2D`'s shape, and I set the segment's `A` and `B` properties to zero vectors, and the `ShapeCast2D`'s `target_position` to something other than a zero vector, Godot freezes, and after a minute or so, I get the message that "Your system has run out of application memory", and I have to force-quit Godot.

### Steps to reproduce

Add a `ShapeCast2D`. Set a `SegmentShape2D` as its `shape` property. Set both `A` and `B` to zero vectors. Set the `ShapeCast2D`'s `target_position` to something other than a zero vector.

### Minimal reproduction project (MRP)
[test.zip](https://github.com/user-attachments/files/15517272/test.zip)
Repository: flutter
Issue: `flutter create` should allow configuration of iOS Development team
Labels: c: new feature,tool,c: proposal,P3,team-ios,triaged-ios

### Use case

If you have multiple Apple accounts logged in to Xcode which can have various teams. While creating a new flutter project with `flutter create` we should have an option to take in team ID.

I have multiple accounts logged in and It has 6 teams. Creating a new project takes a team that I don't want to use for that project. It could be taking the last used one or the first from the list, I haven't checked. Due to this auto-selection, I must open Xcode and manually change the team to develop further.

### Proposal

There should be an option in `flutter create`. 

Some suggestions,

```console
--ios-team
--ios-team-id
--ios-dev-team-id
--ios-development-team
```


And we can use one of this option as

```console
flutter create my_new_project --ios-team ABCDEFGHIJ
flutter create my_new_project --ios-team-id ABCDEFGHIJ
flutter create my_new_project --ios-dev-team-id ABCDEFGHIJ
flutter create my_new_project --ios-development-team ABCDEFGHIJ
```
Repository: pytorch
Issue: custom_op API: better type anntation for Tuple
Labels: triaged,module: custom-operators,oncall: pt2,module: pt2-dispatcher

We don't support Tuple[Tensor], Tuple[Tensor, Tensor], Tuple[Tensor, Optional[Tensor]], etc. Currently we just support Tuple[Tensor, ...] and Tuple[Optional[Tensor], ...]

cc @ezyang @anijain2305 @chauhang @bdhirsh
Repository: next.js
Issue: Duplicate Requests in Next.js 14 on Server Side with Parallel Routes and Intercepting Routes
Labels: bug,Parallel & Intercepting Routes

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/nextjs-test-forked-rrpt2x?file=%2Fpackage.json%3A12%2C4-14%2C23

### To Reproduce

1. Set up a Next.js 14 project.
2. Create a `use server` component that makes a request.
3. Use parallel routes and intercepting routes in your application.
4. Run the application in development mode (`npm run dev`).
5. Observe duplicate requests being made.

Additional details from discussion:
- When using the @modal folder, the issue occurs. Removing the @modal folder resolves the issue.


[example](https://codesandbox.io/p/devbox/nextjs-test-forked-rrpt2x?file=%2Fpackage.json%3A12%2C4-14%2C23)

### Current vs. Expected behavior

Current Behavior:
Requests in `use server` components are being duplicated when using parallel routes and intercepting routes in development mode.

Expected Behavior:
Requests should only be made once, avoiding duplicates.


### Provide environment information

```bash
winwos 10,
node v20.11.1,
next "14.2.1",
react "^18",
react-dom "^18"
```


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

Developer Experience, Parallel & Intercepting Routes

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

next dev (local), next build (local), next start (local)

### Additional context

I have encountered an issue where requests in `use server` components are being duplicated when using parallel routes and intercepting routes in Next.js 14. If I remove the @modal folder, the problem disappears. This suggests a bug related to parallel routes and intercepting routes in Next.js.

Example discussion link: https://github.com/vercel/next.js/discussions/66384

Steps to resolve suggested in the discussion, such as running in production mode, did not fix the issue.
Repository: angular
Issue: activatedRoute.getAllParams() which includes all params from children
Labels: feature,area: router

### Which @angular/* package(s) are relevant/related to the feature request?

router

### Description

Right now there is no way to get all params from nested snapshots. One has to loop through snapshot.children to get all params. 

### Proposed solution

Either something like `paramsInheritanceStrategy: 'always',`

Or 

`activatedRoute.getAllParams()`

### Alternatives considered

Following functions compiles all params but its un-necessary and I feel framework should provide this out of the box

```
getAllParams = () =>{
        let snapshot = this.activatedRoute.snapshot;
        while(snapshot.children.length > 0){
            snapshot = snapshot.children[0];
        }
        return snapshot.params;
    }
```
Repository: godot
Issue: On Android, services-speech-sdk SPXERR_AUDIO_SYS_LIBRARY_NOT_FOUND
Labels: bug,platform:android,topic:audio,topic:dotnet

### Tested versions

godot4 dev6 c#

### System information

android 11 api 30

### Issue description

On Android, I have already granted the recording permission. When I use the cognitive-services-speech-sdk for recording, I encounter the error code: 0x38 (SPXERR_AUDIO_SYS_LIBRARY_NOT_FOUND). How can I resolve this issue? Is speechsdk not supported, or is there another reason?

### Steps to reproduce

SPXERR_AUDIO_SYS_LIBRARY_NOT_FOUND

### Minimal reproduction project (MRP)

```csharp
    public async Task<PronunciationAssessmentResult> FromMic(SpeechConfig speechConfig)
    {
        var pronunciationAssessmentConfig = new PronunciationAssessmentConfig(
referenceText: "I am tom.",
gradingSystem: GradingSystem.HundredMark,
 
granularity: Granularity.Word,
enableMiscue: true);
        pronunciationAssessmentConfig.PhonemeAlphabet = "IPA";
        pronunciationAssessmentConfig.NBestPhonemeCount = 5;

        speechConfig.SetProperty(PropertyId.Speech_SegmentationSilenceTimeoutMs,3000.ToString());  

        using var audioConfig = AudioConfig.FromDefaultMicrophoneInput();
        using (var speechRecognizer = new SpeechRecognizer(
        speechConfig,
audioConfig))
        {
            pronunciationAssessmentConfig.ApplyTo(speechRecognizer);

            var speechRecognitionResult = await speechRecognizer.RecognizeOnceAsync();

            // The pronunciation assessment result as a Speech SDK object
            var pronunciationAssessmentResult =
                PronunciationAssessmentResult.FromResult(speechRecognitionResult);

            // The pronunciation assessment result as a JSON string
            var pronunciationAssessmentResultJson = speechRecognitionResult.Properties.GetProperty(PropertyId.SpeechServiceResponse_JsonResult);
            return pronunciationAssessmentResult;
        }
    }
```
Repository: flutter
Issue: The conductor should edit .engine-release.version when opening release engine PRs
Labels: P2,team-release,triaged-release

For example https://github.com/flutter/engine/pull/53148

Goldens tests on release branches depend on this string to know which golden images to compare against.
Repository: godot
Issue: GPU Particles renders even when is_visible_in_tree() is false
Labels: bug,performance,topic:particles

### Tested versions

v4.2.2

### System information

Linux Mint 21.3

### Issue description

When creating a test scene with a lot of particle effects, which were NOT being emitted, I noticed my frame rate dropped tremendously. After doing some research online, I saw a 2018 issue in Godot issues where this same issue came up (but for CPU Particles). When looking at the source code, I noticed "is_visible_in_tree" was being handled properly in the CPU Particles node type, but GPU Particles doesn't do a check on this. As a result, it's trying to process a ton of particle emitters that aren't actively emitting when they're not in view of the cameras. 

### Steps to reproduce

Create a scene with a lot of GPU particles, all hiding behind a wall or something, and disable emitting. Then open the scene and watch the frame rate drop.

Change them to CPU Particles instead with the same settings, and notice things flow perfectly fine when they're behind the wall.

### Minimal reproduction project (MRP)

don't really have the time to do this at the moment, but can make something small if it's really required for this.