Closed
Bug 1216114
Opened 10 years ago
Closed 10 years ago
Context menu should be attached to url input instead of to the whole BrowserToolbar
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox44 verified)
RESOLVED
FIXED
Firefox 44
Tracking | Status | |
---|---|---|
firefox44 | --- | verified |
People
(Reporter: sebastian, Assigned: sergej, Mentored)
References
Details
(Whiteboard: [lang=java])
Attachments
(1 file)
BrowserToolbar has a context menu listener attached[1]. But we actually want the context menu only to be triggered by long pressing the url bar.
The current implementation has multiple problems, for example:
* Swiping down from the toolbar triggers the context menu (Originally tracked by bug 1046591)
* Long pressing the bookmarks icon (tablet) triggers the context menu too
[1] https://dxr.mozilla.org/mozilla-central/source/mobile/android/base/toolbar/BrowserToolbar.java#234-272
This also explains bug 1144707.
Assignee | ||
Comment 3•10 years ago
|
||
Bug 1216114 - Context menu should be attached to url input instead of to the whole BrowserToolbar
Attachment #8675785 -
Flags: review?(s.kaspari)
Blocks: 1216212
(In reply to Michael Comella (:mcomella) from comment #2)
> This also explains bug 1144707.
I filed bug 1216212 to remove the hack implemented by bug 1144707.
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → sergej
Reporter | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 5•10 years ago
|
||
Comment on attachment 8675785 [details]
MozReview Request: Bug 1216114 - Context menu should be attached to url input instead of to the whole BrowserToolbar
https://reviewboard.mozilla.org/r/22423/#review20099
Awesome! Thanks Sergej for picking this up so fast after bug 1046591.
Are you interested in picking up the follow-up bug 1216212 Mike filed?
Attachment #8675785 -
Flags: review?(s.kaspari) → review+
Reporter | ||
Comment 6•10 years ago
|
||
Assignee | ||
Comment 7•10 years ago
|
||
Sure, I'll take a look
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Blocks: 1216971
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Comment 10•10 years ago
|
||
Swiping down from the URL Bar does not trigger the context menu anymore. Also long tapping the bookmark icon does not trigger the context menu.
So, verified as fixed using:
Device: Nexus 9 (Android 5.1)
Build: Firefox for Android 44.0a1 (2015-10-22)
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•