Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Brave should not exit when every tab is pinned #10117

Closed
dogancelik opened this issue Jul 24, 2017 · 5 comments
Closed

Brave should not exit when every tab is pinned #10117

dogancelik opened this issue Jul 24, 2017 · 5 comments
Labels
addressed-with-brave-core Needs confirmation, but this issue may be resolved with Brave Core. feature/pinned-tabs priority/P4 Minor loss of function. Workaround usually present. QA/test-plan-specified release-notes/include suggestion usability

Comments

@dogancelik
Copy link

dogancelik commented Jul 24, 2017

Did you search for similar issues before submitting this one?

Kinda

Describe the issue you encountered:

Brave closes completely when you press Ctrl+W and there is no normal tab.

Platform (Win7, 8, 10? macOS? Linux distro?):

Windows 8.1

Brave Version (revision SHA):

dev channel / 4e46480

Steps to reproduce:

  1. I have 7 pinned tabs
  2. I close unpinned tabs and I switch to a pinned tab.
  3. I press Ctrl + W
  4. Whole Brave window closes

Actual result:

Brave completely exits / closes

Expected result:

Ctrl + W should NOT close Brave, should not even close Pinned tab.

Will the steps above reproduce in a fresh profile? If not what other info can be added?

This is a really fresh install, installed today.

Is this an issue in the currently released version?

I don't know, new install after a long time

Can this issue be consistently reproduced?

Yes

@luixxiul
Copy link
Contributor

luixxiul commented Aug 1, 2017

I remember that @bradleyrichter agreed with this.

petemill added a commit to petemill/browser-laptop that referenced this issue Aug 16, 2017
…inned tab

Fix brave#3760, fix brave#9635, fix brave#10037, fix brave#10510, and possibly addresses brave#10117

The previous code resulted in tabs being marked as no longer required to be pinned, and closed prematurely. In many situations, when pinning a tab, all previously pinned tabs would be closed. Sometimes this appeared like a 'crash' when the window closed because all the tabs had been (undesirably) closed.
petemill added a commit to petemill/browser-laptop that referenced this issue Aug 16, 2017
…inned tab

Fix brave#3760, fix brave#9635, fix brave#10037, fix brave#10510, and possibly addresses brave#10117

The previous code resulted in tabs being marked as no longer required to be pinned, and closed prematurely. In many situations, when pinning a tab, all previously pinned tabs would be closed. Sometimes this appeared like a 'crash' when the window closed because all the tabs had been (undesirably) closed.
petemill added a commit to petemill/browser-laptop that referenced this issue Aug 26, 2017
…inned tab

Fix brave#3760, fix brave#9635, fix brave#10037, fix brave#10510, and possibly addresses brave#10117

The previous code resulted in tabs being marked as no longer required to be pinned, and closed prematurely. In many situations, when pinning a tab, all previously pinned tabs would be closed. Sometimes this appeared like a 'crash' when the window closed because all the tabs had been (undesirably) closed.
@luixxiul luixxiul added this to the 0.21.x (Nightly Channel) milestone Aug 27, 2017
petemill added a commit to petemill/browser-laptop that referenced this issue Aug 27, 2017
…inned tab

Fix brave#3760, fix brave#9635, fix brave#10037, fix brave#10510, and possibly addresses brave#10117

The previous code resulted in tabs being marked as no longer required to be pinned, and closed prematurely. In many situations, when pinning a tab, all previously pinned tabs would be closed. Sometimes this appeared like a 'crash' when the window closed because all the tabs had been (undesirably) closed.
petemill added a commit to petemill/browser-laptop that referenced this issue Aug 27, 2017
…inned tab

Fix brave#3760, fix brave#9635, fix brave#10037, fix brave#10510, and possibly addresses brave#10117

The previous code resulted in tabs being marked as no longer required to be pinned, and closed prematurely. This mostly occured after a pinned-tab reordering - afterwards, when pinning or unpinning a tab, all previously pinned tabs with a new order would be closed. Sometimes this appeared like a 'crash' when the window closed because all the tabs had been (undesirably) closed.
petemill added a commit to petemill/browser-laptop that referenced this issue Aug 28, 2017
…inned tab

Fix brave#3760, fix brave#9635, fix brave#10037, fix brave#10510, and possibly addresses brave#10117

The previous code resulted in tabs being marked as no longer required to be pinned, and closed prematurely. This mostly occured after a pinned-tab reordering - afterwards, when pinning or unpinning a tab, all previously pinned tabs with a new order would be closed. Sometimes this appeared like a 'crash' when the window closed because all the tabs had been (undesirably) closed.
bsclifton pushed a commit to petemill/browser-laptop that referenced this issue Aug 29, 2017
…inned tab

Fix brave#3760, fix brave#9635, fix brave#10037, fix brave#10510, and possibly addresses brave#10117

The previous code resulted in tabs being marked as no longer required to be pinned, and closed prematurely. This mostly occured after a pinned-tab reordering - afterwards, when pinning or unpinning a tab, all previously pinned tabs with a new order would be closed. Sometimes this appeared like a 'crash' when the window closed because all the tabs had been (undesirably) closed.
@bsclifton
Copy link
Member

I tried this out on master- appears to have been fixed by #10531 😄

@bbondy bbondy modified the milestones: 0.21.x (Developer Channel), 0.20.x (Beta Channel) Oct 25, 2017
@LaurenWags
Copy link
Member

Reproduced on MacOS. STR:

  1. have 7 pinned tabs
  2. close unpinned tabs and you switch to a pinned tab.
  3. press Cmd + W
  4. Whole Brave window closes

10117

@LaurenWags LaurenWags reopened this Nov 20, 2017
@dogancelik
Copy link
Author

dogancelik commented Nov 23, 2017

Also Pinned tabs should not close at all (whether it's the only tab or not)

@bradleyrichter
Copy link
Contributor

Windows 8 does not have the ability to have a no-window app open state. This is why closing the last window closes Brave. If we want to eliminate this issue, we need to create a blocking feature.

One solution is to create a New Tab after the user closes the last non-pinned tab in a given window. If the new tab is the last, then disable the close button.

@bsclifton What do you think of this solution? Safari on Mac does something similar.

@alexwykoff alexwykoff added the priority/P4 Minor loss of function. Workaround usually present. label Nov 29, 2017
@alexwykoff alexwykoff modified the milestones: 0.20.x (Beta Channel), Backlog (Prioritized) Nov 29, 2017
@bsclifton bsclifton removed their assignment Mar 20, 2018
@bsclifton bsclifton added the addressed-with-brave-core Needs confirmation, but this issue may be resolved with Brave Core. label Sep 7, 2018
@bsclifton bsclifton removed this from the Backlog (Prioritized) milestone Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
addressed-with-brave-core Needs confirmation, but this issue may be resolved with Brave Core. feature/pinned-tabs priority/P4 Minor loss of function. Workaround usually present. QA/test-plan-specified release-notes/include suggestion usability
Projects
None yet
Development

No branches or pull requests

7 participants