sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: markdown cell status bar appears to be draggable but is not
Labels: bug,notebook-statusbar

Testing #208546

Notice the cursor changes to the hand when I hover the status bar:

![Recording 2024-03-25 at 07 50 03](https://github.com/microsoft/vscode/assets/2193314/49675793-bb8c-4418-94e1-43e8a32e5a90)

Additionally, it's a little odd how I can focus the status bar of the markdown cells, but not the TypeScript cell 🤔 

Version: 1.88.0-insider (user setup)
Commit: https://github.com/microsoft/vscode/commit/b0d975fc6370f15570c380f41015b1ca2cdcb791
Date: 2024-03-25T05:49:32.344Z
Electron: 28.2.6
ElectronBuildId: 27476517
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22621

Node.js Notebooks (REPL)
v2.0.6
Repository: vscode
Issue: Accept detected language button was unexpected
Labels: under-discussion,notebook-statusbar

Testing #208546

This lightbulb showed up after some time of editing a cell:

![image](https://github.com/microsoft/vscode/assets/2193314/0da7d610-4b27-4cb8-bd07-4db13088373f)

Thoughts:

- It's bad advice as I created a .nnb notebook which defaults to TypeScript
- It's perfectly valid TypeScript so it should not be suggesting JavaScript at all, it's just a distraction
- I'm not that familiar with the lightbulb with the circle containing a dot, not sure what it's meant to mean vs a regular lightbulb? Should it be a lightbulb+sparkle since it's using ML/ML-adjacent tech?
- It's smaller than the native resolution which makes it more blurry:
    ![image](https://github.com/microsoft/vscode/assets/2193314/45112570-1488-4482-b93b-d37975cba024)
    vs
    ![image](https://github.com/microsoft/vscode/assets/2193314/fc782208-2918-4846-a855-4effa07804c6)
    You will see this more clearly on a standard DPI monitor

Version: 1.88.0-insider (user setup)
Commit: https://github.com/microsoft/vscode/commit/b0d975fc6370f15570c380f41015b1ca2cdcb791
Date: 2024-03-25T05:49:32.344Z
Electron: 28.2.6
ElectronBuildId: 27476517
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22621

Node.js Notebooks (REPL)
v2.0.6
Repository: vscode
Issue: Download Code from Currently Opened Folder in VSCode Workspace
Labels: feature-request,file-explorer

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->
Currently in VSCode.dev, the user has the option to download their currently opened code in the workspace to their local machine:
![image](https://github.com/microsoft/vscode/assets/66287338/9c548ca9-5066-4409-a561-e6d7873669f5)
They can then select which folder in their local machine they want this code to be downloaded to. It appears that this feature is implemented by VSCode itself. Is it possible that this can be exposed to where those developing VSCode extensions can use this feature? For example, this can be exposed via a command that can be used with other components
Repository: vscode
Issue: VS Code freezes when printing unicode characters in Powershell
Labels: bug,freeze-slow-crash-leak,perf,terminal-parser

Testing #208456

For testing, I tried running this script in a powershell integrated terminal:

```ts
for ($i=0; $i -le 0xFFFF; $i++) {
    Write-Host -NoNewline ([char]$i)
}
```


This gets a few hundred characters in before the entire window stops  responding 

![Image](https://github.com/microsoft/vscode/assets/12821956/87887389-1cf5-4986-a0f5-49ef9c298768)


The same script works in an external powershell terminal

Tested with powershell 7.5 preview
Repository: vscode
Issue: Can delete another entry while adding entry to object widget in Settings editor
Labels: bug,settings-editor,confirmed

Testing #208388

Testing on Linux

[![Image from Gyazo](https://i.gyazo.com/eebb16a8e71074e037d5267dc12af0a9.gif)](https://gyazo.com/eebb16a8e71074e037d5267dc12af0a9)

1. Enter an entry for `workbench.editor.customLabels.patterns`
2. Start a new entry, then delete the first entry.
3. There is an empty entry in the view :bug:
Repository: flutter
Issue: [Impeller] advanced blends unconditionally convert to unpremultiplied colors
Labels: c: proposal,P2,e: impeller,team-engine,triaged-engine

I suspect some of the advanced blends can be performed as premultiplied colors.  Blends that could be performed that way would be much faster.  We should audit the advanced blends and see which ones can be optimized.

Locations:
- https://github.com/flutter/engine/blob/ef896e942f44e0283fcfdfc71119a0d8acb4e3d1/impeller/entity/shaders/blending/advanced_blend.frag#L38
- https://github.com/flutter/engine/blob/ef896e942f44e0283fcfdfc71119a0d8acb4e3d1/impeller/entity/shaders/blending/framebuffer_blend.frag#L45
Repository: flutter
Issue: Missing licenses in NOTICES.Z
Labels: tool,a: assets,has reproducible steps,P2,team-tool,triaged-tool,found in release: 3.19,found in release: 3.21

### Steps to reproduce

Build an app on/for linux.
Look into the generated NOTICES.Z.
Search for Gtk or MaterialIcons.

### Expected results

A license entry for GTK (LGPL) is expected (used for some basic stuff in flutter for linux)
A license entry for MaterialIcons (sil ofl?) is expected.

### Actual results

The license entries are missing.

### Code sample

-

### Screenshots or Video

_No response_

### Logs

_No response_

### Flutter Doctor output

-
Repository: go
Issue: x/telemetry: stack counters should use logical symbol names
Labels: NeedsInvestigation,telemetry

Currently, the stack counters reported by telemetry use the runtime's symbol names. While they are useful information for binary-based tools, they are hostile to source-based downstream tooling because they obscure the actual package of the function name in the presence of inlining, and this information cannot be restored without type checking the source. See https://github.com/golang/go/issues/64654#issuecomment-2018513211 for an example.

I propose that x/telemetry post-processes the result of CallersFrames into a form that provides the file, (relative) line and logical (not inlined) symbol name---assuming the runtime frames provide sufficient information to make this feasible.

For example, this symbol in the current format:
```
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3:+5
```
would be translated to something like:
```
golang.org/x/tools/gopls/internal/protocol/protocol.go:ServerHandler+5
```
(I suspect the name with the "true" anonymous function suffix "ServerHandler.func1" would not be available, but if it is, let's use that.)
Repository: PowerToys
Issue: Keyboard manager button doesn't work
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Needs-Triage

### Microsoft PowerToys version

v.0.79.0

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

going to keyboard manager clicking "remap a key"

### ✔️ Expected Behavior

Tab opening for remaping a key

### ❌ Actual Behavior

button not responding

### Other Software

_No response_
Repository: PowerToys
Issue: Resizing windows/fancy zones using keyboard on the fly using arrow keys (or any previously configured one)
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

Tmux users are used to be able to resize windows sizes on the fly by pressing a control key + arrows (for example). I'm using Fancy zones and its great, but I'm missing this kind of feature. Being able to resize a zone on the fly would be fantastic. 

### Scenario when this would be used?

The way I use a browser and vscode, so that I can browse doc files or help using th browser, and on the right, I use vscode, or a terminal console. Sometimes I need to make the browser window, or the code 
 app window a little wider. It this example I'd like to be able to use , one of the windows would get wider, and the other window would get narrower. The goal should be to control how wider or narrower the focused window will get, using, for example, the arrow keys

### Supporting information

_No response_
Repository: flutter
Issue: "Stream" scenes to improve parallelization between UI and raster threads
Labels: engine,P3,a: multi window,team-engine,triaged-engine

Part of https://github.com/flutter/flutter/issues/142845

### Background
Rendering is parallelized across the UI and raster threads. These two threads communicate using the "frame pipeline", a thread-safe queue:

1. The framework renders a scene onto each view
2. Once all views have been rendered, the engine submits the frame to the frame pipeline.
3. The raster thread receives the frame and rasterizes it

Today, this parallelization is limited to workloads _between_ separate frames.

For example, let's say we have a frame budget of 16ms, and rendering and rasterizing each view takes 5ms. If I render 2 views:

```
Time                        5ms                   10ms                      15ms                       20ms
UI thread        | -- Render view 1 -- | | -- Render view 2 -- |
Raster thread                                                    | -- Rasterize view 1 -- | | -- Rasterize view 2 -- |
```

This example would take 20ms, we would exceed our frame budget.

### "Streaming" scenes

We can improve parallelization by rasterizing views as soon as they have been rendered. The UI thread would "stream" scenes to the raster thread instead of "batching" them.

Updated example:

```
Time                        5ms                     10ms                      15ms
UI thread        | -- Render view 1 -- | | --   Render view 2  -- |
Raster thread                            | -- Rasterize view 1 -- | | -- Rasterize view 2 -- |
```

This now takes 15ms, we would meet our frame budget.

However, note that this optimization doesn't help in scenarios where the raster thread is fully saturated:

```
Time                            5ms                                  10ms                               15ms                              20ms
UI thread        | --   Frame 1, render view 1 -- | | --   Frame 1, render view 2  -- |
Raster thread    | -- Frame 0 rasterize view 1 -- | | -- Frame 0, rasterize view 2 -- | | -- Frame 1 rasterize view 1 -- | | -- Frame 1, rasterize view 2 -- |
```

If the raster thread is already busy, "streaming" scenes won't reduce the total rendering time.

### Rendering a subset of views

Normally the engine submits a frame pipeline item once the `onDrawFrame` callback exits. This is problematic as the framework does potentially expensive cleanup work at the end of the `onDrawFrame` callback.

The engine has an optimization where it submits a frame to the raster thread immediately once `FlutterView.render` has been called on all views. However, this optimization doesn't help if the framework chooses to not render all views in a frame. "Streaming" views would allow us to replace this optimization.
Repository: go
Issue: net/http, x/net/http2: data race in multiple tests
Labels: NeedsInvestigation

```
#!watchflakes
post <- ((pkg == "net/http" || pkg == "golang.org/x/net/http2") && (`WARNING: DATA RACE` || `race detected during execution of test`)) ||
	(mode == "build" && log ~ `race detected during execution of test` && log ~ `FAIL	net/http`)
```

Combinding multiple watchflakes issues, e.g. #66499, #66489, #66484, #66479, #66476.
Repository: godot
Issue: When external keyboard is plugged in (Android), Touch input is detected as mouse.
Labels: bug,platform:android,topic:porting,topic:input

### Tested versions

- Reproducible in 4.2 Stable.

### System information

Android one-click deploy, Godot 4.2 stable

### Issue description

When an external keyboard is plugged into an android, touch is detected as mouse.

### Steps to reproduce

Plug in an external keyboard on Android and open a Godot application

### Minimal reproduction project (MRP)

N/A
Repository: svelte
Issue: Svelte 5: Allowing `crossorigin` in all SVG element types is problematic
Labels: types / typescript

### Describe the bug

SVG's `<use>` element does not support `crossorigin`, so allowing it in the typings is a footgun:

> For security reasons, browsers may apply the [same-origin policy](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy) on use elements and may refuse to load a cross-origin URL in the [href](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/href) attribute. There is currently no defined way to set a cross-origin policy for use elements.

See: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use

I'm not sure what the convention is, should these be `Omit`ted or extended to the elements which support it?

### Reproduction

try to use `<use>` in a SVG with `crossorigin`

### Logs

_No response_

### System Info

```shell
all
```


### Severity

annoyance
Repository: vscode
Issue: using `/doc` etc. not communicated to SR users
Labels: feature-request,accessibility,inline-chat,panel-chat

Testing #208414

In inline chat, run a request "write a doc"

As a sighted user, see "using /doc"

We should consider alerting with this information so screen reader users also understand this.
Repository: deno
Issue: Add `deno repl --import=...` to import modules at startup and expose their exports
Labels: repl,suggestion

```
$ deno repl --eval-file=jsr:@std/encoding@^0/ascii85         
Error in --eval-file file "jsr:@std/encoding@^0/ascii85": Unsupported scheme "jsr" for module "jsr:@std/encoding@^0/ascii85". Supported schemes: [
    "data",
    "blob",
    "file",
    "http",
    "https",
]
```

We can't just extend `--eval-file`, because this evals in the main repl context as a script, exposing all vars, including local variable declarations.

We can however add a `--import` flag that you pass a specifier to that would be imported, and all the exports of would be added to the module scope.
Repository: go
Issue: net/http: TestServerNoReadTimeout failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "net/http" && test == "TestServerNoReadTimeout"
```

Issue created automatically to collect these failures.

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

    --- FAIL: TestServerNoReadTimeout (0.00s)
        --- FAIL: TestServerNoReadTimeout/h2 (0.09s)
            serve_test.go:818: Server.Config.ReadTimeout = 0
            serve_test.go:818: Server.Config.ReadTimeout = -1
            serve_test.go:824: Post "https://127.0.0.1:52522": http2: Transport: cannot retry err [http2: Transport received Server's graceful shutdown GOAWAY] after Request.Body was written; define Request.GetBody to avoid this error


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: ui
Issue: [Bug]: Can't use custom validation with React Hook Form
Labels: bug

### Describe the bug

I'm trying to use the `rules` prop from RHF's controller but it has no effect. I would like to use the `validate` property to add custom validation to a field.

```tsx
<FormField
  control={form.control}
  name="endDate"
  rules={{
    validate: validateBooking,
  }}
  render={({ field }) => (
    <FormItem className="flex flex-col">
      <FormLabel>End date</FormLabel>
      <Popover>
        <PopoverTrigger asChild>
          <FormControl>
            <Button
              variant="outline"
              className={cn(
                "w-[240px] pl-3 text-left font-normal",
                !field.value && "text-muted-foreground"
              )}
            >
              {field.value ? (
                format(field.value, "PPP")
              ) : (
                <span>Pick a date</span>
              )}
              <CalendarIcon className="ml-auto h-4 w-4 opacity-50" />
            </Button>
          </FormControl>
        </PopoverTrigger>
        <PopoverContent className="w-auto p-0" align="start">
          <Calendar
            mode="single"
            selected={field.value}
            onSelect={field.onChange}
            initialFocus
          />
        </PopoverContent>
      </Popover>
      <FormDescription>
        The ending date for the booking.
      </FormDescription>
      <FormMessage />
    </FormItem>
  )}
/>
```

### Affected component/components

FormField

### How to reproduce

1. Create a form using shadcn's `<Form>` components
2. Try to set `rules` prop on a `<FormItem>`

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Chrome on Mac Os
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: ui
Issue: [Bug]: Custom onRowClick function disrupts row selection functionality
Labels: bug

### Describe the bug

Hey all,

I am using the data table component (similar to the Tasks template). I made each row in the data table clickable by modifying the `data-table.tsx` file. This is how I did that:

```
<TableRow
    key={row.id}
    data-state={row.getIsSelected() && 'selected'}
    onClick={() => onRowClick?.(row)}
    className={cn({ 'cursor-pointer': !!onRowClick })}
>
    {row.getVisibleCells().map((cell) => (
        <TableCell key={cell.id}>
            {flexRender(
                cell.column.columnDef.cell,
                cell.getContext()
             )}
        </TableCell>
    ))}
</TableRow>
```

My onRowClick function simply redirects to user to a different page. This works perfectly. The issue is with the built-in row selection feature (i.e. checkboxes on each row that can be selected). When I click on a checkbox, the onRowClick function is being executed prior to the checkbox selection. 

Here is what my columns.tsx file looks like:

```
export const columns: ColumnDef<Alert>[] = [
  {
    id: 'select',
    header: ({ table }) => (
      <Checkbox
        checked={
          table.getIsAllPageRowsSelected() ||
          (table.getIsSomePageRowsSelected() && 'indeterminate')
        }
        onCheckedChange={(value) => table.toggleAllPageRowsSelected(!!value)}
        aria-label="Select all"
      />
    ),
    cell: ({ row }) => (
      <Checkbox
        checked={row.getIsSelected()}
        onCheckedChange={(value) => row.toggleSelected(!!value)}
        aria-label="Select row"
      />
    ),
    enableSorting: false,
    enableHiding: false,
  },
  ...
```

I still want the checkbox functionality because users should be able to perform a bulk action by selecting multiple entries within the data table. I have two main questions:

1. How can I ensure that a checkbox can be selected without triggering my onRowClick function?
2. How can I implement bulk actions whereby I select multiple rows and perform an action on all of those rows? 

If anyone has any insight, I'd be super grateful. Thank you for reading this!


### Affected component/components

Data Table

### How to reproduce

1. Add row click functionality by modifying the `<TableRow>` props within the `data-table.tsx` file
2. Add the row selection field by following ShadCN's Data Table tutorial
3. Try to click on a checkbox of a row 

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Mac OS, Google Chrome
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: godot
Issue: ENetMultiplayerPeer.Host.Compress Preventing Server Recreation "CantCreate"
Labels: bug,topic:network

### Tested versions

Found this issue with Godot 4.2, and updated today to 4.2.1 see if it would fix the issue but it was still present.
tested it out on 4.0 and 4.3Dev5 and got the issue in both cases.

### System information

Godot v4.2.1.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Ti (NVIDIA; 31.0.15.5161) - AMD Ryzen 7 5800X 8-Core Processor (16 Threads)

### Issue description

Been trying to restart my server for a while, but always get an error "CantCreate"
Looked at numerous post about this but nothing was working.

### Steps to reproduce

Here is the snippet I used to test out things

```c#
private ENetMultiplayerPeer peer;
private void HostGame()
{
if (peer != null)
{
	peer.Close();
	peer = null;
}
peer = new ENetMultiplayerPeer();
Error error = peer.CreateServer(Port);
if (error != Error.Ok)
{
	GD.PrintErr($"ERROR CANNOT HOST! : {error.ToString()}");
	return;
}


peer.Host.Compress(ENetConnection.CompressionMode.RangeCoder);
Multiplayer.MultiplayerPeer = peer;
return;
}
```

If I comment out this error disapear. 
`peer.Host.Compress(ENetConnection.CompressionMode.RangeCoder);`
I also tried different CompressionMode with the same result.

But, then I cant get client to connect to server.

### Minimal reproduction project (MRP)

[MRP.zip](https://github.com/godotengine/godot/files/14749520/MRP.zip)
Repository: flutter
Issue: Add the ability to define a pan area different from the zoom area for InteractiveViewer
Labels: c: new feature,framework,c: proposal,P3,team-framework,triaged-framework

### Use case

I'm looking for a way to scale an image in a fullscreen mode, without scrolling outside the image boundaries when it's zoomed in.

i.e:
```dart
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  final String title;

  const MyHomePage({
    super.key,
    required this.title,
  });

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: SizedBox.expand(
        child: InteractiveViewer(
          child: Image.network(
            'https://storage.googleapis.com/cms-storage-bucket/images/Cupid_Dash_BlueBG.width-635.png',
          ),
        ),
      ),
    );
  }
}
```
This will result in:

https://github.com/flutter/flutter/assets/70890146/b17b4821-5154-4106-8de6-11acb3dafe29

Instead, we want to be able to define a behavior similar to Google/Apple photos or other popular apps.
Check for example the iPhone photos:

https://github.com/flutter/flutter/assets/70890146/edd4ed70-cb3a-4ab1-b1ae-08137043eafd

You can start the zoom from anywhere but you can only move within the image boundaries.

### Proposal

I think we can achieve this behavior by offering a way to define a pan area different from the zoom area.

There's a proposed workaround to use `Clip.none` but this doesn't work as expected, because:
1. It has a zoom out stuck issue as described at https://github.com/flutter/flutter/issues/145426.
2. We'll still not be able to start the zoom from outside the image boundaries. i.e: If the image height is small, you've to make the two fingers too close inside the image boundaries to zoom in (which is not the case with Google/Apple photos or other popular apps as described above).
Repository: flutter
Issue: swiftshader licenses should be included in engine aggregated LICENSE file
Labels: P2,team-engine,triaged-engine

We currently exclude `flutter/third_party/swiftshader` from the aggregated engine LICENSE file, but I think we should probably include it since it's in `flutter_tester` which is a shipped binary and it uses `swiftshader`.