rinigus | On nagara, html email is displayed with unreadable font. Any setting or var to set to make font readable in Jolla Email app? That's even when using screen not in full 4K resolution on 1IV. | 08:50 |
---|---|---|
mal | rinigus: how small is it? | 12:40 |
rinigus | mal: unreadable. Like 3 or more times smaller than regular text | 12:47 |
mal | hmm | 12:49 |
mal | what pixel ratio do you use? | 12:49 |
mal | this somehow sounds like an issue that happenened in browser during development, need to try to remember what it was | 12:50 |
rinigus | mal: pixel_ratio is 2 for 1iv | 13:02 |
rinigus | any way to check on device? | 13:02 |
rinigus | etc/dconf/db/vendor.d/silica-configs.txt has also theme_pixel_ratio set to 2.0 | 13:09 |
T42 | <Umeaman> Has anyone successfully booted Sailfish on a phone that had Windows preinstalled on it? | 13:16 |
T42 | <elros34> probably, there is old thread on forum with sailfish on some x86 laptops or something like that | 13:18 |
T42 | <elros34> so not exactly phone:) | 13:19 |
T42 | <elros34> but there are no windows phone anymore | 13:19 |
T42 | <Danct12> sounds like something that can be done if you can install android on it | 14:11 |
T42 | <Danct12> i think | 14:11 |
T42 | <TheVancedGamer> unless it's an x86 phone with SFI | 14:11 |
T42 | <TheVancedGamer> those are pretty painful from what I heard | 14:12 |
Mister_Magister | mal: ping any ideas | 14:29 |
mal | not right now | 14:29 |
mal | I did manage to gbinder mostly working on a15 base though, which fixed a lot of things | 14:30 |
mal | *to get | 14:30 |
Mister_Magister | good job | 14:31 |
T42 | <TheVancedGamer> btw mal, any luck reproducing the issue on FP5? | 14:31 |
T42 | <TheVancedGamer> its been working too well for me which is so annoying | 14:31 |
mal | I forgot to test it again | 14:32 |
mal | it was the wlan issue? | 14:32 |
T42 | <TheVancedGamer> yes | 14:34 |
mal | ok, I'll rebuild and try, checked for any new changes in the ubports repo | 14:43 |
mal | @TheVancedGamer my repo has been rebased on top of latest lineage kernel repo so there are some small changes but should not affect that | 14:46 |
T42 | <TheVancedGamer> I'm thinking of pulling qcacld from CLO and see if I can reproduce the issue | 15:27 |
rinigus | mal: anything came to mind regarding email font/dpi? I looked into sfos browser commits, but nothing showed up. Could have missed it though | 16:12 |
mal | I'll check some chat logs to see what it might have been | 16:51 |
mal | rinigus: check what you have for layout.css.devPixelsPerPx in about:config | 16:53 |
mal | in browser | 16:54 |
mal | wondering how those things work in emails | 16:55 |
rinigus | mal: I have layout.css.devPixelsPerPx=3 and layout.css.dpi=-1 | 16:56 |
rinigus | in browser | 16:56 |
mal | could you grep some stuff in /home for that devPixelsPerPx in case there is a separate config value for it in .config/ or whatever | 16:57 |
rinigus | will do | 16:58 |
rinigus | set in ./.local/share/org.sailfishos/browser/.mozilla/prefs.js; ./.cache/org.sailfishos/Settings/.mozilla/prefs.js; and even ./.cache/org.github.hydrogen-sailfishos.harbour-hydrogen/hydrogen/.mozilla/prefs.js | 16:59 |
rinigus | now would have to find same for email? | 17:00 |
mal | is the value the same in all? | 17:01 |
rinigus | all is 3 with exception to hydrogen which has 4. will try now to hack email .mozilla/orefs.js | 17:01 |
rinigus | prefs.js | 17:01 |
mal | 3 seems fine value imo | 17:02 |
rinigus | and it fixed it | 17:02 |
rinigus | now, I wonder how can I set it in the system? | 17:03 |
rinigus | currently had to change in /home/defaultuser/.cache/com.jolla/email/.mozilla | 17:03 |
mal | hmm | 17:04 |
mal | does it revert to broken state if you remoeve that /home/defaultuser/.cache/com.jolla/email/.mozilla folder and /home/defaultuser/.cache/com.jolla/email/__PREFS_WRITTEN__ do that only if the latter exists | 17:08 |
mal | maybe backup the folder before doing that :) | 17:09 |
rinigus | mal: yes, it does revert to broken fonts (tiny ones) if I do so | 17:12 |
rinigus | so, I guess I need to learn where are "default" settings for .mozilla folder and how to set them | 17:13 |
rinigus | and I wonder why browser doesn't have it | 17:13 |
mal | afaik those are generated at runtime | 17:17 |
mal | but why only browser generates it and email doesn't | 17:18 |
mal | rinigus: setPixelRatio in qtmozembed | 17:33 |
mal | which should end up being called from sailfish-components-webview | 17:34 |
mal | afaik email things go via that | 17:34 |
rinigus | mal: will read that code in qtmozembed. But it is strange currently | 17:56 |
rinigus | mal: found the source of the error. I moved my old settings, except .cache from older device. which means that __PREFS_WRITTEN__ was carried over - its actually in .local not .cache (so, I didn't find it before). SailfishOS::WebEngineSettings::initialize() goes through init only if that file is absent | 18:14 |
rinigus | now, if I remove __PREFS_WRITTEN__ and .cache for email, it initializes correctly with readable font. => my bug in moving settings | 18:15 |
mal | ah | 18:15 |
mal | good | 18:15 |
mal | that is why I mentioned __PREFS_WRITTEN__ earlier, it needs removing if you want settings to be regenerated | 18:16 |
rinigus | but maybe inconsistent as prefs_written could have been in the same location as the rest. not with one in .local and another in .cache. the file you mentioned was in .cache :) | 18:17 |
mal | yeah | 18:17 |
rinigus | didn't look anywhere else | 18:17 |
mal | yeah, sorry | 18:17 |
mal | but at least it got fixed now | 18:17 |
rinigus | no - no, I am sorry for not checking it anywhere else. thank you for your help!!! | 18:17 |
mal | rinigus: I didn't know you had moved things from old setup which of course didn't help with that | 18:23 |
mal | and I know it's difficult to know what info is useful and what is not so no problem with that | 18:25 |
Mister_Magister | maaaaaaaaaaaaaaaaal still no ideas? :P | 19:13 |
mal | nope | 20:41 |
Mister_Magister | aw man | 20:42 |
Mister_Magister | and i don't even know how to debug it further | 20:42 |
T42 | <edp_17> Can I wake up device/turn screen on by a command? | 21:15 |
mal | @edp_17 mcetool --unblank-screen | 21:22 |
T42 | <edp_17> Thanks | 21:23 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!