Closed
Bug 957588
Opened 10 years ago
Closed 10 years ago
Bookmark navbar button is checked for non-metro bookmarks
Categories
(Firefox for Metro Graveyard :: Bookmarks, defect, P2)
Tracking
(firefox28 verified, firefox29 verified)
VERIFIED
FIXED
Firefox 29
People
(Reporter: jimm, Assigned: rsilveira)
References
Details
(Whiteboard: [release28] [defect] p=1)
Attachments
(1 file, 1 obsolete file)
1.89 KB,
patch
|
sfoster
:
review+
|
Details | Diff | Splinter Review |
If you use the navbar autocomplete to load up a page that you have bookmarked in desktop bookmarks, the bookmark button will be checked even though the site is not in the metro bookmarks on about:start.
Updated•10 years ago
|
Blocks: metrov1backlog
Whiteboard: [triage] → [triage] [defect] p=0
Updated•10 years ago
|
Whiteboard: [triage] [defect] p=0 → [release28] [defect] p=0
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → rsilveira
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8360765 -
Flags: review?(sfoster)
Comment 4•10 years ago
|
||
Comment on attachment 8360765 [details] [diff] [review] Patch v1 Drive-by comment: We should also change what happens in Browser.unstarSite -> Bookmarks.removeForURI. Instead of removing all matching bookmarks from all bookmark folders, we should only remove matching bookmarks in the Metro folder.
Attachment #8360765 -
Flags: feedback-
Assignee | ||
Comment 5•10 years ago
|
||
Comment on attachment 8360765 [details] [diff] [review] Patch v1 Clearing r flag, will r? after addressing mbrubeck's comments.
Attachment #8360765 -
Flags: review?(sfoster)
Updated•10 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
QA Contact: jbecerra
Whiteboard: [release28] [defect] p=0 → [release28] [defect] p=1
Assignee | ||
Comment 6•10 years ago
|
||
Feedback comments addressed.
Attachment #8360765 -
Attachment is obsolete: true
Attachment #8361240 -
Flags: review?(sfoster)
Comment 7•10 years ago
|
||
Comment on attachment 8361240 [details] [diff] [review] Patch v2 Review of attachment 8361240 [details] [diff] [review]: ----------------------------------------------------------------- Looks good and works well. We have no test coverage for this though, can we file a follow-up to add tests for the expected behavior - that non-metro bookmarks are not considered "bookmarked" from the UI's point of view. That'll make the intention clear and help us keep on top of regressions. We also need tests for UI behavior when adding and removing bookmarks - the appbar star button should be in the right state, and the bookmark should show up and disappear as appropriate in the startUI bookmarks grid. ::: browser/metro/base/content/bookmarks.js @@ +67,2 @@ > if (callback) > + callback(); Nit: Is there a reason for this function to explicitly not return the URI and item ids? Seems like it doesn't hurt - the callback can just ignore them?
Attachment #8361240 -
Flags: review?(sfoster) → review+
Comment 8•10 years ago
|
||
Comment on attachment 8361240 [details] [diff] [review] Patch v2 Review of attachment 8361240 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/metro/base/content/bookmarks.js @@ +67,2 @@ > if (callback) > + callback(); The caller already has the URI, and the relevant IDs are for deleted bookmarks and so they are no longer valid... so I think it's fair to remove this.
Assignee | ||
Comment 9•10 years ago
|
||
After irc discussion leaving callback parameters empty. Filed bug 961159 for test coverage. Thanks! https://hg.mozilla.org/integration/fx-team/rev/9f349f36c16e
Updated•10 years ago
|
Comment 10•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9f349f36c16e
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Comment 11•10 years ago
|
||
Temporarily reopening to add to Iteration #23 (Bug 961497)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•10 years ago
|
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•10 years ago
|
Whiteboard: [release28] [defect] p=1 → [release28] [defect] p=1 [approval-mozilla-aurora=metro-only]
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 12•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/8a39d0bb4c1f
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
Keywords: checkin-needed
Whiteboard: [release28] [defect] p=1 [approval-mozilla-aurora=metro-only] → [release28] [defect] p=1
Comment 13•10 years ago
|
||
Kamil, please verify this is fixed in the latest Nightly and Aurora builds.
Flags: needinfo?(kamiljoz)
Comment 14•10 years ago
|
||
Verified as fixed, for iteration #23, with both latest Nightly and Aurora on Win 8.1 64-bit.
Comment 15•10 years ago
|
||
Adding some other test cases to consider when going through this issue during the next iteration cycle: - Ensure that websites being opened via "Top Sites" don't appear as bookmarked on fxmetro if they have been bookmarked under fxdesktop - Ensure that websites being opened via "Recent History" don't appear as bookmarked on fxmetro if they have been bookmarked under fxdesktop - Ensure that bookmarking a websites under fxmetro that is already bookmarked under fxdesktop work without any issues - Ensure that you can bookmark/unbookmark websites and the bookmark icon under the Navigation App Bar is changed accordingly - Ensured that copy/pasting a URL in the Navigation App Bar that is already bookmarked under desktop doesn't appear bookmarked under metrofx - Ensured that fxdesktop bookmarks are not removed if you bookmark/unbook mark from fxmetro and switch over to the desktop environment
Flags: needinfo?(kamiljoz)
You need to log in
before you can comment on or make changes to this bug.
Description
•