2015-11-18 20:38:01 |
Gustavo Pichorim Boiko |
bug |
|
|
added bug |
2015-11-18 20:40:03 |
Bill Filler |
bug task added |
|
canonical-devices-system-image |
|
2015-11-18 20:40:08 |
Bill Filler |
canonical-devices-system-image: milestone |
|
ww02-2016 |
|
2015-11-18 20:40:13 |
Bill Filler |
canonical-devices-system-image: assignee |
|
Zoltan Balogh (bzoltan) |
|
2015-11-18 20:40:20 |
Bill Filler |
ubuntu-ui-toolkit (Ubuntu): assignee |
|
Zoltan Balogh (bzoltan) |
|
2015-11-18 20:40:24 |
Bill Filler |
ubuntu-ui-toolkit (Ubuntu): importance |
Undecided |
Medium |
|
2015-11-18 20:40:27 |
Bill Filler |
canonical-devices-system-image: importance |
Undecided |
Medium |
|
2015-11-18 20:50:43 |
Bill Filler |
canonical-devices-system-image: importance |
Medium |
High |
|
2015-11-18 20:50:46 |
Bill Filler |
ubuntu-ui-toolkit (Ubuntu): importance |
Medium |
High |
|
2015-11-23 20:58:19 |
Pat McGowan |
canonical-devices-system-image: status |
New |
Confirmed |
|
2015-11-23 20:58:36 |
Pat McGowan |
ubuntu-ui-toolkit (Ubuntu): assignee |
Zoltan Balogh (bzoltan) |
Zsombor Egri (zsombi) |
|
2015-11-24 17:14:05 |
Zsombor Egri |
ubuntu-ui-toolkit (Ubuntu): assignee |
Zsombor Egri (zsombi) |
Tim Peeters (tpeeters) |
|
2015-11-24 17:14:15 |
Zsombor Egri |
ubuntu-ui-toolkit (Ubuntu): status |
New |
Triaged |
|
2015-12-07 14:15:57 |
Zoltan Balogh |
affects |
ubuntu-ui-toolkit (Ubuntu) |
ubuntu-ui-toolkit (Ubuntu RTM) |
|
2015-12-14 06:54:32 |
Zoltan Balogh |
ubuntu-ui-toolkit (Ubuntu RTM): importance |
High |
Critical |
|
2015-12-14 14:11:48 |
Tim Peeters |
bug task added |
|
messaging-app (Ubuntu) |
|
2015-12-15 12:45:46 |
Zoltan Balogh |
ubuntu-ui-toolkit (Ubuntu RTM): status |
Triaged |
Fix Released |
|
2015-12-15 12:45:50 |
Zoltan Balogh |
canonical-devices-system-image: status |
Confirmed |
Fix Released |
|
2015-12-15 12:46:49 |
Zsombor Egri |
description |
In some cases it is desired that no header section is selected when the program starts. We used to achieve that by setting head.sections.selectedIndex to -1, but on Ubuntu.Components 1.3 this doesn't work: the first item gets selected by default. See the sample program below:
import QtQuick 2.4
import Ubuntu.Components 1.3
MainView {
id: mainview
objectName: "mainView"
width: units.gu(100)
height: units.gu(75)
Page {
id: mainPage
title: "Should not select"
head.sections.model: [ "first", "second", "third" ]
head.sections.selectedIndex: -1
}
}
This is actually a regression, the sample program below works fine on Ubuntu.Components 1.2 |
In some cases it is desired that no header section is selected when the program starts. We used to achieve that by setting head.sections.selectedIndex to -1, but on Ubuntu.Components 1.3 this doesn't work: the first item gets selected by default. See the sample program below:
import QtQuick 2.4
import Ubuntu.Components 1.3
MainView {
id: mainview
objectName: "mainView"
width: units.gu(100)
height: units.gu(75)
Page {
id: mainPage
title: "Should not select"
head.sections.model: [ "first", "second", "third" ]
head.sections.selectedIndex: -1
}
}
This is actually a regression, the sample program below works fine on Ubuntu.Components 1.2
---------------------------
Update: The old header doesn't work with the new design properly, therefore apps should turn to use the 1.3 hearing as in the example below:
it will work properly when the app switches to the new header:
import QtQuick 2.4
import Ubuntu.Components 1.3
MainView {
id: mainview
objectName: "mainView"
width: units.gu(100)
height: units.gu(75)
Page {
id: mainPage
header: PageHeader {
title: "Should not select"
extension: Sections {
model: [ "first", "second", "third" ]
selectedIndex: -1
}
}
}
} |
|
2015-12-15 13:01:39 |
Jean-Baptiste Lallement |
canonical-devices-system-image: status |
Fix Released |
Fix Committed |
|
2016-01-27 18:36:55 |
Pat McGowan |
canonical-devices-system-image: status |
Fix Committed |
Fix Released |
|