15:02 <popey> #startmeeting Docviewer meeting
15:02 <meetingology> Meeting started Thu Nov 27 15:02:02 2014 UTC.  The chair is popey. Information about MeetBot at http://wiki.ubuntu.com/meetingology.
15:02 <meetingology> 
15:02 <meetingology> Available commands: action commands idea info link nick
15:02 <popey> The other day chocanto (Anthony Granger) popped up on irc.
15:02 <popey> He was the guy who first started contributing to docviewer
15:02 <popey> has he been in touch with you?
15:03 <sverzegnassi> Yep, I wrote him before the UOS
15:03 <popey> ok
15:03 <popey> heh
15:03 <popey> hello chocanto !
15:03 <chocanto> hey ! :)
15:03 <sverzegnassi> Hi!
15:04 <chocanto> Hey sverzegnassi :)
15:04 <popey> so is chocanto up to speed with what's been happening recently?
15:05 <chocanto> hum depend of what ^^
15:05 <sverzegnassi> I think so. I wrote him about the performance issue we have and I asked him about which was the state of the project when he left
15:06 <popey> Ok.
15:06 <popey> So right now the docviewer is in the store.
15:06 <popey> But sverzegnassi had some ideas for improving performance.
15:06 <chocanto> oh good news :)
15:06 <sverzegnassi> I've spotted it!
15:06 <popey> \o/
15:06 <chocanto> i have to look at the store so
15:07 <sverzegnassi> popey: did you take a look at the thing I sent you before the meeting?
15:08 <popey> i did
15:08 <sverzegnassi> chocanto: i'm talking about a porting of the poppler-plugin used in sailfishos
15:08 <popey> http://popey.mooo.com/screenshots/device-2014-11-27-150811.png
15:08 <popey> thats me using it to view a pdf scan of an old magazine
15:08 <sverzegnassi> There is a problem with zoom because I started to fix an issue with pages that have a different size
15:09 <popey> zooming is a bit wierd
15:09 <popey> yeah. ☻
15:09 <sverzegnassi> I started but I haven't finished it yet :P
15:09 <popey> It's a good start.
15:10 <chocanto> well i remembered creating zoom
15:10 <chocanto> but i never finished it
15:10 <sverzegnassi> I've run some benchmarks, what I found is that loading is very slow if the page has some image
15:10 <sverzegnassi> and this happens with the sailfish plugin too
15:10 <chocanto> i was too much shaking
15:11 <sverzegnassi> which is more optimized than the code we currently have
15:11 <chocanto> well, everything would be more optimized than our code :p
15:11 <popey>15:11 <sverzegnassi> ahahah indeed :)
15:12 <chocanto> so yes i think it's a good idea to fork sailfish
15:12 <chocanto> fork or simply use it first
15:13 <sverzegnassi> I think that we could provide some patch upstream (at the moment no one is working on it)
15:13 <sverzegnassi> (e.g. https://github.com/sailfishos/sailfish-office/issues/3 )
15:13 <popey> If we can use their code as is, and can contribute to it, then that's the right thing to do.
15:14 <popey> "There aren't many folks working on the office viewer"
15:14 <popey> to be fair, there aren't "many" people working on ours either :D
15:15 <sverzegnassi> Yep, the only changes that i did to the code was to start fixing that issue and to change a line in the CMakeLists.txt file
15:15 <sverzegnassi> (forgot the #include which is different)
15:16 <chocanto> ok, so i know what if will read this w-e, some sailfish code :p
15:16 <popey> Do you know if they plan to continue using that code?
15:17 <sverzegnassi> Don't know, but I suppose yes
15:17 <popey> They're making "Sailfish 2.0" for their crowdfunded tablet
15:17 <popey> I don't know how much of that uses this existing stuff.
15:18 <sverzegnassi> The only thing that I know is that I tested it on sailfishos and it works nicely.
15:19 <popey> ok
15:20 <sverzegnassi> Alternatively, I've tried to "cheat" with the orientation, to hide the page loading to the user: https://www.youtube.com/watch?v=YpW3LVYz8BY
15:20 <popey> i like that page transition
15:21 <sverzegnassi> The idea behind this is that a gesture is slower than the "unlimited" vertical flow we have now
15:21 <chocanto> yeah but it is "natural"
15:22 <popey> it makes sense for a PDF made from saving a web page maybe
15:22 <chocanto> I mean, the vertical one is nice when you need to read some informations fastly, and horizontal one for books
15:22 <popey> yes, +1
15:23 <popey> So what's the next steps chaps?
15:24 <sverzegnassi> We have still those two branches to be reviewed :P
15:25 <chocanto> And after that ?
15:25 <sverzegnassi> Then I started another branch with some fixes for scene rendering
15:25 <popey> Ah yes, chocanto can you take a look at those outstanding branches?
15:26 <sverzegnassi> After that, we should definitely find a solution for the pdf plugin
15:26 <chocanto> yes of course, i will try to catch up
15:26 <sverzegnassi> if re-write him, or use something different (mupdf) or re-use an already-existing plugin
15:27 <sverzegnassi> *re-write IT
15:27 <popey> super, thanks chocanto
15:27 <chocanto> no *him, he is like a baby for me
15:27 <sverzegnassi> ahahah, sorry :)
15:27 <chocanto> an ugly baby, but a baby
15:27 <popey> haha
15:28 <sverzegnassi> I don't want to kill a baby, then
15:28 <chocanto> the question is : what is the faster solution
15:29 <chocanto> *fastest
15:29 <sverzegnassi> use the plugin from sailfish, I think.
15:29 <chocanto> so we use this plugin
15:29 <chocanto> it's faster and better
15:29 <sverzegnassi> MuPdf would require some work on the Qt bindings, since not all the features we need are already implemented
15:30 <sverzegnassi> Actually it's faster, it provides a sorted queue of page request (which was the thing I wrote you some week ago)
15:30 <sverzegnassi> *requests
15:30 <sverzegnassi> and it's well-optimized
15:31 <sverzegnassi> It has just that bug I talked about earlier
15:31 <chocanto> ok nice :)
15:31 <sverzegnassi> (of course, last three sentences refers to sailfish's plugin)
15:31 <chocanto> i'm sorry i have to go, but thank you again sverzegnassi for your precious help
15:32 <sverzegnassi> ok, see you! bye! :9
15:32 <sverzegnassi> :)
15:32 <popey> thanks chocanto !
15:32 <chocanto> If needed contact me via mail sverzegnassi
15:32 <chocanto> by sverzegnassi popey
15:32 <chocanto> *bye
15:32 <sverzegnassi> ok! bye!
15:33 <popey> that sailfish branch works really nicely
15:33 <popey> need to file a bug in content hub I think, its a bit slow transferring files between file manager and docviewer
15:34 <sverzegnassi> Yep, content-hub needs still some adjustments
15:34 <sverzegnassi> (i've seen the same when trying to save an image from one of my apps)
15:35 <popey> ok
15:36 <popey> oh, by the way, you may have noticed we finally made quickmemo a top app ☻
15:36 <sverzegnassi> Yes, I saw it yesterday
15:37 <popey> looks like balloons has fixed jenkins building of docviewer
15:38 <popey> so when those branches are landed we should be able to trigger a click build and upload (if you want)
15:38 <popey> (to the store)
15:39 <sverzegnassi> I think it would be better to have this one merged, before uploading:
15:39 <sverzegnassi> https://code.launchpad.net/~verzegnassi-stefano/ubuntu-docviewer-app/performance-pt1
15:39 <popey> okay
15:40 <sverzegnassi> it's almost ready, they are just small fixes for the QML scene (clipping, cacheBuffer, etc)
15:41 <popey> k
15:41 <popey> Ok. Anything else to discuss?
15:41 <sverzegnassi> No, I think that's all!
15:44 <popey> Excellent!
15:44 <popey> Aweome work as always!
15:44 <popey> Have a great weekend.
15:44 <popey> #endmeeting