kartu / prs-plus

Automatically exported from code.google.com/p/prs-plus
6 stars 1 forks source link

Page buttons stop working for cycling books in main screen #286

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Your model / PRS+ version?
PRS 650+ / Nightly (Rev. 822)

What steps will reproduce the problem?
1. Activate this new feature.
2. Check it works perfectly.
3. Then go to Settings Tab -> PRS+ Settings -> Book Management -> Customize 
Home Menu Booklist.
4. Then go back till main Settings Tab screen and then to the Home Tab.
5. Voilà. Page buttons have stopped working for "press" action. You get the 
"Forbidden" signal in your status bar.
(5bis. Nevertheless "Hold" action still works.)

If you want to "fix" it, just go to Customize Home Menu Booklist -> "Page 
Buttons in Home Menu", reselect whichever option and then return to main Home 
screen through Home Button instead of going back.

Original issue reported on code.google.com by alr...@gmail.com on 16 Feb 2012 at 8:38

GoogleCodeExporter commented 9 years ago
This is a known bug.  Actually, the easiest way to "fix" it is just open a book 
and then return to Home.  Basically, the keys only work when you first arrive 
at the home page.  If you go to the applications or settings tabs and then back 
to the home tab, then the keys won't work.

Original comment by ben.chen...@gmail.com on 17 Feb 2012 at 4:24

GoogleCodeExporter commented 9 years ago
I didn't realise this was the case, tbh. I can add a trigger in 
onEnterDeviceRoot to reactivate the keys each time.

I don't understand why the definitions are lost though, as we plant the 
functions in MENU_HOME_GROUP, the xml of which is not reloaded afaik. The ones 
that are (devroot/approot/settingsroot), are further down the chain, and 
therefore shouldn't affect sandboxes higher up. Maybe kartu or Mark could shed 
some light on this?

Original comment by quisvir on 17 Feb 2012 at 12:46

GoogleCodeExporter commented 9 years ago
Turns out the problem was not the definitions being lost, but the thumbnails 
node stealing focus. Fixed in Revision 281cb6fe70da.

Original comment by quisvir on 17 Feb 2012 at 2:02