sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: electron
Issue: NSWindowShouldDragOnGesture on macOS is not working in newer versions
Labels: platform/macOS,bug :beetle:,component/BrowserWindow,33-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

33.2.1

### What operating system(s) are you using?

macOS

### Operating System Version

Sonoma 15.2

### What arch are you using?

arm64 (including Apple Silicon)

### Last Known Working Electron version

31

### Expected Behavior

With the setting `NSWindowShouldDragOnGesture` enabled the user is able to drag any window at any cursor position via `CTRL+ALT+Mouse1`.

### how to reproduce:
1. `defaults write -g NSWindowShouldDragOnGesture -bool true`
2. restart
3. See that you can drag any window with CTRL+ALT+Mouse1 at any cursor position
4. See that this doesn't work with some newer Electron apps

### Actual Behavior

It does not work and just triggers the context menu (because of `CTRL+Mouse1`)

### Testcase Gist URL

_No response_

### Additional Information

Examples where this can be observed:
- Anytype 0.44.2-alpha
- Signal 7.37.0
- VS Code 1.96.4
Repository: PowerToys
Issue: Request to add pack in Bengali Language
Labels: Needs-Triage

### Description of the new feature / enhancement

Please add a feature where users can extract text in the Bengali Language also.

### Scenario when this would be used?

Bengali font is not supported

### Supporting information

_No response_
Repository: go
Issue: cmd/compile: "bad ptr to array in slice" in SSA slice handling
Labels: NeedsInvestigation,compiler/runtime,compiler/telemetry-wins

