15:00 <popey> #startmeeting docviewer meeting
15:00 <meetingology> Meeting started Thu Mar 19 15:00:39 2015 UTC.  The chair is popey. Information about MeetBot at http://wiki.ubuntu.com/meetingology.
15:00 <meetingology> 
15:00 <meetingology> Available commands: action commands idea info link nick
15:00 <popey> hi sverzegnassi :)
15:00 <sverzegnassi> o/
15:01 <popey> I wanted to clarify my email :)
15:01 <popey> I wasn't trying to add things to your (already long) to-do list.
15:01 <popey> But the mail was directed at Robert because he has some experience with scopes
15:01 <sverzegnassi> there's no problem for that :)
15:01 <popey> I was _hoping_ he would be able to join us, and as he has experience of scopes, help develop that.
15:02 <sverzegnassi> i was saying that it may be a problem if we need to change something in the app
15:02 <popey> (and maybe take some other things off your to-do list too) :)
15:02 <popey> understood
15:02 <sverzegnassi> (this is also something i need to discuss during this meeting)
15:02 <popey> ok, go for it.
15:03 <sverzegnassi> things will be very slow in the next weeks
15:03 <popey> You're really busy?
15:04 <sverzegnassi> heh, i have lessons 5 days on 5, i get back home at 4-5 pm
15:04 <sverzegnassi> having also some tests during the "lesson period", i can only find some time in the weekend
15:05 <popey> Ok, understood.
15:05 <sverzegnassi> also, i have a test on 23rd, March, so i'm not working on the app during these days
15:06 <popey> Ok, good luck with your test!
15:06 <sverzegnassi> tnx :)
15:06 <popey> So this week people start getting their bq devices they ordered.
15:06 <popey> Many of these people are developers.
15:06 <popey> I have a blog post to write for next week.. "Now you have your phone..."
15:06 <popey> aimed at developers
15:06 <popey> To pull in new people to core apps.
15:06 <sverzegnassi> \o/
15:07 <sverzegnassi> it would be great
15:07 <popey> I feel strongly that once a few hundred/thousand developers get their phone, they will want to help.
15:07 <sverzegnassi> really hope so :D
15:08 <sverzegnassi> next question: how's the meizu? :P
15:09 <popey> Fast.
15:09 <popey> We need to fix the multi-core rendering
15:09 <popey> this thing is 8 cores!
15:09 <popey> but it's only using one most of the time.
15:09 <sverzegnassi> yeah! i was reading about that some hrs ago
15:09 <sverzegnassi> 8 cores at the same time, it's a nice boost!
15:09 <popey> http://people.canonical.com/~alan/screenshots/device-2015-03-19-150947.png
15:10 <popey> the docviewer process gets pegged at 100% cpu on one core at the moment
15:10 <popey> I still think we should hard-wire the multi-core to 4 for now :)
15:10 <sverzegnassi> O.O
15:10 <sverzegnassi> how much RAM has it?
15:11 <popey> 2G
15:11 <popey> the scrolling is super fast, but the pages "pop" in when they are rendered
15:11 <sverzegnassi> heh, so the way the app manages multi thread should be tweaked a bit
15:11 <popey> (as you would expect when single threaded)
15:12 <sverzegnassi> the cache buffer depends on the number of threads
15:13 <sverzegnassi> if we will want to use all the 8 cores, it may need some tweak in order to avoid using too much ram
15:14 <popey> ah, ok
15:14 <popey> right now it's using 3.7% RAM
15:15 <sverzegnassi> huh, by the way, i've seen some days ago, while i was at lessons and i was using docviewer to read one of my books,
15:15 <popey> oh, now it's using more than one core....
15:15 <popey> http://paste.ubuntu.com/10628147/
15:15 <sverzegnassi> the phone goes out of memory, and the OS killed the app and the keyboard
15:15 <sverzegnassi> i had to reboot the phone...
15:15 <popey> erk
15:17 <sverzegnassi> it has been pretty strange... need to reproduce the bug
15:18 <popey> unfortunately once memory gets full, there's not a lot you can do.
15:18 <sverzegnassi> i expected that keyboard would have been launched again
15:19 <popey> yeah, it should.
15:19 <popey> so yeah, a bug would be good.
15:20 <sverzegnassi> will try to reproduce it, to have some log to post in the report
15:20 <popey> Did you get any time to look at zooming?
15:21 <sverzegnassi> i tried to see which could be the reason of that strange behaviour. i feel like it's due to an update of visible pages
15:21 <sverzegnassi> http://bazaar.launchpad.net/~ubuntu-docviewer-dev/ubuntu-docviewer-app/trunk/view/head:/src/app/qml/pdfView/PdfView.qml
15:22 <sverzegnassi> just a theory, cache buffer depends on the value of zoom
15:22 <sverzegnassi> (otherwise it uses a lot of memory)
15:23 <sverzegnassi> i think that the position of pages changes while the animation is already running. i should deeply track all the signals/bindings that are emitted
15:23 <popey> Sounds plausible.
15:24 <sverzegnassi> or fix the C++ class
15:24 <sverzegnassi> which would require some additional work, but the result would be a lot cleaner
15:25 <sverzegnassi> we already know the size of all the pages, since they are read while loading the PDF document
15:26 <popey> Right. Seems like something we could put a call out for help on next week.
15:26 <sverzegnassi> ok.
15:27 <sverzegnassi> i have some question about the scope
15:27 <popey> ok.
15:28 <sverzegnassi> is the code of default scopes (images, music, ...) on launchpad?
15:28 <popey> some of them.
15:29 <popey> https://code.launchpad.net/~cwayne18 is a good place to look as he wrote many
15:29 <popey> however, some are not yet open, we're working on it
15:30 <popey> https://launchpad.net/ubuntu-news-scope for example
15:30 <sverzegnassi> ok, thanks
15:31 <popey> Ok, anything else?
15:31 <sverzegnassi> i have only a night-mode done this week
15:32 <popey> oh, excellent!
15:32 <sverzegnassi> it has been something fast to do, using shaders. i'll push the code on launchpad in the next days
15:33 <popey> great, look forward to it.
15:33 <popey> Does full screen mode need a lot more work?
15:34 <sverzegnassi> if you mean hiding the unity panel, it may be a bit of work
15:34 <sverzegnassi> since, AFAIK, we should also manage different screen sizes
15:35 <sverzegnassi> (i.e. we don't want to hide unity panel on tablets)
15:36 <popey> I disagree.
15:36 <popey> I think we should hide the header always, until the user taps, no matter what form factor
15:36 <popey> It's what the gallery does.
15:37 <sverzegnassi> huh, my fault. this just refers to landscape mode:
15:37 <sverzegnassi> https://bugs.launchpad.net/webbrowser-app/+bug/1426347
15:37 <popey> ahhh
15:38 <sverzegnassi> so yes, until we handle the app rotation, it's not an issue
15:39 <popey> ok
15:39 <popey> ok, shall we wrap up?
15:39 <sverzegnassi> there's nothing more to discuss, i think :)
15:40 <popey> Ok, thanks sverzegnassi. have a great weekend.
15:40 <popey> #endmeeting