Correct use of SlideShowView

asked 2016-05-06 17:29:18 +0300

joonne gravatar image

Hi!

I have a problem in my projects with the SlideShowView component. I want to use it with the page stack.

Here is the explanation of the problem:

  1. Push a new page into the stack which has the SlideShowView with visualItemModel that has two items
  2. Press the glowing button that takes me back one step in the stack
  3. The previous item in the SlideShowView shows up while the page stack back animation is showed.

Any idea about this? What am I doing wrong? Do I need to somehow destroy the whole SlideShowView and then call the pageStack.pop() function?

I asked this from harbour QA also and they answered that this seems like the normal behavior of the component but I really would like to use this and the flashing is annoying.

I have seen this working for example in Whatsup settings page which seems to use the same logic as my app but since the source code is not available I have not got the change to verify this. :)

Here is the problematic snippet: https://github.com/joonne/harbour-sailseries/blob/master/src/qml/pages/SeriesViewPage.qml

edit retag flag offensive close delete

Comments

I tried to use SlideShowView in Sailfinder to swipe between pictures (internet images) and I saw the same behavior so I wrote an alternative component based on MouseArea {}.

Dylan Van Assche ( 2016-05-07 11:33:35 +0300 )edit

Did you find any workaround for this? I also have this issue.

gabriel9 ( 2017-01-07 14:15:22 +0300 )edit

Nope I didn't :(

Dylan Van Assche ( 2017-01-09 13:16:27 +0300 )edit

SlideShowView has property clip, by setting this to true the issue gets resolved :) Figured this out 2 weeks ago... :)

joonne ( 2018-03-13 22:56:34 +0300 )edit