Bug with "Previous Tab" keyboard shortcut CTRL + PG DN

Brave can traverse a browser window’s open tabs in the chronological order which they were last accessed by the user by enabling the feature in Settings → Content and using the keyboard shortcuts CTRL + TAB or CTRL + PG UP. Brave also does the same thing in reverse order with the shortcuts CTRL + SHIFT + TAB or CTRL+ PG DN. There is a bug evident when attempting to use the CTRL + PG DN keyboard shortcut. The shortcut works as expected if the user keeps the CTRL key held down the entire time until they land on their desired tab. However, if the user releases the CTRL key and represses the CTRL + PG DN combo, the browser will fail to reverse-traverse the sequence of tabs in the active window and will instead alternate between two tabs indefinitely.

How can this issue be reproduced?

  1. Enable the feature in settings
  2. Open some tabs in the active browser window
  3. Try using CTRL + PG DN while keeping CTRL held down
  4. Compare the result above to what happens when pressing CTRL + PG DN while releasing both keys after each press

Expected result:
The unexpected behavior described above.

Brave Version: v1.73.101

Additional Information: Running Windows 11. This issue may not be a big deal to most users who utilize the tab switching feature, but it has a big impact on custom input bindings (i.e. configuring a side-button on a mouse to input the CTRL + PG DN combo when pushed) which is how I discovered it. The redundant combo CTRL + SHIFT + TAB works properly, and I’m currently using that as my functioning workaround for input binding.

Not able to reproduce on my end. Doesn’t matter if I hold Ctrl down the entire time, if I release it then re-press it, or I release and re-press Ctrl + PgDn every time. That said, I did not have to set this keybinding on my end — it was already the keyboard shortcut used for this purpose. Did you have to set this shortcut up before it would work on your end?

How interesting. I didn’t have to set the keyboard shortcuts up other than enable the content setting that states “Cycle through the most recently used tabs with Ctrl-Tab”. Without that enabled, tabs cycle by position instead of last access which isn’t what I prefer. The binding I set up was to customize a button on a Logitech mouse. I used Logitech’s preferred software “Logi Options+” to set it up. I tried to upload a snip to show the configuration; hopefully it worked:

I tried disabling the Logitech software altogether, and the bug with CTRL + PG DN still persists. I’ll try digging around to make sure the issue isn’t a conflict with another app.

With the Logitech app/functionality disabled, can you please show me the exact keyboard shortcut in brave://settings/system/shortcuts that you’ve configured so I can ensure that I’m using the right one?

On my end, I don’t actually see an option to cycle through or select recently used tabs. I see options to select:

  • Next tab
  • Previous tab
  • Select specific tab (using numbers representing tabs)
  • Select last tab (jumps to last tab in tab list)
  • Move Tab Next (selects next tab in the list of tabs — to the right of current tab if using horizontal tabs view)
  • Move tab previous (selects previous tab in list — to the left of current tab if using horizontal tabs view)

I don’t see any unexpected behaviour in this. When you finish cycling through the tabs by releasing the CTRL key, the most recently used tab is the one you were most recently on!

The setting: