https://bugs.kde.org/show_bug.cgi?id=426757

            Bug ID: 426757
           Summary: Kirigami.PageRouter reloads already loaded routes
           Product: frameworks-kirigami
           Version: 5.70.0
          Platform: Debian unstable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: notm...@gmail.com
          Reporter: link...@testrun.org
  Target Milestone: Not decided

Created attachment 131792
  --> https://bugs.kde.org/attachment.cgi?id=131792&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to