- Status Closed
- Percent Complete
- Task Type Patches
- Category User Interface
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#9994 - Fix draw sequence on menu exit
As spotted by Bryan Vandyke on FS#8894 :
“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!
2009-03-10 07:34
Reason for closing: Accepted
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
Thanks to Bryan again!
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
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.