Bug 405571 - Error in example file: AbstractApplicationWindow.qml
Summary: Error in example file: AbstractApplicationWindow.qml
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: Master
Platform: Other Linux
: NOR normal
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-17 18:06 UTC by carl
Modified: 2019-09-20 09:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description carl 2019-03-17 18:06:16 UTC
SUMMARY

In the example file examples/simpleexamples/AbstractApplicationWindow.qml, clicking on the navigate back button, I get the following error:

TypeError: Property 'goBack' of object QQuickStackView_QML_91(0x55ea59443ee0) is not a function

STEPS TO REPRODUCE
1. qmlscence examples/simpleexamples/AbstractApplicationWindow.qml
2. click on the navigate back button

OBSERVED RESULT
An error message that the goBack function don't exist

EXPECTED RESULT
???

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch linux Kernel 5.0.0
KDE Plasma Version: 5.15.80
KDE Frameworks Version: 5.56
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Kirigami master
Comment 1 Marco Martin 2019-09-20 09:30:24 UTC
Git commit 8715ac95f55f159c21c36ea8734ebbf2774a7bcf by Marco Martin.
Committed on 20/09/2019 at 09:29.
Pushed by mart into branch 'master'.

port away from deprecated Kirigami.ApplicationHeader

M  +0    -2    examples/simpleexamples/AbstractApplicationWindow.qml

https://commits.kde.org/kirigami/8715ac95f55f159c21c36ea8734ebbf2774a7bcf