sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: next.js
Issue: withMDX: ignores output: "export" if nextConfig is a function
Labels: bug,Markdown (MDX)

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/infallible-bessie-9s35k6?file=%2Fnext.config.js

### To Reproduce

According to https://nextjs.org/docs/pages/api-reference/next-config-js the exported config from "next.config.js" can also be function.

I have the following config, which ignores the `output: "export"` option.

```ts
const withMDX = require("@next/mdx")();

/** @type {import('next').NextConfig} */
const nextConfig = (phase, { defaultConfig }) => ({
  pageExtensions: ["js", "jsx", "mdx", "ts", "tsx"],
  output: "export"
});

module.exports = withMDX(nextConfig);
```

`next build` produces no static "out" folder.

### Current vs. Expected behavior

I didn't test other next config options. But i would expect them to work with "withMDX" the same way as without it.
withMDX should respect the full type of nextConfig.

### Verify canary release

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

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Sun Aug  6 20:05:33 UTC 2023
Binaries:
  Node: 20.9.0
  npm: 9.8.1
  Yarn: 1.22.19
  pnpm: 8.10.2
Relevant Packages:
  next: 14.0.5-canary.30
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.1.3
Next.js Config:
  output: N/A
```


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

App Router, MDX (@next/mdx), Static HTML Export (output: "export")

### Additional context

_No response_
Repository: vscode
Issue: Alt Shortcuts Don't Work Properly With Top Activity Bar
Labels: bug,menus

<!-- ⚠️⚠️ 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.85.1
- OS Version: Windows_NT x64 10.0.19045

Steps to Reproduce:

1. Set `workbench.activityBar.location` to `top`
2. Hide menu bar (View > Appearance > Menu Bar)
3. Hide sidebar with Ctrl+B
4. Press Alt+F to open file menu

The menu will not appear. When pressing Ctrl+B afterwards to reveal the sidebar, the menu is entirely glitched:
![image](https://github.com/microsoft/vscode/assets/11038698/8e65e85e-40de-452b-8be8-0a89b66a9108)

A workaround is to Ctrl+B first, then Alt+F to open the menu. Then it appears correctly:
![image](https://github.com/microsoft/vscode/assets/11038698/0104b77b-b899-411f-9ab0-dade9ec41a40)
Repository: godot
Issue: Document migration from 3.x for AnimationPlayer.add_animation
Labels: enhancement,documentation,topic:animation

### Tested versions

Windows 10 - Godot_v4.2-stable_win64

### System information

Windows 10 - Godot_v4.2-stable_win64

### Issue description

When I try to use add_animation in AnimationPlayer, it looks like doesn't have it anymore. Is it changed to others?

### Steps to reproduce

$AnimationPlayer.add_animation

### Minimal reproduction project (MRP)

animation_player.add_animation(anim_name, anim)
Repository: next.js
Issue: template.js not executing on every request
Labels: bug

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/cool-lamport-rnwm47

### To Reproduce

Have a file structure that looks like this:
/app
│ layout.js
│ template.js
│ /profile
└─/website
│ │ /view
│ │ /edit

### Current vs. Expected behavior

**Current behavior:**
When navigation between profile and website/view or profile and website/edit the console.log writes 'Template.jsx executed' every single time the route is changes

When navigation between website/view and website/edit the console.log writes 'Template.jsx executed' only the first time. if you continue to navigation between website/view and website/edit console.log will not write 'Template.jsx executed'

**Expected behavior:**
the console.log writes 'Template.jsx executed' every single time the route is changes
e.g. navigation between website/view and website/edit AND navigation between profile and website/view

### Verify canary release

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

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Sun Aug  6 20:05:33 UTC 2023
Binaries:
  Node: 20.9.0
  npm: 9.8.1
  Yarn: 1.22.19
  pnpm: 8.10.2
Relevant Packages:
  next: 14.0.4
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.1.3
Next.js Config:
  output: N/A
```


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

App Router

### Additional context

_No response_
Repository: PowerToys
Issue: Pointer speed decreases when using Shortcut Guide with a touchpad
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.76.2

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

Shortcut Guide

### Steps to reproduce

- Use a Synaptics touchpad (mine uses the Synaptics PrecisionTouchpad Filter driver), like those generally found in laptops
- Open Shortcut Guide (I use it by holding down the Win key, but I found no change in behavior with the default Win + ' shortcut)
- Move the pointer around

### ✔️ Expected Behavior

Normal pointer speed

### ❌ Actual Behavior

The pointer speed in the Shortcut Guide window decreases substantially. Changing the pointer speed through Windows Settings results in a change in the pointer speed in SG. In particular, it seems roughly halved from its expected value: my pointer speed is usually 4, but it seems to decrease to 2 in SG. Similarly, setting the value to 10 seems to bring the pointer speed in SG to 5.
I'll drop a bug report log .zip here, maybe it might help.
[PowerToysReport_2023-12-29-17-56-04.zip](https://github.com/microsoft/PowerToys/files/13795106/PowerToysReport_2023-12-29-17-56-04.zip)


### Other Software

I don't have any other mouse-related software.
Repository: tauri
Issue: [bug] 'webkitdirectory' property will make app crashed
Labels: type: bug,status: needs triage

### Describe the bug

```html
<input type="file" multiple directory="true" webkitdirectory>
```
When running on Administrator permission, the app will crash after clicking this element.
![e01076169aca697188788cacc3411a54](https://github.com/tauri-apps/tauri/assets/48887270/fc9a53e4-7e37-44bc-ab75-72b80ae48c5c)


### Reproduction

_No response_

### Expected behavior

_No response_

### Full `tauri info` output

```text
[✔] Environment
    - OS: Windows 10.0.22621 X64
    ✔ WebView2: 115.0.1901.188
    ✔ MSVC: 
        - Visual Studio 15 生成工具 2017
        - Visual Studio 生成工具 2022
    ✔ rustc: 1.73.0 (cc66ad468 2023-10-03)
    ✔ cargo: 1.73.0 (9c4383fb5 2023-08-26)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 18.18.0
    - pnpm: 8.12.1
    - yarn: 1.22.21
    - npm: 10.2.5

[-] Packages
    - tauri [RUST]: 1.5.2
    - tauri-build [RUST]: 1.5.0
    - wry [RUST]: 0.24.4
    - tao [RUST]: 0.16.4
    - @tauri-apps/api [NPM]: 1.5.3
    - @tauri-apps/cli [NPM]: 1.5.9

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: http://localhost:3000/
    - framework: Vue.js
    - bundler: Vite
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: godot
Issue: Cannot disable "skip import" on a GLTF file once it's enabled
Labels: bug,topic:import,topic:3d

### Tested versions

4.2.1 Stable

### System information

Godot v4.2.1.stable - Ubuntu 22.04 - X11 - GLES3 (Compatibility) - Mesa Intel(R) Graphics (RPL-P) () - 13th Gen Intel(R) Core(TM) i7-13700H (20 Threads)

### Issue description

When importing a GLTF model, once you enable "Skip Import" from the "Advanced Import Settings", it becomes impossible to disable it, until its related `.glb.import` file is deleted from the filesystem

### Steps to reproduce

- Drag & Drop a glb model the 3D editor. It's there
- Double click a glb file to open the "Advanced Import Setting" screen
- Enable "Skip import" on the mesh, then reimport
- It disappears, as it should
- Go back to "Advanced Import Setting", and disable "Skip Import", then reimport.
- The mesh does not show up.
- Go back to "Advanced Import Setting", the "Skip Import" is still enabled, as if it was not saved from last time

A work around, is to navigate to your filesystem, and delete the `.glb.import` file. But obviously this will cause all your previous import settings to be lost for that model.


https://github.com/godotengine/godot/assets/3624853/cdf241b2-4af3-4f2c-9633-585caf47a9de



### Minimal reproduction project (MRP)

No need.
Any basic glb file with an empty project would do.
Repository: pytorch
Issue: Auto bisect for broken periodic CI jobs
Labels: triaged,module: devx

When a periodic job starts failing in trunk, OSS CI oncall needs to figure out which commit breaks it by doing manual bisect on a range of trunk commits before being able to reach out to the author of the change for a mitigation plan.  The whole process is time consuming preventing oncall from doing more useful things.

Inspired by internal toolings, the proposal here is to make the process on GitHub more automated:

* **Bisect**.  Automatically trigger the missing periodic job to gather signals
* **Notify**.  Once identified, cc the author of the PR about the failure with link and information automatically via GitHub bot
* **Revert**.  We have several choices here to either submit a revert PR like DK (safer choice), or to revert the commit automatically (faster mitigation with possible false positives)

cc @ZainRizvi @kit1980 @clee2000 @PaliC
Repository: flutter
Issue: Add "Conditionally listen on InheritedWidgets" design doc
Labels: P3,design doc,team-framework,triaged-framework,:scroll:

### Document Link

https://docs.google.com/document/d/14BhIyj52NFYuyrWXe8bHJTZp7I67iKNmtOQXHCNH5GQ/edit?usp=sharing

### What problem are you solving?

Currently, when widgets conditionally listen to an InheritedWidget, they never unsubscribe to that InheritedWidget.

This can:
- cause unnecessary rebuilds
- prevent InheritedWidgets from releasing some resources as soon as possible (such as closing a WebSocket if no-longer in use)
- cause certain InheritedWidgets to start unnecessary network-requests or local database reads
Repository: PowerToys
Issue: Rotate screen and touch pad
Labels: Needs-Triage

### Description of the new feature / enhancement

Rotate screen and touch pad

### Scenario when this would be used?

Rotate screen and touch pad

### Supporting information

Rotate screen and touch pad
Repository: godot
Issue: Error with OpenGL when opening Godot
Labels: topic:rendering,needs testing

### Tested versions

Godot 4.2.1

### System information

Windows 10 - NVIDA Geforce MX450 - Godot 4.2.1

### Issue description

When trying to open Godot, I get this error. I had not updated or changed anything, but started getting this error out of nowhere

![pg1nd6mwjx8c1](https://github.com/godotengine/godot/assets/119768407/4d2195ca-12bd-4b4e-9a00-7114cf4d5765)


### Steps to reproduce

In my case, just try to open Godot

### Minimal reproduction project (MRP)

*No response*
Repository: deno
Issue: Re-enable DNS PTR record tests in Node compat
Labels: tests,node compat

https://github.com/denoland/deno/pull/21735
Repository: ollama
Issue: :robot: Dependabot like for ollama model files :infinity: 
Labels: feature request

# :grey_question: About

I've started to prepare a collection of [ready-to-use `ollama` models](https://github.com/adriens/ollama-models) and I am starting to think about the maintenance phase, ie:

:point_right: How to stay up-to-date with the models I rely on :point_left: 

For now, there are two manual ways to be aware of new releases:

- Follow news on [twitter](https://twitter.com/jmorgan/status/1740703457953321144)
- Get kind comments on a [given issue](https://github.com/adriens/ollama-models/issues/1)
- Frequently refresh the [`ollama` library](https://ollama.ai/library) and search new tags

# :bulb: Idea

The main idea would to be able to configure a GH Ation, like a Dependabot that would be able to make PRs on the model files of a repo and push new versions on the `FROM` part of any ollama model file.

At the end, we would get that kind of PR:
- https://github.com/adriens/ollama-models/pull/2

# :moneybag: Benefits

- Stay up-to-date w/ model files at scale but effortless
- Take the most out of `ollama` library
- Automation rules :sloth: 

# :bookmark: Related stuff

Below some related stuff that are connected to this topic:

- https://github.com/jmorganca/ollama/issues/1473
- https://github.com/adriens/ollama-models/issues/1#issuecomment-1872328521
Repository: material-ui
Issue: [performance] 200B win opportunity, clsx/lite
Labels: performance

### Summary 💡

There seems to be an opportunity to shave bundle size with https://github.com/lukeed/clsx/releases/tag/v2.1.0

The full version looks bigger by about this amount https://bundlephobia.com/package/clsx@2.1.0.

For the source, we already have https://www.npmjs.com/package/babel-plugin-optimize-clsx that rewrites everything, so maybe the solution could be executed there.

### Examples 🌈

_No response_

### Motivation 🔦

_No response_
Repository: neovim
Issue: `DiagnosticUnnecessary` and `DiagnosticDeprecated` are unexpectedly controlled by `diagnostic.config.underline`
Labels: highlight,diagnostic

### Problem

I set the following config:

```lua
vim.diagnostic.config({
    underline = false,
})
```

Which turns out disables the `DiagnosticUnnecessary` highlighting (e.g. graying out) of unused variables. It took me a whie to figure out `underline = false` was what was causing the change.

Changing it to this made things work again:

```lua
vim.diagnostic.config({
    underline = {
        -- Leaving this on, so that we keep `:h hl-DiagnosticUnnecessary`.
        severity = vim.diagnostic.severity.HINT,
    },
})
```

It seems unintuitive to me that these two diagnostics are linked to the "underline" option.

In the specification [they are called `DiagnosticTag`s](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnosticTag), perhaps there should be a new `tags` option to control these two highlights?

### Steps to reproduce using "nvim -u minimal_init.lua"

n/a

### Expected behavior

_No response_

### Neovim version (nvim -v)

NVIM v0.10.0-dev-7f9fc2f

### Language server name/version

lua_ls

### Operating system/version

macOS 14.1

### Log file

_No response_
Repository: pytorch
Issue: [export] namedtuple inputs can't be retraced
Labels: oncall: export

retraceability tests fail if I add the following test to `test_export.py` :
```python
    def test_namedtuple_input(self):
        class Foo(NamedTuple):
            a: torch.Tensor
            b: torch.Tensor

        class TestModule(torch.nn.Module):
            def __init__(self):
                super().__init__()

            def forward(self, x: Foo):
                return x.a + x.b

        inp = (Foo(torch.randn(3, 4), torch.randn(3, 4)),)
        ep = export(TestModule(), inp)
 ```

Error:

```
torch._dynamo.exc.Unsupported: call_method UserDefinedObjectVariable(dict) __contains__ [UserFunctionVariable()] {}

from user code:
   File "<eval_with_key>.35", line 5, in forward
    l_x_0_, l_x_1_, = fx_pytree.tree_flatten_spec(([arg_0], {}), self._in_spec)
  File "/data/users/suo/fbsource/buck-out/v2/gen/fbcode/fe37068e7504adaf/caffe2/test/__test_export__/test_export-inplace#link-tree/torch/fx/_pytree.py", line 38, in tree_flatten_spec
    flat = tree_flatten_spec(child, child_spec, exact_structural_match)
  File "/data/users/suo/fbsource/buck-out/v2/gen/fbcode/fe37068e7504adaf/caffe2/test/__test_export__/test_export-inplace#link-tree/torch/fx/_pytree.py", line 38, in tree_flatten_spec
    flat = tree_flatten_spec(child, child_spec, exact_structural_match)
  File "/data/users/suo/fbsource/buck-out/v2/gen/fbcode/fe37068e7504adaf/caffe2/test/__test_export__/test_export-inplace#link-tree/torch/fx/_pytree.py", line 25, in tree_flatten_spec
    if spec.type not in SUPPORTED_NODES:
```


cc @avikchaudhuri @gmagogsfm @zhxchen17 @tugsbayasgalan @angelayi @ydwu4
Repository: TypeScript
Issue: Using `@satisfies` tag in JSDoc has strange effects on arrow function parameters
Labels: Bug

### 🔎 Search Terms

jsdoc satisfies

### 🕗 Version & Regression Information

- This is the behavior in every version I tried, and I reviewed the FAQ for entries about `satisfies`


### ⏯ Playground Link

https://www.typescriptlang.org/play?strictNullChecks=true&filetype=js#code/PQKhAIAEGcEMBcCW0BmiCm1wG8AUBXfRAEwC5xp4AnRAOwHMBKcAXgD5wA3AexIF9wIYACgAxt1qVwAWwCeAMXy1RSCa3CESrDtj7DhoCJHiyADumLoUOAAqwqsaenjoq0ADwnz3a3MXLVWjYBeW5uQRFgYHAY2Lj4hMSkxIA9NINo5Ky4gAluTldwfMKAA1DuEvBYWmIigCNoVwLweAALBHBEeE6sEtp0AqoS4SA

### 💻 Code

```js
/** @satisfies {(uuid: string) => void} */
const myFunction = uuid => {}

/** @typedef {Parameters<typeof myFunction>} Foo */
//                                           ^^^
//                        Hover over `Foo` and observe that it is `never`
```


### 🙁 Actual behavior

Type of `Foo` is `never`.

### 🙂 Expected behavior

Type of `Foo` should be `[uuid: string]`

### Additional information about the issue

In the playground link above I have enabled `strictNullChecks`, but when you disable this, the parameter becomes optional. I.e. `[uuid?: string]`, which is still incorrect. ([playground link](https://www.typescriptlang.org/play?filetype=js&strictNullChecks=true#code/PQKhAIAEGcEMBcCW0BmiCm1wG8AUBXfRAEwC5xp4AnRAOwHMBKcAXgD5wA3AexIF9wIYACgAxt1qVwAWwCeAMXy1RSCa3CESrDtj7DhoCJHiyADumLoUOAAqwqsaenjoq0ADwnz3a3MXLVWjYBeW5uQRFgYHAY2Lj4hMSkxIA9NINo5NiACW5OV3A8goADUO5i8FhaYkKAI2hXfPB4AAsEZpb0cFN7R2cCtqxa9HEnQtNA2AAbADogA))

For reference, the same code in TypeScript works as expected: [playground link](https://www.typescriptlang.org/play?#code/MYewdgzgLgBAtgTwGIFczCgS3DAvDAChRUwBM8A+GAbwF8BKGCAQywgDNMBTCQ4sgFxMoAJ0xgA5o1xUAbiDIBuAFDKoCAA5cYSECDwwACsxHM4XKFxEQAPOq0h28ZGgzYwFFQHovMPwD1A5R8YAAkQWSsYCKiAA10QWJhmMHIQACMIK0iYKAALVhhMWALefO1QEREuDBhZZgAbFC5g32qJE1IGnl5HXLztAHJoMQwAORQGhoBhAeAAawhBmFAwTgkAOmUgA).
Repository: svelte
Issue: Unnecessarily calling `$.stringify` on strings
Labels: perf,compiler

### Describe the bug

`$.stringify` is called on all template values whether it needs to be or not. This results in larger output and slower performance.

### Reproduction

https://svelte-5-preview.vercel.app/#H4sIAAAAAAAAA0WM0QoCIRBFf0WGYAuEerYt6Duyh0VnSXBHccYixH8PH6LHc87lNlhDRAZzb0DLhmDgljNokE8ewC-MgqCBUy1umJldCVmulqxEFOVSJVEXtWNZBPenwy8I8vDTE2NM6p1K9NPZ0nz8H1Abo24JNGzJhzWgByOlYn_0L7HGqhKbAAAA

### Logs

_No response_

### System Info

```shell
`5.0.0-next.27`
```


### Severity

annoyance
Repository: next.js
Issue: Nesting Layout Uses Parallel Route Inside Optional Catch-all Segment Reset on Navigation
Labels: bug,Navigation

### Link to the code that reproduces this issue

https://github.com/M7ilan/nesting-layout-inside-optional-catch-all-segment-uses-parallel-route-reset-on-navigation

### To Reproduce
Open https://issue-60037.vercel.app/ or clone the repo above.
1. Open the console
2. Click a book or record.
3. If the console log this on one click:
```
Title Rendered
Books Rendered
Records Rendered
Content Rendered
```
That mean the whole layout re-rendered/reset which is a problem.

### Current vs. Expected behavior

Currently the `app\route\[[...slug]]\layout.tsx` is re-rendering/reset on every navigation which also re-renders all the parallel routes inside it.

I expect the `app\route\[[...slug]]\layout.tsx` to re-renders the changed parallel-routes/components not everything.

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10 Pro
Binaries:
  Node: 20.10.0
  npm: N/A
  Yarn: N/A
  pnpm: 8.13.1
Relevant Packages:
  next: 14.0.5-canary.30
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.1.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

App Router, Routing (next/router, next/navigation, next/link)

### Additional context

_No response_
Repository: godot
Issue: Inner Resources fail to export
Labels: bug,topic:gdscript

### Tested versions

Tested in 4.1.1 stable, 4.2.1 stable, and latest from master. Existed in all versions.

### System information

Linux Pop!_OS 22.04 LTS

### Issue description

When creating an inner class that extends resource, if you attempt to export that class it will not work. Instead you will get one of two errors, seemingly at random:
- `Resource was not pre cached for the resource section, bug?`
- `Cannot get class '<ClassName>'.`

This also occurs when exporting as `Array[<ClassName>]`.

### Steps to reproduce

1. Create a new script.
2. Add an inner class that extends Resource.
3. Create a variable exporting the inner class.
4. Attempt to set the exported variable from the editor.

Here's an example script:
```gdscript
class_name MyResource
extends Resource

# Works fine in the script, gives error when in editor.
@export var my_exported_variable : MyInnerResource

class MyInnerResource:
    extends Resource
    @export var my_innter_exported_variable : String
```

### Minimal reproduction project (MRP)

(This can be fully reproduced in ten seconds using the above description, feels wasteful)
Repository: PowerToys
Issue: Find My Mouse: needs bypass while clikcing
Labels: Needs-Triage

### Description of the new feature / enhancement

drawing brush, using aero shake, etc, trigger unwanted highlight feature. so will be cool if ignore it while pressing any mouse button.

### Scenario when this would be used?

- when I draw with a brush tool in Photoshop
- when I drag and shake a window to minimize others
- when I drag point of path with pen tool
- when I control camera of viewport in 3d tool

### Supporting information

_No response_