-
Notifications
You must be signed in to change notification settings - Fork 972
Ledger does not track windows created before the wallet #4274
Comments
Design intent. Will not fix. |
@mrose17 I think any new browsing done after the Brave Payments switch is enabled should count towards the ledger list. So for currently open tabs, reactivating the tab would count as a visit with a fresh timer. Is this possible with the current ledger implementation? |
if brave payments is not enabled, we don't keep track of the user's publisher history. if the user turns it off, visits some sites, and turns it on, then whatever they did while brave payments was off is not recorded. that is by design. |
I think the devil is in the details on this one and could be renamed. Or we can create a new issue. What I read is that User was browsing in various open tabs. Then finds brave payments and enables it. They keep browsing in those tabs that were open already but now they are viewing the same or new content in those tabs.
|
you have to visit a tab and then leave it while brave payments is on in order for it to be counted. that seems pretty consistent to me. i suppose we could tell folks "Enable Brave Payments (requires restart)" if there is that much of an issue. |
Reopening and putting on 0.12.10. |
@alexwykoff @bbondy @luixxiul @srirambv - i need volunteers! build from this branch -- https://github.com/brave/browser-laptop/tree/keep-track-of-publishers -- and see if you still see sluggishness. thanks! |
Sorry to be the bearer of bad news but I think there's still a perf problem with this. My steps to notice the difference is: On master: With this branch: |
Hey @mrose just in case I was crazy, I verified if this is a problem again from scratch. I tested the steps below 16 times total. I reproduced the slow down 8 times in your branch, and 8 times not reproduced in master. I switched between the 2 branches on each test run. I documented exact steps I took. There is definitely a bigger than linear slow down as the number of tabs increase. Something like O(N^2) on tab switches whereas before it was O(1). Not only tab switches but the whole browser gets sluggish. But I suggest to notice with tab switches since it's easy to notice with that. We can't merge this in because we'd bleed users. I'm going to move it to 0.12.11 to give more time to work on it.
On master: On keep-track-of-publishers: |
Brian - memory says someone (likely you) has done this before. thanks, ps looks like an issue on that branch! On Wed, Nov 16, 2016 at 10:46 PM, Brian R. Bondy [email protected]
Mitchell Rose |
Sorry about that, it was a different Brian last time though, we have many. |
Did you search for similar issues before submitting this one?
Yes
Describe the issue you encountered:
I opened a window and visited a site. I then opened preferences and created a wallet. I then returned to the original window and viewed sites. The ledger was never populated.
This is also true for sites which were visited in a new(post-wallet creation) window and then visited with an older(pre-wallet creation) window.
Expected behavior:
The ledger should work for any open Brave window.
Tested on Windows 7 x64
Discovered in 0.12.2 RC4, confirmed in 0.12.1
The text was updated successfully, but these errors were encountered: