sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: Remapping ALT+<key> to DEL doesn't fully work : CTRL+ALT+<key> triggers CTRL+ALT+DEL instead of CTRL+DEL
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.87.1

### Installation method

Microsoft Store

### Running as admin

No

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

- Remap ALT+X to DEL
- Type CTRL+AL+X

It should trigger CTRL+DEL (delete the entire next word), but it triggers CTRL+ALT+DEL which opens the menu to switch users, log out, etc.

The bug is not specific to ALT+X (you can reproduce this by replacing X with any other _non modifier_ key)

### ✔️ Expected Behavior

Typing CTRL+ALT+X with ALT+X remapped to DEL should trigger CTRL+DEL to delete the entire next word (or do any other action associated with the CTRL+DEL shortcut)

### ❌ Actual Behavior

Typing CTRL+ALT+X with ALT+X remaped to DEL opens the menu to log out, etc.

### Other Software

_No response_
Repository: pytorch
Issue: [inductor][cpu] Accuracy failure on bmm max_autotune for offset input weights
Labels: oncall: pt2,oncall: cpu inductor

### 🐛 Describe the bug

Accuracy error is occurring for BMM max_autotune code when input weights have an offset. Issue is not reproducible on main due to #143102 but after #143141 lands, this issue shows up. Found testing torchbench `sam` model with `--amp`.

Here is a sample test to reproduce (could be added to `test/inductor/test_cpu_select_algorithm.py`):
```python
    @patches
    @torch.no_grad
    @unittest.skipIf(not TEST_MKL, "Test requires MKL")
    @dtypes(torch.bfloat16)
    def test_bmm_5d(self, dtype):
        class M(torch.nn.Module):
            def __init__(self):
                super().__init__()

            def forward(self, x, w):
                return x @ w[2]

        counters.clear()
        x = torch.randn(400, 196, 196).to(dtype=dtype)
        w = torch.randn(3, 400, 196, 80).to(dtype=dtype)
        mod = M().to(dtype=dtype).eval()
        with verify(dtype) as (atol, rtol):
            self.common(mod, (x, w), atol=atol, rtol=rtol)
        self.assertEqual(counters["inductor"]["select_algorithm_autotune"], 1)
```

The error seems to be related to taking the `as_strided` tensor in `normalize_shapes` in `cpp_gemm_template.py`, but more investigation is needed.

### Versions

Seen in main after cherry-picking from #143141 

cc @chauhang @penguinwu
Repository: ollama
Issue: Change ToolFunction->Parameters to json.RawMessage like in the Format property
Labels: bug

### What is the issue?

I'm trying to use Tools in the `ChatRequest`, but the `Parameters` property in `ToolFunction` does not allow me to put my full JSON schema in there, while the `Format` property does. 

I would suggest changing the type of `Parameters` into `json.RawMessage` just like `Format`.

I'm currently using `Format` property as a workaround.

### OS

Linux

### GPU

Nvidia

### CPU

Intel

### Ollama version

0.5.4
Repository: go
Issue: sync: unaligned atomic write => SIGBUS (darwin/amd64)
Labels: WaitingForInfo,NeedsInvestigation,Tools,compiler/runtime

```
#!watchflakes
default <- pkg == "golang.org/x/tools/go/buildutil" && test == ""
```

Issue created automatically to collect these failures.

```go
func (o *Once) doSlow(f func()) {
	o.m.Lock()
	defer o.m.Unlock()
	if o.done.Load() == 0 {
		defer o.done.Store(1)   //       SIGBUS
		f()
	}
}
```


