sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: Reduce excess query from history plugin
Labels: Needs-Triage

### Description of the new feature / enhancement

I don't really know how this would be implemented, but some ideas are:
1. Delay the history query so it doesn't query on every key stroke. 
2. Option to exclude a plugin from history. 
3. Add some kind of metadata to queries invoked by history so plugins can handle it differently. 
4. Removed show in global result option

### Scenario when this would be used?

My plugin, EverythingPowerToys, is having issues dealing with the amount of queries sent by history.
The TLDR is that if history's show in global results is enabled, everytime a user does a search, history generates a bunch of query requests, which leads to a long query time and impacts performance.
Full details here:
https://github.com/lin-ycv/EverythingPowerToys/issues/149#issuecomment-2558387766

### Supporting information

Was going to file this as a bug, but it's technically working as intended.
This is an edge case, but I would imaging the same thing happens with the windows search plugin?
And if there's some kind of plugin that's paid to run (AI API?), this situation would generate unneeded runs.
Repository: vscode
Issue: Auto imports on the fly as you type
Labels: feature-request

<!-- ⚠️⚠️ 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. -->

So, since we now have paste imports the only one missing feature is auto imports on the fly as you type, to summarize it best here is short description from WebStorm (which contains this feature):

> Unambiguous imports on the fly. WebStorm adds import statements when you type your code or paste a fragment with a symbol that is not yet imported if there is only one source to import the symbol from.

I tried it and I do believe this is amazing DX boost especially who work without suggest widget and rely on inline suggestions, because you can type `path.` and it auto imports `path` from Node.js by adding at the top: `import { path } from 'path'` or adds to an existing import. This saves a lot of time, because otherwise you're left with an quick fix or keyboard shortcut to import missing imports which is pain to do when you're typing fast and just want feedback as soon as possible and not to manually do additional action.
Repository: godot
Issue: Godot forward plus crashes on Intel i5-10310U / Intel CometLake-U GT2
Labels: bug,platform:linuxbsd,needs testing,crash

### Tested versions

Only tested in godot-mono 4.3-5

### System information

Arch Linux

### Issue description

Issue exists in both godot and godot-mono. Mesa drivers are installed. When I try to create a forward plus project in godot, it errors with this and crashes. (even if I am running xorg):
ERROR: Can't create the Wayland display server.

Launches fine with 'compatibility'

### Steps to reproduce

Launch godot on a dell latitude 7410 with an Intel i5-10310U / Intel CometLake-U GT2 running arch linux.
Try to create a forward plus project and run it.

### Minimal reproduction project (MRP)

