Closed
Bug 501137
Opened 15 years ago
Closed 15 years ago
<select> widget needs to be careful not to append to existing content
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: timeless, Assigned: mfinkle)
References
()
Details
Attachments
(3 files, 1 obsolete file)
45.57 KB,
image/png
|
Details | |
2.77 KB,
patch
|
mfinkle
:
review-
|
Details | Diff | Splinter Review |
4.96 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
fennec 1.0b2 OS X steps: 1. load the url 2. click the second select 3. click the first select actual results: the contents from the first select are appended to the list shown for the second one expected results: dunno
Assignee | ||
Comment 1•15 years ago
|
||
So, you clicked the first select (step #3) while the list picker dialog was being displayed? I guess we should simulate a modal dialog
Comment 2•15 years ago
|
||
I think we should close it as soon as the user go to another place with his mouse/finger (onmousedown). Otherwise this lead to some unexpected behavior as the one described above but also we can do whatever we want in the chrome UI without closing it (go to the right panel, switch tabs, change the current location, open bookmarks, ...)
Assignee | ||
Updated•15 years ago
|
Attachment #387175 -
Flags: review-
Assignee | ||
Comment 3•15 years ago
|
||
Comment on attachment 387175 [details] [diff] [review] Dismiss the select on mousedown I think we should just make the picker be modal
Assignee | ||
Comment 4•15 years ago
|
||
This patch makes the selector UI become modal. The user is forced to close the UI via the "done" button. No other interactions with content or chrome are allowed.
Assignee: nobody → mark.finkle
Attachment #387203 -
Flags: review?(gavin.sharp)
Comment 5•15 years ago
|
||
Comment on attachment 387203 [details] [diff] [review] patch - make the selector be modal >diff --git a/chrome/content/browser-ui.js b/chrome/content/browser-ui.js >+ //let toolbar = document.getElementById("toolbar-main"); >+ //let top = parseInt(toolbar.top) + toolbar.boxObject.height; >+ //if (top < 0) >+ //top = 0; just remove it?
Attachment #387203 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 6•15 years ago
|
||
Removed the commented code, but realized I needed to move the sizing to BrowserUI.sizeControls
Attachment #387203 -
Attachment is obsolete: true
Attachment #387232 -
Flags: review?(gavin.sharp)
Comment 7•15 years ago
|
||
Comment on attachment 387232 [details] [diff] [review] patch 2 good call
Attachment #387232 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 8•15 years ago
|
||
pushed: https://hg.mozilla.org/mobile-browser/rev/81033ff6a951
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 9•15 years ago
|
||
Verified "fixed" in my OS X build from 8/11/2009. It is pretty ugly though.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•