Ingvix | I wonder how risky would it be to downgrade from 4.4.0.58 back to 4.3.0.15 with sfos-upgrade | 09:33 |
---|---|---|
Ingvix | I shouldn't have jumped to the sandboxing EA upgrade on my main device | 09:34 |
abr | I wouldn't try that. You can disable sandboxing for individual launchers if that'll help | 09:50 |
Ingvix | oh | 09:53 |
Ingvix | abr, how do I do that exactly? | 09:54 |
abr | have a look at the fingerterm launcher in /usr/share/applications. that bit at the end disables sandboxing for it, and you can put that in other apps' launchers | 10:04 |
Ingvix | ah, thanks | 10:13 |
Ingvix | seems to be working | 10:21 |
Ingvix | nice | 10:21 |
poetaster | rinigus, piggz, I've been working a bit on the libupnp player bits for donnie but basically have a clone | 13:00 |
poetaster | https://api.merproject.org/project/show/home:poetaster:donnie of the original work. | 13:00 |
poetaster | rinigus, piggz[m] the libraries still refer to the legacy sourceforge (current github)... shall I push them to chum anyway? | 13:01 |
rinigus | poetaster: I am not much into upnp and cannot comment on how useful it is. if you think that there are users interested in it and it fits chum requirements (license), then sure, why not | 13:15 |
poetaster | rinigus: ok. It is being used (not just by me :). I'll submit as is and work on rebuilding it with modern sources later. | 13:20 |
poetaster | rinigus, it's donnie + 3 libs | 13:20 |
rinigus | poetaster: good | 13:32 |
poetaster | rinigus: k. I'll restructure when I have a thumbs up from the original dev. | 13:33 |
rinigus | poetaster: liupnp has typo in a name -> libupnp | 13:33 |
poetaster | ouch. | 13:34 |
poetaster | fixing | 13:34 |
rinigus | I have declined it, just resubmit again | 13:35 |
poetaster | will do. | 13:35 |
rinigus | poetaster: libupnpp has a wrong URL in SPEC (no response on it), sent it back to you for fixing | 13:38 |
rinigus | poetaster: libmpdclient looks to be fine | 13:40 |
poetaster | rinigus, sorry for the noise. | 13:40 |
poetaster | rinigus, multi-tasking at middle age. | 13:40 |
rinigus | poetaster: not sure it has any correlation with age | 13:41 |
poetaster | rinigus, don't cast aspersions on my character ;) | 13:42 |
rinigus | poetaster: main issue looks to be https://github.com/poetaster/donnie - there is no LICENSE :( | 13:42 |
rinigus | poetaster: sorry - missed that it is in separate folder | 13:43 |
rinigus | license is fine, donnie should be good to go :) | 13:43 |
poetaster | rinigus, ok, I wanted to restructure first, but got bogged down in parallel project. | 13:44 |
rinigus | poetaster: ping me here when you resubmit those 2 packages. then I can add it all to chum | 13:44 |
poetaster | yo. | 13:44 |
poetaster | days when you remember why you like subdirs and static linking. | 14:24 |
poetaster | sigh: https://github.com/pupnp/pupnp/archive/refs/tags/release-1.6.21.tar.gz redirects to pupnp-release frig. | 14:31 |
gnu-stallman | hey there, can some one help? got such error trying to build hybris-hal droidmedia. https://pastebin.com/qqshiqvb | 15:21 |
attah | I'm trying to cram a web page in to a WebView... but it is refusing to scale, despite setting pixelRatio (other pages work), any ideas what i could mess with to get it to behave? | 16:06 |
attah | It looks fine on desktop if i make a phone-sized window (roughly same pixel dimensions as after pixelRatio too) | 16:07 |
attah | ...and 300% zoom in a phone-shaped but much bigger window looks good too O.o | 16:11 |
poetaster | attah, do you control the page? I was using media rules in css. presumably you're loading external? | 16:46 |
attah | poetaster: i do not... and they say they can't make it more "responsive" | 16:47 |
poetaster | attah: I'd probably do something obtuse like forcing a custom.css into the page with javascript :) | 16:50 |
attah | i've been thinking the same... but as it is reacting in this way i don't really know where to start | 16:51 |
poetaster | https://github.com/poetaster/hutspot/blob/master/qml/components/DevicePixelRatioHack.js | 16:52 |
poetaster | It just occured to me that you had commented it out of hutspot :) | 16:52 |
poetaster | attah: PixelRatio device dependancy foo? | 16:53 |
attah | Sure... but that is just for the old webview, isn't it? | 16:53 |
poetaster | Not so sure abou that. | 16:53 |
attah | hmmm | 16:53 |
poetaster | attah: pixelRatio Note: Unlike desktop Firefox, changing this value will only change the rendering of web content; it does not affect the UI scaling. | 17:06 |
attah | right, yes | 17:06 |
poetaster | but that's 'actually' what you want... hmmm. | 17:07 |
attah | but it is the website i'm after | 17:07 |
attah | In firefox the whole ui is html | 17:07 |
attah | ...rendered in gecko | 17:07 |
poetaster | yo. so, it's showing up too small. | 17:07 |
attah | yes | 17:07 |
attah | i think you may be on to something with the initial-scale thing | 17:08 |
poetaster | yeah, with crappy css it's also still an issue with browsers. although increasingly everyone just uses the same css :) | 17:08 |
attah | now if i could just run some javascript in the new webview... | 17:11 |
attah | webView.runJavaScript() wants it to have been initialized first | 17:12 |
poetaster | You can. But it's a nasty hack :) | 17:12 |
attah | ...and from what i can tell there is no signal for that | 17:12 |
attah | hmm? | 17:12 |
poetaster | Well, you do something really evil like: 1. turn of cors and csp, 2. create a static page with an iframe and the javascript 3. go to market. | 17:13 |
attah | oof | 17:13 |
poetaster | it 'might' be sufficient for testing to get enough information. I haven't played with it yet ... it's on the list for the one mahjong webview thing I have. | 17:14 |
poetaster | viewportInfo | 17:15 |
poetaster | I'm looking at: https://github.com/sailfishos/sailfish-components-webview/blob/master/examples/webview-test-app/main.qml | 17:17 |
poetaster | the project is, I believe about making viewport info visible. | 17:18 |
poetaster | attah: did you check webview additional and experimental. | 17:26 |
attah | poetaster: where? docs are linking me in circles and not saying much | 17:27 |
attah | https://sailfishos.org/develop/docs/sailfish-components-webview/webview-experimental.html/ ? | 17:27 |
poetaster | I'm in the qdoc :) | 17:28 |
poetaster | WebView::contentRect etc. | 17:28 |
attah | rect-type read-only property. :( | 17:29 |
poetaster | yeah, but you can find out who thinks what size is what ! | 17:29 |
attah | hmmm... QRectF(0, 0, 0, 0) | 17:31 |
poetaster | hmmm. resolution: ? | 17:33 |
attah | 0 | 17:35 |
poetaster | maybe I'm overthinking it. user.css should still be possible ;) | 17:39 |
poetaster | turn off strict_origin_policy and cors and I believe you can add user.css. | 17:41 |
poetaster | I mean userChrome.css | 17:44 |
attah | any reference to as how i might do that? | 17:44 |
poetaster | not sure it's the way: https://www.userchrome.org/what-is-userchrome-css.html | 17:45 |
poetaster | those are just ui hacks. | 17:45 |
poetaster | ah, I need to do child care ... | 17:48 |
attah | poetaster: dpr here is correct at least https://whatismyviewport.com/ | 18:14 |
attah | poetaster: hrmf... getting all zeroes with the page i'm concerned with, but sane valies with that viewport debug page | 18:30 |
attah | okay... i have now proved that it is the meta-viewport thing | 18:41 |
piggz | poetaster: donnie needs libupnp | 19:03 |
* attah sighs https://github.com/attah/harbour-bbk/commit/25839c844ef19490559b5eacefb6983be751183c | 19:05 | |
Nico | Can't you just do onLoaded: ? | 19:08 |
attah | nope | 19:08 |
Nico | eeeeeeehhhhhh | 19:08 |
attah | the signal just isn't there | 19:08 |
attah | qml won't even show | 19:08 |
Nico | How? | 19:09 |
Nico | Ah | 19:09 |
Nico | onLoadedChanged? | 19:09 |
attah | maaaybe | 19:09 |
attah | thad did it, thanks! | 19:10 |
Nico | Well, so it just uses proper qml naming instead of what my mind makes up randomly :D | 19:11 |
attah | and mine, apparently | 19:11 |
Nico | jinxed | 19:11 |
attah | ...it also wasn't documented (but i guess should have been expected) | 19:12 |
Nico | Well, all properties in qml usually have an onXChanged | 19:12 |
Nico | So usually that doesn't get documented | 19:12 |
attah | Now i just need to figure out why it doesn't start with SailJail | 19:13 |
poetaster | piggz, yeah, it's proving bitchy. I'll try pushing the current state | 19:14 |
poetaster | piggz, I'd been trying to build from github | 19:14 |
poetaster | piggz, sigh. libupnpp isn't any better. libupnpp-libupnpp-v0.15.2.tar.gz who does that? | 19:15 |
poetaster | piggz, @ade might have a solution for me | 19:17 |
attah | any ideas on how i'd make the cover be a miniature of the WebView? | 19:39 |
Nico | Doesn't it do that by default, if you have no cover? | 19:40 |
attah | Apparently not... i had accidentally removed "cover:" and i got a translated placeholder string of some sort on an empty cover | 19:41 |
Nico | Huh | 19:43 |
attah | "cover: null" almost works | 19:44 |
attah | It is all white, but at start of maximize-animation it shows the window for a split-second | 19:45 |
Nico | Maybe webviews are special | 19:45 |
Thaodan | Didn't the browser had a webview as cover? | 19:48 |
attah | It shows miniatures of the current page yes... | 19:50 |
attah | and that's where i found null... but it also uses some special BrowserWindow | 19:50 |
attah | Hmmm, it is probably just buggy (hardware acceleration and such), cover = webView.tabModel has the same effect as null | 19:56 |
poetaster | attah, did you find a scale solution? | 20:25 |
attah | poetaster: yes, the page in question was missing the meta-viewport stuff | 20:26 |
attah | https://github.com/attah/harbour-bbk/blob/43e36132a42c32f6e1deace4e9db98a5a1d1238e/qml/harbour-bbk.qml#L18 | 20:27 |
poetaster | ah. cool. but won't the pixelRatio at 3 limit the device selection ... | 20:28 |
attah | Well... only Jolla C will really be left out | 20:29 |
attah | but it is not done yet either really | 20:29 |
poetaster | Probably still too small on an iphone :) | 20:29 |
poetaster | but that's a great tip, thanks! | 20:29 |
attah | no worries, thanks for making me keep at it | 20:30 |
poetaster | now for c++ library hell ;) naaahhh. off to bed. | 20:30 |
attah | good choice | 20:30 |
poetaster | 6 am start :) | 20:31 |
poetaster | night all. | 20:31 |
attah | ouch | 20:31 |
attah | night! | 20:31 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!