From 9188eab66f01b4ea313c8f21ca1ff9bab51205a5 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sun, 16 Jun 2019 13:33:20 +0200 Subject: [PATCH] Changes: document new things in slideshow --- CHANGES | 12 ++++++++++++ src/branding/default/show.qml | 5 ++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 9f72f515c..7e9fc22be 100644 --- a/CHANGES +++ b/CHANGES @@ -7,6 +7,10 @@ website will have to do for older versions. This release contains contributions from (alphabetically by first name): +Distributions are **advised** to check the slideshow they use for the +installation step; changes in loading and translation mechanisms may +require changes in the slideshow. + ## Core ## - With this release, option *WITH_PYTHONQT* changes default to **off**. @@ -18,6 +22,14 @@ This release contains contributions from (alphabetically by first name): configured after the last *exec* section of the sequence has been solved. The *finished* page can be left out (but then you don't get the restart-now functionality). #1168 + - The *slideshow* which is run during installation is now loaded on + startup (while requirements checking is being done). This should + improve responsiveness when the slideshow starts. If the slideshow + has methods `onActivate()` and `onLeave()` those will be called + when the installation step is activated (e.g. the installation + starts and the slideshow becomes visible) or is finished (and the + slideshow becomes hidden). + - The example slideshow now starts its timers when it becomes visible. ## Modules ## diff --git a/src/branding/default/show.qml b/src/branding/default/show.qml index 7e04970ea..c1db046c2 100644 --- a/src/branding/default/show.qml +++ b/src/branding/default/show.qml @@ -68,5 +68,8 @@ Presentation centeredText: "This is a third Slide element." } - Component.onCompleted: advanceTimer.running = true + function onActivate() { + presentation.currentSlide = 0; + advanceTimer.running = true + } }