sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: next.js
Issue: Calling revalidateTag() in an action causes the page to be rerendered even if it doesn't use the tag
Labels: bug

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/n9sttx

### To Reproduce

The sandbox above will not work because I've hidden the api for security purposes, but If you have an api that does those 2 requests you can replicate the issue.

1. Click on the block/unblock button

### Current vs. Expected behavior

Following the steps you'll see the revalidateTag will work even though there is no tag associated with that request.
Based on the documentation, revalidateTag revalidates only a specific tag that you put as an argument, but in this case it's refetching the rsc even though the tag doesn't exist.

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Sun Aug  6 20:05:33 UTC 2023
  Available memory (MB): 4102
  Available CPU cores: 2
Binaries:
  Node: 20.11.1
  npm: 10.2.4
  Yarn: 1.22.19
  pnpm: 8.15.4
Relevant Packages:
  next: 14.2.1 // An outdated version detected (latest is 15.0.0), upgrade is highly recommended!
  eslint-config-next: 14.2.1
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.4.5
Next.js Config:
  output: N/A
 ⚠ An outdated version detected (latest is 15.0.0), upgrade is highly recommended!
   Please try the latest canary version (`npm install next@canary`) to confirm the issue still exists before creating a new issue.
   Read more - https://nextjs.org/docs/messages/opening-an-issue
```


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

Not sure

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

next dev (local), next start (local)

### Additional context

I tested this in a fresh next 15 setup and it acted the same.
Here's the discord issue link as well https://discord.com/channels/752553802359505017/1297903434808430612
Repository: PowerToys
Issue: Preview Pane Supports for LibreOffice - File Explorer add-ons
Labels: Needs-Triage

### Description of the new feature / enhancement

I wish that PowerToys will  extended to have Preview Pane Supports for LibreOffice (6x files extensions):

1. Text Document (*.docx) 
2. Spreadsheet (*.ods)
3. Drawing (*.odg)
4. Presentation (.odp)
6. Formula (*.odf)
7. Database (*.odb)

NB: If Office is installed on the PC, File  Explorer (Win 11) is able to preview 1 and 2

Many Thanks

### Scenario when this would be used?

LibreOffice is very popular and it will increase productivity to large number of users 

### Supporting information

https://ask.libreoffice.org/t/how-can-i-activate-the-preview-feature-for-libre-office-writer/32113/2

ask.libreoffice.org/t/is-there-a-way-to-preview-a-libre-doc-or-spreadsheet-in-the-windows-explorer-preview-pane/16902
Repository: ui
Issue: [bug]: Sidebar icon size is not taken in consideration
Labels: bug

### Describe the bug

When I set the `size=lg` to the `<SidebarMenuButton>`component, only the spacing between rows is updated.

By default, Icons have a size of 16px. In my case, i'm looking for bigger icons like 20 or 24px.

The size=`lg`does not work as expected.

### Affected component/components

Sidebar

### How to reproduce

1. relay on the default icon size:

```
<SidebarMenuItem key={item.title}>
                  <SidebarMenuButton asChild>
                    <a href={item.url}>
                      <item.icon width="8" height="8" />
                      <span>{item.title}</span>
                    </a>
</SidebarMenuButton>
```

2. update the size of each SidebarMenuItem:

```
<SidebarMenuItem key={item.title}>
                  <SidebarMenuButton asChild size="lg">
                    <a href={item.url}>
                      <item.icon width="8" height="8" />
                      <span>{item.title}</span>
                    </a>
</SidebarMenuButton>
```

3. Analyse the difference

The icon size are the same

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
macOS 15.0.1
Latest Chrome
NextJS 14
latest Shadcn
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: excalidraw
Issue: Snapping when drawing a line to another existing line
Labels: enhancement

> Is there an option to turn on snaping to existing lines (on ends) when I'm drawing another line? It seems there is only possibility for snapping when i draw 2 lines and then move one around. This would be huge for me to be able to snap to existing objects while drawing a new line.

https://github.com/excalidraw/excalidraw/discussions/8466
Repository: next.js
Issue: Custom not-found.js page is not rendering in i18n-app-dir
Labels: examples

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Node.js v20.14.0

Operating System:
  Platform: linux
  Arch: x64
  Version: #132~20.04.1-Ubuntu SMP Fri Aug 30 15:50:07 UTC 2024
  Available memory (MB): 15734
  Available CPU cores: 12
Binaries:
  Node: 20.14.0
  npm: 10.7.0
  Yarn: 1.22.22
  pnpm: N/A
Relevant Packages:
  next: 14.2.6 // An outdated version detected (latest is 15.0.0), upgrade is highly recommended!
  eslint-config-next: N/A
  react: 18.3.1
  react-dom: 18.3.1
  typescript: N/A
Next.js Config:
  output: standalone
 ⚠ An outdated version detected (latest is 15.0.0), upgrade is highly recommended!
   Please try the latest canary version (`npm install next@canary`) to confirm the issue still exists before creating a new issue.
   Read more - https://nextjs.org/docs/messages/opening-an-issue
```


### Which example does this report relate to?

app-dir-i18n-routing

### What browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_

### Describe the Bug

When I create a custom not-found.js in [lang] folder and hit a non-existent page from browser I get a nextjs default 404 page and not my custom not-found.js page.

### Expected Behavior

I must be getting my custom not-found.js page.

### To Reproduce

Just create a not-found.js page in [lang] folder and hit a non-existent page from this example link: https://stackblitz.com/github/vercel/next.js/tree/canary/examples/app-dir-i18n-routing
Repository: deno
Issue: "compile" permissions for FFI-related ops
Labels: perf,permissions

As some testing has revealed, quite some overhead in the FFI ops go into checking the permissions and most specifically into function `borrow_mut` from GothamState.

Would it be possible to somehow "compile" permissions (either at runtime initialization or for `deno compile`), so that I can produce a more efficient runtime?
Repository: excalidraw
Issue: Configure grid step
Labels: bug

Converted from #8553.

I'm integrating Excalidraw into a browser-based application and want to change the default grid step to 1. 

Here's my current configuration:

```
const options = {
    langCode: 'ja-JP',
    name: name,
    initialData: {
        libraryItems: library.libraryItems,
        elements: [imageElement, ...elements],
        files: files,
        appState: {
            ...scene.appState,
            ...appStateDefault(),
            currentItemFontFamily: 2,
            gridSize: 20, // Controls the grid box size
        },
    },
};
```


I've tried adding 'gridStep: 1' to the appState to change it to a 1x1 grid, but the gridstep still defaults to a 5x5.

How can I correctly change the default grid step to 1x1 instead of the default 5x5? Which part of the code should I update to ensure this works?
Repository: transformers
Issue: Initializing via AutoImageProcessor before AutoProcessor is imported causes `AttributeError`
Labels: WIP,bug

### System Info

- `transformers` version: 4.45.2
- Platform: Linux-4.18.0-513.18.1.el8_9.x86_64-x86_64-with-glibc2.28
- Python version: 3.10.4
- Huggingface_hub version: 0.24.5
- Safetensors version: 0.4.4
- Accelerate version: 0.33.0
- Accelerate config:    not found
- PyTorch version (GPU?): 2.4.0+cu121 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using distributed or parallel set-up in script?: No

### Who can help?

Probably @zucchini-nlp @amyeroberts, and @qubvel

### Information

- [ ] The official example scripts
- [X] My own modified scripts

### Tasks

- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)

### Reproduction

There seems to be an edge-case in the loading behavior that can sometimes be hit if something is initialized with `from_pretrained` through `AutoImageProcessor` before `AutoProcessor` is imported, and then `from_pretrained` is used on `AutoProcessor`. 

Repro case - this works as expected
```python
model_name = "microsoft/Phi-3.5-vision-instruct"
from transformers import AutoImageProcessor
from transformers import AutoProcessor
AutoImageProcessor.from_pretrained(model_name, trust_remote_code=True)
AutoProcessor.from_pretrained(model_name, trust_remote_code=True)
```

