Floorp-Projects / Floorp

All of source code of version 10 or later of Floorp Browser, the most Advanced and Fastest Firefox derivative 🦊
https://floorp.app
Other
4.97k stars 144 forks source link

[Bug]: If "Close workspaces popup when selecting a Workspace" is enabled, switching Workspaces with a keyboard shortcut opens Workspace menu #1204

Open StrongSand94191 opened 1 month ago

StrongSand94191 commented 1 month ago

Pre-Submission Checklist

Bug Summary

If the setting "Close workspaces popup when selecting a Workspace" is enabled, switching Workspaces with a keyboard shortcut opens the Workspace menu even though the user never clicks on it.

Reproduction Steps

  1. In Keyboard Shortcuts, add a shortcut to Open previous workspace or Open next workspace
  2. Use the shortcut to switch Workspaces
  3. Workspaces menu should behave as normal, not opening
  4. In Workspaces, enable Close Workspaces popup when selecting a Workspace
  5. Use the shortcut to switch Workspaces again
  6. The Workspace menu will open without input

Expected Behavior

The Workspace menu should not open when the user uses a keyboard shortcut to switch Workspaces.

Actual Behavior

When the user uses a keyboard shortcut to switch Workspaces, the Workspace menu opens and stays open, even though it was not clicked.

Screenshots

-- Switching from Workspace 1 to Workspace 2 with setting turned off (normal behavior) Switching from Workspace 1 to Workspace 2 with setting turned off

-- -- Switching from Workspace 1 to Workspace 2 with setting turned on (buggy behavior) Switching from Workspace 1 to Workspace 2 with setting enabled

Browser Version

11.13.3

Operating System

Windows 10 x86_64

Additional Context

Tested on: