Browser-laptop: Changing tabset count messes up tab favicon and close button

Created on 29 Jun 2017  路  12Comments  路  Source: brave/browser-laptop

Test plan

https://github.com/brave/browser-laptop/pull/10134#issue-245571404


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

  • Describe the issue you encountered:
    Changing tabset count messes up tab favicon and close button

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

  • Brave Version (revision SHA):
    Brave 0.17.12
    rev 0095c35
    Muon 4.1.6

  • Steps to reproduce:

    1. Set tab count to 20 and set homepage to reddit.com/r/random
    2. Open more than 100 tabs by pressing ctrl+t, ensure there are 5-6 tabset
    3. With all these tabs set tabcount to 100, close button and favicon on tabs gets messed up as the breakpoint is not properly calculated
  • Actual result:
    Changing tabset count messes up tab favicon and close button

  • Expected result:
    Tab breakpoint should be properly calculated

  • 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

  • Extra QA steps:
    1.
    2.
    3.

  • Screenshot if needed:
    image

  • Any related issues:
    cc: @cezaraugusto
Qchecked-Linux Qchecked-Win64 Qchecked-macOS Qtest-plan-specified bug featurtabsbar misbutton misfavicon release-noteinclude

All 12 comments

dooh me they were the same, thanks Sri

I referenced this issue in #9809 but that's wrong. #9809 solved #8429. I referenced the wrong issue by mistake. Re-opening

@cezaraugusto - noticing that the tabs from the first tab set don't have their favicon resized the way the tabs from the other tab sets do. Could you take a look?
screen shot 2018-01-04 at 11 41 34 am

could you share your STR? I think I know what's happening

just tried to confirm my steps were the same as from the description, but now i'm seeing this :(
screen shot 2018-01-04 at 11 58 41 am

@cezaraugusto is this expected? (the tabs are too small to display a favicon?)

Reopening per https://github.com/brave/browser-laptop/issues/9779#issuecomment-355337558 - I no longer see a tab favicon when I set the tab count to 100.

@LaurenWags depending on your window size a tab with no icons is expected. However, https://github.com/brave/browser-laptop/issues/9779#issuecomment-355332544 is not. I'm not able to reproduce following @srirambv STR:

jan-17-2018 17-05-51

I have a guess-fix but hard to know it's working without reproducing. Let me know if there's something I'm missing

^ sorry for the bad GIF quality

also, could you tell me which version rev are you on? I'm on de5970f003ca534c0ff0718ac4b06cacd752408b

So to recap some slack convos - can no longer repro https://github.com/brave/browser-laptop/issues/9779#issuecomment-355332544 I only see https://github.com/brave/browser-laptop/issues/9779#issuecomment-355337558 which makes sense as discussed because at some point the tabs are too small to display a favicon.

However, (maybe this needs a new issue?) If I have a full screen window, and 100 tabs, no favicons. But, if I restart Brave the favicons do display:
9779-blanktabsuntilrestart

This is using:
Brave | 0.20.19
V8 | 6.4.388.29
rev | 3d05e91
Muon | 4.7.3
OS Release | 16.7.0
Update Channel | Beta
OS Architecture | x64
OS Platform | macOS
Node.js | 7.9.0
Brave Sync | v1.4.2
libchromiumcontent | 64.0.3282.99

@LaurenWags what happens in that state you mentioned in https://github.com/brave/browser-laptop/issues/9779#issuecomment-359861434 if you keep changing the number of tabs per tab set? does at that window size the icons are shown or just keep the same?

per your screenshot, you reached a point where icons should be visible, but if you have resized the window before by increasing the width, it might not be updated at the right time given the number of tabs.

The time for icons to update based on tab size is variable and depends on how fast you resize, for slow resizing, components take more time to update given the operation cost in CPU. Fast resizes usually update instantly. An app restart as you did force the update which is why you see the icons.

If changing tab set size with the window at the same width do update the icons IMO we can close this. The delay of updating icons on window resize is variable and while not really a bug, could be improved over time and best take would be opening another issue.

Thanks @cezaraugusto and will open up something separate 馃槃

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stevespringett picture stevespringett  路  3Comments

antiroyalty picture antiroyalty  路  3Comments

bsclifton picture bsclifton  路  3Comments

octohedron picture octohedron  路  3Comments

shortstuffsushi picture shortstuffsushi  路  3Comments