Tuesday, 2019-12-17

*** zbenjamin_ is now known as zbenjamin02:27
*** frinring_ is now known as frinring02:37
tmynttinAre the tab headers in the phone app of 3.2.1 a (known) issue? They are oddly positioned and do not respect os font size.08:07
chriadamby oddly positioned, if you mean "right-aligned" then yes, that's actually intentional08:10
chriadambut the os font size issue sounds like a bug ^ jpetrell08:11
chriadamhi dcaliste08:11
chriadamI hope you had a good week08:11
dcalisteHello chriadam, sorry to be late today.08:11
chriadamno problem at all08:11
dcalisteI'm reading your remarks on mkcal!3008:12
chriadamjust minor, probably I misunderstood what sets the rv int08:13
dcalisteI'll answer more thouroughly later today, but rv is used in the macros they have defined to wrap sqlite calls.08:13
chriadamyep, figured might be something like that08:13
dcalisteIf I remember correctly.08:13
tmynttinOk. To me the right alignment seems a bit ugly. I think it used to be prettier in earlier versions08:13
chriadamI saw at least one other place where the rv wasn't set explicitly but used afterwards, so I figured it was some macro magic somewhere08:13
chriadambut wasn't sure, thought I'd check08:13
dcalisteIn the macro, I think it is set unconditionaly.08:13
dcalistelike rv = sqlite_bla_bla(); if (rv != no error) goto error.08:14
chriadamtmynttin: the UX designers have their reasons, I guess.08:14
chriadamdcaliste: indeed08:14
dcalistepvuorela would like to remove these macros and rewrite a bit the whole sqlite part without macros and variable sets without seeing them set. It makes sense, it's lower in my todo list though…08:15
dcalisteI need to figure out what is wrong with this quickly : https://together.jolla.com/question/219312/321-new-caldav-calendars-not-syncing-anymore-xa208:17
dcalisteI cannot reproduce for the moment, I hope the reporter will send me the failing ICS data. But trying to reproduce on caldav master, I'm obtaining another issue with exception that are reappearing. Feeling bad !08:18
dcalisteI need to investigate this quickly.08:18
chriadamnot to worry, our testers didn't find those issues themselves08:19
chriadamthank you for investigating those08:19
chriadamwould be good if we could add repro instructions using an internal nextcloud server or something to our internal test case asset so that testers can ensure things don't regress in future, but not sure our testers have the bandwidth currently for such work unless it's wanted from our corporate customers unfortunately08:20
chriadamdcaliste: I will merge the mkcal PR tonight, along with your caldav PR for the purge support08:22
dcalisteYes, thank you.08:22
chriadamflypig was working on implementing email folder sync support for other backends (including exchange) so I think he might have some questions for you about that this week?  not sure08:22
chriadamor maybe he already contacted you08:22
dcalisteSure, I'm available this week.08:23
chriadamthanks, I've just pinged him to ask, in case he had something, or whether I was mistaken08:24
dcalisteI find the buteo-syncfw QML binding quite convenient to follow what is appending with the caldav sync. In one glance, I can see if there was an issue in sync like I know I've modified one event upstream and I see it in the log.08:27
chriadamwell, I guess he must have stepped away from his keyboard for the moment08:27
dcalisteWhat do you think of it ?08:27
chriadamconceptually, I agree it's important, and that we should add support for viewing such information to the UI08:27
dcalisteHe can ping me whenever he want this morning, tomorrow all day and Thursday also.08:27
chriadamcurrently, I don't think there's any concrete plan for adding this to the UI yet - need to discuss with jpetrell about how to get such feature added to roadmap08:28
chriadamand I have yet to check the PR.  I will add Bea to that one also.08:28
dcalisteThanks, the most important part is the QML API. After, we can have a separated app in store to view logs waiting for UI inclusion in a proper manner.08:29
dcalisteIt's something (the QML bindings) we can discuss in the coming weeks (months) to polish it so it be merged at one point.08:30
dcalisteAs mentioned in the MR discussion, there are various things to agree on : like inside Buteo or in a separate package, With changes or not to the API of the SyncLog and SyncResults…08:31
chriadamyep, definitely08:31
chriadamtranslatable error strings also, or how to expose some stuff to user visible ui08:31
flypigdcaliste, chriadam, was away, missed your message. dcaliste, I do have a query about folder sync if I may?08:32
dcalisteExactly. And for a longer term, should we keep this read-only or should we make it possible to update the sync profile ? This would be then redundant with some parts in sailfish-component-accounts…08:33
dcalisteflypig: sure, go ehead.08:33
chriadamdcaliste: wow, seems like some nice cleanup done also as part of that PR (ensuring consistent use of error codes etc).  great work.  definitely look forward to progressing this one further after christmas break08:33
chriadamdcaliste: long term, offering a consistent QML api makes sense, IMO.  sailfish-components-accounts exists as implementation detail, nothing more..08:34
chriadamso, adding write capability also is a worthy goal08:34
chriadambut can look at that later on I guess :-)08:34
chriadamflypig: no worries, please do08:35
flypigThanks :) So, first question, I was wondering about your choice to integrate the configuration with buteo, rather than nemo-qml-plugin-email.08:36
flypigSecond question, it seems to me that the synchronizationEnabled flag is currently strict: turning it off makes it impossible to sync a folder (e.g. through the pulley menu of that folder). So I will make it weaker so it only applies to full syncs. Do you see any problems with that.08:36
flypigFor the first question, just to be clear, it's not a criticism, just a genuine query.08:37
dcalistechriadam: about sailfish-component-account, this is not retiring this one, because we still need bindings for libaccount, but it would move (rewrite due to license) the buteo profile out of it. But it's long term indeed.08:38
dcalisteAbout having buteo QML having write possibilities, would make the current naming a bit messy : I've called it called SyncProfileWatcher :/08:39
dcalisteNeed to think to something else…08:39
dcalisteflypig: about the email sync folder you mean ?08:40
flypigdcaliste, yes, sorry, should have been clearer. Both questions concern folder sync.08:40
dcalisteBecause in my opinion, it is a sync property : you want the automatic sync to look at certain folders.08:40
dcalisteThe manual sync (driven by the UI) is still using the nemo QML bindings.08:41
flypigYes, makes sense. But currently the config changes filter down and apply to all syncs, yes?08:41
dcalisteI prefered to keep the nemo bindings generic and specialise in buteo for the previously mention reason.08:41
flypigThere are two sides to this: what the user understands the config options to do, and what is the correct code structure (which the user doesn't care about).08:42
dcalisteAbout the second question : ah it's something I didn't notice when investigating using this flag to schedule certain folders only.08:42
dcalisteThat's bad indeed that it is changing non automatic sync behaviour.08:43
dcalisteI was thinking that this flag was used only when asking for sync, if you ask for a specific folder, it is synced anyway.08:44
flypigI don't necessarily think that's bad. If I do a sync from the accounts menu, or the combined inbox, it may be reasonable for the user to expect this behaviour.08:44
dcalisteBut the UI is asking for sync in general when you long press on an account, that's the issue, right ?08:44
flypigThere are, I think, at least four different sync mechanisms.08:45
dcalisteOr I thought the UI was triggering an inbox sync only when choosing 'sync' from long press or pulley.08:45
flypigLong press on account; timed sync; "always-on" sync, combined inbox; specific folder.08:45
flypigSorry, that's five!08:45
dcalisteOk, let's review them, I agree so it's clear for both of us.08:45
dcalisteOk, I'm looking in the ocde which routine they are triggering…08:46
flypigIntuitively, I expect the first four to respect the folder sync settings.08:46
dcalisteMmh, yes I gree.08:47
dcalisteWhich finally would have make sense to put the flag assignment logic in nemo bindings ;)08:48
flypigWell, possibly, but that's why the question arose.08:48
flypigIt's messy. They start at "EmailAgent::synchronize" or "EmailAgent::synchroniseInbox", or in the last case "EmailAgent::retrieveMesssageLists"08:48
flypigBut they all end up going through "qmf/plugins/imap" ImapServiceSource::retrieveMessageList08:49
flypigIt's a bit unfair to throw this at you without warning, but does that look right to you?08:51
dcalisteYes, and underneath, I think it's going to reach QMailActionRetrieval, right ? with tye synchronize method or the retrieveMessages one ?08:52
dcalisteflypig: it's ok, no worry, I digged into this some months ago now, but I still remember some parts.08:53
dcalisteI'm looking into the imap plugin, because it's the part that I master less :/08:53
dcalisteWell, going back to email agent, there are ::synchronize() which is triggering a synchronize action, and ::synchronizeInbox() which trigger a RetrieveMessageList action.08:55
dcalisteIn execute, the Synchronize action, is calling retrievalAction->synchronize(), while retrieve message list is calling retrievalAction->retrieveMessageList().08:57
dcalisteNow, looking into qmailserviceaction…08:57
flypigIt's a bit obfuscated by the queuing, signals and services.08:59
dcalisteYeh, I agree.08:59
flypigI ended up, in all cases, at an "emit QMailMessageServerPrivate::retrieveMessageList(... folderId...)09:00
dcalisteSo, the synchronize call in qmailserviceaction, it calling a QMailRetrieveMessageListCommand, that may be filtered by the flag (or not, checking).09:00
dcalisteflypig: ok, I agree, and we end up in a ImapRetrieveMessageListStrategy, right ?09:06
*** gigetoo_ is now known as gigetoo09:11
*** tobbez_ is now known as tobbez09:11
*** mp107_ is now known as mp10709:11
*** imdeni_ is now known as imdeni09:11
*** timeless_ is now known as timeless09:11
dcalisteflypig: which itself is always checking for the falg to be set, whatever the caller, so the "manual" triggering of a folder is not working then.09:11
dcalisteThat's the issue, right ?09:11
flypig_Yes, exactly. The flag is tested in imapstrategy.cpp. ImapFolderListStrategy::nextFolder()09:12
dcalisteI see, indeed.09:12
flypig_I discussed with pvuorela_, and we both agree that relaxing it for full syncs (where the folderId is invalid) would make sense.09:14
flypig_But we're not 100% sure this won't have side effects.09:15
dcalisteWhich raises the question, how to properly correct this… should we overload the nextFolder() to ignore the flag when accountFolderIds is all, or something else…09:15
dcalisteAh, same idea ;)09:15
flypig_Yes :)09:15
dcalisteBut same concerns…09:15
*** yofuh_ is now known as yofuh09:15
dcalisteSide effects is highly possible here, as we can see for this synchronization flag…09:16
flypig_Yes, there's a lot going on, and it's hard (at least for me) to get a full picture.09:16
dcalisteI cannot answer now of course. I'll review this possibility and try to figure out a failing case, or not before next Thursday.09:17
flypig_Of course, I totally appreciate.09:18
flypig_Would you be happy for me to commit an overloaded nextFolder() to try out, and give me your thoughts?09:18
flypig_The nice thing with your overload suggestion is that it can be assigned to only apply to message retrieval, and not the other cases where nextFolder() is called.09:18
dcalisteIt's hard for me also to follow all possibilities in this code. All files are very long with a lot of entry points. But yeh, more eyes cannot hurt the cause.09:19
dcalisteflypig_ indeed, go ehead, I'll review what you can propose. And indeed, the overload would kind of limit the spread of the modifications. A little…09:19
dcalistes/ehead/ahead/.09:20
flypig_Great, thank you. Perhaps you could also ping me if you have further thoughts on it?09:20
flypig_As I look through the code I'm repeatedly reminded of how poor my understanding of this is compared to yours.09:20
dcalisteSure, I'll keep IRC up for the next two days. After, I'll be on vacation leave (from IRC at least ;), but I'll read my emails.09:21
dcalisteOh, I'm not at all feeling confident with this code neither !09:21
flypig_I'm amazed at how many layers there are to triggering an email sync ;)09:22
flypig_Thank you! Let's leave this here then, so you can carry on your meeting with chriadam.09:22
dcalisteThe qmailmessage part is fine, but the part related to message server is terrific.09:22
flypig_The EAS stuff has the benefit of having an extra sailfish-eas layer as well.09:23
dcalisteflypig, thank you for dealing with the mess implied by my changes ;) I'll review your proposition and try to be a bit more confident with its success.09:23
flypig_dcaliste, not a mess at all. As long as there are no side-effects with this approach, then I think it'll work out nicely.09:24
chriadamthanks :-)09:24
chriadamI'm not sure there is more to discuss on our side.  I will merge the mkcal and caldav PRs.  I will discuss further with pvuorela about the "extra day" PRs to get us closer to upstream.09:25
chriadamwas there anything else which requires action from my side this week?09:25
dcalistechriadam: yes, thank you. I'll try to figure out the initial sync regression noticed on TJC from my side, and the one I notice trying to debug it…09:26
dcalisteWhen you have time, with jpetrell and pvuorela and Slava Monic also, you can comment on the design decisions for the Buteo QML bindings.09:27
chriadamyes, I will discuss with Bea tomorrow09:27
dcalisteSure, and Bea sorry.09:27
chriadamthanks for spending the effort to implement that!  and for your practivity with investigating those caldav issues.  your time and effort is much appreciated as always!09:27
dcalisteAnd, thanks for the Google account quick fix ;)09:27
chriadamI won't be here next week - heading away for a week over Christmas09:28
chriadamheh.09:28
dcalisteAh, yes, I wanted to say, that the next two Tuesday, I'll be off.09:28
chriadamyep, figured that might be the case - I hope you have a great christmas break09:28
dcalisteI'll read my emails, and keep an eye on git and TJC, but won't be able to have this meeting.09:28
chriadamyep, please ignore any emails or PRs over your holiday!  I will see you in 3 weeks :-)09:29
dcalisteIn addition, I'll have a full day meeting at work the 7th.09:29
chriadamok, 4 weeks ;-)09:29
dcalisteSo maybe next meeting will be January the 14th, indeed.09:29
chriadamsounds good :-)09:29
chriadamsee you then!09:30
dcalisteHave a nice Christmas period and summer vacations if you have.09:30
chriadamthanks, will do09:32
* chriadam -> home, gnight09:32
olAny updates on Aptoide situation? Is it still unsafe to use it?14:06
malhttps://together.jolla.com/question/217843/release-notes-321-nuuksio/#217843-update-version-history14:07
olmal (IRC): Yes, I'm asking about this: "Aptoide is working on this to get the issues eliminated". The last update was from last Thursday, so I'm wondering whether the issue is already resolved or not.14:09
mkolman_I wonder how this came about - did they hijack some update built-in update functionality in the Aptoide app itself ?15:38
mkolman_or was modified Aptoide submitted to Jolla store ?15:39
mkolman_still not really a good situation, given how long this has been dragging on15:39
flipper-maniaclast message I saw from jolla is that aptoide needed to be abandoned asap16:32
*** Dakon_ is now known as Dakon17:40
* attah starts XA2 for making app screenshots19:54
attah#justlongphoneproblems19:54
attahAny hint on how i might track down 2GB random "system files", that are blocking upgrading? All info just seems to deal with user files...20:53
malattah: from commandline you could use "du -hs /*" and then individually check the subfolders that look very big21:23
paleblueskyhey21:25
attahmal: hmmm, nothing that really sticks out21:28
attahoh21:31
attahwrong device21:32
attahas a semi-defence i didn't manage to free up any meaningful space on it either21:33
malattah: which device is that?21:37
maland where do you get the error?21:37
attahXA2 (having issues), but i was accidentally logged in to my longphone21:38
malat which point do you see the message about space?21:38
attahJust before executing the install21:38
attahbut the update is downloaded21:39
malshow output of "df -h"21:39
attahhttps://pastebin.com/7sQMJpCc21:39
malwhere does the space go based on du -hs /* ?21:40
maldo you have a lot of apps installed?21:41
attahhttps://pastebin.com/tzaz915f21:42
attahNowhere?21:42
attahNot really21:42
attahMostly native ones, and they are tiny21:42
malwhat do you have in /root folder it has unusually much stuff based on that, I have less than 1 MB21:45
attahapparently linux-3.12.66.tar.xz21:46
attahdafuq21:46
malmy /usr is only 1.2 GB21:47
attahi guess i did install a few packages from mer-tools21:47
malcheck if you have any debuginfo packages installed?21:47
malor source packags21:48
attahone debuginfo and a dozen sources21:49
malmaybe uninstall those just in case21:49
malnot sure how much space those take21:49
attahpretty sure i didn't install most of them21:50
attahoh, and i'm tired... those were false positives for sources21:50
attahthey were *re*source packages21:51
malah21:51
malhow big is the debuginfo?21:52
maldid the device tell how much space you need?21:52
attahapparently some 80MB or so21:52
attah510, and i am at 33721:53
attahand there we have it21:53
attahllvm apparently21:53
attahcounter is still borked says SFOS&misc are 2G, of a total 1.821:54
malhmm, what brought in llvm, it should not be there21:55
attahthat would have been me21:55
malhopefully now you can update it21:56
attahyes, finally :)21:56
attahand i need to stop treating it like a computer for package installs21:56
attahthanks for your time, sorry to have wasted it21:57
malI was doing some kernel checking while helping you22:04
attah:)22:06

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!