-
Notifications
You must be signed in to change notification settings - Fork 971
newly pinned tab disappears after restart + new window #11694
Comments
This was not so much a problem for a while, but it has returned. In particular it is my gmail pin that is disappearing now. Very annoying. Currently on 0.19.139 for windows. Last time I 'fixed' it by deleting my profile. But I don't want to do that every few months. |
Could someone help me debug this myself? I now have a profile with which I can consistently reproduce the issue of disappearing pinned tabs, but I don't know where to start debugging this. It would be greatly appreciated if someone could help me answer these questions:
Currently running Brave 0.19.139 on Windows 10. |
It seems that all the pinned tabs are stored in |
So it seems that all pinned tabs and bookmarks are in the A difference between 'good' and 'bad' pinned tabs is that all good pins have Now let's see whether it is possible to make 'bad' pins 'good' by adding the |
Unfortunately, manually adding the |
Success! One of the other interesting attributes of the entries in It was possible to make a broken pinned tab persistent by:
Doing only one was not sufficient. It was not necessary to set So the broken pinned tabs seems to be a syncing issue. I don't understand that, because pinned tabs are not synchronized (at least not for me, only bookmarks). Also it is unclear to me what the Finally, I hope this is not a procedure I'll have to do for every tab that I'd like to add. I'll try clearing the |
Apparently I'll have to do the above procedure for every site I'd like to pin. So I've written a short (and ugly) Python script for it: import json
dd = json.load(open("session-store-1"))
dd['sync']['pendingRecords'] = {}
pins_bad = [site for site in dd['sites'].values() if 'pinned' in site['tags'] and not 'partitionNumber' in site]
for site in pins_bad:
site.pop('objectId')
json.dump(dd, open("session-store-1", 'w')) I don't know what the syncing feature has to do with this. For testing I've used a site that I had never visited before, so it seems impossible that one of the other instance that I sync with are causing problems for the specific site. |
@ayumi or @diracdeltas , could one of you perhaps take a look at this issue about disappearing pins? Most of the recent commits related to syncing and objectIds are yours, so you can probably figure out what is going on and how to solve it properly. For now the hack above seems to work well enough though, so it is not urgent. Let me know if you'd need more information. |
cc: @petemill |
Another thing that I should note is that this time the issue appeared after a pinned tab (gmail) magically disappeared. After that, I couldn't add it back, but also not create any other pinned tab. The new ones all disappeared after a 2 restarts (the first restart clears them from the session I believe). So the initial corruption of the session (original tab disappearance) might have a different cause, with the subsequent inability to pin new tabs being a secondary effect. The primary problem of 'stable' pinned tabs disappearing is quite hard to reproduce. It seems to always be gmail for me though, the most active of my pinned tabs. |
Description
I can't seem to add pinned tabs that stay persistent over sessions. There are 5 existing pinned tabs that work, but new ones disappear on restart + new window.
Steps to Reproduce
5a. Open new window. Page not pinned anymore in new window.
Alternative:
5b. Close and reopen brave a second time. Page not pinned anymore.
Actual result:
Page is not pinned.
Expected result:
Page is pinned.
Reproduces how often:
100% so far. Have not tried new profile.
Brave Version
Brave 0.19.53 installed through apt-get on Ubuntu.
Also happens with 0.19.67 on windows.
about:brave info:
Brave: 0.19.53
rev: e09025b
Muon: 4.4.29
libchromiumcontent: 61.0.3163.100
V8: 6.1.534.41
Node.js: 7.9.0
Update Channel: Release
OS Platform: Linux
OS Release: 4.10.0-37-generic
OS Architecture: x64
Reproducible on current live release:
Don't know what this means.
Additional Information
The text was updated successfully, but these errors were encountered: