build 820 FW1.03a: In alt mode going from user menu to main menu causes two headings (main menu under user menu) and the bottom menu item (Debug Parameters) becomes unreachable.This did not happen on my old SX10 1.02b.
Is it possible to delete folders from within CHDK's file browser?
Has anyone noticed problems with mode_get() for SX10? I have fw 1.03a. I believe (unless my code is wrong) that mode_get() is returning MODE_PLAY when the camera is in record mode and the menu button is pressed.
Quote from: hiker_jon on 24 / October / 2009, 20:42:40Has anyone noticed problems with mode_get() for SX10? I have fw 1.03a. I believe (unless my code is wrong) that mode_get() is returning MODE_PLAY when the camera is in record mode and the menu button is pressed.Tested with the Lua get_mode sample script on the Sx10 101a:Yes, i'll get rec: false when the Canon menu is open while the cam is in rec mode.[OT]LOL...not sure to call this a bug since in this state the camera is in record mode, but can't really record...[/OT]
One thing for sure, the camera is NOT in PLAY_MODE. Maybe a new mode is needed: MENU_MODE
Quote from: hiker_jon on 26 / October / 2009, 06:04:50One thing for sure, the camera is NOT in PLAY_MODE. Maybe a new mode is needed: MENU_MODE There's probably a different variable that can be used, or perhaps it's a bitmask. Try watching the playrec_mode value with misc debug values. You can use the commented version that draws on top of everything to see it even when the menu is open.
sprintf(osd_buf, "pr:%8x ", playrec_mode);draw_txt_string(28, 13, osd_buf, conf.osd_color);
In core/gui.c gui_draw_osd, at the very start this is a commented out call to gui_draw_debug_vals_osdUncomment that one, comment the other one, and it should draw on top of the menu. Not completely sure about recreview mode.
That worked! (for menu, but it still doesn't show in recreview mode, so in this mode the value of playrec_mode is unknown).If the camera starts up in play mode then playrec_mode = 0.In record mode playrec_mode = 2.If you hit menu in record mode playrec_mode = 4.If you go back to play mode from record mode playrec_mode = 3.If the lens retracts while in play mode playrec_mode stays at 3.If you hit the movie record button in record mode playrec_mode briefly goes to 5 then back to 2.
Quote from: hiker_jon on 26 / October / 2009, 21:21:55That worked! (for menu, but it still doesn't show in recreview mode, so in this mode the value of playrec_mode is unknown).If the camera starts up in play mode then playrec_mode = 0.In record mode playrec_mode = 2.If you hit menu in record mode playrec_mode = 4.If you go back to play mode from record mode playrec_mode = 3.If the lens retracts while in play mode playrec_mode stays at 3.If you hit the movie record button in record mode playrec_mode briefly goes to 5 then back to 2.What happens if you open the menu in play mode ?Also, by menu you mean the menu button menu, or the func menu ?edit:I think I've found the same variable on my camera (a540) and it does not change when you go into the menu in play mode.It does go to 5 briefly when changing to movie mode with the dial.