== Meeting information == * #ubuntu-touch-meeting: Docviewer meeting, 15 Jan at 15:01 — 15:43 UTC * Full logs at [[http://ubottu.com/meetingology/logs/ubuntu-touch-meeting/2015/ubuntu-touch-meeting.2015-01-15-15.01.log.html]] == Meeting summary == == Vote results == == Done items == * (none) == People present (lines said) == * popey (38) * sverzegnassi (27) * meetingology (3) == Full Log == 15:01 #startmeeting Docviewer meeting 15:01 Meeting started Thu Jan 15 15:01:49 2015 UTC. The chair is popey. Information about MeetBot at http://wiki.ubuntu.com/meetingology. 15:01 15:01 Available commands: action commands idea info link nick 15:01 How are you? 15:02 You had exams this week? 15:02 Fine, thanks! I took the exam two days ago, and I think I did it well! 15:02 Excellent! 15:02 Now I have finally more time to work on code :D 15:02 \o/ 15:02 Even better ㋛ 15:03 So, I emailed the sailfish-office guy about the license question. No reply yet. 15:03 Will give it a couple more days and poke again, in case they're on holiday. 15:04 Uh, hope to get an answer soon! 15:04 We need a backup plan in case the answer is "no". 15:04 One option is for us to re-license the doc viewer as GPLv2.. 15:04 Any other alternatives? :) 15:05 During the xmas holidays I've worked on some experimental code 15:05 I think we could make things a little bit faster using some cache 15:06 (e.g. testing some relevant Android PDF reader, I've seen they use up to 300MB of RAM on my Nexus 5) 15:06 ouch. 15:08 We have an huge margin to use cache (I was thinking at 1/10th of the whole RAM - on krillin it would be 100MB for caching and around 80MB for UI and the rest of the app) 15:10 of course, we need to find the best trade-off for our purpose 15:13 Is this something that we could dynamically configure? 15:14 Do you mean an item in a setting page so user can set the value he prefers? 15:14 or something which is automatically set? 15:15 Either. 15:17 AFAIK there is nothing in Qt that gives us that information, so we should "manually" get that value (from /proc/meminfo) 15:18 Ugh. 15:18 We don't want the docviewer to consume all the ram, and cause other apps to all be killed 15:20 But, assuming that PDF page fetching is an expensive process even on PCs, it might be worth to have some cache somewhere 15:21 true 15:23 An alternative is to use a fixed value, e.g. 64MB, so that we can still pre-fetch pages and be able to resize pages without asking a new rendering (which takes a lot) 15:23 I think we need to test this out on each device really, with various PDFs 15:24 I fully expect someone to find a giant PDF which kills the app/phone at some point 15:24 But in my mind the use case is "Download pdf of flight ticket and view on device" over "Read entire 8086 instruction set book" 15:25 We should focus more on the former than the latter in my eyes. 15:25 Ahahah 15:27 I'll try to review the current code we have, re-implementing pages zoom and fixing the last issue we found 15:27 Did you have some news about confinement issue? 15:27 (we talked about it in December) 15:27 Remind me, sorry. 15:28 Pdf documents are copied in /user/.cache/ and opened from that path 15:28 ah yes. Sorry. no. 15:28 I will re-investigate. 15:29 Ok, I look forward for good news :) 15:30 :) 15:31 I'm also building a set of test cases for each app 15:31 for manual testing 15:31 What's your preferred pdfs you test with? 15:32 I have a load, but would be good to have some from different sources, and in different languages. 15:33 I use the Ubuntu 14.04 manual, some document (with tables) done with LibreOffice, and some books I need for university 15:34 (there was a big huge document of about 1200-1500 pages, but that was just an experiment) 15:34 heh 15:34 I'll grab some various PDFs and collect together for further testing. 15:35 Anything else? 15:37 The biggest issue are those we already talked. There are a few minor things (e.g. empty-state) but they should be ready in a week. 15:37 So, that's all I think. 15:38 Ooh! Empty state would be nice to get landed. 15:39 Yup, just need to find out the reason why it brokes everything 15:39 hah. 15:39 if you need me to find someone to help, let me know. 15:40 Ok, thanks! I already have an half solution, I need to find the other half... 15:42 :) 15:42 Ok, well have a great weekend, you know where I am if you need anything! :) 15:43 Have a great weekend you too! Thank you! 15:43 Cheers! 15:43 #endmeeting Generated by MeetBot 0.1.5 (http://wiki.ubuntu.com/meetingology)