```
#!stacks
"cmd/compile/internal/ssagen.(*state).slice:+14"
```
Issue created by [stacks](https://pkg.go.dev/golang.org/x/tools/gopls/internal/telemetry/cmd/stacks).

This stack `XSjlkw` was [reported by telemetry](https://storage.googleapis.com/prod-telemetry-merged/2025-01-12.json):

- `compile/bug`
- [`cmd/compile/internal/base.FatalfAt:+3`](https://cs.opensource.google/go/go/+/go1.23.2:src/cmd/compile/internal/base/print.go;l=215)
- `cmd/compile/internal/base.Fatalf:=195`
- [`cmd/compile/internal/ssagen.(*ssafn).Fatalf:+3`](https://cs.opensource.google/go/go/+/go1.23.2:src/cmd/compile/internal/ssagen/ssa.go;l=8288)
- [`cmd/compile/internal/ssagen.(*state).Fatalf:+1`](https://cs.opensource.google/go/go/+/go1.23.2:src/cmd/compile/internal/ssagen/ssa.go;l=956)
- [`cmd/compile/internal/ssagen.(*state).slice:+14`](https://cs.opensource.google/go/go/+/go1.23.2:src/cmd/compile/internal/ssagen/ssa.go;l=6151)
- [`cmd/compile/internal/ssagen.(*state).exprCheckPtr:+619`](https://cs.opensource.google/go/go/+/go1.23.2:src/cmd/compile/internal/ssagen/ssa.go;l=3398)
- `cmd/compile/internal/ssagen.(*state).expr:=2776`
- [`cmd/compile/internal/ssagen.(*state).stmt:+252`](https://cs.opensource.google/go/go/+/go1.23.2:src/cmd/compile/internal/ssagen/ssa.go;l=1699)
- `cmd/compile/internal/ssagen.(*state).stmtList:=1442`
- [`cmd/compile/internal/ssagen.buildssa:+277`](https://cs.opensource.google/go/go/+/go1.23.2:src/cmd/compile/internal/ssagen/ssa.go;l=571)
- [`cmd/compile/internal/ssagen.Compile:+1`](https://cs.opensource.google/go/go/+/go1.23.2:src/cmd/compile/internal/ssagen/pgen.go;l=302)
- [`cmd/compile/internal/gc.compileFunctions.func5.1:+1`](https://cs.opensource.google/go/go/+/go1.23.2:src/cmd/compile/internal/gc/compile.go;l=188)
- [`cmd/compile/internal/gc.compileFunctions.func2:+1`](https://cs.opensource.google/go/go/+/go1.23.2:src/cmd/compile/internal/gc/compile.go;l=142)
- [`cmd/compile/internal/gc.compileFunctions.func5:+4`](https://cs.opensource.google/go/go/+/go1.23.2:src/cmd/compile/internal/gc/compile.go;l=187)
- [`cmd/compile/internal/gc.compileFunctions.func5.1:+2`](https://cs.opensource.google/go/go/+/go1.23.2:src/cmd/compile/internal/gc/compile.go;l=189)
- [`cmd/compile/internal/gc.compileFunctions.func2:+1`](https://cs.opensource.google/go/go/+/go1.23.2:src/cmd/compile/internal/gc/compile.go;l=142)
```
cmd/compile@go1.23.2 go1.23.2 linux/amd64 (8)
```

https://cs.opensource.google/go/go/+/refs/tags/go1.23.2:src/cmd/compile/internal/ssagen/ssa.go;l=6151;drc=a130fb63091bf3103bb7baabbd2484f7e560edae

```
func (s *state) slice(v, i, j, k *ssa.Value, bounded bool) (p, l, c *ssa.Value) {
	t := v.Type
	var ptr, len, cap *ssa.Value
	switch {
...
	case t.IsPtr():
		if !t.Elem().IsArray() {
			s.Fatalf("bad ptr to array in slice %v\n", t)
		}
```

cc @golang/compiler
Repository: go
Issue: cmd/compile: bug in cmd/compile/internal/noder.(*reader).pkgDecls
Labels: NeedsInvestigation,compiler/runtime,compiler/telemetry-wins

```
#!stacks
"<insert predicate here>"
```
Issue created by [stacks](https://pkg.go.dev/golang.org/x/tools/gopls/internal/telemetry/cmd/stacks).

This stack `ff8DlA` was [reported by telemetry](https://storage.googleapis.com/prod-telemetry-merged/2025-01-06.json):

- `compile/bug`
- [`cmd/compile/internal/base.FatalfAt:+3`](https://cs.opensource.google/go/go/+/go1.23.4:src/cmd/compile/internal/base/print.go;l=215)
- `cmd/compile/internal/base.Fatalf:=195`
- `cmd/compile/internal/base.Assert:=242`
- `cmd/compile/internal/noder.assert:=15`
- [`cmd/compile/internal/noder.(*reader).pkgDecls:+26`](https://cs.opensource.google/go/go/+/go1.23.4:src/cmd/compile/internal/noder/reader.go;l=3334)
- [`cmd/compile/internal/noder.(*reader).pkgInit:+9`](https://cs.opensource.google/go/go/+/go1.23.4:src/cmd/compile/internal/noder/reader.go;l=3250)
- [`cmd/compile/internal/noder.unified:+14`](https://cs.opensource.google/go/go/+/go1.23.4:src/cmd/compile/internal/noder/unified.go;l=201)
- [`cmd/compile/internal/noder.LoadPackage:+50`](https://cs.opensource.google/go/go/+/go1.23.4:src/cmd/compile/internal/noder/noder.go;l=77)
- [`cmd/compile/internal/gc.Main:+140`](https://cs.opensource.google/go/go/+/go1.23.4:src/cmd/compile/internal/gc/main.go;l=200)
- [`main.main:+12`](https://cs.opensource.google/go/go/+/go1.23.4:src/cmd/compile/main.go;l=57)
- [`runtime.main:+125`](https://cs.opensource.google/go/go/+/go1.23.4:src/runtime/proc.go;l=272)
- `runtime.goexit:+0`
```
cmd/compile@go1.23.4 go1.23.4 darwin/arm64 (2)
```

Another [export data](https://github.com/golang/go/issues/70998#issuecomment-2562638850) case.

cc @golang/compiler @timothy-king @griesemer
Repository: rust
Issue: rustdoc book: document sorting of search results
Labels: A-docs,A-rustdoc-search,T-rustdoc-frontend

currently, the sorting of search results is a bit of a black box.  we should add a subsection in the rustdoc book about how the sorting works.

based on [this comment](https://github.com/rust-lang/rust/pull/135302#issuecomment-2587250206).
Repository: flutter
Issue: Recipes-with-led broken after monorepo merge
Labels: team-infra,P1,monorepo

For example, in CL: https://flutter-review.googlesource.com/c/recipes/+/61660

We scheduled recipes-with-led: https://ci.chromium.org/ui/p/flutter/builders/try/recipes-with-led/b8726194767882924529/infra

Which ran a particular test run that failed to find a Dart SDK: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8726194396066972705/+/u/flutter_config_--clear-features/stdout
Repository: vscode
Issue: Support setting encoding per file
Labels: feature-request,file-encoding

<!-- ⚠️⚠️ 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. -->
`files.encoding` allows setting encoding user-wide or workspace-wide. Sometimes we need to set different encodings for specific files. I'd like something like:
```json
{
  "files.encoding": "iso88591",
  "file-specific": {
    "/src/my-file.md": {
      "files.encoding": "utf8"
    }
  }
}
```
(EDITED: adding the missing second `files.encoding` part)

Actual situation: my project uses iso88591. I'm using marp and need to save only that markdown file in utf8.
Repository: pytorch
Issue: inductor `full_like` decompositions give incorrect strides
Labels: high priority,triaged,module: correctness (silent),oncall: pt2,module: inductor

min repro:
```
import torch

def f(x):
    return torch.full_like(x, 3)

x = torch.randn(4, 5, 6).transpose(1, -1)
out = f(x)
out_compiled = torch.compile(f, backend="aot_eager_decomp_partition")(x)
print(out.stride())
print(out_compiled.stride())
# prints
# (30, 1, 6)
# (30, 5, 1)
```

This seems like the root cause of an NJT compile crash that @jbschlosser was running into (see his [repro](https://www.internalfb.com/intern/paste/P1710266970), [njt_patch](https://www.internalfb.com/phabricator/paste/view/P1710266748) and [error](https://www.internalfb.com/phabricator/paste/view/P1710267237))

cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @muchulee8 @ColinPeppler @amjames @desertfire @aakhundov
Repository: pytorch
Issue: [Pipelining] Update all schedules to use _PipelineScheduleRuntime
Labels: triaged,better-engineering,module: pipelining

We have a new runtime for pipeline schedules that the existing schedules should be transitioned to.

Things we need to do:
- Update the `_step_microbatches` for each Schedule class to call into the `_PipelineScheduleRuntime._step_microbatches()` 
- Update the `Schedule1F1B` and `ScheduleGpipe` to generate the pipeline_order (IR).
- Handle the differences between `PipelineScheduleSingle` vs `PipelineScheduleMulti`
- Update `test_schedule_multiproc.py` and `test_schedule.py` to work as expected
Repository: flutter
Issue: [a11y][mac] switch button should use NSAccessibilitySwitchSubrole
Labels: engine,a: accessibility,P3,team-macos,triaged-macos

### Steps to reproduce

Using https://api.flutter.dev/flutter/material/Switch-class.html


### Expected results

macos currently uses AXSwitch
https://github.com/flutter/engine/blob/66832de608c9f61e4db04589d52b2b899bca38eb/third_party/accessibility/ax/platform/ax_platform_node_mac.mm#L265

but it should use https://developer.apple.com/documentation/appkit/nsaccessibility-swift.struct/subrole/switch?language=objc
Repository: flutter
Issue: [a11y]SearchBar missing searchbox role
Labels: P1,team-accessibility,triaged-accessibility

When using this widget https://api.flutter.dev/flutter/material/SearchBar-class.html,  the semantics role should have the following

| OS | role |
|--------|--------|
| web | searchbox |
| ios | [UIAccessibilityTraitSearchField](https://developer.apple.com/documentation/uikit/uiaccessibilitytraits/searchfield?language=objc) |
| macos |  NSAccessibilitySearchFieldSubrole |
| windows | ROLE_SYSTEM_TEXT |
| android | SearchView | 

All platform except windows are missing
Repository: flutter
Issue: [a11y] navigation rail is missing role
Labels: P2,team-accessibility,triaged-accessibility

When using this widget https://api.flutter.dev/flutter/material/NavigationRail-class.html,  the semantics role should have the following

| OS | role |
|--------|--------|
| web | navigation |
| ios | - |
| macos |  - |
| windows | - |
| android | NavigationRailView | 

both web and android are missing
Repository: godot
Issue: "Autorename Animation Tracks" editor setting breaks unique node path use
Labels: bug,topic:editor,topic:animation

### Tested versions

4.3.stable

### System information

Windows 10 - Godot v4.3.stable.official [77dcf97d8] - Forward+ - AMD Ryzen 9 5900x - NVIDIA GeFroce RTX 3090

### Issue description

"Autorename Animation Tracks" editor setting triggers on animation tracks using unique node paths, this breaks the possibility of using unique node names for reusing animations across multiple scenes which do not have an identical tree


### Steps to reproduce

1. create a scene
2. create any Node within the scene and set it as unique (Access as Unique Name option)
3. create an AnimationPlayer within the same scene and an animation track for it
4. create a track for any property on the unique node
5. edit the track path to use the unique node path format ( using the % symbol )
6. re-parent the Unique Node to any other node in the scene
7. observe the created animation track has been changed to a relative node path ignoring the uniqueness

alternatively starting from previous step 5:
6b. instantiate the created scene into another scene
7b. re-parent the instantiated scene to another node
8b. observe the created animation track has been changed to a relative node path ignoring the uniqueness

steps 1-5 example scene:
![Image](https://github.com/user-attachments/assets/c9f78964-6f6e-4637-980f-a820de6fb2a5)

step 6-7, the unique node path in the track is changed to a relative one
![Image](https://github.com/user-attachments/assets/412821cf-0e7a-4f0e-848a-e7f62c855fc5)

In the included MRP:
prefab_scene.tscn contains the scene crated in steps 1-5
scene.tscn contains the scene for steps 6b-8b.


### Minimal reproduction project (MRP)

[uniquetracks.zip](https://github.com/user-attachments/files/18401614/uniquetracks.zip)
Repository: vscode
Issue: Support something like the language status UI for workspace status
Labels: api-proposal

The LanguageStatusItem api provides a nice, consolidated way to show language specific information based on the currently active file

However some status info is relevant to the entire workspace instead of just the active file. I'd like to have an equivalent of `LanguageStatusItem` for these workspace wide items

Currently the workarounds are:

- Use a `LanguageStatusItem` that always shows. This means the language status UI will have a mix of workspace and language info

- Use normal workspace status items. These work but unfortunately can't be grouped like the `LanguageStatusItem` api provides
Repository: tauri
Issue: [bug] Cannot run default project using Deno & and Preact
Labels: type: bug,status: upstream,status: needs triage

### Describe the bug

After initializing a new project using Preact with Deno as the package manager and runtime, the default project does not run due to missing `@babel` package.

<img width="912" alt="Screenshot 2025-01-13 at 3 43 47 PM" src="https://github.com/user-attachments/assets/88656e59-7ea3-41e8-a2d4-2ad0dacd9626" />


### Reproduction

1. Initize a new Tauri Preact project using Deno
```bash
deno run -A npm:create-tauri-app
```
```
✔ Project name · deno-tauri
✔ Identifier · com.azroberts.denotauri
✔ Choose which language to use for your frontend · TypeScript / JavaScript - (pnpm, yarn, npm, deno, bun)
✔ Choose your package manager · deno
✔ Choose your UI template · Preact - (https://preactjs.com/)
✔ Choose your UI flavor · TypeScript
```
2. Install dependencies
```bash
cd deno-tauri
deno install
```
3. Start development server
```bash
deno task tauri dev
```

### Expected behavior

Application window shows default application

### Full `tauri info` output

```text
Task tauri tauri "info"

[✔] Environment
    - OS: Mac OS 15.2.0 x86_64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.83.0 (90b35a623 2024-11-26)
    ✔ cargo: 1.83.0 (5ffbef321 2024-10-29)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-apple-darwin (default)
    - node: 23.6.0
    - npm: 10.9.2
    - deno: deno 2.1.5

[-] Packages
    - tauri 🦀: 2.2.2
    - tauri-build 🦀: 2.0.5
    - wry 🦀: 0.48.1
    - tao 🦀: 0.31.1
    - tauri-cli 🦀: 2.2.3
    - @tauri-apps/api : 2.2.0
    - @tauri-apps/cli : 2.2.3 (outdated, latest: 2.2.4)

[-] Plugins
    - tauri-plugin-opener 🦀: 2.2.4
    - @tauri-apps/plugin-opener : 2.2.2 (outdated, latest: 2.2.4)

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite
```
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: PowerToys
Issue: Launch PowerShell scripts inside Workspace (Or better: Power Automate integration!)
Labels: Needs-Triage

### Description of the new feature / enhancement

The current implementation of Workspaces does not preserve application data, such as the path to my editor when I open multiple instances of VSCode. If there's no easy way to achieve this, please consider adding support for PowerShell scripting, perhaps in a field instead of loading the entire `.ps1` file. With PowerShell, at least I can trigger the path, and when I click 'Launch Workspace,' I can directly access it.


### Scenario when this would be used?

Automating the process of opening and navigating to different directories.

### Supporting information

_No response_
Repository: rust
Issue: Compilation taking unexpected long after 1.84
Labels: I-compiletime,P-high,T-compiler,regression-from-stable-to-stable,C-bug,S-has-mcve,T-types,WG-trait-system-refactor,S-has-bisection

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

I'm building `jf-pcs` library from https://github.com/EspressoSystems/jellyfish

On rust version 1.83
<details><summary>rust version meta</summary>
<p>

```bash
[$] rustc --version --verbose                                                                                             
rustc 1.83.0 (90b35a623 2024-11-26)
binary: rustc
commit-hash: 90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf
commit-date: 2024-11-26
host: aarch64-apple-darwin
release: 1.83.0
LLVM version: 19.1.1
```
</p>

</details>

It only took ~11s to build the library
```bash
[$] cargo build -p jf-pcs                                                                                                        
   Compiling proc-macro2 v1.0.86
   Compiling unicode-ident v1.0.12
   ... [excess outputs omitted]
   Compiling jf-utils v0.4.4 (https://github.com/EspressoSystems/jellyfish?tag=0.4.5#7d71dbef)
   Compiling jf-pcs v0.1.0 (/Users/chengyu/espressosys/jellyfish/pcs)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.43s
```

Now on rust 1.84 the compilation runs almost forever:

<details><summary>rust version meta</summary>
<p>

```bash
rustc 1.84.0 (9fc6b4312 2025-01-07)
binary: rustc
commit-hash: 9fc6b43126469e3858e2fe86cafb4f0fd5068869
commit-date: 2025-01-07
host: aarch64-apple-darwin
release: 1.84.0
LLVM version: 19.1.5
```
</p>
</details>

```bash
[$] cargo build -p jf-pcs                                                                                                  
   Compiling proc-macro2 v1.0.86
   Compiling unicode-ident v1.0.12
   ... [excess outputs omitted]
   Compiling jf-utils v0.4.4 (https://github.com/EspressoSystems/jellyfish?tag=0.4.5#7d71dbef)
   Compiling jf-pcs v0.1.0 (/Users/chengyu/espressosys/jellyfish/pcs)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 26m 43s
```

Suspect that this is due to the new trait solver.

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"lcnr"}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: go
Issue: runtime: swiss map SIMD implementation for non-amd64
Labels: Performance,NeedsFix,arch-arm64,compiler/runtime,Implementation

https://go.dev/cl/626277 (in 1.24) added SIMD implementations for swissmap (still 8-byte) control word operations for amd64. We could do similar for other architectures, if the SIMD implementations improve performance. ARM64 is the obvious target here given its wide use.
Repository: vscode
Issue: [Firefox] File tree context menu shows just "Paste" and opens unreliably
Labels: bug,file-explorer,web,firefox

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.96.3
- OS Version: Firefox on Mac through https://github.dev

Steps to Reproduce:

1. On Firefox, go to https://github.dev and authenticate
2. In the file tree, **Right Click** to trigger the context menu
3. ISSUE: Sometimes a menu with just "Paste" shows up
4. **Right Click** in the file tree again
5. ISSUE: Sometimes 2 menus show up (one with "Paste" and one with the actual context menu)

![Image](https://github.com/user-attachments/assets/bd776d43-7ad1-4e98-9f73-6e835fd13b08)
Repository: ollama
Issue: Pulling models resets the download on raspberry pi 5
Labels: bug

### What is the issue?

The raspberry pi 5 is connected over wifi but this shouldn't be a problem since my other device pulls the models correctly on the same wifi.

Suggested fix: I currently have to constantly cancel the downloads with CTRL + C, this saves the download state and then continues where it left off, functioning as some kind of save/checkpoint. Maybe its possible to backup the download state once in a while so that it doesn't stop downloading on a crash?

Feel free to request more info or let me know if you want me to test!

Edit: sometimes the error "Error: context canceled" shows up and I think it might be related

### OS

Linux

### GPU

Other

### CPU

Other

### Ollama version

0.5.4