Closed
Bug 511117
Opened 15 years ago
Closed 15 years ago
when page is loading and you bookmark via star, popup dialog doesn't show
Categories
(Firefox for Android Graveyard :: Bookmarks, defect)
Tracking
(fennec1.0+)
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
fennec | 1.0+ | --- |
People
(Reporter: jmaher, Assigned: mfinkle)
Details
Attachments
(1 file)
1.00 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
the new bookmark popup dialog is supposed to show when you click on the star to bookmark a URL. During a page load (tested on my maemo device) if you click on the star (the star turns yellow), you will not see the bookmark popup.
Assignee | ||
Comment 1•15 years ago
|
||
I removed the code to load the favicon in the places favicon service. This stops the bug (popup is displayed) and the favicon is still shown in the awesomebar and in the bookmark list. I guess we didn't need the code. Less is more!
Assignee: nobody → mark.finkle
Attachment #395064 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 2•15 years ago
|
||
Background: Error happens here: http://mxr.mozilla.org/mobile-browser/source/chrome/content/browser-ui.js#711 It seems that this._favicon.src is "", set in updateToolbar when loading. i suppose we could do a check and skip the favicon service
Assignee | ||
Updated•15 years ago
|
tracking-fennec: --- → ?
Updated•15 years ago
|
tracking-fennec: ? → 1.0+
Assignee | ||
Comment 3•15 years ago
|
||
On IRC Gavin asked if removing the code was wise, as Firefox does the same thing when bookmarking a page. To test this I started a new profile (no history or visits or favicons) and loaded several pages. I bookmarked the pages before they finished loading, although waiting until they were loaded would have made no difference since I removed the code to set the favicon in the favicon service. After bookmarking, I loaded the bookmark list and the favicon for each bookmark was present. It seems that we don't need the favicons.setAndLoadFaviconForPage called when bookmarking.
Assignee | ||
Comment 4•15 years ago
|
||
... and the reason is probably because we call favicons.setAndLoadFaviconForPage when we finish loading any page: http://mxr.mozilla.org/mobile-browser/source/chrome/content/browser-ui.js#168
Comment 5•15 years ago
|
||
Comment on attachment 395064 [details] [diff] [review] patch Oh, that's what Firefox does too!
Attachment #395064 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 6•15 years ago
|
||
pushed: https://hg.mozilla.org/mobile-browser/rev/a6da11ffd9b8
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 7•15 years ago
|
||
verified with 20090827 winmo trunk nightly
Status: RESOLVED → VERIFIED
Updated•14 years ago
|
Component: General → Bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•