[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [kirigami] [Bug 377037] New: PageRow sliding & clicking page produces TypeError (Cannot read propert
From: <bugzilla_noreply () kde ! org>
Date: 2017-02-28 22:19:02
Message-ID: bug-377037-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=377037
Bug ID: 377037
Summary: PageRow sliding & clicking page produces TypeError
(Cannot read property 'anchors' of nul).
Product: kirigami
Version: Master
Platform: Debian unstable
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: notmart@gmail.com
Reporter: jm.ouwerkerk@gmail.com
Target Milestone: Not decided
Created attachment 104279
--> https://bugs.kde.org/attachment.cgi?id=104279&action=edit
QML example demonstrating the issue
It is possible to provoke the Kirigami PageRow component into attempting to
deref a null value by pushing a new page to the pageStack.
Steps to Reproduce:
1. Load the attached QML file with qmlscene
2. Click the "Demonstrate the bug" button 3 times or more (it doesn't need
'rapid' clicks, just repeated clicks to trigger the bug).
3. Observe the console output of qmlscene: on or more TypeErrors should be
reported, the first of which references line 436 of the PageRow source.
Burried inside the PageRow component, at lines 436 the following is attempted:
```
// at line 435:
onPageChanged: {
page.parent = container;
page.anchors.fill = container;
}
```
--
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic