Friday, 2021-02-05

*** LinuxTerm is now known as linuxterm00:23
*** linuxterm is now known as LinuxTerm00:24
*** SpeedEvil is now known as Guest1006402:02
*** zbenjamin_ is now known as zbenjamin02:10
*** nyov is now known as Guest7333604:26
*** jrayhawk_ is now known as jrayhawk04:55
*** frinring_ is now known as frinring05:54
*** ersatzmaus is now known as fledermaus12:17
*** jpich_ is now known as jpich13:05
Mister_MagisterDoes anyone know what software is responsible for handling .desktop files/xdg configuration and showing the "choose app to open with" pop up?13:59
Nico[m]xdg-utils usually, but multiple apps reimplement it, since it is a standard14:00
ahappyhumanOn Sailfish OS libcontentactions seems to play a big role: https://git.sailfishos.org/mer-core/libcontentaction14:00
Mister_MagisterI know i know but the multiple apps surely isn't part of xdg14:00
Nico[m]You basically add a supported scheme to your .desktop file, then you update the xdg-database14:00
Nico[m]And then applications can list, what apps support a particular shcme14:00
Mister_Magisterahappyhuman: didn't know we had that project even14:01
Mister_MagisterNico[m]: i know that too14:01
Mister_Magisterthats not what i'm searching for14:01
Mister_Magistersince xdg-open isn't used for the popup-dialog14:01
Nico[m]Oh, okay, I'll shut up then. Spent too much time on scheme handlers last week :D14:01
Mister_Magisterno need to shut up :P14:02
Mister_Magisteri mean i know its xdg but there's some software that handles multi apps and pop up14:02
Mister_Magistermight be what ahappyhuman sent14:02
ahappyhumanxdg-open is patched to use lca-tool: https://git.sailfishos.org/mer-core/xdg-utils/blob/master/rpm/0004-lca-support.patch14:02
ahappyhumanAnd lca-tool sits in the libconentaction14:03
ahappyhumanBut I do not know what part provides the popup dialog sadly, I kinda got stuck on that one as well.14:03
Mister_Magistermostlikely silica14:04
Mister_Magisterand silica communicates with libcontentaction14:04
Mister_Magistercause if you just run xdg-open it won't open pop up14:04
ahappyhumanIt does for me if I run xdg-open14:04
ahappyhumanwith "https://telegram.me"-links and a certain Telegram client for example14:05
Mister_Magisterif i just do xdg-open https:// it won't open dialog it just opens default one aka browser14:06
Mister_Magisteralso in patch it passes --triggerdefault14:09
Mister_Magisterso it opens just default aka browser14:09
ahappyhumanHmm, I'm pretty sure it did for me on Sailfish OS 3.4, but I'm on 4.0 right now (and using a clean installation, because it got partially installed and my attempt to rescue it made it even worse, lol).14:11
Mister_Magisterahappyhuman: but anyway thanks a ton i believe this is what im searching for14:13
ahappyhumanIt might have changed, I do not seem to able to trigger this anymore. Maybe I was toying with lca-tool.14:13
Mister_Magisteror maybe it isn't, not sure yet but its step forward14:14
ahappyhuman`lca-tool --scheme --print "https://example.org"` is at least able to show the different actions that are available in the GUI screen for me at least14:15
Mister_Magisterahappyhuman: lca-tool --actionsformime x-scheme-handler/https shows all ye14:20
canisorry14:26
caniahappyhuman are you saying you are on sailfishos 414:27
canihow can i get it14:27
Mister_Magisteru better don't /s/14:28
olMister_Magister (IRC): Why is that?14:28
Mister_Magistershhhh14:28
ahappyhumanIt is still early access and there might be bugs (there were for me), sign up for Early Access in https://accounts.jolla.com/ and perform a system update as usual.14:29
canioh thank you14:29
olI've just upgraded to Sailfish OS 4 yesterday. No problems found so far. One Android application that was not working in Sailfish OS 3 started working in Sailfish OS 4.14:30
canican i ask you please what is the most noticable difference14:30
Nico[m]Note that EA releases often can break stuff. So only use EA, if you know how to fix a broken update14:30
Nico[m]Biggest difference is probably app sandboxing, the new ambiances and the notification stuff?14:30
* Mister_Magister most noticable difference is looking like shi… crap14:30
olcani (IRC): For me it's better Android support. Alien Dalvik in Sailfish OS 4 provides API of Android 9.14:31
ahappyhumancani: Some parts of the UI are redesigned, for better or worse. And application sandboxing as Nico said. Oh, and of course the browser engine upgrade. It feels smoother to me.14:31
olApp of my bank now works.14:31
canioh14:32
canithat so nice to hear14:32
canii will not wait for the normal release14:33
canithen14:33
canii will sign for early access14:33
olFor those who need Google Services, the following instruction works well for Sailfish OS 4. The only difference is, you need to get MindTheGapps-9.0.0-arm64.14:34
olhttps://together.jolla.com/question/217488/howto-mindthegapps-on-xperia-xa2-32012-32120-33016/14:34
Nico[m]<cani "i will not wait for the normal r"> I would recommend waiting. The normal release usually happens a week later, or 214:37
caniok14:37
canithis is not too long14:37
caniplease tell me there is animation speed option in sailfish os 414:37
Nico[m]There is not, but you can check the release notes yourself ;p14:39
canioh that would be the smart thing to do'=D14:40
cani'=D14:40
Nico[m]https://forum.sailfishos.org/t/release-notes-koli-4-0-1/454214:40
ahappyhumanMister_Magister: I have the suspicion the compositor sends it towards the QML compositor: https://git.sailfishos.org/mer-core/lipstick/blob/a4ab7e80853b128e58fc64616d0c6ad25933c720/src/compositor/lipstickcompositor.cpp#L21314:43
ahappyhumanWith it I mean when an URL is tapped14:43
Mister_Magisterahappyhuman: yeah but like lca-tool --scheme --print "https://example.org" displays actions that are even in the same order as pop up dialog14:44
Mister_Magisterso i believe its the libcontentactions14:44
Mister_Magisterdon't care bout dialog, i was searching for backend14:44
Mister_Magisterbut thanks!14:44
Mister_Magisteralso elros sent same link in sfos-porters14:45
RubenDeSmet[m]<Mister_Magister "Does anyone know what software i"> I've been digging in this the last few days for Whisperfish. There's a Wayland protocol "open_url" that gets called, which is then handled by lipstick, which conditionally forwards it to libcontentaction (only file:// gets handled differently, see the lick by Chris ).16:57
Mister_MagisterRubenDeSmet[m]: that question is long obsolete :D16:57
RubenDeSmet[m]D:16:58
Mister_Magisteralready done what i wanted to achieve16:58
Mister_Magisterbut thanks!16:58
RubenDeSmet[m]Hehe, good then :)16:58
RubenDeSmet[m]I was interested in reading it, because I'm still stuck myself16:58
RubenDeSmet[m]URLs get parsed via QUrl in the compositor, which changes the meaning in my case...16:58
Mister_Magisterwhat do you want to do?17:03
Mister_MagisterRubenDeSmet[m]: also what is Chris licking17:04
*** albertux1 is now known as albertux17:04
RubenDeSmet[m]I want to capture signalcaptcha://FooBar in my application, but it comes through as signalcaptcha://foobar instead. Also, my FooBar is actually really long, and then nothing comes through anymore, because it's not a valid URI17:04
Mister_Magisterlowercase is what you want?17:05
Mister_Magisterwhy17:05
RubenDeSmet[m]no, I want them case sensitive17:05
Mister_Magistercause its captcha dumbass17:05
RubenDeSmet[m]because I get them like that from Signal17:05
Mister_Magisteryeeee17:05
Mister_Magisterdo you control how this signal is sent?17:06
RubenDeSmet[m]Signal has been pricks, because just dropping // (ie, signalcaptcha:FooBar) would come through17:06
RubenDeSmet[m]<Mister_Magister "do you control how this signal i"> nowp17:06
Mister_Magisterwhat the heck do nowp mean17:06
Mister_Magisterxd17:06
RubenDeSmet[m]I would embed it using SilicaWebView, but that doesn't render the captcha.17:06
RubenDeSmet[m]"no" :p17:06
Mister_Magisterso somewhere link "signalcaptcha://FooBar" is clicked and u want to handle that17:07
Mister_Magisterthats dumb idea to put case sensitive in there17:07
Mister_Magistercant u do it differently?17:09
RubenDeSmet[m]You could ask Signal to modify their protocols, but I don't think they'll listen :'-)17:09
Mister_Magistercan u explain from the beginning tho17:10
Mister_Magisterlike what r u trying to do17:10
RubenDeSmet[m]But indeed, that url is even put in `window.location` directly.17:10
RubenDeSmet[m]Signal wants a new user to file a captcha. This captcha is hosted at https://signalcaptchas.org/registration/generate.html.17:10
RubenDeSmet[m]When you've filed it, they redirect your browser to `signalcaptcha://[some token]`. I need that token for the registration.17:11
Mister_Magisterdo you use sfos browser for that?17:11
RubenDeSmet[m]That's what I'm trying now, yes.17:12
Mister_Magistercouldn't you just use like qtwebkit?17:12
Mister_Magisteror however it was called17:12
RubenDeSmet[m]I have tried qtwebkit, but the captcha does not render there.17:12
RubenDeSmet[m]SilicaWebView :)17:12
RubenDeSmet[m]the captcha shows up, but you cannot click the right buttons.17:12
Mister_Magisterit wuold be better if you could use something like that because u could handle the redirect17:13
RubenDeSmet[m]There's also qt5-mozembed, but that's got different complications.17:13
RubenDeSmet[m]<Mister_Magister "it wuold be better if you could "> exactly17:13
Mister_Magisterah17:13
RubenDeSmet[m]But Qt's too old to handle it well. I've tried user agents too.17:13
Mister_Magisterweird17:14
RubenDeSmet[m]absolutely :/17:14
RubenDeSmet[m]I'm trying natively with the Sailfish browser now17:16
RubenDeSmet[m]through http://kb.mozillazine.org/Network.protocol-handler.app.%28protocol%2917:16
Mister_Magisterhuuh17:17
RubenDeSmet[m](that way it doesn't pass through QUrl...)17:18
Nico[m]<RubenDeSmet[m] "SilicaWebView :)"> That uses gecko, not webkit, right?17:58
*** vgtw_ is now known as vgtw18:01
Tekk_anyone know what's up with 4.0.1 going through normal release channels despite being early access?18:10
RubenDeSmet[m]`Mozilla/5.0 (Unknown; Linux) AppleWebKit/538.1 (KHTML, like Gecko)`18:10
Tekk_I don't have dev updates on but I'm prompted to update.18:10
oozbooz Tekk_ ^^^ same question here..18:19
Mister_MagisterNico[m]: RubenDeSmet[m]: so using the knowledge i got here i basically made dis https://openrepos.net/content/mistermagister/libcontentactions-qt5-url-distinction18:21
attahTekk_: Dev updates and being enrolled in EA are not the same thing18:22
attahSo are you sure?18:22
Nico[m]Mister_Magister: Oh that's cool!18:27
Mister_MagisterNico[m]: and slick! Like changes are minimal, its super robust, and super easy to include in apps18:27
Nico[m]Yeah, I may just add an url handler to my app at some point :318:28
Mister_Magisterlike here is code https://git.sailfishos.org/mister/libcontentaction/commit/9098563544570f88a70c947b09f62dc275b086cf its like one function, insanely robust and adds so much functionality18:28
Mister_MagisterNico[m]: please do!18:28
Nico[m]Handling matrix.to in addtion to matrix: uris will be neat18:29
Mister_Magisteryeah!18:29
Mister_Magisteryou see how useful it is18:29
Nico[m]Maybe that could be upstreamed to like an x-nemo-url-handler, so it won't break in the future and will be officially supported?18:29
Mister_Magisterthat depends on jolla18:30
Mister_Magisteri can like… make pr but it will be a) ignored b) pissed on18:30
Nico[m]May be worth opening a topic about or opening a merge request :318:30
Nico[m]<Mister_Magister "i can like… make pr but it will "> Well, that is always the risk :D18:30
Mister_Magisteri could do that, but i will prably forget to get onto mer-meeting18:30
Nico[m]Mhm18:31
Mister_Magisternot to mention that by jolla standards you can't add .desktop mimetype handler lol but i'll make pr eitherway maybe someone answers18:32
Nico[m]It could be marked experimental for now, I think it is fine. Some people may want to match on the url in the end instead of just the authority, but eh18:33
Mister_Magisterhttps://git.sailfishos.org/mer-core/libcontentaction/merge_requests/18 here we go18:38
Mister_Magisteri tried to be nice18:38
Nico[m]> but it would be really useful if it gor merged and upstreamed.18:40
Nico[m]typo18:40
Mister_Magistertank18:41
Nico[m]:D18:41
attahHave a :thumbsup:18:43
Mister_Magisterthank!18:44
Nico[m]Added a comment .-.18:45
attahIs it just me, or does emails feel like SMS messages now?18:45
Nico[m]That they became really short or from UI changes?18:45
attahVibration-vise18:46
Nico[m]Oh, haven't noticed that yet18:46
attahThe old email buzz was tuned for something with a bit more oomph than the Xperias, so it was a needed improvement, but did it have to take a pattern that was already used?18:47
Mister_Magisterthank u!18:47
Mister_Magistershite, close mr was next to edit and i missclicked18:58
Nico[m]lol18:59
Mister_Magisterworry not its reopened18:59
Mister_MagisterNico[m]: if u try that lib tell me about it!19:17
Nico[m]Will do, but I'll be a bit busy the next few weeks .-.19:17
Mister_Magister:P19:22
IngvixIt seems my aliendalvik is quite broken. I no longer have the bottom bar to go back and the screen doesn't resize as it should when I open a keyboard in an android app. Removing android support doesn't seem to actually remove it from the file system19:24
Ingvixshould I just factory reset or could there be some other way to fix this?19:25
IngvixI've had it like this for quite a while but I've been too lazy to properly address this. Not sure why or when it started to behave like this19:26
Nico[m]You can try reinstalling alien dalvik somehow, but you may lose some app settings19:27
IngvixI'm okay losing settings. I'd just rather not lose the apps19:28
Nico[m]I think it uninstalls all apps, so you need to reinstall them, iirc19:29
Nico[m]Haven't done it in a while though19:29
Mister_Magisterit does remove aliendalivk root so ye19:31
Ingvixthough I did mention that I can't uninstall it and also it seems that reinstall doesn't actually do anything19:32
Ingvixit's a bit weird19:32
Ingvixpkcon doesn't give any errors either19:38
Ingvixso I'm feeling that it might go a bit too deep and easiest thing could be to factory reset the device19:39
attahSpamspamspam https://forum.sailfishos.org/t/3-4-0-24-signature-spoofing-doesnt-work-on-a-freshly-flashed-xperia-10-plus/3109/36?u=attah19:52
Nico[m]Oh no :D19:53
Tekk_....huh20:13
Tekk_I apparently accidentally fixed it months ago20:13
Tekk_I have /home/nemo symlink for compatibility with some other old apps. Just checked microg and yeah, it says spoofing works20:13
attahlol20:13
Tekk_Yep. Just updated to the play store version of discord and it works20:16
Tekk_iirc google play discord is broken without play services20:16
Tekk_ attah: wrt the older thing though, I don't recall signing up for early access releases20:24
Tekk_and I don't see a preference for it in the upgrade page of the settings app20:24
attahIt's not local, it is server-side20:25
attahhttps://account.jolla.com/20:25
Tekk_Huh, so I did20:37
Tekk_I guess my recall isn't 100% perfect for events 3 years ago :)20:37
oozboozconsidering plunging into 4.0.1 update EA... it is asking to remove obexd-contentfilter-off prior20:40
RubenDeSmet[m]Is there a way to inject a userChrome javascript file into the Sailfish browser?21:28
* RubenDeSmet[m] is getting desperate21:28
Tekk_I don't imagine so considering how the sailfish browser does terrible, terrible things and doesn't invoke the Mozilla ui at all21:37
oozboozinstalled 4.0.1 update.. looks like I have to reinstall keyboard since screen blanks dark when keyboard required21:45
oozboozwhat name of the swipe keyboard app21:45
oozbooz?21:45
oozboozfound out... apparently OKBoard is not compatible with 4.0.122:21
Mister_MagisterNico[m]: demo vid! https://twitter.com/Mister1Magister/status/135783980730143539223:58
Ingvixthat's nice23:59

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