Closed
Bug 960354
Opened 9 years ago
Closed 9 years ago
Multi-select drop down menus don't update properly
Categories
(Firefox for Metro Graveyard :: Browser, defect, P2)
Tracking
(firefox28 verified, firefox29 verified)
VERIFIED
FIXED
Firefox 29
People
(Reporter: jimm, Assigned: jimm)
References
Details
(Whiteboard: [beta28] [defect] p=2)
Attachments
(2 files, 1 obsolete file)
1.05 KB,
text/html
|
Details | |
10.67 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
str: 1) open up a form interface with a multiselect drop down 2) select an item in the list 3) select another item 4) select the previous item to unselect result: the form element selection will update, but the popup menu item will remain selected.
Updated•9 years ago
|
Blocks: metrov1backlog
Whiteboard: [triage] → [triage] [defect] p=0
![]() |
Assignee | |
Comment 1•9 years ago
|
||
![]() |
Assignee | |
Comment 2•9 years ago
|
||
This was pretty messed up, I'm not sure what we were doing before hand. Cleaned things up so these selects are working. Also working a a multiselect test which I'll post in a bit.
Assignee: nobody → jmathies
Attachment #8361261 -
Flags: review?(mbrubeck)
Comment 3•9 years ago
|
||
Hey Jim, can you provide a point estimate.
Status: NEW → ASSIGNED
Flags: needinfo?(jmathies)
Priority: -- → P2
QA Contact: jbecerra
Whiteboard: [triage] [defect] p=0 → [beta28] [defect] p=0
Comment 4•9 years ago
|
||
Comment on attachment 8361261 [details] [diff] [review] patch v.1 Review of attachment 8361261 [details] [diff] [review]: ----------------------------------------------------------------- Looks good! Minor style nits below: ::: browser/metro/base/content/helperui/SelectHelperUI.js @@ +83,5 @@ > + > + // Setup pre-selected items. Note, this has to happen after show. > + this._listbox.clearSelection(); > + let item; > + while (item = selectedItems.pop()) { Could you use "for (let item of selectedItems)" instead? (Just to be more idiomatic, and possibly avoid extra malloc/free from mutating the array.) @@ +144,5 @@ > + } > + // Fix up selected items - richlistbox will clear selection on click events > + // so we need to set selection on the items the user has previously chosen. > + this._listbox.clearSelection(); > + for (let index = 0; index < this._listbox.childNodes.length; index++) { for (let node of this._listbox.childNodes)
Attachment #8361261 -
Flags: review?(mbrubeck) → review+
![]() |
Assignee | |
Comment 5•9 years ago
|
||
updated per comments plus a test.
Attachment #8361261 -
Attachment is obsolete: true
Attachment #8361293 -
Flags: review?(mbrubeck)
Flags: needinfo?(jmathies)
![]() |
Assignee | |
Comment 6•9 years ago
|
||
Comment on attachment 8361293 [details] [diff] [review] patch v.2 Review of attachment 8361293 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/metro/base/content/helperui/SelectHelperUI.js @@ +83,5 @@ > + > + // Setup pre-selected items. Note, this has to happen after show. > + this._listbox.clearSelection(); > + let item; > + for (let item of selectedItems) { oops, nixed |let item;| locally.
![]() |
Assignee | |
Updated•9 years ago
|
Flags: needinfo?(jmathies)
Whiteboard: [beta28] [defect] p=0 → [beta28] [defect] p=2
Updated•9 years ago
|
Attachment #8361293 -
Flags: review?(mbrubeck) → review+
![]() |
Assignee | |
Comment 8•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/50a2220b70bf
Comment 9•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/50a2220b70bf
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Comment 10•9 years ago
|
||
For iteration #22, verified as fixed with latest Nightly on Win 8.1 64-bit.
Status: RESOLVED → VERIFIED
Comment 11•9 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/88443d38a05f
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
Comment 12•9 years ago
|
||
Kamil, please verify this is fixed in the latest Aurora build.
Flags: needinfo?(kamiljoz)
Comment 13•9 years ago
|
||
Went through the following verification without any issues. Used the following build: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014-02-09-00-40-02-mozilla-aurora/ Before verifying the issue, reproduced the problem with the following build: - http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014-01-15-00-40-03-mozilla-aurora/ - Ensured that the multi-select drown down menu is being updated correctly - Ensured that you can select/deselect multiple items without any issues - Ensured that the multi-select drop down appears every single time you tap on the list box - Ensured that you can scroll through the multi-select drop down without issues (scrolling up/down) - Ensured that the multi-select drop down menu works with both touch and touchpad - Ensured that all of the above test cases worked with different variations of snapped view Found that bug that can be fixed to greatly improve the user experience. Created Bug # 970178
Flags: needinfo?(kamiljoz)
Comment 14•9 years ago
|
||
Also found the following issue when I was going through verification: - Bug #970181
You need to log in
before you can comment on or make changes to this bug.
Description
•