Problem solved, I found the solution in the address-book-app[1][2]. Now the branch is really ready for a review.
Please review (and approve, if it's ok) this branch first: https://code.launchpad.net/~verzegnassi-stefano/ubuntu-docviewer-app/fix-1387651-1387023/+merge/240304 The branch has some bugfixes related to qml-file-plugin and qml-poppler-plugin. In details: * Fixed a problem with AppArmor while trying to get mime type for a file with QProcess and /usr/bin/file. (lp:1387651 <https://code.launchpad.net/bugs/1387651>) * Added creation date property in file-qml-plugin (lp:1387023 <https://code.launchpad.net/bugs/1387023>) * Workaround for an issue in poppler-qml-plugin (PDF pages were loaded twice) And a bugfix for manifest.json.in: * Now 'architecture' field value in manifest.json.in is set by CMake while building the project. Then merge this branch: https://code.launchpad.net/~verzegnassi-stefano/ubuntu-docviewer-app/content-hub-support/+merge/240331 This is the branch related to ContentHub. I suggest you to install the latest revision of filemanager-app on your device, which provides the support for the ContentTypes used by docviewer-app. Thank you again! Cheers, Stefano [1] http://bazaar.launchpad.net/~phablet-team/address-book-app/trunk/view/head:/src/imports/ContentHubProxy.qml [2] lines 159-169: http://bazaar.launchpad.net/~phablet-team/address-book-app/trunk/view/head:/src/imports/MainWindow.qml 2014-11-04 16:38 GMT+01:00 Stefano Verzegnassi <[email protected]>: > Hi all, > > There are still some issue with my MP that I'd like to solve or at least > workaround. > While exporting a file from an external source (e.g. filemanager), Content > Hub's ContentPeerPicker is still visible on background, even if its parent > page has been deleted from the pageStack. > I've already found a workaround for it, but I don't like very much its > implementation (it's about moving the WelcomePage outside the page stack, > so it can be shown/hidden through its 'visible' property). > Probably, I will end up using a "custom" implementation of > ContentPeerPicker, using a ContentPeerModel as base. > > Another problem is about the "Creation time" info in the Details page. > Since Content Hub creates a local copy of the requested file, the creation > time is equal to the time of the import request (and this makes the > information useless in a confined environment). > > There are some little fine adjustments I'd like to see before releasing > docviewer on the store: e.g. I think that the app still needs some > improvements on code readibility. > > I've tried to open all the supported type of file on my device and I > haven't found any relevant issue while importing files through > filemanager-app. > Arto, it would be very appreciated if you could provide further > informations on the issues you found. > Feel free to comment on my MP[1] or on this mailing list. > > Thank you all! > > Cheers, > Stefano > > [1] > https://code.launchpad.net/~verzegnassi-stefano/ubuntu-docviewer-app/content-hub-support/+merge/240331 > >
-- Mailing list: https://launchpad.net/~ubuntu-touch-coreapps Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-touch-coreapps More help : https://help.launchpad.net/ListHelp

