×

Discussion Board

Results 1 to 3 of 3

Hybrid View

  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    228

    Smooth scrolling in Qt Quick

    Dear all,

    I'm trying to use Qt Quick for my application that contains some data displayed in ListView. While the device (Nokia N900) is in landscape orientation scrolling of the list seems to be smooth enough, but once device oriented in portrait orientation items of the list start to have partial drawing during scroll operation. In 3D graphics I know this is happens when there is no double buffering enabled, so frame is partially drawn when there is another paint event occur. Does QML ListView element uses 'double buffering' by default or it's possible to enable it somehow? May be there are other tricks to avoid non-smooth drawing of item during scrolling ? Any ideas appreciated,
    Thanks

    Update: cacheBuffer doesn't help
    Last edited by pippo2010; 2011-03-10 at 15:38.
    http://inmobisoft.com

  2. #2
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Smooth scrolling in Qt Quick

    Is this helpful to you Just to get the idea and implementation : Kinetic scrolling

    Best regards,

  3. #3
    Registered User
    Join Date
    Oct 2010
    Posts
    228

    Re: Smooth scrolling in Qt Quick

    Actually it's not about that type of smoothness Problem is with the rendering artifacts during scrolling that caused by no finished frame rendering while the other paint event occur. It also surprised me that using OpenGL viewport makes things worth, rendering goes slower!
    http://inmobisoft.com

Similar Threads

  1. Scrolling in qt
    By amrutap27 in forum [Archived] Beginning Qt
    Replies: 30
    Last Post: 2011-03-30, 14:23
  2. Replies: 1
    Last Post: 2011-03-06, 21:28
  3. Smooth Horizontal Canvas Scrolling
    By ravey72 in forum Mobile Java General
    Replies: 4
    Last Post: 2006-03-14, 17:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×