Add optional image preview support to Places
Categories
(Toolkit :: Places, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox97 | --- | fixed |
People
(Reporter: mak, Assigned: mak)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Adding optional thumbnails support to Places, not used by the UI yet. This is built on top of the existing BackgroundPageThumbs.jsm implementation.
Assignee | ||
Comment 1•2 years ago
|
||
Add a tombstones table for thumbnails, when places.thumbnails.enabled is true
this table is filled by an after delete trigger on moz_places.
This will then be used by PlacesThumbs to remove orphan thumbnails.
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Add a PlacesThumbs.jsm module that offers an alternative long term storage of
thumbnails. Thumbnails are stored using md5 hash of the page url, in WebP format.
Removals happen using the moz_thumbs_tombstones table, orphans removal happens
on Places weekly maintenance.
The same moz-page-thumb: protocol that is currently used for volatile thumbnails,
can be used with Places thumbnails, by using places-thumbnails as host.
All the feature is behind the places.thumbnails.enabled pref, not enabled yet.
Depends on D131915
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/22241a8445f9 Add Places Previews tombstones table. r=Standard8 https://hg.mozilla.org/integration/autoland/rev/7fa69b62b226 Add a Places Previews module. r=Standard8
Comment 4•2 years ago
|
||
Backed out for causing android build bustages in PageThumbProtocolHandler
Backout link: https://hg.mozilla.org/integration/autoland/rev/f3ca8755ab56e691e1e52ce495dc685a6636d2bb
INFO - In file included from Unified_cpp_netwerk_protocol_res0.cpp:11:
[task 2021-12-20T15:34:41.917Z] 15:34:41 INFO - /builds/worker/checkouts/gecko/netwerk/protocol/res/PageThumbProtocolHandler.cpp:26:10: fatal error: 'nsIPlacesPreviewsHelperService.h' file not found
[task 2021-12-20T15:34:41.917Z] 15:34:41 INFO - #include "nsIPlacesPreviewsHelperService.h"
Assignee | ||
Comment 5•2 years ago
|
||
ah of course, Android doesn't have Places, i should ifdef it.
Assignee | ||
Updated•2 years ago
|
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/90d7643c5df5 Add Places Previews tombstones table. r=Standard8 https://hg.mozilla.org/integration/autoland/rev/106d816cc758 Add a Places Previews module. r=Standard8
Comment 7•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/90d7643c5df5
https://hg.mozilla.org/mozilla-central/rev/106d816cc758
Description
•