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)

All
Android
defect
Not set
normal

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
Bug 1216114 - Context menu should be attached to url input instead of to the whole BrowserToolbar
Attachment #8675785 - Flags: review?(s.kaspari)
(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.
Assignee: nobody → sergej
Status: NEW → ASSIGNED
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+
Sure, I'll take a look
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Depends on: 1217196
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)
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: