View Single Post
Old 04-10-2013, 01:20 PM   #711
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by stepk View Post
I can't reproduce this issue. For me the new logging button appears when
1) KUAL_show_KUAL_buttons=""
2) #KUAL_show_KUAL_buttons="whatever"
note that 1 and 2 are equivalent - they both leave KUAL_show_KUAL_buttons unset, which looks up default value "1 2 3 99" (all currently defined buttons for the KUAL menu)
3) KUAL_show_KUAL_buttons="3" and no other KUAL button shows up

If I enter an invalid value, like KUAL_show_KUAL_buttons="-1" or " " the KUAL menu is not shown at all. You could qualify this as lack of defensive programming or a totally borky setting. I think it's the latter Besides, visibly reporting errors that involve KUAL.cfg is complicated, so I prefer to let some error manifest themselves in their obvious, non-destructive consequences - it's a kind of error reporting.

If I enter a mix of valid/invalid values, like "33 1 2" then the KUAL menu shows buttons 1 and 2. I think it works sensibly, don't you?

In summary: I can't reproduce this issue (with my current dev build).
Nah it was nothing like that. I posted the exact values of everything I tried.

1 2

and

2 1 in that case.

Will dig further again today.
twobob is offline   Reply With Quote