Brave-browser: Rewards summary is not retained between browser restarts.

Created on 23 Jan 2019  路  10Comments  路  Source: brave/brave-browser

Follow up from https://github.com/brave/brave-browser/issues/2332

Steps to Reproduce

  1. Clean install
  2. Tip a verified publisher
  3. Check Rewards summery in brave://rewards

    1. Restart browser

    2. Check Rewards summery in brave://rewards

Actual result:


Rewards summery is empty
Rewards summery is shown for given month (January on the screen shot), which indicates that all transactions are included.
image

Note: Tips table retains the data.

Expected result:

Rewards summery is retained

Reproduces how often:


always

Brave version (brave://version info)


Brave | 0.59.26 Chromium: 72.0.3626.64聽(Official Build)聽beta聽(64-bit)
-- | --
Revision | eaa9668e80ce5405e7f1902579558ea725c06ca1-refs/branch-heads/3626@{#708}
OS | Windows

cc @brave/legacy_qa @NejcZdovc

QA Pass-Linux QA Pass-Win64 QA Pass-macOS QTest-Plan-Specified QYes featurrewards prioritP2 release-noteinclude

All 10 comments

@btlechowski can you test this on 0.60 please. I couldn't reproduce it

Nice find @btlechowski 馃憤@NejcZdovc I managed to reproduce it on both 0.60.16 Chromium: 72.0.3626.64 and 0.59.26 Chromium: 72.0.3626.64 using macOS 10.14.2 x64. Example:

tipdisappearing

This one is pretty bad as it's clearing the Rewards Summary. Should probably figure out what's going on and fix 0.59.x as well.

Reproducible on Windows 10 x64 - 0.59.26. After browser restart Total tips this month value is also getting cleared from Tips panel.

image

Reproduced on macOS

Brave | 0.59.28 Chromium: 72.0.3626.64聽(Official Build)聽beta(64-bit)
-- | --
Revision | eaa9668e80ce5405e7f1902579558ea725c06ca1-refs/branch-heads/3626@{#708}
OS | Mac OS X

  • Also encountered what was mentioned above - after browser restart Total tips this month value/amount is also getting cleared from Tips table

Jumped on a quick call with @NejcZdovc and narrowed down the issue. This only happens when there's only a tip being listed under Summary no other entries. Example:

Case that's reproducible:

  • launch Brave with a new profile and restore a wallet (no entries in the summary)
  • tip a verified publisher and a tip entry appears in the summary (only entry)
  • restart the browser and you'll notice that the tip entry is removed

Case that's not reproducible:

  • launch Brave with a new profile and accept a grant (now there's a grant entry in the summary)
  • tip a verified publisher and a tip entry appears in the summary (now there's two entries)
  • restart the browser and you'll notice that the tip doesn't disappear from the summary this time

@bbondy @rebron what do you guys think about uplifting this into 0.59.x? As mentioned in https://github.com/brave/brave-browser/issues/3055#issuecomment-456702996, this only happens when you only have tip entries in the summary and nothing else. Users that restore wallets are more prone to run into this. Users who accept grants (majority of our users) won't see this.

I'm fine leaving this in 0.60.x but wanted to see what you guys thought about a possible uplift.

I'm fine with whatever you think is best.

@kjozwiak @bbondy I'd just leave it for 0.60.x. Its not like we are losing the actual tip, restart workaround just works fine.

Lets leave it for 0.60.x 馃憤

@srirambv restart will not work as if you have negative total, we don't load reports and because of that you will lose summary data. If you restore wallet, do a tip, restart browser, do a tip, restart browser, do a tip, at the end in summary you will only see the last tip, not sum.

Verified passed with

Brave | 0.60.23 Chromium: 72.0.3626.96聽(Official Build)聽beta(64-bit)
-- | --
Revision | 84098ee7ef8622a9defc2ef043cd8930b617b10e-refs/branch-heads/3626@{#836}
OS | Mac OS X

Verification passed on

Brave | 0.60.23 Chromium: 72.0.3626.96聽(Official Build)聽beta聽(64-bit)
-- | --
Revision | 84098ee7ef8622a9defc2ef043cd8930b617b10e-refs/branch-heads/3626@{#836}
OS | Windows 10

Verification passed on

Brave | 0.60.26 Chromium: 72.0.3626.96聽(Official Build)聽beta(64-bit)
-- | --
Revision | 84098ee7ef8622a9defc2ef043cd8930b617b10e-refs/branch-heads/3626@{#836}
OS | Linux

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bsclifton picture bsclifton  路  3Comments

jonathansampson picture jonathansampson  路  3Comments

bbondy picture bbondy  路  3Comments

AlexeyBarabash picture AlexeyBarabash  路  3Comments

traffisco picture traffisco  路  3Comments