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

            Bug ID: 402050
           Summary: Commit 1df657b4066d introduces wrongly sized pages in
                    pageRow
           Product: frameworks-kirigami
           Version: Master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: notm...@gmail.com
          Reporter: jlmul...@xs4all.nl
  Target Milestone: Not decided

Unfortunately, I do not have a small demonstrator for this issue, but I
bisected my problem to commit 1df657b4066d (basic support for hidden pages).
While developing for the open source project Subsurface-Mobile, I encounter the
following strange behavior: Open the app, and make sure its not in wideMode,
select map, select a dive flag, go back to the dive list, and select the dive
in the list, causing it to show its details. A blank page is shown, and swiping
to the right shows that the new page has 2x the width it should have (or the a
bogus, empty page created, that is difficult to see).

As said. Bisected this to 1df657b4066d. Tried to fix this, and succeeded, but
as I do not understand how 1df657b4066d introduces the described problem,
producing any fix for this (without introducing another bug) is not the way to
go.

STEPS TO REPRODUCE: see above. Source code can be found at
https://github.com/Subsurface-divelog/subsurface

OBSERVED RESULT: see above.

EXPECTED RESULT: obvious.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.53
Qt Version:  5.12.0

ADDITIONAL INFORMATION: the delta below fixes the issue me:

777c777
<                         target: container
---
>                       target: container
779a780,785
>                   PropertyChanges {
>                       target: container.page.anchors
>                       rightMargin: {
>                           return -(root.width - 
> pagesLogic.roundedDefaultColumnWidth*2);
>                       }
>                   }

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

Reply via email to