Saturday, 2025-10-18

rinigusmal: we have the same bug with flight mode on nagara. It is sufficient to get to flight mode, shutdown phone. After that, on every boot you will get the same situation as you discussed last night.05:38
rinigusEven after reboots with network, on boot you will get flight icon, but net will be available (gsm, wifi, as configured before reboot). Toggle in pulley menu doesn't work05:40
rinigusTo get to normal state, after each boot, have to toggle flight mode in settings (shows correctly its not in that mode) on and off, and then all works correctly till next boot05:42
rinigusSo, possible it is some generic sfos bug and not just nagara port05:42
malrinigus: pretty sure it's some generic but which only appears on certain newer devices12:44
rinigusmal: yes, never seen that before12:45
malrinigus: I have an idea which might be causing it but haven't yet implemented the changes to ofono-binder-plugin, but I think there is also another issue with those flight mode toggles getting out of sync12:58
rinigusmal: let me know whether you need something to check. I think we both with @b100dian have that bug12:59
rinigusI haven'12:59
rinigusI haven't deleted any files, so can check if needed13:00
*** trigpoin1 is now known as trigpoint13:08
malrinigus: check the settings files mentioned yesterday13:11
malhow does offline mode show in those13:11
riniguswill do. going through last night log13:12
malso /home/.system/var/lib/connman/settings and /home/defaultuser/.local/share/system/privileged/connman/settings13:13
rinigusmal: https://paste.opensuse.org/pastes/1401c64852d613:17
riniguslooks like /home/.system/var/lib/connman/settings global13:17
malso mismatch13:17
rinigusyes, indeed13:19
malstop connman, change the mode in to false in .system one and reboot13:20
rinigusmal:  /home/.system/var/lib/connman/settings hasn't been changed since aug 413:20
malwhen did the issue start?13:20
rinigusI don't think I need even to stop connman. as file was not updated13:21
rinigusre start: I noticed and logged it on aug 10 https://github.com/sailfishos-sony-nagara/main/issues/4613:21
rinigusso, do I edit and reboot? or something else to check?13:22
maltry that first13:23
rinigustesting...13:24
rinigusmal: "fixed" by editing /home/.system/var/lib/connman/settings global.OfflineMode to false13:26
riniguson reboot, icons as they should be13:26
rinigusand flight mode toggle on pulldown menu works13:26
malok, good to know, that helps finding the root cause13:38
nephros_piggz[m]: does it make sense to patch KF6 apps to prefer Kirigami over Widgets?18:58
piggz[m]nephros_: if the app support that, yeah18:59
nephros_it seems (at least with KTrip and Itinerary), the Android build uses QGuiApplication and Kiri, while other OSes use QApplication and Widgets (plus KIO and friends).18:59
piggz[m]yeah, id do that, kirigami is more mobile friendly19:01
nephros_ok, I'll try. We should then probably '#define Q_OS_SAILFISH' and 'cmake -DSAILFISHOS:BOOL=ON' somewhere globally, to save a lot of similar patches.19:13
nephros_will cmake eat such a definition even if it's not in the CMakeLists?19:14
nephros_patches would look something like https://build.sailfishos.org/package/view_file/home:nephros:devel:qt6:devel/kde-itinerary/_service:tar_git:0000-build-for-sailfishos.patch?expand=119:28
piggz[m]i was adding19:31
piggz[m]option(SAILFISHOS OFF) in cmalelists, followed by.....19:31
piggz[m]nephros_: https://build.sailfishos.org/package/view_file/home:piggz:qt6apps/kasts/_service:tar_git:0002-add-sailfishos.patch?expand=119:32
piggz[m]yeah, similar idea19:33
nephros_yes- but could it be added somehow to e.g. ECM so it's not necessary to do it per-package/app?19:37
piggz[m]nephros_: perhaps we should be good citizens, and push upstream :)19:42
nephros_hehehe a SailfishOS support patchset for Qt6 of all things!19:55
nephros_well maybe something like '#define Q_OS_MOBILE', so others can use it as well.19:57
piggz[m]well, i was thinking more for the kde apps, that might be an easier barrier19:58
nephros_oh hey, Itinerary actually works. Nice!20:14
nephros_So, lets redo much of the same thing for KTrip!20:16
malrinigus: can you give link to your droid-config repo20:17
malfound it20:20
rinigusmal: https://github.com/sailfishos-sony-nagara/droid-config-sony-nagara20:21
rinigusAs I already had it selected20:21
malrinigus: possibly an issue, are you missing this https://github.com/mlehtima/droid-config-fp5/blob/master/sparse/var/lib/environment/connman/override-main-config.conf20:24
malrinigus: have you had issues with usb / developer mode20:25
piggz[m]nephros_: can you submit working apps to home:piggz:qt6apps ?20:51
piggz[m]elisa and kde-itinerary ? .. any more deps?20:51
nephros_piggz[m]: yes will do - once cleaned up and tagged.21:04
nephros_itinerary is underway but its deps are WIP at the moment.21:04
pherjung[m]piggz: I'm trying to build kwordquiz, what did you mean exactly with:21:06
pherjung[m]but, if you are happy to experiment, you can add home:piggz:qt6sb2 and home:piggz:qt6apps and install from there21:06
pherjung[m]?21:06
pherjung[m]Do I need to do something on OBS->Meta?21:06
nephros_also i must say I don't test intensively - if it runs and I can interact with it I ship! ;)21:06
piggz[m]i at least use the apps i package, kasts and tokodon :)21:07
piggz[m]kde-itenerary is probably a good app too21:07
piggz[m]pherjung: i just meant you could add those repos to your device and try out the packages21:08
nephros_pherjung[m]: to try apps, add the two piggz repos with "ssu addrepo"21:08
pherjung[m]ah ok21:08
pherjung[m]ok, wasn't sure21:08
piggz[m]be careful to downgrade wayland to 1.22 after instlling21:08
pherjung[m]I'm trying to build with obs before, perhaps less dangerous21:08
nephros_pherjung[m]: if you want to build qt6/kf6 apps, you need to do some OBS meta, yes.21:08
pherjung[m]ok, will try to find the right values :)21:10
nephros_pherjung[m]: you can copy the meta from home:nephros:devel:qt6:devel21:10
pherjung[m]thanks21:10
pherjung[m]looks way better :)21:18
pherjung[m]but there are still some missing packages21:18
nephros_pherjung[m]: which ones?21:22
pherjung[m]libappstream-glib... (full message at <https://matrix.org/oftc/media/v1/media/download/ARHe6erTyMWf8_qLWQyzR8oHuJN5xgCZVglFr1HX3uD4LqiHjXfRaJ36Sc07W-Y-4lw7Cv6g61QXd4AsofTEhm5CeaQU8Q2gAG1hdHJpeC5vcmcveUdVb0taTlR5WkF2cnpna1ZTR211aFNZ>)21:24
pherjung[m]libkeduvocdocument-devel >= %{majmin_ver_kf6}21:25
piggz[m]you need to change the names of them to our package names21:26
pherjung[m]Should they be listed here: https://repo.sailfishos.org/obs/home:piggz:qt6sb2/sailfish_latest_aarch64/aarch64/ ?21:29
nephros_yea and I think the {majmin_ver_kf6} macro is broken21:34
nephros_what the hell is libkeduvocdocument?21:35
nephros_ah ok, a lib very specific to that app21:37
nephros_also, Qt7QuickControls2 looks futurisric - a typo probably?21:38
pherjung[m]nephros_: indeed21:40
nephros_pherjung[m]: some qt and all kf related build deps using pkgconfig() will not work. you need to substitute the corresponding foo-devel packages21:40
nephros_same for BuildRequires: cmake(foo)21:41
pherjung[m]did you these changes on one of your maintened packages?21:42
nephros_KCrash you need to patch out - but that is usually easy, just remove it from any CMakelists, and then usually there is one include and one call to KCrash::initialize in main.cpp21:42
pherjung[m]<nephros_> "pherjung: some qt and all kf..." <- like I did with Qt6Core to qt6-qtbase-devel?21:56
nephros_yes, exactly. I'd recommend commenting out all that OBS complains about for now, just to get it to build, and then look which ones the build log actually complains about.22:05
nephros_yea, like that. this libkeduvocdocument we definitely have not packaged atm.22:11
nephros_qttools is 'qt6-qttools-devel'22:11
pherjung[m]mmh, I find no qttools22:13
nephros_kirigami is 'kf6-kirigami-devel'22:14
nephros_https://build.sailfishos.org/package/show/home:piggz:qt6sb2/qt6-qttools22:15
nephros_it's there.22:15
pherjung[m]seems that the patch is not applied22:18
pherjung[m]ok, found it. I think22:20
nephros_you need to mention the patch in the .spec, e.g. Patch1: foo.patch22:20
pherjung[m]make sense :D22:21
nephros_but you will have to make a package for that keduvocdocument library.22:22
nephros_also, it could turn out the 25.08 release is too new. I have had that with one of the other kde packages. in that case try v25.04.322:25
nephros_i'm off for tonight, good luck meanwhile!22:26
pherjung[m]thank you for help!22:26

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