brave-browser: browser instance duplicates at all workspaces

Description

Hi, Well its the strangest bug I’ve ever seen and I just don’t know what to do with it so forgive if wrong repo 😄 When I open a brave on my fedora linux with gnome shell it appears on EVERY workspace. And it seems to be the same window (doing any changes in an instance on one workspace changes things in other). image

Steps to Reproduce

  1. just open brave

Actual result:

new window will duplicate at all workspaces

Expected result:

it should open one window in current workspac

Reproduces how often:

on my system I can reproduce it every time I run my browser

Brave version (brave://version info)

Details

Brave	1.58.137 Chromium: 117.0.5938.153 (Official Build) (64-bit) 
Revision	40b532ccf3bc15f40c6165989b143955260b872c
OS	Linux
JavaScript	V8 11.7.439.21
User Agent	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Command Line	/opt/brave.com/brave/brave --disable-domain-reliability --enable-dom-distiller --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --sync-url=https://sync-v2.brave.com/v2 --lso-url=https://no-thanks.invalid --variations-server-url=https://variations.brave.com/seed --variations-insecure-server-url=https://variations.brave.com/seed --flag-switches-begin --flag-switches-end --component-updater=url-source=https://go-updater.brave.com/extensions --disable-nacl
Executable Path	/opt/brave.com/brave/brave
Profile Path	/home/mszeptuch/.config/BraveSoftware/Brave-Browser/Default
Active Variations	AllowCertainClientHintsStudy:Enabled
BraveAdblockMobileNotificationsListDefault:Enabled
BraveAds.AdServingStudy:DefaultAdNotificationsPerHour=10/MaximumAdNotificationsPerDay=100/MaximumInlineContentAdsPerHour=6/MaximumInlineContentAdsPerDay=20/AdServingVersion=2
BraveAutoTranslateStudy:AutoTranslateDisabled
BraveDebounceStudy:Enabled
BraveForgetFirstPartyStorage:Enabled
BraveGoogleSignInPermissionStudy:Disabled
BraveHttpsByDefaultRolloutStudy:Enabled
BraveP3AConstellationReleaseRollout:Enabled
BraveRewardsWebUiPanelStudy:Enabled
BraveScreenFingerprintingBlockerStudy:Enabled
BraveSearchAdStudy:Enabled
ClampPlatformVersionClientHint:Disabled
CookieListDefaultStudy:Enabled
Default1pBlockingStudy:Disabled
DisableReduceLanguage:Enabled
EphemeralStorageStudy:Enabled
FirstPartyEphemeralDomainBlockStudy:Enabled
ForceDisableBlinkFeatures:Enabled
PartitionBlinkMemoryCacheStudy:Enabled
PartitionConnectionsByNetworkIsolationKeyStudy:Enabled
PermissionLifetimeReleaseStudy:Enabled
PrettyPrintJSONDocument:Disabled_EmergencyKillSwitch
SpeedreaderReleaseStudy:Enabled
UserActivityStudy:Triggers
WhatsNewStudy:Enabled

Version/Channel Information:

Can’t say… I use version from dnf

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? No
  • Does the issue resolve itself when disabling Brave Rewards? I think no…
  • Is the issue reproducible on the latest version of Chrome? I’ve tried chromium 117.0.5938.132 Fedora Project and it works normally

Miscellaneous Information:

  • Fedora release 38 (Thirty Eight)
  • GNOME Shell 44.5

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 4
  • Comments: 18

Most upvoted comments

Not sure if it was identified, but it’s not a bug in Brave or Gnome. Basically Gnome has an option to show the app window in all workspaces, and if this is set, it will follow the visible workspace.

As the browser (Brave/Chromium) hides the system title bar by default, we don’t see this option. So, to check if it’s enable in the browser window (different profiles works independently), right click in the tab bar (not in a tab) and select “Use system title bar and borders”. In the (now visible) window title bar, right click and check if the option “Always on visible workspace” is active. Disable it to behave as expected.

Repeat the procedure with different profiles to solve the issue.

I believe the issue can be closed.

Not really an answer for Brave, but I had the same issue with Vivaldi in Gnome and @piglesias1 suggestion helped. Browser window had the “Always on Visible Workspace” checked by default, but the browser does not display the system title bar, I had to go to Settings -> Appearance -> Window Appearance and select “Use Native Window” option (which required a restart of the browser). Right-clicking on the system title bar allows you to un-check the option to keep the browser always on visible workspace.

is there anyone from brave on this repo? This issue is open since october and no maintainer’s investigation yet…

@jorgebotas try to close brave completly that worked for me

@ezekias42, not sure if this is related to Brave, as it was reported to happen with other browsers too. Probably a shortcut (disabled by default) or something else in Gnome. I have different profiles and happen only with some of them. Also, it was reported to solve the issue after closing all the tabs, which resets the visible workspace function when a new window is open. That’s only my guess. Maybe Brave team can comment something about it.

Got this bug as well, and was able to fix it by closing each tab individually.

Ubuntu 24.04.1 LTS GNOME Shell 46.0 XDG_SESSION_TYPE x11 brave 1.73.104 464 latest/stable [Version 1.73.104 Chromium: 131.0.6778.204 (Official Build) (64-bit)]

I have the same issue Ubuntu 24. Plugged and unplugged from external monitors. Any work around ?

@gucio321 I tried closing Brave completely, and I just plugged into my external monitors, plugged back in, unplugged. Seems fixed! Thanks!

I would like to share I have also been experiencing this issue.

Something I have noticed is this issue appears when I unplug my laptop from my external display.

Brave Version (brave://version)

1.61.109 Chromium: 120.0.6099.144 (Official Build) (64-bit)

Misc. Information

Operating System: Ubuntu 22.04.3 LTS

GNOME Version: 42.9

Windowing System: X11