nicolas2k / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
1 stars 0 forks source link

Custom menuItem iconUrl render is inconsistent on Glass #111

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Create a threaded bundle and give each child card of the cover a custom menu 
action with a iconUrl defined.  Send the timeline items to Glass and navigate 
into the bundle and get the custom menu action to display.

What is the expected output? What do you see instead?

I would expect to see a consistent display.  Instead the first child card has a 
"large" icon and each subsequent card has a smaller icon.  Weird, right?

What version of the product are you using? On what operating system?

XE6

More info:

See attached screenshots.

JSON snippet, same for each card, but render is different:

"menuItems": [
    {
      "action": "VOICE_CALL"
    },
    {
      "action": "NAVIGATE"
    },
    {
      "id": "save",
      "action": "CUSTOM",
      "values": [
        {
          "displayName": "Test",
          "iconUrl": "https://ssl.gstatic.com/codesite/ph/images/defaultlogo.png"
        }
      ]
    }
  ]

Original issue reported on code.google.com by markwear...@gmail.com on 16 Jun 2013 at 10:51

Attachments:

GoogleCodeExporter commented 8 years ago
This is reproducible without a bundle:
  1. Insert a timeline item with the same menuItem.
  2. On Glass, tap to show the menuItem: the icon is displayed like the first screenshot.
  3. Swipe down to dismiss, tap again to re-show the menuItem: the icon is displayed like the second screenshot.

Original comment by ala...@google.com on 17 Jun 2013 at 4:10