This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9994 - Fix draw sequence on menu exit
Attached to Project:
Rockbox
Opened by Steve Bavin (pondlife) - Monday, 09 March 2009, 10:04 GMT+2
Last edited by Steve Bavin (pondlife) - Tuesday, 10 March 2009, 08:34 GMT+2
Opened by Steve Bavin (pondlife) - Monday, 09 March 2009, 10:04 GMT+2
Last edited by Steve Bavin (pondlife) - Tuesday, 10 March 2009, 08:34 GMT+2
|
DetailsAs spotted by Bryan Vandyke on
"In file menu.c in the do_menu() function about line 623 the function do_setting_from_menu is called. When this function returns true, the original parent menu is redrawn. (The function returns true when the variable in question changes.) Lower in do_menu function, the menucallback with ACTION_EXIT_MENUITEM is called. (which is where the splash screen is displayed) And finally the parent menu is redrawn again. so what happens is change setting menu CHANGE redraw callback with splash. change setting menu NO CHANGE callback with splash redraw" The attached patch removes the code responsible for this inconsistency. I can't find any problems resulting, but I suspect there was a reason for having 2 code paths, so please enlighten me! |
This task depends upon
Closed by Steve Bavin (pondlife)
Tuesday, 10 March 2009, 08:34 GMT+2
Reason for closing: Accepted
Additional comments about closing: Thanks to Bryan again!
Tuesday, 10 March 2009, 08:34 GMT+2
Reason for closing: Accepted
Additional comments about closing: Thanks to Bryan again!
Good catch. I only spot one possible problem. The parent probably needs to be reinititialized if the setting in question changes the vp, like toggling the statusbar. I'll look into it.
from a quick first glance it looks ok... if kugel is happy to double check im happy with that... dont really have much stamina for rockbox atm :/
Should be fine, from my tests. This init_menu_lists *should* be deprecated anyway.