sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: neovim
Issue: Add better terminal + Vim Session support
Labels: enhancement,terminal

### Problem

I'd like to replicate the full state of a terminal buffer so that the terminal can be restored from a Vim Session.vim file via `nvim -S Session.vim` later on. 

### Expected behavior

The types of data to consider for this are

- environment variables
- `cd` (which is often simply a function of `$PWD`)
- sub-shells
- virtual environments (sub-shell or not). e.g. Python virtualenv.
- terminal buffer variables. It seems plugins like [toggleterm.nvim](https://github.com/akinsho/toggleterm.nvim) don't fully restore, though that might be my user error

Regarding sub-shells and virtual environments, I'd imagine both would require plugins to manage the specific details. But some sort of API to store list-of-commands so that interested plugins can add what they need that write to Session.vim and a means to load that data back would prevent needing to build one monolithic command that every plugin / tool has to play nice under. 

In general it'd be a great improvement to get even one of these things though I have a feeling though most of this won't be possible because (if I remember correctly) Neovim isn't able to query that much from a started terminal such as environment variables. Is this request a pie in the sky? What do you think?
Repository: godot
Issue: GraphNode doesn't respect mouse filter.
Labels: bug,topic:input,topic:gui

### Tested versions

- Reproducible in v4.2.1 Stable
- Windows 10


### System information

Vulkan API 1.3.260 - Forward+ - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1660 Ti

### Issue description

GraphNodes do not respect their mouse filter. Setting it to Ignore, Pass, or Stop does nothing.

In previous versions, GraphNodes could be set to be a Comment, and that would cause it to ignore mouse input. But in later versions this feature was removed.

I am attempting to make a node that I can 'lock', and have it ignore inputs and allow click-drag select to start on top of it. But when 'selectable' and 'draggable' are set to false, it still takes priority over mouse input over the GraphEdit. When the user attempts to click-drag select, the mouse instead turns into the dragging icon and does nothing.


Here is a video of my larger project where I discovered the issue. The first part is the intended behavior in version 4.1.1, while the second part is in v4.2.1 stable.

https://youtu.be/sqXpXIS24iU

### Steps to reproduce

- Create a new graph edit
- Create a GraphNode
- Set that GraphNode's mouse filter to Ignore or Stop
- Notice that it doesn't affect it's behavior.
- Setting Selectable and Draggable to false, still takes mouse input priority

### Minimal reproduction project (MRP)

[Graph Node Not Respecting Mouse Filter Completely.zip](https://github.com/godotengine/godot/files/14955404/Graph.Node.Not.Respecting.Mouse.Filter.Completely.zip)
Repository: tauri
Issue: [docs] How to test an event has been emitted?
Labels: type: documentation

I have a Rust function meant to be called from the front-end that periodically emits events. I'm now writing tests for this function and don't know how to test to ensure this code correctly emits the events:

```rust
let app = tauri::test::mock_builder()
  .plugin(super::init())
  .build(tauri::generate_context!())
  .unwrap();
  
// setup listener to listen for predict events
let id = app.listen_global("nebula-predict", |event| {
    println!("Received event: {:?}", event.payload().unwrap());
    // let payload: PredictPayload = event.payload().unwrap();
    // assert_eq!(payload.model, model_path);
    // assert_eq!(payload.context, context_id);
    // assert_eq!(payload.finished, true);
});

let predict_res = tauri::test::get_ipc_response::<()>(
    &window,
    tauri::InvokePayload {
        cmd: "plugin:nebula|model_context_predict".into(),
        tauri_module: None,
        callback: tauri::api::ipc::CallbackFn(0),
        error: tauri::api::ipc::CallbackFn(1),
        inner: serde_json::json!({
            "modelPath": model_path,
            "contextId": context_id,
            "maxLen": 10
        }),
    },
);

assert!(predict_res.is_ok());
```

The lambda I create with `listen_global` is never triggered. How is one supposed to test event emitters firing correctly?
Repository: PowerToys
Issue: Multi Mouse & Keyboard
Labels: Idea-New PowerToy,Needs-Triage

### Description of the new feature / enhancement

Function that would allow the use of multiple mouse and keyboards on the same computer.

### Scenario when this would be used?

In my work it happens several times that some of my colleagues and I have to work on the same computer at the same time, but given the limitations of Windows this is impossible.

With this feature, however, it would be possible.

### Supporting information

Like MouseMux
https://www.mousemux.com/#:~:text=Just%20plug%20in%20some%20spare,in%20more%20mice%20and%20keyboards.
Repository: godot
Issue: XRFaceTracker Missing BROW_INNER_UP Blendshape, Inconsistent Naming Convention
Labels: discussion,topic:xr

### Tested versions

- Reproducible in: v4.3.dev5.official [89f70e98d]

### System information

Godot v4.3.dev5 - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 (NVIDIA; 31.0.15.3699) - AMD Ryzen 5 5600X 6-Core Processor (12 Threads)

### Issue description

XRFaceTracker uses the Unified Expressions blendshapes, documented here: https://docs.vrcft.io/docs/tutorial-avatars/tutorial-avatars-extras/unified-blendshapes

Several of the blendshapes are named using the OpenXR convention, which follows the Meta Quest Pro naming convention, shown in the comparison chart here: https://docs.vrcft.io/docs/tutorial-avatars/tutorial-avatars-extras/compatibility/overview

There are 2 issues in the implementation:
- BrowInnerUp is missing as a blend shape for the XRFaceTracker. This is likely because of an error in the VRC Face Tracking documentation, referenced here: https://github.com/benaclejames/VRCFaceTracking/issues/202

- Naming convention is inconsistent in the blendshapes. Some blendshapes use the Meta Quest Pro naming convention when available (BROW_LOWERER_R). However others dont use the Meta Quest Pro naming convention, even if it is available (FT_BROW_INNER_UP_RIGHT, when INNER_BROW_RAISER_R is used by Meta). If the intent is to use the OpenXR blendshape names, then this should be a consistent choice throughtout.

### Steps to reproduce

N/A, engine design issue.

### Minimal reproduction project (MRP)

N/A, engine design issue.
Repository: storybook
Issue: In @storybook/addon-docs react has been moved from peerDependencies to dependencies
Labels: bug

### Describe the bug

In Version [7.6.9](https://github.com/storybookjs/storybook/blob/v7.6.9/code/addons/docs/package.json) of @storybook/addon-docs both `react` and `react-dom` were  listed as `peerDependency`.

But in the latest version [8.0.8](https://github.com/storybookjs/storybook/blob/v8.0.8/code/addons/docs/package.json) it is listed as a `dependency`.

Is it possible to move both `react` and `react-dom` packages back to `peerDependencies`?

In our setup this leads to having two versions of react present.

### To Reproduce

package.json of v7.6.9
https://github.com/storybookjs/storybook/blob/v7.6.9/code/addons/docs/package.json

package.json of 8.0.8
https://github.com/storybookjs/storybook/blob/v8.0.8/code/addons/docs/package.json

### System

```bash
Storybook Environment Info:

  System:
    OS: macOS 14.3.1
    CPU: (12) arm64 Apple M2 Pro
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.19.1 - ~/Library/Caches/fnm_multishells/36748_1712909876788/bin/node
    npm: 10.2.4 - ~/Library/Caches/fnm_multishells/36748_1712909876788/bin/npm <----- active
  Browsers:
    Chrome: 123.0.6312.123
    Safari: 17.3.1
  npmPackages:
    @storybook/addon-essentials: 8.0.8 => 8.0.8 
    @storybook/addon-interactions: 8.0.8 => 8.0.8 
    @storybook/addon-links: 8.0.8 => 8.0.8 
    @storybook/addon-styling-webpack: 1.0.0 => 1.0.0 
    @storybook/addon-themes: 8.0.8 => 8.0.8 
    @storybook/addon-webpack5-compiler-swc: 1.0.2 => 1.0.2 
    @storybook/react: 8.0.8 => 8.0.8 
    @storybook/react-webpack5: 8.0.8 => 8.0.8 
    @storybook/test: 8.0.8 => 8.0.8 
    chromatic: 11.3.0 => 11.3.0 
    storybook: 8.0.8 => 8.0.8
```


### Additional context

_No response_
Repository: PowerToys
Issue: Keyboard Manager - Remap shortcuts - Website Mapping, Multi-Target, and Window Name proposal
Labels: Idea-Enhancement,Product-Keyboard Shortcut Manager,Needs-Triage

### Description of the new feature / enhancement

Hi team,

I propose an expansion to the Keyboard Manager module.

### Limitation
- At present, only a single .exe can be considered a "Target app:".

### Proposal
- Allow multiple .exe's to be a target in a format such as: MSEdge,Chrome,Firefox
- Allow the title of an application to be a target in a format such as: Microsoft Edge*,PowerToys.Settings,Task Manager
- Allow websites to be a target in a format such as: [*.]xbox.com,[*.]discord.com,[*.]hoyoverse.com

### Scenario when this would be used?

- It's time consuming to replicate the same hotkey for many programs and may cause a negative performance impact on the software/system. The user experience is diminished by needing to replicate such actions.
- Many websites use unconfigurable shortcuts, which the user needs to put up with or investigate third-party solutions, such as userscripts or extensions, which may slow down the browser or compromise security.
- Web apps are becoming more popular, and thus a more robust solution is necessary in order to control them in a consistent manner, as if they were actual apps with their own .exe structure.
- Some applications, such as Task Manager and Task Scheduler, share an .exe (mmc), which causes confusion for the user when attempting to control both applications after adjusting the shortcuts through PowerToys.

### Supporting information

_No response_
Repository: angular
Issue: angular.dev: youtube embeds are being blocked on firefox
Labels: P2,area: docs-infra

### Describe the problem that you experienced

When visiting pages with Youtube Embeds a message will show saying "Page Blocked, An error occured during the connection to www.youtube.com"

Example pages where this happens: 
https://angular.dev/tools/devtools
https://angular.dev/guide/i18n

This does not happen on the angular.io docs

### Enter the URL of the topic with the problem

_No response_

### Describe what you were looking for in the documentation

I was looking at the Internationalization and the Devtools pages

### Describe the actions that led you to experience the problem

_No response_

### Describe what you want to experience that would fix the problem

_No response_

### Add a screenshot if that helps illustrate the problem

![imagem](https://github.com/angular/angular/assets/23124576/ce83f469-e68f-443a-a45b-91bdce87fbad)

### If this problem caused an exception or error, please paste it here
This is the only output on the console
```true
This error page has no error code in its security info                         aboutNetError.mjs:856:13
```


### If the problem is browser-specific, please specify the device, OS, browser, and version

```true
Firefox 124.0.2 (64-bit), Windows 11
```


### Provide any additional information here in as much as detail as you can

_No response_
Repository: PowerToys
Issue: The Always on Top feature overlaps on two monitors
Labels: Issue-Bug,Product-Always On Top,Needs-Triage,Needs-Team-Response,Status-Reproducible

### Microsoft PowerToys version

0.80.1

### Installation method

Microsoft Store

### Running as admin

None

### Area(s) with issue?

Always on Top

### Steps to reproduce

Connect two monitors and in Settings --> Display, it should be configured as 
![image](https://github.com/microsoft/PowerToys/assets/99239826/f2503177-3761-441a-82b0-ca55966766cf)

### ✔️ Expected Behavior

It should not overlap from one monitor to another monitor.

### ❌ Actual Behavior

It is coming like this on the other monitor
![image](https://github.com/microsoft/PowerToys/assets/99239826/7ad415fd-83fb-4f69-a5a8-e0675b53e142)

### Other Software

_No response_
Repository: rust
Issue: Noop loop is only optimized away when the range is half-open
Labels: A-LLVM,I-slow,A-codegen,T-compiler,C-bug,I-heavy,S-has-mcve,llvm-fixed-upstream,C-optimization

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

```rust
#[no_mangle]
pub fn f() {
    for _ in 0..=100 {
        ()
    }
}

#[no_mangle]
pub fn g() {
    for _ in 0..100 {
        ()
    }
}
```

with -O gives

```asm
f:
        xor     ecx, ecx
        mov     eax, 100
.LBB0_1:
        lea     edx, [rcx + 1]
        cmp     ecx, 100
        mov     ecx, edx
        cmovge  ecx, eax
        jge     .LBB0_3
        cmp     ecx, 101
        jl      .LBB0_1
.LBB0_3:
        ret

g:
        ret
```

### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->
Exists in both 1.77 and nightly.

<!--
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
-->
<details><summary>Backtrace</summary>
<p>

```
<backtrace>
```

</p>
</details>

@rustbot label +A-codegen +A-LLVM +C-optimization +I-slow +S-has-mcve +I-heavy +T-compiler -needs-triage


<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

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

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: PowerToys
Issue: Mouse Without Borders is unusable
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.80.1

### Installation method

Microsoft Store

### Running as admin

No

### Area(s) with issue?

Mouse Without Borders

### Steps to reproduce

- Uninstall the Microsoft Garage Mouse Without Borders
- Install PowerToys on both computers (The Powertoys Mouse Without Borders won't connect with the the regular one)
- Configure the computers to connect with each other
- Try various options, like running as admin and running as server, installing different powertoys versions, try every combination of options
- Lock screen or logout or simply wait for a while

### ✔️ Expected Behavior

- The remote computer is usable without having to plugin mouses and keyboads.
- Mouse Without Borders works like the "normal" version

### ❌ Actual Behavior

- PowerToys Mouse without borders constantly looses connection
- Sometimes it only works when PowerToys Mouse Without Borders is open and has the focus
- You constantly have to physically access the secondary computer

Workaround: disable Mouse Without Borders in Powertoys, download and reinstall the Microsft Garage version.

### Other Software

Primary computer: Windows 11
Secondary computer: Windows 10
Repository: transformers
Issue: Create panoptic segmentation task guide
Labels: Feature request,Vision

### Feature request

We currently already have a semantic segmentation task guide: https://huggingface.co/docs/transformers/tasks/semantic_segmentation. It would be great to create a similar one for panoptic segmentation with models like MaskFormer, Mask2Former and OneFormer.

### Motivation

Panoptic segmentation deserves its own task guide as it's different from semantic segmentation.

Lots of people have reported issues, including the following:

- [ ] computing mAP during MaskFormer training: https://github.com/NielsRogge/Transformers-Tutorials/issues/373
- [ ] evaluation of DETR and friends on a panoptic segmentation dataset: https://github.com/NielsRogge/Transformers-Tutorials/issues/320
- [ ] there was an effort to add the panoptic quality (PQ) metric to Evaluate: https://github.com/huggingface/evaluate/pull/408
- [ ] various people want to use a COCO-formatted dataset for fine-tuning, but there's no guide yet regarding how to do this: https://github.com/NielsRogge/Transformers-Tutorials/issues/296

### Your contribution

Can be based off the notebooks provided here: https://github.com/NielsRogge/Transformers-Tutorials/tree/master/MaskFormer

cc @qubvel
Repository: flutter
Issue: [two_dimensional_scrollables] Add Directionality support to TableView.builder
Labels: c: new feature,framework,a: internationalization,f: scrolling,package,c: proposal,P2,team-framework,triaged-framework,p: two_dimensional_scrollables

### Use case
two_dimensional_scrollables enhancement

Flutter DataTable is responsive for Left-to-Right and Right-to-Left contents. 

### Proposal

Is it possible to add Directionality for TableView.builder? It would be great if Arabic content be laid out right-to-left and English content be laid out left-to-right.
Repository: tauri
Issue: [bug] v2: webview menu not working
Labels: type: bug,platform: macOS,status: needs triage

### Describe the bug

I added a `tauri::webview::WebviewBuilder` in the main window. However, when I use keyboard shortcuts for copy, select, or paste, they don't work. I checked the `tauri::webview::WebviewBuilder` methods and couldn't find a menu API. How should I address this issue?

```rs
fn main() {
    tauri::Builder::default()
        .setup(|app| {
            let window = tauri::WindowBuilder::new(app.handle(), "main")
                .inner_size(800.0, 600.0)
                .build()
                .expect("Failed to create window");

            let win_size = window.inner_size().expect("Failed to get window size");
            let webview_builder =
                tauri::webview::WebviewBuilder::new("github", tauri::WebviewUrl::App("https://github.com".into()))
                    .auto_resize()
                    .initialization_script("console.log('Hello from the initialization script!');");

            let _ = window.add_child(webview_builder, tauri::LogicalPosition::new(0, 0), win_size);

            Ok(())
        })
        .run(tauri::generate_context!())
        .expect("error while running tauri application");
}

```

### Reproduction

_No response_

### Expected behavior

_No response_

### Full `tauri info` output

```text
[✔] Environment
    - OS: Mac OS 14.4.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.77.1 (7cf61ebde 2024-03-27)
    ✔ cargo: 1.77.1 (e52e36006 2024-03-26)
    ✔ rustup: 1.27.0 (bbb9276d2 2024-03-08)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 18.17.0
    - pnpm: 8.15.5
    - yarn: 1.22.19
    - npm: 9.6.7
    - bun: 1.0.36

[-] Packages
    - tauri [RUST]: 2.0.0-beta.13
    - tauri-build [RUST]: 2.0.0-beta.10
    - wry [RUST]: 0.37.0
    - tao [RUST]: 0.26.2
    - @tauri-apps/api [NPM]: 2.0.0-beta.6
    - @tauri-apps/cli [NPM]: 2.0.0-beta.11

[-] 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: storybook
Issue: RollupError: "X" is not exported by "../constants/dist/index.js", imported by "path/file.tsx".
Labels: bug

### What version of `vite` are you using?

5.2.7

### System info and storybook versions

Storybook Environment Info:

  System:
    OS: macOS 13.0.1
    CPU: (8) arm64 Apple M1 Pro
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.17.0 - ~/.nvm/versions/node/v18.17.0/bin/node
    Yarn: 3.8.1 - ~/.nvm/versions/node/v18.17.0/bin/yarn <----- active
    npm: 9.6.7 - ~/.nvm/versions/node/v18.17.0/bin/npm
  Browsers:
    Chrome: 123.0.6312.122
    Edge: 123.0.2420.81
    Safari: 16.1
  npmPackages:
    @storybook/addon-a11y: ^7.6.17 => 7.6.17
    @storybook/addon-actions: ^7.6.17 => 7.6.17
    @storybook/addon-docs: ^7.6.17 => 7.6.17
    @storybook/addon-essentials: ^7.6.17 => 7.6.17
    @storybook/addon-interactions: ^7.6.17 => 7.6.17
    @storybook/addon-links: ^7.6.17 => 7.6.17
    @storybook/jest: ^0.2.3 => 0.2.3
    @storybook/react: ^7.6.17 => 7.6.17
    @storybook/react-vite: ^7.6.17 => 7.6.17
    @storybook/test-runner: ^0.16.0 => 0.16.0
    @storybook/testing-library: ^0.2.2 => 0.2.2
    eslint-plugin-storybook: ^0.8.0 => 0.8.0
    storybook: ^7.6.17 => 7.6.17

### Describe the Bug

After adding the private package-constants package, storybook runs well in development, but  the command: `yarn run build-storybook` would throw the error:

```tsx
=> Failed to build the preview
RollupError: src/stories/Blocks/File.tsx (3:0): "FOO" is not exported by "../package-constants/dist/index.js", imported by "src/stories/Blocks/File.tsx".
file: ./src/stories/Blocks/File.tsx:3:0
```

Such package-constants has the following config:

tsconfig.json
```json
{
  "extends": "@tsconfig/node18-strictest",
  "compilerOptions": {
    "composite": true,
    "ignoreDeprecations": "5.0",
    "outDir": "./dist",
    "rootDir": "./src",
  }
}
```

package.json
```json
{
  "name": "@mypackage/constants",
  "version": "0.0.0",
  "private": true,
  "packageManager": "yarn@3.8.1",
  "type": "commonjs",
  "sideEffects": false,
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist"
  ],
  "engines": {
    "node": ">=v18.17.0"
  },
  "scripts": {
    "lint": "yarn eslint . --report-unused-disable-directives",
    "build": "yarn tsc --build"
  },
  "devDependencies": {
    "@mypackage/eslint-config-react": "workspace:*",
    "@tsconfig/node18-strictest": "^1.0.0",
    "@types/node": "^18.17.2",
    "@typescript-eslint/eslint-plugin": "^7.4.0",
    "@typescript-eslint/parser": "^7.4.0",
    "eslint": "^8.57.0",
    "typescript": "^5.4.3"
  }
}

```

### Link to Minimal Reproducible Example

_No response_

### Participation

- [X] I am willing to submit a pull request for this issue.
Repository: godot
Issue: Tiles bigger than cell size occupy just one cell
Labels: discussion,documentation,topic:2d

### Tested versions

- Reproducible in: v4.3.dev [b2f425fe6]

### System information

Debian GNU/Linux 12.5

### Issue description

When using tiles bigger than the cell size, the functions querying the tile in a position will return the tile only for one even though the tile occupies several cells. Trying to use tile metadata is very hard because the game code should analyze the TileMap to know which cell is occupied by which tile. I think the engine should do it instead.

I can create a collision shape for such tile and it will work, but I'm not able to get the tile for the collision since the collision happens in the cells recognized as empty by TileMap. This would probably better resolved by directly returning the tile which caused the collision in the KinematicCollision2D object.



### Steps to reproduce

Run the MRP and see the results of `TileMap.get_cell_source_id` for different cells occupied by the tile. It returns the tile only for one cell and the tile occupies 9 cells.

### Minimal reproduction project (MRP)

[tilemaptest.zip](https://github.com/godotengine/godot/files/14960521/tilemaptest.zip)