Thursday, 2024-10-10

rubdos[m]How does one check whether a page is currently actively in view in QML?09:42
rubdos[m]i.e., currently the visible page on pageStack + app is open and visible09:43
Miika[m]I have done it like this:10:19
Miika[m]https://github.com/miikasda/harbour-skruuvi/blob/2852311832afdb9e55c2b154e71ab1940cc0a59f/qml/pages/PlotDataPage.qml#L31210:19
NicoYep, current active page you can check via the page status10:21
NicoBut the visible logic doesn't tell you much, that is set by the application (and you are using bit wise operations for some reason?)10:21
Miika[m]I can't remember the logic, but that at least gave me what I needed10:24
NicoI think you can use https://doc.qt.io/qt-6/qml-qtquick-application.html#state-prop instead to see if the app is active10:27
rubdos[m]Miika works! The application state thing of Nico doesn't seem to work.10:54
rubdos[m]```10:54
rubdos[m]* ```10:54
rubdos[m]        running: (games.online && games.gameCount > 010:54
rubdos[m]            && overviewPage.status === PageStatus.Active && overviewPage.visible)10:54
Miika[m]Ruben De Smet: I'm glad if it was helpfull :)12:02
coffeecreatureSo besides Sony and first-party hardware, what's the current best phone to run SFOS on?13:11
coffeecreatureIn terms of speed and feature-completedness13:11
x2shttps://docs.qualcomm.com/product/publicresources/securitybulletin/october-2024-bulletin.html19:22
x2snot sure if I'm lucky that my X is too old for this...19:22

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