But this breaks:
```python
model_name = "microsoft/Phi-3.5-vision-instruct"
from transformers import AutoImageProcessor
AutoImageProcessor.from_pretrained(model_name, trust_remote_code=True)

from transformers import AutoProcessor
AutoProcessor.from_pretrained(model_name, trust_remote_code=True)
```
with `AttributeError: module transformers has no attribute Phi3VImageProcessor`.

I've tried to reproduce this with a few other models, but haven't been able to yet. It is also probably worth noting that the `AutoProcessor` doesn't return the same class as `AutoImageProcessor` for this model, which might matter

### Expected behavior

`AutoImageProcessor` / `AutoProcessor ` `from_pretrained` should have the same behavior if possible, regardless of import and invocation order
Repository: excalidraw
Issue: Context Menu Placement Issues on Right and Bottom Edges when Embedding Excalidraw in a Modal
Labels: bug

**Description:**
I’m trying to embed Excalidraw as a modal in my application, but I’ve encountered a couple of issues with the behavior of the context menu near the window edges:

1. **Right edge:**
When left-clicking near the right edge, the context menu should open towards the left, but it still opens towards the right, causing it to be hidden off-screen. 
2. **Bottom edge:**
 When left-clicking near the bottom edge, the menu generally opens correctly upwards, but in some spots, it opens downwards, which causes the window to scroll unnecessarily.

I’ve recorded a video demonstrating the behavior and created a CodeSandbox where the issue can be reproduced. I’ve also noticed that this occurs in Excalidraw’s own documentation.

**Additional resources:**