[first-project.zip](https://github.com/user-attachments/files/18222905/first-project.zip)
Repository: PowerToys
Issue: Option to activate "Find my mouse" automatically when the mouse is used after some inactivity
Labels: Needs-Triage

### Description of the new feature / enhancement

Activate the mousefinder automatically after a specified time of mouse-non-activity and deactivate it after a specified amount of time automatically then as well. This is a game-changer for any office worker with multiple or large screens!

There was a utility for MacOs which did exactly that.

![Image](https://github.com/user-attachments/assets/3c79d3d8-a0c4-4300-a4e5-cf022b9ac314)

See also https://www.youtube.com/watch?v=5CuQ0dgugjc

Optional: allow also a shortcut in addition, which would double as a mouse-highlighter (no need to have two different shortcuts for one function). 


### Scenario when this would be used?

When using large screens that would be hugely beneficial not to need to shake the mouse or press keyboard shortcuts to show the mouse!

### Supporting information

_No response_
Repository: godot
Issue: Godot 4.4 throws errors when using `await` on EditorPlugin
Labels: bug,topic:editor,confirmed,regression

### Tested versions

- Reproducible: 4.4-dev1 and 4.4-dev7
- Not Reproducible: 4.3-stable

### System information

Godot v4.4.dev7 - Windows 10 (build 19045) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1650 (NVIDIA; 32.0.15.6603) - Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz (8 threads)

### Issue description

When the editor starts up, calling code from an Autoload to an EditorPlugin with a function that uses `while` and `await` will result in either:
- Working fine.
- Throwing a Bad Address Index error.
- Throwing an Internal Script error with opcode 0, 1 or 99.
- Crashing to desktop.

![Image](https://github.com/user-attachments/assets/24fe74ed-8acc-4ff7-b0d8-8fa50fee318a)

### Steps to reproduce

The MRP will throw the error when opening the project. If it doesn't, use "Project > Reload Current Project" as sometimes it may simply work.

This problem seems to require a combination of a few situations to happen:
- The EditorPlugin must be enabled. The issue vanishes when disabled, even if there are no changes in the script execution.
- The function must be called from the Autoloader to the EditorPlugin, if called from inside the EditorPlugin, it works fine.
- the EditorPlugin class must be loaded inside the function using `load()`. Works fine with a preloaded variable on the class scope.
- The `await` must be inside the `while` loop.


Some background on why I'm running code like this:
- To isolate editor access to only inside the EditorPlugin class.
- My plugin checks for a resource file, if it doesn't exist, creates the file and updates the FileSystem if it's in editor mode.
- After v4.2 or v4.3, the FileSystem takes a while to load and during that time any new files or requests to update are ignored.
- I can't use `preload()` because EditorPlugin classes are not exported to runtime.

### Minimal reproduction project (MRP)

[project_bad_address.zip](https://github.com/user-attachments/files/18223024/project_bad_address.zip)
Repository: deno
Issue: Unix domain socket not working with `node:http`
Labels: bug,node compat

Version: deno 2.1.4+e6869d7

After recent deno websocket improvements, I got a lot of my `ws` code work. However, unix domain sockets seems to not be created.
[deno-sock.tar.gz](https://github.com/user-attachments/files/18223102/deno-sock.tar.gz)

```js
import { Server } from 'node:http'
import { WebSocketServer } from 'npm:ws@8.18.0'

const server = new Server().listen({ path: 'ws+unix:///tmp/deno.sock' })
const wss = new WebSocketServer({ server })

wss.on('listening', () => console.log('listening'))
wss.on('error', () => console.log('error'))
```

This should create socket file in `/tmp` after `listening`, but it does not happen.

Extracted from:
https://github.com/denoland/deno/pull/25470
Repository: ui
Issue: [bug]: Data Table has shifting checkbox
Labels: bug

### Describe the bug

The data table example shown in `https://github.com/shadcn-ui/ui/tree/main/apps/www/app/(app)/examples/tasks` has an issue wherein the checkbox for either selecting a single row or selecting all rows makes the checkboxes shift. Also, by default the checkbox isn't aligned. I have fixed it by going in `columns.tsx` and change the following block

```jsx
    header: ({ table }) => (
      <Checkbox
        checked={
          table.getIsAllPageRowsSelected() ||
          (table.getIsSomePageRowsSelected() && "indeterminate")
        }
        onCheckedChange={(value) => table.toggleAllPageRowsSelected(!!value)}
        aria-label="Select all"
        className="translate-y-[2px]"
      />
    ),
    cell: ({ row }) => (
      <Checkbox
        checked={row.getIsSelected()}
        onCheckedChange={(value) => row.toggleSelected(!!value)}
        aria-label="Select row"
        className="translate-y-[2px]"
      />
    ),

```

With following fixes, which then becomes as shown in video. 
```diff
-         className="translate-y-[2px]"
+         className="flex items-center"
```


https://github.com/user-attachments/assets/890418d9-fe9f-4f85-9d4f-dfdaa1df5626

I am not sure whether to make a PR or not so made this first. I didn't see any open issues either

### Affected component/components

Data Table

### How to reproduce

1. Make the tasks component by just copy pasting the files as is into your project (I did it with Next.js) OR go to [https://ui.shadcn.com/examples/tasks](https://ui.shadcn.com/examples/tasks)
2. Go to your route and try selecting one of the task/row
3. See the error with the checkbox shifting upwards also the column header checkbox shifting upwards

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Windows 10
Firefox Latest
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: PowerToys
Issue: Can't get Settings or Quick access to show
Labels: Issue-Bug,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.87.1

### Installation method

Microsoft Store, PowerToys auto-update, GitHub

### Running as admin

Yes

### Area(s) with issue?

General, PowerToys Run

### Steps to reproduce

Tried installing, reinstalling. Was previously working. I updated and I remember seeing some error associated with the Everything plugin but I assume that reinstalling / uninstalling would negate that. Deleted all files in between.

The settings and the quick access just don't open. I can right click the tray icon, but none of the options work aside from Documentation.
The error I get in the event viewer seems relevant:
Faulting application name: PowerToys.Settings.exe, version: 0.87.1.0, time stamp: 0x67200000
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1645, time stamp: 0x630193b4
Exception code: 0xc0000602
Fault offset: 0x000000000010b362
Faulting process id: 0x4b04
Faulting application start time: 0x01db54afe4ade27d
Faulting application path: C:\Users\username\AppData\Local\PowerToys\WinUI3Apps\PowerToys.Settings.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 93ce4753-e679-4b58-a2ef-eb6f61285a90
Faulting package full name: 
Faulting package-relative application ID: 

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

Can't open PowerToys Run. FancyZones seems to still function. Settings are unaccessible.

### Other Software

_No response_
Repository: godot
Issue: Errors when opening dialog from manually sent close notification
Labels: bug,needs testing,topic:gui

### Tested versions

Reproducible in (at least): 4.3, 4.4dev2, and 4.4dev7

I get the same behavior with both C# and GDscript

### System information

Linux (Fedora 41 using Gnome)

### Issue description

Motivation: When the user closes my application I would like to open a dialog prompting them to save if content was modified.

Issue:
When I listen for  `NOTIFICATION_WM_CLOSE_REQUEST` and show a dialog this works as expected. However, if I manually trigger the same notification from a button or menu (using `get_tree().root.propagate_notification`) instead I get the following error:
```
E 0:00:01:0786   popup_repro.gd:11 @ _notification(): Parent node is busy setting up children, `add_child()` failed. Consider using `add_child.call_deferred(child)` instead.
  <C++ Error>    Condition "data.blocked > 0" is true.
  <C++ Source>   scene/main/node.cpp:1572 @ add_child()
  <Stack Trace>  popup_repro.gd:11 @ _notification()
                 popup_repro.gd:5 @ <anonymous lambda>()
```

This is similar to https://github.com/godotengine/godot/issues/34157 except I don't see the error when the close notification is sent from the window manager.

If I replace `cd.popup_exclusive_centered(self)` with `cd.popup_exclusive_centered.call_deferred(self)` this works as expected, but it's not clear why this should be necessary.

### Steps to reproduce

1. Open repro project
2. Click the button
3. Observe error

### Minimal reproduction project (MRP)

[popup-repro.zip](https://github.com/user-attachments/files/18223163/popup-repro.zip)

Attached is a tiny repro project, the only code of which is repeated here:
```
extends Control

func _ready() -> void:
	get_tree().set_auto_accept_quit(false)
	$Button.pressed.connect(func(): get_tree().root.propagate_notification(NOTIFICATION_WM_CLOSE_REQUEST))

func _notification(what: int) -> void:
	if (what == NOTIFICATION_WM_CLOSE_REQUEST):
		var cd = ConfirmationDialog.new()
		cd.get_ok_button().pressed.connect(func(): get_tree().quit())
		cd.popup_exclusive_centered(self)
```
Repository: next.js
Issue: [Error [TurbopackInternalError]: Next.js package not found
Labels: Turbopack

### Link to the code that reproduces this issue

https://github.com/Nizodevlo/Redux.git

### To Reproduce

1. first initialized the project with: npx create-next-app@latest ./ --use-pnpm
2. then create this folder structure: 
![{B3B5364A-27C5-4A46-A42E-58E0004F95A0}](https://github.com/user-attachments/assets/80bf259a-e1ec-4a3e-b1de-c709c1a8ce9c)
3. Add the Store provider to the root layout:
![{3DE31F11-E787-4E73-9D8D-7D9E532B3537}](https://github.com/user-attachments/assets/c2b60810-a638-4e1a-bd86-be34f3e71f66)
4.execute: pnpm dev
5. here's waht happend:
![{AB074F7A-97A3-4B66-948A-19D9917C3381}](https://github.com/user-attachments/assets/e5f80c5d-a779-4f97-a539-2a7eeb1ab03c)


here's the report log:
![{8AFA4125-7A33-4BF1-9C05-5AB127F32166}](https://github.com/user-attachments/assets/cbf2ac3b-53fe-4df0-bb4e-46d68abb6cfa)


### Current vs. Expected behavior

I tryed to use the store provider in root layout:
![{D508A0E8-8B58-4725-BE99-02D32E9F2670}](https://github.com/user-attachments/assets/ec7479a4-c732-4f49-badf-ab9d065968ee)


### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Home Single Language
  Available memory (MB): 16076
  Available CPU cores: 8
Binaries:
  Node: 22.12.0
  npm: 11.0.0
  Yarn: N/A
  pnpm: 9.15.1
Relevant Packages:
  next: 15.1.1-canary.16 // Latest available version is detected (15.1.1-canary.16).
  eslint-config-next: 15.1.2
  react: 19.0.0
  react-dom: 19.0.0
  typescript: 5.7.2
Next.js Config:
  output: N/A
```


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

Turbopack

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

next dev (local)

### Additional context

I've used the canary version 15.1.1-canary.16 yet still the same issue
Repository: neovim
Issue: 'guicursor' should infer omitted blinkoff,blinkwait settings
Labels: bug,ui-extensibility,events

Neovim could interpret guicursor=n:block-blinkon100 as set guicursor=n:block-blinkon100-blinkof100-blinkwait0 a bit like my original suggestion. So, setting blinkon and blinkoff to be the same when one of them is unspecified. n:block-blinkon100-blinkoff0, would still disable the blinking.

https://github.com/neovim/neovim/issues/31687#issuecomment-2566553235

---

<details>
<summary><em>Original issue text</em></summary>

### Problem

The [guicursor](https://neovim.io/doc/user/options.html#cursor-blinking) documentation says this:
> blinkwait{N}[cursor-blinking](https://neovim.io/doc/user/options.html#cursor-blinking)
blinkon{N} blinkoff{N} blink times for cursor: blinkwait is the delay before the cursor starts blinking, blinkon is the time that the cursor is shown and blinkoff is the time that the cursor is not shown. Times are in msec. **When one of the numbers is zero, there is no blinking.**

In Neovide we interpret this as the blinking is disabled when only `blinkon` is set, but not the other two values. The TUI Neovim seems to interpret this differently, and enables blinking in that case.

This leads to confusions like this:
* https://github.com/neovide/neovide/issues/2898
* https://github.com/neovide/neovide/issues/2164

So, it would be good to get a clarification on how that should be interpreted. Preferably, UIs should not need to care about these special cases at all, and Neovim automatically sends all zeroes, or suitable values, depending on the configuration.

### Steps to reproduce

1. Start nvim or neovide
2. `:set guicursor=n:block-blinkon100,i:ver25-blinkon100`

Observe that the option works differently depending on if TUI nvim is started or neovide is started

### Expected behavior

Neovim, always sets all three values in `mode_info_set`, if there should be blinking, otherwise all of them are set to 0.

### Nvim version (nvim -v)

NVIM v0.10.3

### Vim (not Nvim) behaves the same?

N/A

### Operating system/version

Arch Linux

### Terminal name/version

alacritty

### $TERM environment variable

alacritty

### Installation

pacman
</details>
Repository: ui
Issue: [bug]: SidebarProvider sliding effect with nested `Button` on mobile
Labels: bug

### Describe the bug

I get a wierd visual sliding effect when I set `size="icon"` on a nested component within a `SidebarProvider`. but I only see this behavior on a mobile screen. I am on next JS if that matters.

The video below shows the issue with the `size="icon"` prop enabled, then I comment it out and refresh the page to show it stops the issue:

https://github.com/user-attachments/assets/4381e8c0-dc2b-4316-b6c7-3da1d5f241fd

The Component:

```tsx
    <div className={`flex flex-row ${props.className}`}>
      <MonacoEditorBase
        code={code}
        updateCode={updateCode}
        diagnosticsInfo={diagnosticsInfo}
        className="h-full"
        {...props}
      />
      <Button
        variant="outline"
        size="icon"
        className="flex w-8 h-full"
        onClick={resetCode}
      >
        <RotateCcw size={18} />
      </Button>
    </div>
```



### Affected component/components

SidebarProvider, Button

### How to reproduce

1. Open the mobile view on chrome
2. Leaving the `size="icon"` prop, I will see the sliding and refresh
3. Commenting out the `size` prop or changing it to another value besides `icon` will stop the issue.


### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Next JS, Chrome
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: neovim
Issue: latin1 encoding in keymap files with _utf-8 in the filename
Labels: bug,runtime,complexity:low,unicode  💩

### Problem

The following files have _utf-8 in the filename, but they are encoded in latin1.

[esperanto_utf-8.vim](https://github.com/neovim/neovim/tree/master/runtime/keymap/esperanto_utf-8.vim)

`'utf-8' codec can't decode byte 0xf9 in position 336: invalid start byte`

[greek_utf-8.vim](https://github.com/neovim/neovim/tree/master/runtime/keymap/greek_utf-8.vim)

`'utf-8' codec can't decode byte 0xb4 in position 24957: invalid start byte`

[hebrewp_utf-8.vim](https://github.com/neovim/neovim/tree/master/runtime/keymap/hebrewp_utf-8.vim)

`'utf-8' codec can't decode byte 0xf9 in position 262: invalid start byte`

### Steps to reproduce

`:set encoding?` will not help.

I found the problem by running this python code

```python
from pathlib import Path

if __name__ == '__main__':
    url = 'https://github.com/neovim/neovim/tree/master/'
    for f in Path('.').rglob('*.vim'):
        try:
            enc='utf-8' #'latin1' 
            c = f.read_text(encoding=enc)
        except Exception as e:
            if f.stem.endswith('_utf-8'):
                print(
                    f'[{f.name}]({url}{str(f.parents[0]).replace("\\", '/')}/{f.name})', 
                    f'\n`{e}`\n',
                    sep='\n'
                )
```

### Expected behavior

I think the encoding should be utf-8

### Nvim version (nvim -v)

0.10.2

### Vim (not Nvim) behaves the same?

I don't know

### Operating system/version

Windows 11

### Terminal name/version

pwsh.exe 7.4.6 and git bash

### $TERM environment variable

does not apply

### Installation

does not apply
Repository: go
Issue: cmd/compile: incorrect/confusing pkg prefix on unexported fields of anonymous struct
Labels: NeedsInvestigation,Debugging,compiler/runtime

### Go version

go 1.23

### Output of `go env` in your module/workspace:

```shell
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/ajwerner/.cache/go-build'
GOENV='/home/ajwerner/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/ajwerner/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/ajwerner/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/home/ajwerner/sdk/go1.23.2'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/home/ajwerner/sdk/go1.23.2/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.23.2'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/home/ajwerner/.config/go/telemetry'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/home/ajwerner/src/github.com/DataExMachina-dev/side-eye/play/go.mod'
GOWORK='off'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1402138110=/tmp/go-build -gno-record-gcc-switches'
```


### What did you do?

I observed that in DWARF, anonymous struct type names carry unexported field names with package path prefixes. See the below program:

https://go.dev/play/p/96lCdrfHAh3

The type is:
```
struct { baz int32; Qux int }
```

But in DWARF, the type is:
```
struct { play.ground/foo.baz int32; Qux int }
```



### What did you see happen?

In dwarf, the fields in anonymous struct have a package path prefix.



### What did you expect to see?

I expected in dwarf for the type to have the same name as it has in pclntab and upon runtime reflection. Maybe there's a good reason for this, but it's not obvious what that might be. 

This has caused confusion for users of delve (https://github.com/go-delve/delve/issues/1521).
Repository: storybook
Issue: [Bug]: Storybook-nextjs complains about type exports imported from optimizePackageImports directory
Labels: bug,needs triage

### Describe the bug

```sh
Module parse failed: Unexpected token (1:14)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> export { type A } from './types';
```

### Reproduction link

https://stackblitz.com/edit/github-dvxhuih6?file=src%2Fstories%2FButton.tsx

### Reproduction steps

_No response_

### System

```bash
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm <----- active
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    @storybook/addon-essentials: ^8.5.0-beta.4 => 8.5.0-beta.4 
    @storybook/addon-interactions: ^8.5.0-beta.4 => 8.5.0-beta.4 
    @storybook/addon-onboarding: ^8.5.0-beta.4 => 8.5.0-beta.4 
    @storybook/blocks: ^8.5.0-beta.4 => 8.5.0-beta.4 
    @storybook/nextjs: ^8.5.0-beta.4 => 8.5.0-beta.4 
    @storybook/react: ^8.5.0-beta.4 => 8.5.0-beta.4 
    @storybook/test: ^8.5.0-beta.4 => 8.5.0-beta.4 
    storybook: ^8.5.0-beta.4 => 8.5.0-beta.4
```

### Additional context

_No response_