Closed
Bug 486042
Opened 15 years ago
Closed 15 years ago
"Load this bookmark in the sidebar" status not synced
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
0.4
People
(Reporter: grenavitar, Assigned: mishail.mishail)
References
Details
Attachments
(1 file, 2 obsolete files)
5.32 KB,
patch
|
Mardak
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3 Build Identifier: The "Load this bookmark in the sidebar" option for every bookmark in Firefox is not being synced by Weave resulting in it having to be manually set on every client. This mainly affects applets like Google Talk gadget which encourage users to open them in the sidebar. Reproducible: Always Steps to Reproduce: 1. Mark a bookmark as "Load this bookmark in the sidebar" in client one 2. Download from cloud to client two 3. Open bookmark in client Actual Results: The bookmark will open as a full page. Expected Results: The bookmark should open in the sidebar
Summary typo fix s/snyced/synced
Summary: "Load this bookmark in the sidebar" status not snyced → "Load this bookmark in the sidebar" status not synced
Assignee | ||
Comment 2•15 years ago
|
||
Attachment #371212 -
Flags: review?(thunder)
Assignee | ||
Comment 3•15 years ago
|
||
Comment on attachment 371212 [details] [diff] [review] check for "bookmarkProperties/loadInSidebar" annotation Will not sync changes if we'll clear a checkmark
Attachment #371212 -
Attachment is obsolete: true
Attachment #371212 -
Flags: review?(thunder)
Assignee | ||
Comment 5•15 years ago
|
||
Also, the condition in BMT_onItemChanged shall be chaged to:
> // ignore annotations except for the ones that we sync
> if (isAnno && (property != "livemark/feedURI" ||
> property != "livemark/siteURI" ||
> property != "microsummary/generatorURI")
> &&
> property != "bookmarkProperties/loadInSidebar")
> return;
Assignee | ||
Comment 6•15 years ago
|
||
(In reply to comment #5) New version of the patch
Attachment #371226 -
Attachment is obsolete: true
Attachment #371401 -
Flags: review?(thunder)
Attachment #371226 -
Flags: review?(thunder)
Updated•15 years ago
|
Target Milestone: -- → 0.4
Updated•15 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•15 years ago
|
Attachment #371401 -
Flags: review?(thunder) → review?(edilee)
Updated•15 years ago
|
Component: Weave → General
Product: Mozilla Labs → Weave
Updated•15 years ago
|
QA Contact: weave → general
Comment 7•15 years ago
|
||
The patch has been bitrotted by a number of landings from the dependency, but I'll update the patch for those.
Comment 8•15 years ago
|
||
Comment on attachment 371401 [details] [diff] [review] v3 pacth. With changes in BookmarksTracker >@@ -206,16 +206,22 @@ BookmarksStore.prototype = { >+ this._ans.setItemAnnotation(newId, "bookmarkProperties/loadInSidebar", >+ 1, 0, Places sets the annotation to true instead of 1, so we should follow that even though places only checks for "hasAnnotation." >@@ -471,16 +488,24 @@ BookmarksStore.prototype = { >+ _isLoadInSidebar: function BStore__isLoadInSidebar(id) { >+ try { >+ return this._ans.itemHasAnnotation(id, "bookmarkProperties/loadInSidebar"); No need to wrap this in a try/catch. >@@ -714,17 +740,19 @@ BookmarksTracker.prototype = { > // ignore annotations except for the ones that we sync > if (isAnno && (property != "livemark/feedURI" || > property != "livemark/siteURI" || >- property != "microsummary/generatorURI")) >+ property != "microsummary/generatorURI") >+ && >+ property != "bookmarkProperties/loadInSidebar") Why not follow the existing pattern? We can clean this up with an array check, but we might want to store some non-local array of annotations to track.
Attachment #371401 -
Flags: review?(edilee) → review+
Comment 9•15 years ago
|
||
http://hg.mozilla.org/labs/weave/rev/f96307ab1900 Thanks!
Assignee: nobody → mishail.mishail
Status: NEW → RESOLVED
Closed: 15 years ago
Component: General → Sync
QA Contact: general → sync
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•