klahr | Hi! Is there an officiell roadmap for Sailfish available somewhere? I'm curious about what to expect in the upcoming releases. :) | 10:23 |
---|---|---|
rinigus | pvuorela: just pinged you via github regarding presage based keyboard issue. looks like language selection code is somewhat changed and there is no more `layoutRow.layout.languageCode` available | 12:17 |
rinigus | as a result, presage based keyboard is failing miserably and cannot set its language. result - rather poor predictions :) | 12:18 |
rinigus | hopefully, you can tell us what should we change to get the languageCode in the new code. | 12:18 |
poetaster | rinigus: I'm using presage with 4.1 and it works just fine. I'm using just english and german. is this a 4.2 thing? | 12:34 |
rinigus | it is 4.2 thing :) | 12:35 |
attah | rinigus: what is the context for this? QML? | 12:35 |
rinigus | attah: should have added reference for context: https://github.com/sailfish-keyboard/sailfishos-presage-predictor/issues/33 | 12:36 |
rinigus | looks like closed source jolla keyboard has changed and we are in trouble with the predictor | 12:36 |
attah | rinigus: maybe try keyboardLayout.languageCode ? | 12:37 |
attah | the QML is on device and open to read | 12:37 |
poetaster | rinigus: ok, 4.2 thing. | 12:37 |
rinigus | attah: nope, didn't work - tried few minutes ago. handlers are loaded probably earlier. if someone has xt9 (official device) maybe could see how language is set there | 12:38 |
attah | i do, but what to look for? | 12:38 |
poetaster | ah, progress sucks. | 12:40 |
rinigus | attah: not sure. somewhere should be lang selection in Xt9InputHandler.qml . however, I may try to see if canvas.layoutModel.get(index).name would help (based on lang selection component) | 12:44 |
rinigus | OK, at least we have that var. now would have to get langcode from it ... | 12:46 |
rinigus | attah: found the fix: `canvas.layoutModel.get(canvas.activeIndex).languageCode` | 12:49 |
attah | good job | 12:49 |
poetaster | rinigus: "languageCode": lang.getLanguageCode(), would be javascript hack. | 12:49 |
poetaster | rinigus: or language: lang.languageCode, | 12:50 |
rinigus | not the prettiest though :( . and no idea if it works on older SFOS | 12:50 |
rinigus | poetaster: is lang defined? | 12:50 |
rinigus | as a current selected keyboard language? | 12:50 |
poetaster | sec. | 12:51 |
poetaster | was in the wrong context, switch. | 12:52 |
poetaster | rinigus: you mean selected by presage? | 12:55 |
poetaster | rinigus: I'm confusing selecting from settings and selecting in the qml interface. | 12:56 |
rinigus | poetaster: somehow presage needs to know which language are we using on the keyboard. I have 3 languages in use, for example. code for passing that info seems to have changed | 12:57 |
poetaster | rinigus: got it. | 12:57 |
poetaster | what does: import com.jolla.keyboard 1.0 | 12:59 |
poetaster | provide | 12:59 |
poetaster | vi /usr/share/jolla-settings/pages/text_input/EnabledLayoutModel.qml might be helpful | 13:00 |
poetaster | presumably, the version I have doesn't help | 13:01 |
poetaster | rinigus: /textinput.qml also. | 13:03 |
rinigus | poetaster: I have the fix already, no worries. will just have to check with pvuorela whether it is a correct one | 13:04 |
poetaster | shure thing. just curious. | 13:08 |
poetaster | can't find any docs, either. | 13:09 |
poetaster | (wiki) | 13:09 |
rinigus | it is closed source | 13:09 |
piggz | rinigus: i wont be much use for a short while, i lost the HD with all my ports :( | 16:41 |
piggz | need to get the hadk open and set up all sdks, targets and checkouts | 16:42 |
rinigus | piggz: ouch!!!! will deal with the requests - no problem | 16:42 |
piggz | that hard part is figuring out what i cant remember was on there, and the hopefully small amout of stuff not pushed! | 16:44 |
rinigus | piggz: if it was useful, it will get written again and better... | 16:50 |
rinigus | maybe I should setup some backup for the ports bits as well. that is something I never bothered to backup as those android trees are just too large | 16:51 |
piggz | rinigus: yeah, thats why i dont back them up | 17:32 |
piggz | i wont have lost any configs ... probably just some kernel configs | 17:32 |
rinigus | piggz: kernel configs should be on devices - /proc/ | 17:37 |
piggz | rinigus: sure | 17:38 |
piggz | rinigus: i feel a new laptop is on the horizon | 17:39 |
rinigus | piggz: :) | 17:41 |
piggz | rinigus: trouble will be getting one at right price, with space for additional storage ... unless i move sfos builds to usb, but that seems less than ideal | 17:42 |
rinigus | piggz: those will be really slow over usb. maybe desktop? for ports I use that and laptop for smaller bits | 17:43 |
piggz | id need a desktop for that :) | 17:43 |
rinigus | can only recommend it. it can also be some pc far away to keep noise levels down. and then keep current laptop as a terminal | 17:45 |
piggz | well, my son just built a gaming PC ... i could re-purpose his old HO Prodesk ... with a better CPU ... just make it slightly faster than my laptop | 17:47 |
rinigus | Our use that gaming PC for compiling as well :) | 17:50 |
piggz | rinigus: yeah, its about 6x cpu power than what i have! | 18:04 |
attah | sounds like a plan then :) | 18:05 |
attah | what's in that a 5900X or something? | 18:08 |
piggz | 3600 .... cpumark is about 17000 ... my 6th gen corei5 mobile is just over 3000 | 18:09 |
piggz | i think if i got a new laptop, id go for a 5500u, which is about 13000 | 18:10 |
attah | oof, and yet you do all of this great work | 18:10 |
piggz | hehe | 18:10 |
piggz | why im big on doing as much as poss on OBS | 18:11 |
attah | i see :) | 18:11 |
attah | meanwhile i'm wasting a 3950X on not being clever enough to get into porting | 18:11 |
piggz | porting is easy ... its basically follow the guide | 18:12 |
attah | 39000 passmark | 18:12 |
piggz | then ask when stuck | 18:12 |
piggz | wow, if only :D | 18:12 |
attah | i failed at needing to run outside of ~ | 18:12 |
piggz | well, my root disk is 120gb ssd, and all my ports on a 1tb hd, mounted to /data | 18:14 |
piggz | with symlinks in ~ | 18:14 |
attah | suspected that was the key | 18:14 |
attah | rather silly that it doesn't work "normally" | 18:14 |
piggz | rinigus: what are the potential upgrade issues with encryption you mentioned | 18:41 |
rinigus | piggz: I think I resolved them, see end of https://github.com/sailfishos-sony-tama/droid-config-sony-tama-pie/blob/hybris-10/jolla-configuration-tama.inc | 18:42 |
rinigus | %post section | 18:43 |
rinigus | but there is a risk with any storage config change that something can go wrong - hence backup is recommended. | 18:43 |
rinigus | this is for tama. if you have encryption enabled already you are probably into more pain. as stock encryption LUKS pin is used for unlocking the device as well. not sure what will happen if you move home LVM away | 18:45 |
rinigus | I suspect, it will just ask you to make new pin... | 18:45 |
rinigus | piggz: ^ | 18:45 |
piggz | rinigus: ah, so that is concerned with an existing sfos lvm ... i dont need to worry about that | 18:47 |
rinigus | piggz: but you cannot make update from non-lvm to lvm, right? | 18:48 |
rinigus | which update do you consider? | 18:48 |
piggz | rinigus: i dont think i need to consider any | 18:51 |
rinigus | piggz: then it is easy :) | 18:51 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!