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

Close tab page is not working #9420

Closed
NejcZdovc opened this issue Jun 13, 2017 · 11 comments
Closed

Close tab page is not working #9420

NejcZdovc opened this issue Jun 13, 2017 · 11 comments

Comments

@NejcZdovc
Copy link
Contributor

NejcZdovc commented Jun 13, 2017

Test plan

#11311 (comment)


  • Did you search for similar issues before submitting this one?
    yes

  • Describe the issue you encountered:
    Close tab page is not working

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

  • Brave Version (revision SHA):
    7ce06ee

  • Steps to reproduce:

    1. Set tab page limit to 6
    2. Open 10 tabs (new tabs)
    3. Try to close active tab page
  • Actual result:
    Nothing happens

  • Expected result:
    Tabs from current tab page should be closed

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

  • Is this an issue in the currently released version?
    yes

  • Can this issue be consistently reproduced?
    yes

@NejcZdovc NejcZdovc added this to the 0.19.x (Nightly Channel) milestone Jun 13, 2017
@NejcZdovc NejcZdovc self-assigned this Jun 13, 2017
@NejcZdovc
Copy link
Contributor Author

NejcZdovc commented Jun 13, 2017

This is not working because this function returns false for new tab, blank tab and private tab. We need to change this back, so you can close tabs tab page without any restrictions.

This was introduced in commit f4283c0#diff-e12cc9b3579286a186d0f0c82dfa8186R66

cc @bridiver

@NejcZdovc NejcZdovc assigned bridiver and unassigned NejcZdovc Jun 13, 2017
@luixxiul
Copy link
Contributor

@bsclifton
Copy link
Member

This was working for me when I tested #9414. Is this still an issue, @NejcZdovc?

@NejcZdovc
Copy link
Contributor Author

NejcZdovc commented Jun 20, 2017

Yes it's still an issue, as reported in #9609 as well

@luixxiul
Copy link
Contributor

If the tab page has two tabs, about:preferences and the new tab, clicking Close tab page only closes the about page, leaving the new tab opened.

@bsclifton
Copy link
Member

bsclifton commented Jun 29, 2017

Is this the same issue as #9722? (I didn't see any errors mentioned in the above comments)

@NejcZdovc
Copy link
Contributor Author

NejcZdovc commented Jul 12, 2017

@bsclifton no it's not the same.
@bridiver why did we added this part (so that about:newtab is ignored) f4283c0#diff-e12cc9b3579286a186d0f0c82dfa8186R66?

@NejcZdovc NejcZdovc modified the milestones: 0.18.x (Beta Channel), 0.19.x (Developer Channel) Jul 12, 2017
@bridiver
Copy link
Collaborator

@NejcZdovc it wasn't added, it was moved from f4283c0#diff-f5a0b45b8323a469e78cf98fb0c49b8fL632

@NejcZdovc
Copy link
Contributor Author

NejcZdovc commented Jul 13, 2017

@bridiver you are correct. It was introduced here #6570 by me 😄 Not sure why I added it and why it was working before.

@NejcZdovc NejcZdovc modified the milestones: 0.19.x (Beta Channel), 0.18.x (Release Channel) Jul 14, 2017
@alexwykoff alexwykoff removed this from the 0.19.x (Developer Channel) milestone Jul 25, 2017
@bsclifton
Copy link
Member

cc @NejcZdovc for comment
Per conversation, he is saying this is happening ONLY for about:newtab because there is an if statement (or something to be discovered)

@alexwykoff alexwykoff added this to the 0.21.x milestone Jul 25, 2017
@NejcZdovc NejcZdovc assigned NejcZdovc and unassigned bridiver Aug 29, 2017
@bbondy
Copy link
Member

bbondy commented Oct 6, 2017

0.19.x: 511bf20
0.20.x: 7bb5286
master: bf4726d

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.