Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
minmax
Posts: 54
Registered: ‎09-25-2012
My Device: Dev Alpha, Z10
My Carrier: MTS

Sheet transition shows a white stripe briefly when calling it from other Sheet

Hi guys!

After latest OS update I observe this bug when execute code bellow on the Blackberry Z10 device  (OS BB 10.1.0.4633, Software Release 10.1.0.4181).

 

code example:

 

TestDialog1.qml:

import bb.cascades 1.0

Sheet {
    id: testDialog1

    Page {
        titleBar: TitleBar {
            id: titleBar
            title: "Test Dialog 1"
            dismissAction: ActionItem {
                id: cancelAction
                title: "Cancel"
                onTriggered: {
                    testDialog1.close();
                }
            }
        }

        Container {
            background: Color.Black
            layout: DockLayout {
            }

            Button {
                horizontalAlignment: HorizontalAlignment.Center
                verticalAlignment: VerticalAlignment.Center
                text: "Open Test Dialog 2"
                onClicked: {
                    testDialog2.open();
                    testDialog1.close();
                }
            }
        }
    }

    attachedObjects: [
        TestDialog2 {
            id: testDialog2
        }
    ]
}

 TestDialog2.qml:

import bb.cascades 1.0

Sheet {
    id: testDialog2

    Page {
        titleBar: TitleBar {
            id: titleBar
            title: "Test Dialog 2"
            dismissAction: ActionItem {
                id: cancelAction
                title: "Cancel"
                onTriggered: {
                    testDialog2.close();
                }
            }

            acceptAction: ActionItem {
                id: doneAction
                title: "Done"
                onTriggered: {
                    testDialog2.close();
                }
            }
        }

        Container {
            background: Color.Black
            layout: DockLayout {
            }

            Label {
                horizontalAlignment: HorizontalAlignment.Center
                verticalAlignment: VerticalAlignment.Center
                text: "I am Test Dialog 2"
                textStyle.fontSize: FontSize.XXLarge
            }
        }
    }
}

 

 When TestDialog2 is opening and animation in progress I see white stripe:white_stripe_bug.png

 

earlier, I just observe TestDialog1 (looks as it was do not closing immediately) Instead this white stripe.
Anybody know how I can avoid this ugly white stripe?!

Thanks!

 

Please use plain text.
Developer
minmax
Posts: 54
Registered: ‎09-25-2012
My Device: Dev Alpha, Z10
My Carrier: MTS

Re: Sheet transition shows a white stripe briefly when calling it from other Sheet

Ok, it was fixed after 10.2 update
Please use plain text.
Developer
minmax
Posts: 54
Registered: ‎09-25-2012
My Device: Dev Alpha, Z10
My Carrier: MTS

Re: Sheet transition shows a white stripe briefly when calling it from other Sheet

Please ignore my previous comment.
If look closely seems issue still here. But white strip appears only at the end of the animation (after ~3/4 of animation time).
So on the 10.2 issue gone only partially.
On the newest OS version 10.2.1.1925 issue is still there.
Please use plain text.