Comment 0 for bug 1599184

Revision history for this message
Tim Peeters (tpeeters) wrote :

messaging-app.qml has the following code:

        onColumnsChanged: {
            // we only have things to do here in case no thread is selected
            if (layout.columns == 2 && !application.findMessagingChild("emptyStatePage") && !application.findMessagingChild("fakeItem")) {
                layout.removePage(mainPage)
                emptyStack()
            }
        }

This causes the current conversation to be closed when the user rotates the phone (on a large-enough screen to go to two-column mode), and that can be very annoying. The APL can already take care of moving pages to the correct column and correct place in the stack when needed, so this code should be removed. Also note that emptyStack() will again call layout.removePage(mainPage).

I know there is some difficulty with making the BottomEdge work as specified (with the BottomEdge moving between columns depending on the layout), so that is something that must be fixed first.