| Summary: | Kirigami.PageRouter reloads already loaded routes | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kirigami | Reporter: | link2xt |
| Component: | general | Assignee: | Marco Martin <notmart> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | jackhill3103 |
| Priority: | NOR | ||
| Version First Reported In: | 5.70.0 | ||
| Target Milestone: | Not decided | ||
| Platform: | Debian unstable | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Example QML file to reproduce the bug | ||
Closing because PageRouter was removed in this commit https://invent.kde.org/frameworks/kirigami/-/commit/966482bd1e0dacaca3d336251ae0985120241024 |
Created attachment 131792 [details] Example QML file to reproduce the bug SUMMARY When navigating from "foo/bar/baz" to "foo/bar/baz", Kirigami.PageRouter reloads page "bar". STEPS TO REPRODUCE 1. Load attached example with "qmlscene example.qml" 2. Press button "foo". Route "foo/bar" loads. 3. Select second item in the list. Route "foo/bar/baz" loads, but item gets unselected. 4. Select second item in the list again. Route "foo/bar/baz" loads, item gets unselected again. OBSERVED RESULT Already loaded pages are reloaded. EXPECTED RESULT On step 3, the result should be the same as if .pushRoute("baz") was used. On step 4, nothing at all should happen. SOFTWARE/OS VERSIONS Qt version 5.14.2, Kirigami2 version 5.70.0, Debian sid