ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #07273
[Bug 1630167] [NEW] When SlotsLayout uses a Column as mainSlot and view is resized horizontally an inifinite resize loop starts
Public bug reported:
With a simple code such as
import QtQuick 2.4
import Ubuntu.Components 1.3
import QtQuick.Window 2.0
Window {
SlotsLayout {
id: slotsLayout
onHeightChanged: print("SlotsLayout height",height)
width: parent.width
mainSlot: Column {
onHeightChanged: print("COlumn height",height)
onWidthChanged: console.log("Column width", width)
Rectangle {
id: rect
width: parent.width
onWidthChanged: console.log("RECT WIDTH", width)
onHeightChanged: console.log("RECT HEIGHT!", height)
height: 5
}
}
}
}
Or something similar (http://archive.is/N0jnM), when resizing the view horizontally to only use few pixels, an infinite resizing loop starts and the view freezes.
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Medium
Assignee: Andrea Bernabei (faenil)
Status: Triaged
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1630167
Title:
When SlotsLayout uses a Column as mainSlot and view is resized
horizontally an inifinite resize loop starts
Status in ubuntu-ui-toolkit package in Ubuntu:
Triaged
Bug description:
With a simple code such as
import QtQuick 2.4
import Ubuntu.Components 1.3
import QtQuick.Window 2.0
Window {
SlotsLayout {
id: slotsLayout
onHeightChanged: print("SlotsLayout height",height)
width: parent.width
mainSlot: Column {
onHeightChanged: print("COlumn height",height)
onWidthChanged: console.log("Column width", width)
Rectangle {
id: rect
width: parent.width
onWidthChanged: console.log("RECT WIDTH", width)
onHeightChanged: console.log("RECT HEIGHT!", height)
height: 5
}
}
}
}
Or something similar (http://archive.is/N0jnM), when resizing the view horizontally to only use few pixels, an infinite resizing loop starts and the view freezes.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1630167/+subscriptions
Follow ups