[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-08 Thread Jay Howard
First of all, thanks for taking the time to build the demo app. It's frustrating that I'm no closer to figuring out why this is happening, but at least it doesn't seem to be an issue on *all* S4 devices. I wonder if the trait that triggers the behavior isn't hardware, but some configurable

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-08 Thread Kostya Vasilyev
Jay, I also downloaded your test and tried it... Had to make one change -- from Google APIs (14) to just Android 14, or it wouldn't install... The bug is there. Samsung Galaxy S4, 9505 International LTE version, comes from Germany, firmware 4.2.2 I9505XXUAMDE (different from what gjs's device

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread gjs
Hi, I have a Samsung Galaxy S4 with Android 4.2.2 plus an app activities that have legacy option menus with more than six items, including more that uses onCreateOptionsMenu() as well as onPrepareOptionsMenu() and onOptionsItemSelected(). When I try to reproduce your steps I do *not* get the

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Jay Howard
How frustrating. Though, I'm glad to know it works for someone else; it gives me some hope that a workaround can be found. Couple questions about the app that's working correctly: 1. What's the value of targetSdkVersion in your manifest? (Mine is 9). 2. What's the value of target in your

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Jay Howard
I tried the following with no success: 1. Recreating the menu in onPrepareOptionsMenu() each time it's called and making onCreateOptionsMenu() into a no-op. 2. Programmatically instantiating all the MenuItems (in onPrepareOptionsMenu()) instead of inflating them from XML. 3. Varying

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Nobu Games
Could you post your Activity code? On Tuesday, August 6, 2013 11:01:17 AM UTC-5, Jay Howard wrote: I'm seeing the following behavior (on a Samsung S4, but potentially also on other Samsung devices) in an app that uses a legacy options menu: 1. User taps hardware menu button to bring up

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Jay Howard
It's part of that zip file, but here is the contents of my activity, my app's manifest and the xml for the menu items: MainActivity.java: package com.example.optionsmenu; import android.app.Activity; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Nobu Games
Sorry, I did not realize, there was a ZIP file. I was thinking the download button is just some big graphic and my visual parser in my head discarded it :-D Your activity is as simple as it can get and I cannot spot any mistake. It really may be just some rare firmware glitch and nothing much

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Jay Howard
The next version of my employer's app ditches the options menu and uses the navigation drawer for most things. Unfortunately, that version isn't going to be rolled out for a few months. I was hoping to find a fix for the current version that still uses a legacy options menu. On Wednesday,