Sunday, 2025-08-10

rinigusOn 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
malrinigus: how small is it?12:40
rinigusmal: unreadable. Like 3 or more times smaller than regular text12:47
malhmm12:49
malwhat pixel ratio do you use?12:49
malthis somehow sounds like an issue that happenened in browser during development, need to try to remember what it was12:50
rinigusmal: pixel_ratio is 2 for 1iv13:02
rinigusany way to check on device?13:02
rinigusetc/dconf/db/vendor.d/silica-configs.txt has also theme_pixel_ratio set to 2.013: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 that13:18
T42<elros34> so not exactly phone:)13:19
T42<elros34> but there are no windows phone anymore13:19
T42<Danct12> sounds like something that can be done if you can install android on it14:11
T42<Danct12> i think14:11
T42<TheVancedGamer> unless it's an x86 phone with SFI14:11
T42<TheVancedGamer> those are pretty painful from what I heard14:12
Mister_Magistermal: ping any ideas14:29
malnot right now14:29
malI did manage to gbinder mostly working on a15 base though, which fixed a lot of things14:30
mal*to get14:30
Mister_Magistergood job14: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 annoying14:31
malI forgot to test it again14:32
malit was the wlan issue?14:32
T42<TheVancedGamer> yes14:34
malok, I'll rebuild and try, checked for any new changes in the ubports repo14: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 that14:46
T42<TheVancedGamer> I'm thinking of pulling qcacld from CLO and see if I can reproduce the issue15:27
rinigusmal: anything came to mind regarding email font/dpi? I looked into sfos browser commits, but nothing showed up. Could have missed it though16:12
malI'll check some chat logs to see what it might have been16:51
malrinigus: check what you have for layout.css.devPixelsPerPx in about:config16:53
malin browser16:54
malwondering how those things work in emails16:55
rinigusmal:  I have layout.css.devPixelsPerPx=3 and layout.css.dpi=-116:56
rinigusin browser16:56
malcould you grep some stuff in /home for that devPixelsPerPx in case there is a separate config value for it in .config/ or whatever16:57
riniguswill do16:58
rinigusset 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.js16:59
rinigusnow would have to find same for email?17:00
malis the value the same in all?17:01
rinigusall is 3 with exception to hydrogen which has 4. will try now to hack email .mozilla/orefs.js17:01
rinigusprefs.js17:01
mal3 seems fine value imo17:02
rinigusand it fixed it17:02
rinigusnow, I wonder how can I set it in the system?17:03
riniguscurrently had to change in /home/defaultuser/.cache/com.jolla/email/.mozilla17:03
malhmm17:04
maldoes 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 exists17:08
malmaybe backup the folder before doing that :)17:09
rinigusmal: yes, it does revert to broken fonts (tiny ones) if I do so17:12
rinigusso, I guess I need to learn where are "default" settings for .mozilla folder and how to set them17:13
rinigusand I wonder why browser doesn't have it17:13
malafaik those are generated at runtime17:17
malbut why only browser generates it and email doesn't17:18
malrinigus: setPixelRatio in qtmozembed17:33
malwhich should end up being called from sailfish-components-webview17:34
malafaik email things go via that17:34
rinigusmal: will read that code in qtmozembed. But it is strange currently17:56
rinigusmal: 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 absent18:14
rinigusnow, if I remove __PREFS_WRITTEN__ and .cache for email, it initializes correctly with readable font. => my bug in moving settings18:15
malah18:15
malgood18:15
malthat is why I mentioned __PREFS_WRITTEN__ earlier, it needs removing if you want settings to be regenerated18:16
rinigusbut 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
malyeah18:17
rinigusdidn't look anywhere else18:17
malyeah, sorry18:17
malbut at least it got fixed now18:17
rinigusno - no, I am sorry for not checking it anywhere else. thank you for your help!!!18:17
malrinigus: I didn't know you had moved things from old setup which of course didn't help with that18:23
maland I know it's difficult to know what info is useful and what is not so no problem with that18:25
Mister_Magistermaaaaaaaaaaaaaaaaal still no ideas? :P19:13
malnope20:41
Mister_Magisteraw man20:42
Mister_Magisterand i don't even know how to debug it further20:42
T42<edp_17> Can I wake up device/turn screen on by a command?21:15
mal@edp_17 mcetool --unblank-screen21:22
T42<edp_17> Thanks21:23

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