Clock app cannot be opened in tutorial

REPRODUCIBILITY: 100% (always)
OS VERSION: 5.0.0.68
HARDWARE: Sony Xperia XZ2 (h8266)
UI LANGUAGE: English (US), Russian
REGRESSION: don’t know

DESCRIPTION:

In the open clock stage of tutorial app, clock cannot be opened.

PRECONDITIONS:

SailfishOS installed and setup

STEPS TO REPRODUCE:

  1. Open Tutorial application
  2. Complete all steps before you get to “Here is Clock app” and “Tap to open”
  3. Try clicking clock app, which does nothing

EXPECTED RESULT:

Clock icon is highlighted and clicking it moves you to the next tutorial stage

ACTUAL RESULT:

Clock icon is not highlighted and clicking it does nothing

MODIFICATIONS:

Patchmanager, storeman, chum.

ADDITIONAL INFORMATION:

I’m on the xa2 and i can confirm this, does not open for me too and i had to force quit the tutorial…

1 Like

There’s a different kinda related, kinda hilarious bug with the same phase of the tutorial app on my port.

3 Likes

Hehe.

That part is in $LIBDIR/qt5/qml/Sailfish/Tutorial/PulleyLesson.qml.

196     LauncherItem {
197         id: clockIcon
198
199         row: 2
200         column: 3
201
202         enabled: applicationGrid.y === 0
203

So the location seems to be hardcoded irrespective of the actual launcher layout (which may have more columns than 4).

I appears that $LIBDIR/qt5/qml/Sailfish/Tutorial/private/LauncherGrid.qml should expose its row and column count (via grid.rows and grid.models, and possibly the index of the clock launcher in its grid.model.

clockIcon could then determine its grid coordinates via function.

6 Likes