Skip to content

Windows Win + x menu is shown on the primary display regardless of which screen the Windows button was clicked on. #2267

@EidoJ

Description

@EidoJ

Describe the bug

I am used to right-clicking on my start menu to access things like the Terminal or Device Manager. Usually this works across multiple monitors. With Open-Shell this ability is reduced to only show the menu on the main screen instead of on the screen on which your mouse pointer right-clicks on the start menu icon.

Area of issue

Taskbar

To reproduce

  1. Have more than one monitor with taskbar showing on both.
  2. In the Settings for Open-Shell Menu window, under the Controls tab, check the Right click opens Win + X menu option.
  3. On your secondary display, right-click on the Windows button. Observe the Win + X menu shows up on the primary display instead of near your mouse pointer.

Expected behavior

The Win + X menu should show up under your mouse cursor.

Open-Shell version

4.4.196

Windows version

Windows 11 26100.4652

Additional context

I assume this is because you send the keyboard event on a right-click when that option is selected. I'll look into the source code and see if I can spot anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working right.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions