question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How keep spaces with Brave?

See original GitHub issue

Description

In Chrome binaries, we have a new feature to keep the window position between Darwin “Spaces”. e.g:

defaults write org.chromium.Chromium NSWindowRestoresWorkspaceAtLaunch -bool YES
defaults write com.google.Chrome.canary NSWindowRestoresWorkspaceAtLaunch -bool YES
defaults write com.google.Chrome NSWindowRestoresWorkspaceAtLaunch -bool YES

Steps to Reproduce

  1. Install the Nightly version.
  2. Run defaults write com.brave.Browser.nightly NSWindowRestoresWorkspaceAtLaunch -bool YES

Actual result:

It doesn’t work. It works in Chromium and Canary.

Expected result:

Restore the Windows in their original space.

Brave version (brave://version info)

Nightly Channel v1.4.12

Other Additional Information:

  • Is the issue reproducible on the latest version of Chrome? It works in Chromium and Canary.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:4
  • Comments:8

github_iconTop GitHub Comments

2reactions
DSGNDcommented, Aug 7, 2021

Oddly, sudo was the “problem”… the parameter NSWindowRestoresWorkspaceAtLaunch wasn’t added…

I’ve executed the command without sudo as defaults write com.brave.Browser NSWindowRestoresWorkspaceAtLaunch -bool YES and check if the new parameter had been saved with defaults read com.brave.Browser, and then, it was added :

{
    LastRunAppBundlePath = "/Applications/Brave Browser.app";
    …
    NSWindowRestoresWorkspaceAtLaunch = 1;
    SUAutomaticallyUpdate = 1;
    SUEnableAutomaticChecks = 1;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2021-08-07 08:31:49 +0000";
    SUScheduledCheckInterval = 10800;
}

I’ve rebooted and now, Brave windows are restored in their previous space ! 👍

1reaction
pjvcommented, Aug 6, 2021

@DSGND

i guess I’m not that current…

I’m currently on brave Version 1.27.108 Chromium: 92.0.4515.107 (Official Build) (x86_64) macOS: 11.4

(haven’t had a chance to do a reboot for a while because i have a dozen different spaces open, each with different projects in various stages. - probably this weekend i will get around to pausing everything and doing a bunch of updates and a reboot).

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is a Brave Space? | Office for Institutional Equity and ...
In the context of brave spaces, social justice is the “full and equitable participation of people from all social identity groups in a...
Read more >
Brave Space Guidelines - Cross- Cultural Center
Throw away/recycle your trash, clean up projects before you leave and return borrowed items – it is all our responsibility to maintain this...
Read more >
Moving from Safe Classrooms to Brave Classrooms - ADL
Possible guidelines for brave classrooms​​ Explore, recognize and acknowledge your privilege. Even if you are uncomfortable or unsure, contribute ...
Read more >
Let's Create a Brave Space - YouTube
First Book presents “Empowering Educators” – a series of free resources designed to support educators in helping their students engage in ...
Read more >
Assigning different profiles to different "spaces" (desktops ...
I use two profiles with Brave - one for home, and one for work. My desktop has two spaces (on one monitor) -...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found