We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

Using SlideshowView and Dialog

asked 2017-01-18 12:27:10 +0300

gabriel9 gravatar image

I have simple SlideshowView with three pages. And in those pages i have PullDownMenu which push the Dialog.

Problem is that when it is sliding new Dialog page i can see new page from SlideshowView in place of Dialog for a moment. This also happens on Accept in Dialog.

Anyone use this type of setup with SlideshowView and Dialogs? And is there any solution?

edit retag flag offensive close delete

Comments

Maybe you shouldn't put slideshow in Dialog and search for different solution?

coderus ( 2017-01-18 14:08:12 +0300 )edit

@coderus I think he has a slideshow AND a simple dialog.

Aldrog ( 2017-01-18 16:57:11 +0300 )edit

I have the same in my sailphoto app (openrepos) only a slideshowview on a page. When the backnavigation is used using the swipe, the previous photo is shown over the previous page. I also experimented wit a horizontal listview but have not succeed in correct functionality ;-(

rgrnetalk ( 2017-01-18 17:22:36 +0300 )edit

I have Dialog in SlideShow.

gabriel9 ( 2017-01-19 11:54:20 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2017-01-18 20:35:45 +0300

Have you tried to use clip: true in the SlideshowView?

edit flag offensive delete publish link more

Comments

Will try later. But i just checked docs, and i can't see it there. Thanks for the hint.

gabriel9 ( 2017-01-19 11:55:24 +0300 )edit

Yeah, this property comes from the Item element, see here: http://doc.qt.io/qt-5/qml-qtquick-item.html#clip-prop

ejjoman ( 2017-01-19 12:06:14 +0300 )edit

@gabriel9 Did it work? :)

ejjoman ( 2017-01-22 11:51:50 +0300 )edit
1

@ejjoman Sorry for not responding earlier. I had some other stuff to do. Yes, it works! Thank you for this :)

gabriel9 ( 2017-01-30 15:45:06 +0300 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2017-01-18 12:27:10 +0300

Seen: 160 times

Last updated: Jan 18 '17