Tuesday, 2019-07-30

*** frinring_ is now known as frinring00:33
*** zbenjamin is now known as Guest1196601:12
*** zbenjamin_ is now known as zbenjamin01:12
*** frinring_ is now known as frinring01:41
dcalisteHello chriadam, how are you ?07:02
chriadamhi dcaliste, I'm well thank you - how was your vacation?07:03
dcalisteGreat, great, visited my parents in law in Vietnam.07:03
chriadamnice one :-)07:04
dcalisteLet summarize pending MRs, starting with mkcal:07:05
chriadamsounds good07:05
dcaliste- https://git.merproject.org/mer-core/mkcal/merge_requests/24 -> should solve the issue of exception of all days stored in another timezone.07:05
dcalisteflypig mentioned that the all day detection is weird, which I agree with, but should match the current state else where in the file07:07
dcalistepvuorela reviewed the MR also and mentioned if we should correct it in nemo-qml-plugin-calendar when dealing with expandedRewEvents()07:09
dcalisteThis is the best solution, but when looking to the KF5 transition in the future, rawExpandedEvents() should stay with QDateTime and not KDateTime, which means that it will always have a tz, if not the system one.07:10
dcalisteSo in my opinion, there is no way future compatible to make expandRawEvents() to return date time in clock time, so recurrence ids cannot be in clock time (because recurrence ids are taken as the date time returned by expandRawEvents).07:11
chriadamurgh07:12
dcalisteThe best way, in my opinion is to apply the current patch which has the drawback to make impossible to store all day events in a given time zone.07:12
chriadamwhat does that drawback imply?07:13
dcalisteWhich means that Bastille day in France cannot be seen as starting at 5 am in Vietnam ;)07:13
chriadamI see.07:13
dcalisteIt will start also at 00am the 14th July even in Saigon…07:13
dcalisteTo make it so, one needs to save it as a none all day event, but one that starts at 0am and finishes at 23:59.07:14
chriadamthat seems fine to me.  for timezone-specific all-day events, maybe it should be saved as a 23 hour, 59 minute, tz-specific, non-all-day event... to ensure specific07:14
chriadamindeed07:14
chriadamnot so bad from my perspective (although we don't have such support in the UI yet)07:14
dcalisteI agree. Also, looking at how upstream kcalcore is treating all day events parsed from iCal data is interesting (since KDateTime::isDayOnly() does not exist any more and there is no clock time spec time):07:16
dcalistethey save the date time as a QDateTime (with QTime = 00:00, but we don't really care), and use the allDay() flag from the event, no spurious detection of clock time and QTime == 00:00.07:17
dcalisteI was doing review in mkcal to see if we could adopt this strategy already now, and still being backward compatible.07:18
dcalisteThis leads us to https://git.merproject.org/mer-core/mkcal/merge_requests/1707:18
dcalisteI will revamp it following such consideration of using allDay() attribute only.07:20
chriadamright, I see that Pekka had a comment there07:20
dcalisteI need to check also the md pad from flypig to see if this approach can be compatible with Thunderbird at least.07:21
dcalisteIf I find time, I would like to test it with Gnome-calendar also.07:21
dcalisteSo, I'm going to add a WIP tag to MR!17 for the time being, if you agree.07:23
chriadamsure07:24
chriadamhonestly, until Pekka gets back from vacation I'm not sure there will be too much movement on those anyway, as we're spread pretty thin at the moment07:24
dcaliste- https://git.merproject.org/mer-core/mkcal/merge_requests/25 a new one, coming from vacation brainstorming…07:26
dcalisteNo problem for the time schedule, mainly discussing current state !07:27
dcalisteAfter much thinking, the MR!25 is a one liner that should correct the last modified behaviour that makes the addition of etag and urls in caldav plugin such a mess.07:28
dcalisteI think that it should have no drawback, at least I cannot see any after much thinking about it, but I agree that it's a sensitive matter !07:28
dcalisteIf accepted, it means that we can change the last modified date by hand if required, so we can set it back to previous value when adding etag and urls.07:29
chriadamI agree, but it definitely needs thought and testing07:33
dcalisteOf course. I agree also to put a comment, but maybe one explaining that the lastModified field is not a field to manage the databse status itself, but a user-defined field from iCal RFC, so it should be possible to change it by hand.07:35
chriadamyes07:36
chriadammakes sense07:36
dcalisteI've tested it quickly in jolla-calendar, and modification dates are indeed properly updated on UI changes.07:36
chriadamcool07:37
dcalisteThanks to the ExtendedCalendar::incidenceUpdated() callback.07:37
chriadam(every time I look into mkcal I wish we had implemented a native qtorganizer backend.  c'est la vie)07:37
dcalisteBut further testing will be safer, indeed.07:37
dcalisteYep, but doing it now is really to complicated in my opinion, since it's the mkCal API that is used everywhere, not so much the Core one.07:38
dcalisteBesides, I'm trying to decrease calling mkCal API whenever I can and use Core one whenever possible: I've a MR in CalDAV doing it for instance with addition and update of incidence.07:39
dcalisteI've seen that upstream KCalCore also have the dissocateSingleOccurrence() API now, so maybe one day we can make the mkCal API almost completely private… Then we will be able to switch backend…07:40
chriadamindeed :-)07:40
dcalisteFar future though !07:41
chriadamindeed07:42
chriadamdreams of green grass may have to wait ;-)07:43
chriadamwas there another caldav PR aside from the server-calendar-detection one?  I thought there was07:44
dcalisteEh, yes, there is https://git.merproject.org/mer-core/buteo-sync-plugin-caldav/merge_requests/4507:45
dcalisteIt is tagged as WIP wecause I would like to test it further, particularly on real servers.07:46
dcalisteBut you can review it already, except if I find issues, I won't change things anymore.07:46
dcalisteIt's further rewrite and simplification of notebooksyncagent (also making it this part ready for any incidences, not only events).07:47
chriadamI wish gitlab UI by default made the "this PR is collapsed, please click to expand" button BRIGHT RED AND BOLD so that I don't constantly scroll over it by accident and think "huh, this change seems incomplete" haha07:48
chriadamit had folded the notebooksyncagent.cpp diff, making me very confused for a moment there ;-)07:49
dcalisteEh eh, I see, I often think that this MR looks too simple for announced commit message ;)07:50
chriadamI mean, the change looks good to me from a quick eyeball.  I'd like flypig to have a look also if he has time.07:53
JulianFHey chriadam and dcaliste just while you're dreaming of iCalendar related things and how to represent "all day", I haven't met you before, but have long been dreaming of extensions to better support real-world imprecise/fuzzy time specifications like "overnight", "morning", etc. which should be displayed as fuzzy-edged periods and not as "00:00:00.000 - 11:59:59.999".07:53
JulianFEver looked to see if anyone in the world is working on such things? I assume you're basing your data model on existing iCalendar spec and not trying to support anything outside it, yes?07:53
dcalisteAbout MR!43, in CalDAV, you should also review https://bitbucket.org/jolla/ui-jolla-settings-accounts/pull-requests/40 to ensure that UI is updated accordingly when the notebook list changes.07:54
chriadamJulianF: currently yes, using the RFCs for iCalendar07:54
dcalisteJulianF: in my opinion, a first approach should be done in the UI itself, in the same way that is is proposing sensible reminder values instead of a custom overgrown widget to allow all possibilities provided by the RFC.07:55
dcalisteSo UI is providing like "shortcuts" that internally expand to the right values to be stored and exchanged with other services.07:56
dcalistechriadam: about !45, sure flypig can review it when he has time. It's not in a hurry.07:57
chriadamdcaliste: I will poke him.  I will also check to see if there is an internal bug about caldav which might be a candidate for us to mark time again, would allow us to review that change more thoroughly / spend more time on it07:58
chriadamsp/again/against07:58
dcalisteYou may find the JB about adding task support.07:59
chriadamJulianF: are you talking specifically about calendar events here, or more generally in terms of "communicating about datetime objects" e.g. for alarms, notifications, scheduling, etc07:59
JulianFchriadam: dcaliste : Thanks! Anyway, just wanted to throw that thought in your direction. Would be happy to see SailfishOS's calendar functionality get better in that way. But I think what you can do while keeping within iCalendar is quite limited.07:59
dcalisteBecause part of the commits remove the event specificities from notebooksyncagent. (but some elements remain in incidencehandler and reader.Cpp).08:00
JulianFchriadam: Both. Same applies to all kinds of time specifications. A use case where I ran into this is I used a little FOSS resume/CV generator, and I typed in that I worked in one job from 2008 to 2009, and it displayed my resume saying I worked from "1st Jan 2008 to 31 December 2009" which is *not* correct!08:01
JulianF(That was a little Perl app, or something, I forget, anyway not on Sailfish.)08:01
chriadamJulianF: right.  I guess it is something which is at the level of QDateTime08:02
chriadamsome "descriptive time" which can then be mapped to a specific QDateTime in a specific timezone08:02
chriadamI guess my response would be: it's an interesting idea, but unlikely that we would have resources to spend on it currently, except perhaps as dcaliste mentions in terms of adding some "commonly used" ones to the calendar UI and then manually mapping it to the appropriate dtStart/dtEnd values for the device's current timezone08:03
JulianFSure. I just want to make various people working in this area aware of the issue. It needs some global standard, I think, so a task https://www.calconnect.org/ should be doing, but I don't know if they are.08:04
JulianFThanks for listening! Sorry for the interruption.08:05
dcalisteJulianF: no problem, it's an open channel ;)08:05
JulianFGlad to learn you have some degree of event specificities at all. I didn't know that existed.08:06
chriadamdcaliste has been fixing bugs in the way we handle all day events, for example08:06
chriadambut aside from that (i.e. floating timespec events which always go for 24 hours from midnight on one particular day, no matter which timezone you're in) we don't really have UI support for these sorts of things yet, I think08:07
JulianFAck.08:08
chriadamdcaliste: I've added a note about JB#1104 to that caldav MR - thanks.  we will mark some time there.08:09
chriadamhaha shows how old that ToDo support task is... bug number only has 4 digits08:09
dcalisteIndeed, wouhou, I can add a Contribues to the commit message.08:10
chriadam;-)08:10
dcalistechriadam: one last thing, about the GPG landing in public release (that's great), do you think I have permission from Jolla to advertise it a bit further on TJC, in particular writing how to install it and test and use it ?08:13
dcalisteOr they prefer to organize comm by themselves on it ?08:13
chriadamI was about to mention, Jaymzz is currently drafting a blog post tentatively titled Community Contributions Spotlight or similar, which is hopefully going to be released this month08:14
dcalisteIt is mentioned in the release notes which is fine, but without further explanation, so beside me, I'm afraid there will be few feedback !08:14
chriadamit will include the changes you made, and also changes from piggz on camera/droidmedia stuff, and some hardware adaptation contributions08:15
dcalisteOk, so I'm waiting for jaymzz, no problem. That was the target of my question.08:15
chriadamhe will send you (and the other contributors) a draft in the near future08:15
chriadamalso will give us "room" to provide instructions on how people can test it on their devices, where it might have gotten lost in the big release blog post, I guess08:15
dcalisteThat's fine, I didn't want to bypass some official channel if it was in preparation.08:16
dcalisteIndeed, it will have better exposure like that.08:16
chriadamdcaliste: in general I would say: you can advertise the feature however you wish, you contributed it after all.  but yes, we have an official blog post in the pipeline about it :-)08:16
chriadamsorry that we were lax on comms.  there was big crunch to get 3.1.0 out with lots of final polish fixes required, and now half of finland is on vacation at the moment, so things have been... interesting.08:17
dcalisteI was not afraid of being forbid, just wanted to avoid duplicating effort if official communication was in preparation.08:17
chriadamyep :-)08:18
dcalisteSo far so good then, waiting for jaymzz and wish nice summer vacations to Finns.08:18
dcalisteThank you chriadam for the checkpoint today, I guess we didn't forget anything (email folder sync can wait a bit further for pvuorela).08:20
chriadamindeed, thank you!  yes, and the jolla-calendar PR will wait for Pekka also08:21
chriadamI hope you have a good week08:22
dcalisteThanks, you too. See you next time.08:24
*** Renault_ is now known as Renault14:05
attahCould someone please check that my gstreamer packages look "default"? https://pastebin.com/fAzjKgCs17:59
attahHaving issues with video lag...18:00
malattah: what is that gstreamer1.0-plugins-base-apps ?18:06
malattah: it's not installed on my device18:07
attahhmm, okay18:07
malbut doesn't seem to contain much18:08
attahare you by any chance not on 3.1?18:08
attahInstall Date: Thu Jul 18 21:18:51 201918:08
mal3.118:10
malattah: just out of curiosity try removing that18:10
malif that changes nothing check journalctl anbd logcat for anything interesting18:11
malattah: which app do use you use playing videos?18:11
attahPrimarily the native browser, and youtube in that18:11
mal*for18:11
attahand setting quality up a notch or two from the often-default 360p18:12
attahAlso my own S''Play18:12
maldo you have libav installed or something like that18:14
attahNothing more than some thumbnailer related thing18:15
attahuninstalling baseapps did nothing immediate18:15
malwhat exactly?18:16
attahnemo-qml-plugin-thumbnailer-qt5-libav-0.0.10-1.3.1.jolla.armv7hl18:17
malok18:17
malso then I need logs18:17
attahjournalctl did zippedidoda last time around18:17
malattah: was this xa2 or some other device?18:17
attahhow do i logcat?18:18
attahxa218:18
mal/usr/libexec/droid-hybris/system/bin/logcat18:18
attahnot a single line produced while watching stuttering playback18:20
attahbut some rolled out initially18:20
malit should usually only print things when you start playback, preferrably get logs before you try to play first video after reboot18:21
attahhow is your 720p playback?18:21
attahok, will do18:21
malattah: how can I see what the quality is?18:23
attahupper right corner menu, playback settings18:24
malin youtube in browser for example18:24
attahvideo needs to be playing, or you'll only see speed settings18:26
attahlogcat: https://pastebin.com/rX20LrYi18:28
malattah: hmm, looks like it's using some software codec, wondering which one18:32
attahfor you, me, or both?18:33
malfor me also18:36
malI never noticed that before because I rarely watch videos on phone18:37
malI'll have a look what is happening18:48
attahmuch appreciated, let me know if i can help somehow18:49
attahcould be vp8 or vp9, apparently the phone reports support for it18:51
attahno ide what the acceleration situation is there though18:51
malcould be those are used instead of h.26418:53
attahbut then again, i'm pretty much certain svtplay uses h264, and that too has a bit of lag18:53
attahchecking now whether that looks like buffer issues rather than anything else18:54
malusing "GST_DEBUG=droidvdec:5 some_app" as nemo user should tell if hw codec is used18:55
attahYeah, i think svtplay is a false positive for lag, my rate setting is out of play, and some lag is expected when changing hls bitrates dynamically18:59
attahhmm, that debug setting does not produce a whole lot of output around video playback time19:02
attahso software then i assume19:05
malattah: I verified that vp8 and vp9 are using sw codec, h.264 is using hw codec19:05
malwhich means youtube must be using vp8 or vp919:06
attahit certainly does on my desktop19:06
malthe real question is why it's not using the vp8 provided from android side which is also available19:10
attahit could be running vp9... is that available too?19:12
malI tried both vp8 and vp9 on another site19:13
attahyes, but is there an android version of vp9 available too?19:14
dragonchaserHey19:15
dragonchaserI am having a weird bug on my xa2. the statusbar is gone (no clock, battery level etc) anybody a clue why this is happening?19:16
malattah: I think I found the reason, browser engine has builtin vpx decoder19:20
attahoh, feels like one would want to disable those19:21
malmight be19:22
malneed to discuss that with others19:22
attahI tried the build instructions from https://github.com/sailfishos/sailfish-browser/wiki/BuildingInstructions just now... and i needed to add a version number to the target for the first steps19:22
attahthen failing at actual building due to some missing lua script19:22
attahshould the instructions still work?19:23
malnot sure, I mostly build things on OBS19:24
attahmal: thanks to your insight i have formulated a workaround, disabling "webm" in about:config19:31
malattah: what makes youtube work better?19:46
attahhttps://together.jolla.com/question/210723/psa-workaround-for-laggy-youtube-playback-in-native-browser/19:46
attahtl;dr h26419:46

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