Open gacharles23 opened 2 months ago
Hi @gacharles23 I don't think this is the cause but just wanted to see if you had "Show pinned tabs in all windows" turned on.
Thank you for reaching out and digging into this @rebron. No, I do not have "Show pinned tabs in all windows" enabled. At this point I've probably tried every single setting in Brave only to conclude that there is a fundamental bug that is causing this. Furthermore, I believe the bug was recently (within the last several months) introduced - as I never had this issue awhile ago - and I've been using vertical tabs since its inception in Brave.
As I noted in the description, this problem is quite easy to reproduce. Simply open two Brave windows - each on its own monitor. On one of the monitors, say monitor 1, bring a different app (e.g. Slack) into the foreground. And if you click on any Brave vertical tab on Monitor 2, the Brave window on Monitor 1 will come to the forefront, in front of Slack in this case.
What I don't know is if this is unique to macOS or if this also occurs in Windows desktops as I don't have a dual-monitor Windows environment to test. But on my Mac desktops it is 100% reproducible.
Thanks again for your help.
Hi @rebron and team, any update on this? Were you able to reproduce the bug? Thanks.
I was able to reproduce the issue. Very complicated set up and a very specific scenario. Do you remember what version when this first started happening?
cc: @simonhong STR are accurate. Looks like you have to be in vertical tabs mode and then if you have focus in monitor A and click on a tab in Brave window 1, monitor B with Brave window 2 actually steals the focus.
Having another app open in monitor B in focus is negligible, only makes it clearer that Brave window 2 is grabbing focus from an action in monitor A/Brave window 1.
That's great @rebron that you were able to reproduce! I'm not sure I'd say that it's a complicated setup: simply two Brave windows (vertical tabs), two monitors. The challenge is that in that configuration it is very difficult to work with Brave and any other app. Because as soon as you interact with Brave, whatever app you were working with on the other monitor loses focus. I'd respectfully request the priority be elevated. As far as when it started, I'd guess sometime between May and mid-August. Hope that helps.
Description
I’ve encountered an issue with Brave browser on macOS Sonoma 14.6.1 using a dual-monitor setup. When using vertical tabs, clicking a tab in one browser window causes a background Brave window on the other monitor to unexpectedly come to the foreground.
This bug does not present with horizontal tabs.
Steps to reproduce
Actual result
Window B on Monitor 2 comes to the foreground, covering the active non-Brave app.
If instead of clicking on the vertical tab in Brave Window A we click on the header bar or body in Brave Window A, then we don’t get the aberrant behavior. It only occurs when clicking on an actual tab.
Expected result
Only Brave Window A on Monitor 1 should be affected. Brave Window B on Monitor 2 should remain in the background and not be brought to the foreground when clicking a tab on Window A.
Reproduces how often
Easily reproduced
Brave version (brave://version info)
I tested this not only on the latest version of Brave but also the Beta and the Nightly release. Same issues persist in all "versions" of Brave.
Channel information
Reproducibility
Miscellaneous information
I can't test this in Chrome since the bug only appears using vertical tabs. As I noted, if using Brave with "horizontal" tabs, the bug does not present.