I did not digg into Unity8 and qmenumodel too much but in
${unity8_srctop}/qml/Wizard/Pages/30-wifi.qml,
LocalComponents.Page {
readonly property bool connected: Connectivity.online
Component {
id: accessPointComponent
ListItem {
readonly property bool isConnected: menuData && menuData.actionState
onClicked: {
unityMenuModel.activate(menuIndex);
}
}
}
Component {
id: forwardButton
LocalComponents.StackButton {
text: (connected || listview.count === 0) ? i18n.tr("Next") :
i18n.tr("Skip")
onClicked: pageStack.next()
}
}
Many irrelevant lines removed. So from above source code you see the
forwardButton becomes "Next" when `Connectivity.online` evaluates to
true, but the list items become "connected" when the
`menuData.actionState` is valid. The latter is obviously wrong because
its state is changed by the call `unityMenuModel.activate(menuIndex)`,
which is always executed on item being clicked.
Please fix the qml accordingly.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1604322
Title:
The SSID gets connected directly without password entered properly in
WiFi list
Status in indicator-network package in Ubuntu:
New
Status in unity8 package in Ubuntu:
Confirmed
Bug description:
Description:
The wifi AP get connected directly in OOBE/settings app,
when user is starting to input the password.
Reproduce Steps:
a) Boot the Ubuntu device to enter the wifi SSID list in OOBE/settings
b) Select one of the wifi ap in the SSID list
c) Observe the connection status of the SSID behinds the password dialog
Expected Result:
The status need to be updated according to the password checking result.
Actual Result:
The status shows "connected" directly without entering the password.
Occurrence:
10/10 (100%)
Hardware Information:
current build number: 6
device name: midori
channel: ubuntu-touch/testing/meizu.zh
last update: 2009-12-31 19:09:56
version version: 6
version ubuntu: 20160713
version device:
1f6553011b1e60b0452bab5e5b0c3a9f9aece23aeac4e2be52c4120f3e7d2391
version custom: 20160708-982-8-4
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-network/+bug/1604322/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp