Bug 364932

Summary: Pushing pages in desktop mode is erratic
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Thomas Pfeiffer <thomas.pfeiffer>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: Not decided   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Video showing the problem

Description Thomas Pfeiffer 2016-06-30 16:22:51 UTC
When pushing pages in desktop mode, sometimes the new page takes the full width, sometimes it doesn't. See attached screencast.

Also notice the toolbars moving by themselves at the end...

I got these messages (several times) on the console if that helps:

file:///usr/lib/qt/qml/org/kde/kirigami/GlobalDrawer.qml:159:9: QML Flickable: Binding loop detected for property "contentWidth"
Both point size and pixel size set. Using pixel size.
file:///usr/lib/qt/qml/org/kde/kirigami/ToolBarApplicationHeader.qml:59: TypeError: Cannot read property of null
file:///usr/lib/qt/qml/org/kde/kirigami/private/RefreshableScrollView.qml:215:13: QML Binding: Binding loop detected for property "value"
file:///usr/lib/qt/qml/org/kde/kirigami/ToolBarApplicationHeader.qml:178: TypeError: Cannot read property 'visible' of undefined


Reproducible: Always

Steps to Reproduce:
1. /usr/share/kpackage/genericqml/org.kde.kirigami.gallery/contents/ui/DesktopExampleApp.qml
2. Resize the window to 1338px
3. Go to "Multiple Columns"
4. Click "Push page" multiple times
Comment 1 Thomas Pfeiffer 2016-06-30 16:23:40 UTC
Created attachment 99773 [details]
Video showing the problem
Comment 2 Marco Martin 2016-06-30 16:29:58 UTC
Git commit 4f0dd7d468ddf44af46b8bdd49b6ba0dc60188c3 by Marco Martin.
Committed on 30/06/2016 at 16:29.
Pushed by mart into branch 'master'.

don't do random columns width

M  +1    -1    examples/gallery/contents/ui/gallery/MultipleColumnsGallery.qml

http://commits.kde.org/kirigami/4f0dd7d468ddf44af46b8bdd49b6ba0dc60188c3