Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2934] Android: Android menu - after removing menu group, reports back wrong numgber of items

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-26T14:57:28.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-13
ComponentsAndroid
Labelsandroid, defect, menu, regression, release-1.7.0, reported-1.6.0
ReporterThomas Huelbert
AssigneeDon Thorp
Created2011-04-15T03:33:15.000+0000
Updated2011-04-26T14:57:28.000+0000

Description

[INFO] Titanium SDK version: 1.6.0 (01/24/11 08:14 e1cb22a) does not seem device or os specific. seen on galaxy tab, G1 and nexus s

1.Base UI > Menu (Android) > basic menu. invoke menu
2.Tap "add group 1" and note the alert indictaing you know have 3 items
3.Tap "remove group 1" and note value

results: menu size: 3 items: 3

tap again and it will show the correct value. Works as expected on 1.5.1

Comments

  1. Don Thorp 2011-04-15

    (from [ff8e668ad9dcbdb77ceb4f6cac7429ee268bfd50]) [#2934 state:fixed-in-qa] Made all of the menu methods synchronous like they should have been to start with. I also added a new helper method to KrollProxy to allow blocking messages with an int arg1. https://github.com/appcelerator/titanium_mobile/commit/ff8e668ad9dcbdb77ceb4f6cac7429ee268bfd50"> https://github.com/appcelerator/titanium_mobile/commit/ff8e668ad9dc...

JSON Source