Wednesday, 2020-01-08

T42Barnett %lastname% was added by: Barnett %lastname%03:54
T42Dominic %lastname% was added by: Dominic %lastname%06:01
T42<adampigg> rinigus: browsing flatpak-runner code ........07:27
T42<adampigg> what indentatiom style is that?? :D07:27
rinigus@adampigg: right now its a mix. as it was originally a quick hack on the basis of the fork. should probably reformat it into something07:29
T42<adampigg> rinigus, i cant un-see the brackets intented at diffferent levels to the loop and the block :)07:31
T42<adampigg> s/indented07:32
rinigus@adampigg: runner.cpp is in the style I use (emacs default)07:33
T42<adampigg> its neat how its not thatmuch code07:34
rinigus@adampigg: true. assuming that the qt5.12(or 5.9) will land one day - sooner the better - we can rework compositor part on the basis of qtwayland examples07:35
rinigusbut we should add code to provide gui for some operations, such as populating with desktop icons, settings and such. that's missing right now07:36
rinigushopefully, tonight I'll get time to work on the keyboard ...07:37
T42<adampigg> i noticed you can force dpi, where is that setting stored?07:37
T42<adampigg> will it help certain apps?07:37
T42<adampigg> elisa on latte looks terrible, i presume it doesnt/ like the dpi07:38
T42<adampigg> is it a qsettings ini file07:38
rinigus@adampigg: the app, ideally, should probably use hidpi support. for the runner, dpi is calculated on the basis of screen reso but can be overwritten using qsettings at https://github.com/sailfishos-flatpak/flatpak-runner/blob/master/src/runner.cpp#L7107:39
rinigusapp name/organization is flatpak-runner/flatpak-runner07:40
T42<adampigg> k07:40
T42<adampigg> i guess the real/ aim is is to be writing custom apps anyway07:41
rinigus@adampigg: yes, and to do it together with plasma mobile probably. would be wise to join forces with them. as for styling, much can be done by customizing qt styles, as far as I understand07:42
T42<adampigg> need to ping the angelfish packagesrs for an x86 build07:45
rinigus@adampigg: or make it yourself. there is a devel doc in "main" repo that you could follow07:46
T42<adampigg> k07:47
T42<adampigg> rinigus, what stops you going the terminal route, and hacking a simple keyboard into flatpak-runner as a test?07:51
rinigus@adampigg: that's what I have with qtvirtualkeyboard. but SFOS keyboard is better and would allow me to avoid such hack08:03
rinigus... sorry, misunderstood.08:04
rinigus... I hack it on the app level. for a hack with flatpak-runner, not sure I can do that well. I think better solution is implant maliit into flatpak runtime and then let qt do its magic08:05
T42<adampigg> k08:05
T42<elros34> woudn't be enough to unset QT_IM_MODULE in flatpack so just sailfish keyboard will appear?08:07
rinigus@elros34: nope, that doesn't work. I am sure we need QM_IM_MODULE=Maliit and there should be Maliit inside flatpak to trigger it. let's see if it works08:33
T42<elros34> ok08:34
Mister_Magistermal: anything special needed for 3.2.1.20?08:43
Mister_Magisteror can i just go on with same packages versions08:43
T42<adampigg> mister_magister:  i did08:51
Mister_Magister@adampigg what did you do08:51
T42<adampigg> just went with same package vers08:51
Mister_Magisterah thanks08:52
T42Sandra %lastname% was added by: Sandra %lastname%09:35
Mister_Magisterye seems to work fine11:42
T42鲍雯荔 %lastname% was added by: 鲍雯荔 %lastname%14:03
rinigusslowly but progressing: https://pasteboard.co/IP2W08m.png . now just have to figure out double compensation of keyboard covered area, making it work in landscape (maybe failing as that compensation area is too large), and few smaller issues with flatpak integration17:46
T42<adampigg> @rinigus [slowly but progressing: https://pasteboard.co/ …], awesome work!18:25
rinigusfixing overcompensation for keyboard rectangle was trivial. orientation is gonna be trickier, but should possible19:35
T42<adampigg> rinigus: is this code in -runner?19:47
rinigusnope, in https://github.com/sailfishos-flatpak/maliit-framework/commit/a87d64d36eb7304f6285815ae90713a9e9f513d019:47
rinigus@adampigg: but I will have to get into runner to test how to forward screen orientation19:48
T42<adampigg> rinigus: shouldnt be too hard, i detect orientation in advanced-camera19:49
T42<adampigg> an orientation sensor, a signal and youre half way there!19:50
rinigus@adampigg: that's right! let's see some code and take it from there19:50
T42<adampigg> rinigus: https://github.com/piggz/harbour-advanced-camera/blob/master/qml/pages/CameraUI.qml#L2619:51
riniguswas just going to ask :)19:51
T42安诗植 %lastname% was added by: 安诗植 %lastname%20:01

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