Languages

Menu
Sites
Language
Wearable - UI sometimes doesn't follow change page request

Our Tizen Web app running on Samsung Wearable 3.0 sometimes doesn't change page, when receiving multiple messages which each require screen change.  Specifically, if we ask the app to change screens too quickly, it simply disregards the last request.

We added a delay timeout for changing pages, but it didn't fix the issue.


function delayedChangePage(toPage) {
        lastGoToPage = toPage;
        window.setTimeout(
            function() {
                if (lastGoToPage === toPage) {
                    changePage(toPage);
                }
            }, 250);
    }


function changePage(toPage) {
        tau.changePage(toPage);
    }

Is this a possible issue in the Tizen OS?
Is there a better or different way or a recommended workaround to resolve this issue?  

Thank you in advance,
Narges

Edited by: Narges Aghakazem on 05 Mar, 2019