Closed Bug 946590 Opened 12 years ago Closed 12 years ago

Share submenu crashes Fennec

Categories

(Firefox for Android Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 945375

People

(Reporter: wesj, Unassigned)

Details

Attachments

(1 file)

Attached file Patch
This line forces us to return null if the user clicks on a menu item that has an ActionProvider associated with it. http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/menu/GeckoMenuItem.java#145 Our action provider implementation works by generating the submenu when the item is clicked in this case: http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/menu/GeckoMenu.java#433 This causes it to always return null. i.e. it advertises it has a submenu and then doesn't return one, causing us to crash.
Comment on attachment 8342905 [details] Patch This reverts the change. Michael, since ram is out, I don't think anyone around right now really knows this code well. You mind looking it over?
Attachment #8342905 - Flags: review?(michael.l.comella)
Wes, I've fixed this (with the exact same patch) in bug 945375. This was a regression from bug 936756. Closing as dup.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Comment on attachment 8342905 [details] Patch Clearing r? since the bug's been closed.
Attachment #8342905 - Flags: review?(michael.l.comella)
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: