Hi all, I have encountered a very strange bug with SearchField. I have refactored my SearchHeader component(containing a Label and a SearchField) so that I can reuse in other scenarios as well. I noticed after the refactoring that when user enters the same characters multiple times such as "pppp" or "mmmm" and view count becomes 0 as the proxymodel removes non matching elements my header changes its y property; In fact it changes its y depending on what letter have been pressed multiple times. If letters are not repeating the aforementioned phenomenon does still occure, but it's easier to observe how differently it works with other letters for instance nothing happens when "ggggg" is passed, but SearchField moves to about 50% of the screen whith "zzzzz".
The code that triggers this: https://github.com/KrisztianOlah/london-sail/blob/searchHeaderBug/qml/gui/TrafficSearchHeader.qml https://github.com/KrisztianOlah/london-sail/blob/searchHeaderBug/qml/gui/SearchHeader.qml The whole project: https://github.com/KrisztianOlah/london-sail/tree/searchHeaderBug The old version of the file which does not have this bug: https://github.com/KrisztianOlah/london-sail/blob/master/qml/gui/SearchHeader.qml I don't believe that my code should be affected by the string in the SearchField other than filtering the list, but if the problem exists between chair and keyboard please enlighten me. :) Thanks Kris
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org