Closed
Bug 691232
Opened 13 years ago
Closed 9 years ago
Improve about:sync-tabs
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: rnewman, Unassigned)
References
Details
(Whiteboard: [sync:tabs][has stale patch])
Attachments
(1 file)
(deleted),
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
The existing page synchronously calls sync() on the tab engine, amongst other malarky. Instead, it should bump the tab engine score and allow the SyncScheduler to take care of business, watching for tab sync to complete before redrawing.
Note that this change will cause a whole sync to occur, rather than just the clients then tabs engine... but tabs syncs first anyway, so who cares?
The only remaining issue is that we won't prompt for master password on display of the page, but that's an existing problem.
Reporter | ||
Comment 1•13 years ago
|
||
This has received only cursory testing, so that's next on my list.
Reporter | ||
Comment 2•13 years ago
|
||
I have verified with two profiles on the same build: once the 'generator' profile has synced, either reloading about:sync-tabs, or initiating a sync, will cause the page to redraw the tab list with the current tabs from the other device.
Removing active tabs from the other device also works fine.
No console errors!* \o/
* Low expectations.
Comment 3•13 years ago
|
||
Comment on attachment 564114 [details] [diff] [review]
Proposed patch. v1
Yay for really old review requests ... Sorry about forgetting this on. Do you still want me to look this over?
Reporter | ||
Comment 4•13 years ago
|
||
If you've got the time, yes please!
Comment 5•13 years ago
|
||
Comment on attachment 564114 [details] [diff] [review]
Proposed patch. v1
Review of attachment 564114 [details] [diff] [review]:
-----------------------------------------------------------------
Despite the comment about triggering a sync, I /think/ the behavior is the same, so r+.
Please test on the current tree before landing.
::: browser/base/content/aboutSyncTabs.js
@@ +238,3 @@
> switch (topic) {
> case "weave:service:login:finish":
> + this.refetchTabs();
So, this effectively triggers a sync on login. Don't we do that already? I would think this wouldn't be needed. I'm just trying to think what use case this would handle.
::: browser/base/content/browser-places.js
@@ +673,5 @@
> }
>
> // The tabs engine might never be inited (if services.sync.registerEngines
> // is modified), so make sure we avoid undefined errors.
> + let enabled = Weave.Engines.get("tabs") &&
This seems like an unrelated change.
Attachment #564114 -
Flags: review?(philipp) → review+
Comment 6•12 years ago
|
||
Is there anything that keeps this from landing?
Reporter | ||
Comment 7•12 years ago
|
||
(In reply to Morpheus3k from comment #6)
> Is there anything that keeps this from landing?
Just an utter lack of time on my part. If you've got the free time to test an un-bitrotted patch against a current tree, that would help.
Comment 8•12 years ago
|
||
Morpheus3k: can you submit a new patch against the current tree? I promise to give it an adequate review this time around.
Comment 9•12 years ago
|
||
I'm sorry, but I haven't done any development on the Mozilla code yet. I've just come across this bug and noticed that it got the r+, but was not checked-in.
Comment 10•12 years ago
|
||
(In reply to Morpheus3k from comment #9)
> I'm sorry, but I haven't done any development on the Mozilla code yet. I've
> just come across this bug and noticed that it got the r+, but was not
> checked-in.
Oops. I didn't notice that rnewman was the patch author! Since he just left on vacation, I guess I'll take this...
Reporter | ||
Comment 11•12 years ago
|
||
Happy to rubber stamp for you, gps.
Reporter | ||
Updated•12 years ago
|
Whiteboard: [sync:tabs]
Reporter | ||
Comment 12•12 years ago
|
||
I won't have time to work on this.
Assignee: rnewman → nobody
Status: ASSIGNED → NEW
Whiteboard: [sync:tabs] → [sync:tabs][has stale patch]
Comment 13•9 years ago
|
||
about:sync-tabs has been deprecated. Better synced tabs UI has been implemented in a menu panel (bug 1201331) and sidebar (bug 1210586).
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•6 years ago
|
Component: Firefox Sync: UI → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•