Example ([log](https://ci.chromium.org/b/8727729778436950241)):

    unexpected fault address 0x428b487f
    fatal error: fault
    [signal SIGBUS: bus error code=0x2 addr=0x428b487f pc=0xf5ee324]
    
    goroutine 1 gp=0xc000004380 m=0 mp=0xf960400 [running, locked to thread]:
    runtime.throw({0xf742163?, 0xf5f4ed1?})
    	/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:1099 +0x48 fp=0xc00006cbe0 sp=0xc00006cbb0 pc=0xf5dbc68
    runtime.sigpanic()
    	/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/signal_unix.go:922 +0x18a fp=0xc00006cc40 sp=0xc00006cbe0 pc=0xf5dd5ea
    sync.(*Once).doSlow.deferwrap2()
    ...
    goroutine 5 gp=0xc000005500 m=nil [finalizer wait]:
    runtime.gopark(0xf980760?, 0x490013?, 0x78?, 0x26?, 0xf57e41e?)
    	/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/proc.go:435 +0xce fp=0xc000042630 sp=0xc000042610 pc=0xf5dbd8e
    runtime.runfinq()
    	/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go:196 +0x107 fp=0xc0000427e0 sp=0xc000042630 pc=0xf584ec7
    runtime.goexit({})
    	/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc0000427e8 sp=0xc0000427e0 pc=0xf5e2f41
    created by runtime.createfing in goroutine 1
    	/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go:166 +0x3d
    FAIL	golang.org/x/tools/go/buildutil	0.031s


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: flutter
Issue: Prevent `flaux` and legacy `engine` repository from rolling .ci.yaml
Labels: team-infra,P1,c: tech-debt,monorepo

The `flaux` and `engine` repositories have outdated .ci.yaml files, but they still have CI steps which attempt to roll their .ci.yaml file into the luci config in the infra repository. This ends up stomping the valid luci configuration coming from the rolls in the post-monorepo-merge `flutter` repository. See this commit in the infra repo as an example: https://flutter.googlesource.com/infra/+/0aea90dbf750756b49a8aa776969dd5b5e834dbb

Both the `flaux` and `engine` repos are not likely to have many more commits added to them since they are archived, but we may want to consider just removing the ci_yaml roller step from each of them so that this doesn't happen again.
Repository: flutter
Issue: Flutter 3.27.1 webview rendering on Samsung Tab Active3 SM-T575
Labels: P1,e: impeller,team-engine,triaged-engine

### Steps to reproduce

I can't reproduce this issue on my devices and don't have reproducible test.

The app is built with Flutter 3.27.1 and issue is reported by users hitting it running on Samsung Tab Active3 SM-T575 tablet.

The screen contains the latest version of the `webview_flutter` plugin and it shows some basic html loaded using `WebViewController.loadHtmlString(...)`

```
  webview_flutter: 4.10.0
  webview_flutter_android: 4.2.0
```



### Expected results

Expecting to see a properly rendered html.

### Actual results

The content of webview is not shown:

![image](https://github.com/user-attachments/assets/89a448ab-6dc7-4223-bc5a-5500025f705f)


### Code sample

<details open><summary>Code sample</summary>

```dart
[Paste your code here]
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.27.1, on macOS 13.6.6 22G630 darwin-arm64, locale en-CA)
    • Flutter version 3.27.1 on channel stable at ****
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 17025dd882 (7 days ago), 2024-12-17 03:23:09 +0900
    • Engine revision cb4b5fff73
    • Dart version 3.6.0
    • DevTools version 2.40.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at ****
    • Platform android-35, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode_15.2.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2024.3.1.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 83.0.4
    • Dart plugin version 243.23177

[✓] Connected device (5 available)
    • macOS (desktop)                                • macos                                • darwin-arm64   • macOS 13.6.6 22G630
      darwin-arm64
    • Mac Designed for iPad (desktop)                • mac-designed-for-ipad                • darwin         • macOS 13.6.6 22G630
      darwin-arm64
    • Chrome (web)                                   • chrome                               • web-javascript • Google Chrome 131.0.6778.205

[✓] Network resources
    • All expected network resources are available.

• No issues found!
```

</details>
Repository: pytorch
Issue: CUDA error when compiling loss function
Labels: triaged,oncall: pt2,activation-checkpointing

### 🐛 Describe the bug

In torchtitan, we recently turned on torch.compile on the loss function. It runs well until a recent pytorch nightly. As it broke CI, we have to turn it off in https://github.com/pytorch/torchtitan/pull/755. Please help resolve so that we can re-enable it.

### Error logs

There are various errors when running in different environments, CI vs. local, H100 vs. A100.
Here's the CI failure:
https://github.com/pytorch/torchtitan/actions/runs/12403557255/job/34627247992

### Versions

CI failure starts from Dec 12th or 13th pytorch nightly.

cc @chauhang @penguinwu
Repository: rust
Issue: `on_unimplemented` label and notes are not displayed for transitive bounds
Labels: A-diagnostics,T-compiler

### Code

```Rust
struct S;

#[diagnostic::on_unimplemented(
    message = "unable to generate binding for function",
    label = "Some label",
    note = "note 1",
    note = "note 2",
    note = "note 3",
)]
trait Failure7<'a> {}

impl<'a> Clone for S where S: Failure7<'a> {
    fn clone(&self) -> Self {
        unreachable!()
    }
}

fn main() {
    fn take_clone(_: impl Clone) {}
    take_clone(S);
}
```

### Current output

```Shell
error[E0277]: the trait bound `S: Clone` is not satisfied
  --> src/main.rs:20:16
   |
20 |     take_clone(S);
   |     ---------- ^ the trait `Clone` is not implemented for `S`
   |     |
   |     required by a bound introduced by this call
   |
note: required for `S` to implement `Clone`
  --> src/main.rs:12:10
   |
12 | impl<'a> Clone for S where S: Failure7<'a> {
   |          ^^^^^     ^          ------------ unsatisfied trait bound introduced here
note: required by a bound in `take_clone`
  --> src/main.rs:19:27
   |
19 |     fn take_clone(_: impl Clone) {}
   |                           ^^^^^ required by this bound in `take_clone`
help: consider borrowing here
   |
20 |     take_clone(&S);
   |                +

For more information about this error, try `rustc --explain E0277`.
error: could not compile `playground` (bin "playground") due to 1 previous error
```

### Rationale and extra context

The output should include the provided `label` and `note` values, as it does when depending on the trait bound directly.


### Rust Version

```Shell
1.83.0
```
Repository: rust
Issue: Missed optimization: bounds checking if index is both subtracted and divided
Labels: T-compiler,C-optimization

Take this code:
```rust
#[no_mangle]
pub fn example(arr: &[u32]) -> u32 {
    let mut result = 0;
    for i in 1..arr.len() {
        result = arr[(i - 1) / 2];
    }
    result
}
```

If there was only a subtraction, the bounds check would be removed. Same if there was only a division (or a right shift).
But if there are both, it isn't:
```asm
example_1:
        xor     eax, eax
        cmp     rsi, 2
        jb      .LBB0_5
        lea     rcx, [rsi - 1]
        xor     edx, edx
.LBB0_2:
        mov     rax, rdx
        shr     rax
        cmp     rax, rsi
        jae     .LBB0_6
        inc     rdx
        cmp     rcx, rdx
        jne     .LBB0_2
        mov     eax, dword ptr [rdi + 4*rax]
.LBB0_5:
        ret
.LBB0_6:
        push    rax
        lea     rdx, [rip + .L__unnamed_1]
        mov     rdi, rax
        call    qword ptr [rip + core::panicking::panic_bounds_check::he3703b517476def5@GOTPCREL]
```

Adding `unsafe {assert_unchecked((i - 1) / 2 < i)};` fixes the issue.

[Godbolt](https://godbolt.org/#g:!((g:!((g:!((h:codeEditor,i:(filename:'1',fontScale:14,fontUsePx:'0',j:1,lang:rust,selection:(endColumn:1,endLineNumber:21,positionColumn:1,positionLineNumber:12,selectionStartColumn:1,selectionStartLineNumber:21,startColumn:1,startLineNumber:12),source:'use+std::hint::assert_unchecked%3B%0A%0A%23%5Bno_mangle%5D%0Apub+fn+example_1(arr:+%26%5Bu32%5D)+-%3E+u32+%7B%0A++++let+mut+result+%3D+0%3B%0A++++for+i+in+1..arr.len()+%7B%0A++++++++result+%3D+arr%5B(i+-+1)+/+2%5D%3B%0A++++%7D%0A++++result%0A%7D%0A%0A%23%5Bno_mangle%5D%0Apub+fn+example_2(arr:+%26%5Bu32%5D)+-%3E+u32+%7B%0A++++let+mut+result+%3D+0%3B%0A++++for+i+in+1..arr.len()+%7B%0A++++++++unsafe+%7Bassert_unchecked((i+-+1)+/+2+%3C+i)%7D%3B%0A++++++++result+%3D+arr%5B(i+-+1)+%3E%3E+1%5D%3B%0A++++%7D%0A++++result%0A%7D%0A'),l:'5',n:'0',o:'Rust+source+%231',t:'0')),k:42.60642270351008,l:'4',n:'0',o:'',s:0,t:'0'),(g:!((h:compiler,i:(compiler:nightly,filters:(b:'0',binary:'1',binaryObject:'1',commentOnly:'0',debugCalls:'1',demangle:'0',directives:'0',execute:'1',intel:'0',libraryCode:'0',trim:'1',verboseDemangling:'0'),flagsViewOpen:'1',fontScale:14,fontUsePx:'0',j:1,lang:rust,libs:!(),options:'-C+opt-level%3D3',overrides:!((name:edition,value:'2021')),selection:(endColumn:1,endLineNumber:1,positionColumn:1,positionLineNumber:1,selectionStartColumn:1,selectionStartLineNumber:1,startColumn:1,startLineNumber:1),source:1),l:'5',n:'0',o:'+rustc+nightly+(Editor+%231)',t:'0')),k:57.393577296489916,l:'4',n:'0',o:'',s:0,t:'0')),l:'2',n:'0',o:'',t:'0')),version:4)
Repository: vscode
Issue: automaticy run command after applying code in editor
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. -->
When I apply the code from github copilt in the editor it expands all the code blocks. Could there be a setting where you can let commands run (like: fold level 1 or formatting the code), to turn the file back to the way you want it.
Repository: rust
Issue: `std::ptr::swap_nonoverlapping` is not always untyped
Labels: P-high,T-compiler,regression-from-stable-to-stable,C-bug,T-libs

<!--
Thank you for filing a regression report! 🐛 A regression is something that changed between versions of Rust but was not supposed to.

Please provide a short summary of the regression, along with any information you feel is relevant to replicate it.
-->

### Code

I tried this code:

```rust
#![allow(unused)]
use std::mem::{size_of, align_of};

#[repr(C)]
struct Foo(usize, u8);

fn main() {
    let buf1: [usize; 2] = [1000, 2000];
    let buf2: [usize; 2] = [3000, 4000];
    
    // Foo and [usize; 2] have the same size and alignment,
    // so swap_nonoverlapping should treat them the same
    assert_eq!(size_of::<Foo>(), size_of::<[usize; 2]>());
    assert_eq!(align_of::<Foo>(), align_of::<[usize; 2]>());
    
    let mut b1 = buf1;
    let mut b2 = buf2;
    // Safety: b1 and b2 are distinct local variables,
    // with the same size and alignment as Foo.
    unsafe {
        std::ptr::swap_nonoverlapping(
            b1.as_mut_ptr().cast::<Foo>(),
            b2.as_mut_ptr().cast::<Foo>(),
            1,
        );
    }
    assert_eq!(b1, buf2); // Fails: [3000, 160] != [3000, 4000] or [3000, 1952] != [3000, 4000]
    assert_eq!(b2, buf1); // Fails: [1000, 208] != [1000, 2000] or [1000, 4048] != [1000, 2000]
}
```

[godbolt link](https://rust.godbolt.org/z/s391rbG1j)

I expected to see this happen: The two `assert_eq!`s should succeed; `b1` and `b2` should be completely swapped, since [`std::ptr::swap_nonoverlapping::<T>`](https://doc.rust-lang.org/nightly/std/ptr/fn.swap_nonoverlapping.html) claims to swap bytes, not `T`s.


Instead, this happened: They are not entirely swapped. `swap_nonoverlapping` appears to be doing a typed swap at `Foo`, skipping/zeroing/not-correctly-swapping the 7 padding bytes at the end of `Foo`.

I think this only happens with types where `size_of::<T>() > size_of::<usize>()` from looking at the implementation, but I'm not sure.

In debug mode:
Rust 1.61-1.70 appear to consistently give `[3000, 160]`.
Rust 1.71-nightly appear to consistently give `[3000, 1952]`.
4000 is `0x0fa0`
160 is `0x00a0`
1952 is `0x07a0`
2000 is `0x07d0`
so it looks like Rust 1.61-1.70 are zeroing the padding bytes, and Rust 1.71-nightly are ignoring them.

### Version it worked on

It most recently worked on: Rust 1.60

### Version with regression

`rustc --version --verbose`:
```
rustc 1.61.0 (fe5b13d68 2022-05-18)
binary: rustc
commit-hash: fe5b13d681f25ee6474be29d748c65adcd91f69e
commit-date: 2022-05-18
host: x86_64-unknown-linux-gnu
release: 1.61.0
LLVM version: 14.0.0
```

@rustbot modify labels: +regression-from-stable-to-stable -regression-untriaged
Repository: langchain
Issue: o1-mini and o1 is not supported yet?
Labels: 🤖:bug

### Checked other resources

- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

### Example Code

api-1         | Error during streaming: BadRequestError: 400 Unsupported value: 'messages[0].role' does not support 'developer' with this model.

### Error Message and Stack Trace (if applicable)

_No response_

### Description

api-1         | Error during streaming: BadRequestError: 400 Unsupported value: 'messages[0].role' does not support 'developer' with this model.

### System Info

nodejs
Repository: react
Issue: Bug: `eslint-plugin-react-hooks` false positive with `for` loop in function body
Labels: Status: Unconfirmed

<!--
  Please provide a clear and concise description of what the bug is. Include
  screenshots if needed. Please test using the latest version of the relevant
  React packages to make sure your issue has not already been fixed.
-->

React version: N/A
Eslint-plugin-react-hooks version: 5.1.0

## Steps To Reproduce

<!--
  Your bug will get fixed much faster if we can run your code and it doesn't
  have dependencies other than React. Issues without reproduction steps or
  code examples may be immediately closed as not actionable.
-->

Link to code example:

```tsx
const Dots = () => {
  const count = 9;
  const [highlightIndex, updateHighlightIndex] = React.useState(0);

  React.useEffect(() => {
    const updateHighlightIndexIntervalID = setInterval(() => {
      updateHighlightIndex((i) => (i + 1) % count);
    }, 200);

    return () => {
      clearInterval(updateHighlightIndexIntervalID);
    };
  }, []);

  const dots: JSX.Element[] = [];
  for (let i = 0; i < count; i++) {
    dots.push(<span key={i} style={{opacity:i === highlightIndex ? 1 : 0.5}}>{i}</span>);
  }
  return <div>{dots}</div>;
};
```

## The current behavior
The linter reports the following error:
```
ESLint: React Hook "React. useState" may be executed more than once. Possibly because it is called in a loop. React Hooks must be called in the exact same order in every component render.(react-hooks/ rules-of-hooks)
```
This is incorrect. The for loop is correctly reading a reactive variable. No hooks are called conditionally or inside a loop. The code can be rewritten to satisfy the linter but there is nothing wrong with the original code.

## The expected behavior
No error is reported. Having a `for` loop reading a reactive variable should not report an error.
Repository: vscode
Issue: JSON rendering: No way to get pretty printed colored output
Labels: bug,info-needed

### Applies To

- [x] Notebooks (.ipynb files)
- [ ] Interactive Window and\/or Cell Scripts (.py files with \#%% markers)

### What happened?

<img width="3120" alt="Image" src="https://github.com/user-attachments/assets/b1d4c5b8-0b48-43ed-9c5a-5feb1ea54636" />
expecting output like
<img width="132" alt="Image" src="https://github.com/user-attachments/assets/839e631a-f54e-4b02-84cd-b69ef741abac" />


### VS Code Version

1.96.0

### Jupyter Extension Version

2024.11.0

### Jupyter logs

```shell
Visual Studio Code (1.96.0, undefined, desktop)
Jupyter Extension Version: 2024.11.0.
Python Extension Version: 2024.22.0.
Pylance Extension Version: 2024.12.1.
Platform: darwin (arm64).
Temp Storage folder ~/Library/Application Support/Code/User/globalStorage/ms-toolsai.jupyter/version-2024.11.0
Workspace folder ~/work/vscode-jupyter-json, Home = /Users/vesa.vilhonen
12:19:00.403 [info] Starting Kernel (Python Path: ~/.venv/bin/python, Venv, 3.13.0) for '~/work/vscode-jupyter-json/problem.ipynb' (disableUI=true)
12:19:00.475 [info] Process Execution: ~/.venv/bin/python -m pip list
12:19:00.476 [info] Process Execution: ~/.venv/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
12:19:00.477 [info] Process Execution: ~/.venv/bin/python -m ipykernel_launcher --f=/Users/~/Library/Jupyter/runtime/kernel-v376d4969e47eafaac7a1a841ee24f71589557f6bc.json
    > cwd: //Users/~/work/vscode-jupyter-json
12:19:00.932 [info] Kernel successfully started
12:19:00.934 [info] Process Execution: ~/.venv/bin/python /Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-darwin-arm64/pythonFiles/printJupyterDataDir.py
```

### Coding Language and Runtime Version

Python 3.13.0 but happens with every version

### Language Extension Version (if applicable)

_No response_

### Anaconda Version (if applicable)

_No response_

### Running Jupyter locally or remotely?

Local
Repository: godot
Issue: Bottom Panel FileSystem default shortcut key (ALT+F) conflicts with other shortcuts
Labels: bug,topic:editor,usability,topic:input

### Tested versions

v4.4.dev7.official [46c8f8c5c]

### System information

Operating System: Kubuntu 24.04 KDE Plasma Version: 5.27.11 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.13 Kernel Version: 6.8.0-49-generic (64-bit)

### Issue description

Shortcut key (ALT+F) for the FileSystem toggle tab when docked at the Bottom Panels, conflicts with a list of other defaults. More specifically with the code folding ALT+F in the Script Editor. 

I believe a good choice would be ALT+T since it is not used but could be anything else (E.g. ALT+L).

Please see images below.




### Steps to reproduce

- Change the FileSystem dock to Bottom Panels
- Focus caret inside an open Script.
- Press ALT+F, (notice it does not close the FileSystem tab but will fold code instead.)
- All the other Bottom Panel keys work regardless where the caret focus is.


### Minimal reproduction project (MRP)

![Image](https://github.com/user-attachments/assets/925798c4-242c-47cd-b876-cef439a32224)

![Image](https://github.com/user-attachments/assets/1c11cfdd-0857-4041-8b50-d6dc38985b48)