- https://github.com/user-attachments/assets/2adf5113-330f-42a5-8b7c-1f640136787c
- [codesandbox/modal](https://codesandbox.io/p/sandbox/cs6wch)
Repository: vscode
Issue: Tools declaration still supports `toolReferenceName`
Labels: api,debt

When declaring a tool in package.json I can still define `toolReferenceName` which should

* not exist?
* be combined with the `canBeReferencedInPrompt` property
Repository: next.js
Issue: Hot reload doesn't work inside Docker container
Labels: bug

### Link to the code that reproduces this issue

https://github.com/ArtoszBart/next-issue

### To Reproduce

1. `docker-compose up`
2. make change in page.tsx
3. save changes

### Current vs. Expected behavior

Hot reload should reload the page to show changes, but changes is not visible in the browser

### Provide environment information

```bash
Physical PC:
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10 Education
  Available memory (MB): 16319
  Available CPU cores: 16
Binaries:
  Node: 20.18.0
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 15.0.0 // Latest available version is detected (15.0.0).
  eslint-config-next: 15.0.0
  react: 19.0.0-rc-65a56d0e-20241020
  react-dom: 19.0.0-rc-65a56d0e-20241020
  typescript: 5.6.3
Next.js Config:
  output: N/A

Container:
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP Fri Mar 29 23:14:13 UTC 2024
  Available memory (MB): 7911
  Available CPU cores: 16
Binaries:
  Node: 20.18.0
  npm: 10.8.2
  Yarn: 1.22.22
  pnpm: N/A
Relevant Packages:
  next: 15.0.0 // Latest available version is detected (15.0.0).
  eslint-config-next: 15.0.0
  react: 19.0.0-rc-65a56d0e-20241020
  react-dom: 19.0.0-rc-65a56d0e-20241020
  typescript: 5.6.3
Next.js Config:
  output: N/A
```


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

Developer Experience

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

next dev (local)

### Additional context

After saving changes in page.tsx on the PC, the .next/server/chunks/ssr on PC is updated same as page.tsx in container. However .next/server/chunks/ssr in container remains not updated.
Repository: next.js
Issue: Global `not-found` page interferes with static rendering
Labels: Output (export/standalone),Runtime,linear: next

### Link to the code that reproduces this issue

https://github.com/amannn/nextjs-bug-repro-not-found

### To Reproduce

1. Clone https://github.com/amannn/nextjs-bug-repro-not-found
2. Run `pnpm i`
3. Run `pnpm build`

### Current vs. Expected behavior

This commit outlines the issue: [f5cbf18](https://github.com/amannn/nextjs-bug-repro-not-found/commit/f5cbf185d225f921d9b87877c3305f04fcc97809)

The `not-found` page is dynamic, while `/` is expected to render statically. However, somehow the global not found page is rendered as part of `/`.

**Output:**

```
  ▲ Next.js 15.0.1-canary.1

   Creating an optimized production build ...

warn - No utility classes were detected in your source files. If this is unexpected, double-check the `content` option in your Tailwind CSS configuration.
warn - https://tailwindcss.com/docs/content-configuration
 ✓ Compiled successfully
 ✓ Linting and checking validity of types    
 ✓ Collecting page data    
   Generating static pages (0/4)  [==  ]
Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error

Error: Route / with `dynamic = "error"` couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering
Export encountered an error on /page: /, exiting the build.
 ⨯ Static worker exited with code: 1 and signal: null
   Generating static pages (1/4)  [    ] ELIFECYCLE  Command failed with exit code 1.
```

I'd expect the 404 page to be dynamic while the home page is static.

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: x64
  Version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:13:00 PDT 2024; root:xnu-10063.141.2~1/RELEASE_X86_64
  Available memory (MB): 16384
  Available CPU cores: 12
Binaries:
  Node: 20.11.1
  npm: 10.2.4
  Yarn: 1.22.22
  pnpm: 9.12.2
Relevant Packages:
  next: 15.0.1-canary.1 // Latest available version is detected (15.0.1-canary.1).
  eslint-config-next: 15.0.1-canary.1
  react: 19.0.0-rc-69d4b800-20241021
  react-dom: 19.0.0-rc-69d4b800-20241021
  typescript: 5.6.3
Next.js Config:
  output: N/A
```


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

Output (export/standalone), Runtime

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

next build (local)

### Additional context

_No response_
Repository: PowerToys
Issue: PowerToys Failing on WMWare Win10 guest under Win10 host
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.85.1

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

General

### Steps to reproduce

Powertoys fails when using keyboard or mouse.

### ✔️ Expected Behavior

Use Keyboar or mouse in VM without Powertoys failing and restarting.

### ❌ Actual Behavior

Powertoys fails, restarts, hangs the machine for a while, rinse and repeat.
See attached error logs.

### Other Software

[PowerToysReport_2024-10-22-13-13-43.zip](https://github.com/user-attachments/files/17475292/PowerToysReport_2024-10-22-13-13-43.zip)
[PowerToysReport_2024-10-22-13-00-24.zip](https://github.com/user-attachments/files/17475291/PowerToysReport_2024-10-22-13-00-24.zip)
[PowerToysReport_2024-10-22-12-59-15.zip](https://github.com/user-attachments/files/17475293/PowerToysReport_2024-10-22-12-59-15.zip)
[PowerToysReport_2024-10-22-12-58-13.zip](https://github.com/user-attachments/files/17475294/PowerToysReport_2024-10-22-12-58-13.zip)
Repository: angular
Issue: Same FormControl of a FromGroup use on Multiple Input and auto sync updated value.
Labels: feature,area: forms,P3

### Which @angular/* package(s) are relevant/related to the feature request?

forms

### Description

I want to use same from control of my angular formGroup on multiple input. and when i just change one of any input value it change all of input value of same formcontrol. 

*CODE*

  myForm!: FormGroup;
  constructor(private fb: FormBuilder,
  ) { }
  ngOnInit() {
    this.myForm = this.fb.group({
      sharedControl: ['', Validators.required] // Replace with your desired validation
    });
  }


<form [formGroup]="myForm">
    <div class="form-group">
        <label for="input1">Input 1:</label>
        <input type="text" class="form-control" id="input1" formControlName="sharedControl">
    </div>
    <div class="form-group">
        <label for="input2">Input 2:</label>
        <input type="text" class="form-control" id="input2" formControlName="sharedControl">
    </div>
    <button type="submit" [disabled]="myForm.invalid">Submit</button>
</form>


here when i change of input1 value input2 value need to be also change on show on UI. it auto sync.

### Proposed solution

Patch all of same control value same.

### Alternatives considered

..
Repository: tauri
Issue: [feat] Need to use multiple invoke_handlers
Labels: type: feature request

### Describe the problem

Only one invoke_handler will take effect. How do I want to be able to register other regular functions directly while using a customized invoke_handler?

```rust
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
    tauri::Builder::default()
        .plugin(tauri_plugin_shell::init())

        // First
        .invoke_handler(my_invoke_handler)
        // Second
        .invoke_handler(tauri::generate_handler![greet, println])

        .run(tauri::generate_context!())
        .expect("error while running tauri application");
}
```

### Describe the solution you'd like

Need to use multiple invoke_handlers

### Additional context

Version: tauri 2.0
Repository: excalidraw
Issue: Pasting multiple paragraphs creates overflowing text
Labels: bug

**Repro steps**
- Copy some larger text, like the one below
- Paste into the editor

**Actual result**

Pasted text elements overflow each other.

![Image](https://github.com/user-attachments/assets/962c6b9c-4d99-468f-a3ac-dce00f21e3cb)


```
Building Excalidraw's P2P Collaboration Feature
March 29, 2020, by [idlewinn](https://twitter.com/edwinlin1987)

The problem was that Excalidraw was built to be a fundamentally single-player experience. However, we ([@idlewinn](https://twitter.com/edwinlin1987) and [@floydophone](https://twitter.com/floydophone)) were able to quickly add basic multiplayer support over a long weekend, and are continuing to make improvements to it every day.

The requirements
We wanted to be able to use this in our day jobs. In order to do that, it had to support [end-to-end encryption](https://blog.excalidraw.com/end-to-end-encryption/).
We did not want to store anything server-side. Therefore, we opted for a pseudo-P2P model, where a central server relays end-to-end encrypted messages to all the peers in the room, but does no centralized coordination.
Excalidraw’s single-player architecture
Originally, Excalidraw kept an array of all the different drawn shapes — called ExcalidrawElements — in Z-index order. The ExcalidrawElement interface looked something like this:

interface ExcalidrawElement {
  id: string;
  type: "square" | "circle" | "arrow";
  width: number;
  height: number;
  // ... other fields describing the shape ...
  canvas: HTMLCanvasElement;
  isSelected: boolean;
}
This architecture was very easy to use client-side, but as we’ll see, presented some challenges as we moved to multiplayer.

Moving to multiplayer
We actually had two parallel multiplayer implementations. One was built on top of [Firebase](https://firebase.com/), the other on top of [Socket.io](https://socket.io/). We ended up going with Socket.io, but both implementations developed the same set of bugs, and the mitigations we applied in one branch were easily ported to the other.

Conceptually, we want to share the array of ExcalidrawElements amongst multiple players. The first step was to refactor ExcalidrawElement to remove any state specific to a single player. This meant pulling out canvas and isSelected properties and storing them in a different data structure, as an HTMLCanvasElement can’t be shared over the network, and every player will have a different selection state. Once we had these properties moved out, we started sharing the ExcalidrawElement array between peers.
```
Repository: excalidraw
Issue: Lazy load font face definitions for our fallback fonts
Labels: performance ⚡️,font

For fallback fonts like Xiaolai, our font face definitions are > 100 kB.

Given it might not be used at all, we might consider lazy loading it.
Repository: vscode
Issue: [Linux] Open file or Open folder creates dialog behind active window
Labels: info-needed

<!-- ⚠️⚠️ 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/No

<!-- 🪓 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: 
- OS Version: 

Steps to Reproduce:
menu -> File -> Open File

same as issue #146422

system details:

Version: 1.81.1
Commit: 6c3e3dba23e8fadc360aed75ce363ba185c49794
Date: 2023-08-09T22:18:39.991Z
Electron: 22.3.18
ElectronBuildId: 22689846
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Linux x64 6.8.0-47-generic
Repository: ui
Issue: [feat]: Will it be possible in the future to have Unocss compatibility instead of Tailwind?
Labels: area: request

### Feature description

Will it be possible in the future to have Unocss compatibility instead of Tailwind?

Unocss has better performance and optimization compared to Tailwind, and its writing style is similar to Tailwind. Simply understand that Unocss is a superset of Tailwind. After using Unocss, I have never used Tailwind CSS again.

If it is compatible with Unocss, it will be the best component library.

https://unocss.dev/

### Affected component/components

_No response_

### Additional Context

Additional details here...

### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues and PRs