Merge lp://staging/~michael-sheldon/webbrowser-app/fix-1531179 into lp://staging/webbrowser-app

Proposed by Michael Sheldon
Status: Merged
Approved by: Olivier Tilloy
Approved revision: 1318
Merged at revision: 1325
Proposed branch: lp://staging/~michael-sheldon/webbrowser-app/fix-1531179
Merge into: lp://staging/webbrowser-app
Diff against target: 181 lines (+73/-31)
3 files modified
src/app/webbrowser/Browser.qml (+38/-29)
src/app/webbrowser/DownloadsPage.qml (+9/-2)
src/app/webbrowser/Thumbnailer.qml (+26/-0)
To merge this branch: bzr merge lp://staging/~michael-sheldon/webbrowser-app/fix-1531179
Reviewer Review Type Date Requested Status
Olivier Tilloy Approve
PS Jenkins bot continuous-integration Needs Fixing
Review via email: mp+281650@code.staging.launchpad.net

Commit message

Dynamically load the thumbnailer image provider if it's available, otherwise fallback to mimetype images

Description of the change

Dynamically load the thumbnailer image provider if it's available, otherwise fallback to mimetype images

To post a comment you must log in.
Revision history for this message
Olivier Tilloy (osomon) wrote :

LGTM, thanks for working promptly on this.

One minor suggestion: in Thumbnailer.qml, instead of importing QtQuick and instantiating a visual item, you could import QtQml and instantiate a more lightweight QtObject.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Olivier Tilloy (osomon) wrote :

Just tested on a fresh xenial desktop install, and this is not sufficient to make webbrowser-app start. See https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1531179/comments/3.

review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1316. By Michael Sheldon

Only display the downloads page if both UDM and content-hub bindings are available

1317. By Michael Sheldon

Merge changes

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Olivier Tilloy (osomon) wrote :

Looks good to me. A couple of minor suggestions:

  - "id: downloadsLoader" is unnecessary, in onLoaded you can directly refer to item

  - a Loader is a FocusScope, so "downloadsLoader.item.focus = true" should not be needed

In fact for consistency it would be better if the FocusScope with id 'downloadsContainer' was made a Loader (like bookmarksViewLoader, historyViewLoader, and settingsViewLoader).

1318. By Michael Sheldon

Convert downloadsContainer FocusScope into a Loader for consistency with other views

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Olivier Tilloy (osomon) wrote :

LGTM, thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to status/vote changes: