I figured out what was stopping the "scrolling" but this unveiled that there is something else going on. What I was doing to "stop" the scrolling was:
interactive: webView.focus // If the "webView" has focus, then it's flickable In this way there is no scrolling if the WebView that is inside the Flickable element doesn't have focus. Looks like there is an impediment at the WebView from getting a proper focus. I removed the above line, and what happens as soon as I start scrolling/panning, is that the WebView looses focus. On 2 June 2010 12:30, Ivan De Marino <[email protected]> wrote: > > > On 2 June 2010 12:22, Alan Alpert <[email protected]> wrote: > >> >> Onsdag 2. juni 2010 21:01:55 skrev ext Ivan De Marino : >> >> > Problem is that I'm a bit stuck now: the latest version of my project >> works >> > without any problem (aside from the bugs I didn't discover yet :P), >> while >> > on N900 the behaviour is always a bit "flaky". With realease 2010-05-20 >> of >> > the packages of "libqt4-experimental" for N900 1.2, I now lost >> > SCROLLING/PANNING And I can't make my head around on what is the actual >> > problem. I just use a Flickable element with a WebView inside: don't see >> > what can go wrong, and only on N900. The QML part of my project here: >> > >> http://github.com/OrangeLabsUK/OrangeMobileBrowser/tree/master/orangemobil >> > ebrowser-1.0/src/qmls/ . >> >> The webbrowser demo is working just fine on my n900. You might want to >> have a >> look at the differences between your FlickableWebView and the one in >> demos/declarative/webbrowser. This demo has had a bunch of minor changes >> recently, so you should have another look even if you've seen it before. >> >> I don't think any of those changes relate to this specific problem, but I >> could >> be wrong. And the recent webbrowser demo pans just fine on my N900 with >> those >> packages installed. >> > That's what I just tested and seen. I'm now trying to figure out what are > the macro differences on how things are laid out. > I was thinking that could be the "focusAway" black rectangle I apply on the > WebView when it looses focus. > The Z axis maybe. > > Will check and report. > > >> >> > >> > Plus, I can't use OpenGL in my GraphicsView because... no idea! It's >> slow, >> > painfully slow. I get much better performance if I "#ifdef" it out. >> >> With the PR1.2 packages this is a known issue, and is caused by a bug >> involving clipping. The next set of Qt 4.7 packages should hopefully >> resolve >> it. Until then keep trying without using OpenGL. >> > Great! This means I'm not doing something wrong myself. > I'll wait for the new packages ;) > > Thanks a lot. > >> >> -- >> >> Alan Alpert >> Software Engineer >> Nokia, Qt Development Frameworks >> _______________________________________________ >> Qt-qml mailing list >> [email protected] >> http://lists.trolltech.com/mailman/listinfo/qt-qml >> > > > > -- > Ivan De Marino | Software Engineer | France Telecom R&D UK - Orange Labs > w. +44 20 8849 5806 | m. +44 7515 955 861 | m. +44 7974 156 216 > ivan[dot]demarino[at]orange-ftgroup.com | > ivan[dot]de[dot]marino[at]gmail[dot]com > www.detronizator.org | www.linkedin.com/in/ivandemarino > -- Ivan De Marino | Software Engineer | France Telecom R&D UK - Orange Labs w. +44 20 8849 5806 | m. +44 7515 955 861 | m. +44 7974 156 216 ivan[dot]demarino[at]orange-ftgroup.com | ivan[dot]de[dot]marino[at]gmail[dot]com www.detronizator.org | www.linkedin.com/in/ivandemarino
_______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml
