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 visible | 09: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#L312 | 10:19 |
Nico | Yep, current active page you can check via the page status | 10:21 |
Nico | But 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 needed | 10:24 |
Nico | I think you can use https://doc.qt.io/qt-6/qml-qtquick-application.html#state-prop instead to see if the app is active | 10: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 > 0 | 10: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 |
coffeecreature | So besides Sony and first-party hardware, what's the current best phone to run SFOS on? | 13:11 |
coffeecreature | In terms of speed and feature-completedness | 13:11 |
x2s | https://docs.qualcomm.com/product/publicresources/securitybulletin/october-2024-bulletin.html | 19:22 |
x2s | not 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/!