CHDK UI version 2.0 ? - page 13 - General Discussion and Assistance - CHDK Forum  

CHDK UI version 2.0 ?

  • 542 Replies
  • 108162 Views
*

Offline philmoz

  • *****
  • 3407
    • Photos
Re: CHDK UI version 2.0 ?
« Reply #120 on: 26 / June / 2012, 05:26:36 »
Advertisements
I've created a new branch - philmoz-uitest with some re-work of the CHDK UI code.
This includes some internal changes to the core code plus changes to the menus and the <ALT> mode help screen I posted about earlier.

I'd appreciate any testing of this that could be done and feedback on the changes - positive or negative.

The key changes are:
- clean up of the kbd/gui code for better seperation of function (minimise kbd code calling gui functions and vice versa). This seems to help with stability of the CHDK UI on recent cameras (e.g. the <ALT> text doesn't get left on screen when switching out of alt mode)
- added some new menus and move some menu items around. trying for a more logical grouping of the menus and contents.
- added the <ALT> mode help screen. This can be turned off and the delay before it appears is configurable (Menu Settings menu).

There is a chance that the re-factoring of the kbd code may break things - it all seems to work ok in my testing; but I can't test every possible case.
The USB remote logic is one area that may be affected.

I initially started looking at making the shortcut buttons configurable; but the code is a bit of a mess so needs some TLC first. Hence this new branch to test out my experiments before committing to the main trunk.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Re: CHDK UI version 2.0 ?
« Reply #121 on: 26 / June / 2012, 06:18:23 »
I'm trying to get the source, but probably I do something wrong:

Code: [Select]
$ svn co https://tools.assembla.com/svn/branches/philmoz-uitest trunk1940
svn: OPTIONS z 'https://tools.assembla.com/svn/branches/philmoz-uitest': 200 OK (https://tools.assembla.com)

I get only 200 OK and no download...

Ughhh... stupid;) I get it to work, simple /chdk forgotten

Code: [Select]
$ svn co https://tools.assembla.com/svn/branches/philmoz-uitest trunk1940
svn: OPTIONS z 'https://tools.assembla.com/svn/chdk/branches/philmoz-uitest': 200 OK (https://tools.assembla.com)

;)
« Last Edit: 26 / June / 2012, 06:21:22 by outslider »
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

Re: CHDK UI version 2.0 ?
« Reply #122 on: 26 / June / 2012, 17:32:52 »
Ok, I have compiled and installed that. I like most of the changes, but my comments:

Help that appears in ALT mode is good idea, delay is good. And it's ok that it disappear when button is pressed. However, it shouldn't disappear when shortcut keys are pressed. For example:

-on sx130is in this help there is an entry:
Code: [Select]
ERASE         Save RAW  [ off ]

When I press ERASE the whole help disappear, which is confusing - I have no idea whether it was changed or not? I have to wait 2 sec for update. I would like rather to see this entry changed.

Beside this help is too much simmilar to the CHDK menus, which made me trying to use UP/DOWN as in menu ;) Of course without any success.

-----------

"Other Settings" - for me it's useless. All the stuff could be put in visual settings. I'm not sure that even OSD Settings and Visual Settings couldn't be merged. Now you have to set for example histogram type in one place and its background color in different... But that's not big deal, can live with that (who ever changes that?).

-----------

I have never used User Menu simply because I can't understand how does it work;) I tried it now and it's still a mistery for me. Can I enter to this menu directly from ALT? For example pressing DISP button or long press menu? And I don't mean replacing the CHDK menu by user menu.

What does "Activte user menu" stand for? What's "On Dire"? How to editi the menu?

------------

Anyway - thank you for your work!
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

Re: CHDK UI version 2.0 ?
« Reply #123 on: 26 / June / 2012, 18:42:24 »
I have never used User Menu simply because I can't understand how does it work;)
http://chdk.wikia.com/wiki/User_menu
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline dvip

  • ****
  • 451
Re: CHDK UI version 2.0 ?
« Reply #124 on: 27 / June / 2012, 08:26:16 »
@Phil,

I'm running the new philmoz-uitest on my A590is-101b. 
Tested all the menus and took some DNGs... all works fine  :D

Help Screen is in Menu Settings, active [.], with a delay of 3.
But I don't see the Help Screen when I enter alt mode. Am I missing something?

>The USB remote logic is one area that may be affected.

I didn't test this.


« Last Edit: 27 / June / 2012, 18:02:48 by dvip »

Re: CHDK UI version 2.0 ?
« Reply #125 on: 27 / June / 2012, 08:37:22 »
>The USB remote logic is one area that may be affected.

I didn't test this.
I'm working on that one  - no issues so far.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline blackhole

  • *****
  • 856
  • A590IS 101b
    • Planetary astrophotography
Re: CHDK UI version 2.0 ?
« Reply #126 on: 27 / June / 2012, 13:32:55 »
The help screen is a good idea, and works well on the A590, but the histogram is confusing because sometimes react to the old shortcuts and sometimes on the shortcuts from the help screen.

*

Offline dvip

  • ****
  • 451
Re: CHDK UI version 2.0 ?
« Reply #127 on: 27 / June / 2012, 18:13:56 »
Ok, I see the Help Screen now. I was not waiting 3 secs after entering alt mode.
It's something I don't need but it may help new users.


*

Offline philmoz

  • *****
  • 3407
    • Photos
Re: CHDK UI version 2.0 ?
« Reply #128 on: 28 / June / 2012, 05:15:34 »

Help that appears in ALT mode is good idea, delay is good. And it's ok that it disappear when button is pressed. However, it shouldn't disappear when shortcut keys are pressed. For example:

-on sx130is in this help there is an entry:
Code: [Select]
ERASE         Save RAW  [ off ]

When I press ERASE the whole help disappear, which is confusing - I have no idea whether it was changed or not? I have to wait 2 sec for update. I would like rather to see this entry changed.

I've changed this in revision 1941 so that the help screen will stay visible unless you change modes (e.g. enter menu or leave ALT). The timeout is still there so it does not display until the timeout is reached.

Quote
Beside this help is too much simmilar to the CHDK menus, which made me trying to use UP/DOWN as in menu ;) Of course without any success.

I guess it could use different colors.

Quote
"Other Settings" - for me it's useless. All the stuff could be put in visual settings. I'm not sure that even OSD Settings and Visual Settings couldn't be merged. Now you have to set for example histogram type in one place and its background color in different... But that's not big deal, can live with that (who ever changes that?).

I suspect the reason for separate 'Visual settings' is they are not things you would change very often.
I created the 'Other settings' as a place to put settings that didn't seem to belong in any of the other areas - they were previously in the 'Miscellaneous stuff' menu.

I'm open to suggestions on how better to organise the menus.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline philmoz

  • *****
  • 3407
    • Photos
Re: CHDK UI version 2.0 ?
« Reply #129 on: 28 / June / 2012, 05:19:06 »
The help screen is a good idea, and works well on the A590, but the histogram is confusing because sometimes react to the old shortcuts and sometimes on the shortcuts from the help screen.

Not sure I understand what you mean - the shortcuts should not have changed for any cameras.

The help screen just shows you the shortcuts that are available on your camera - it's not a menu that you can interact with.
In the latest update the help info stays visible unless you change modes so you can see the effect of using any of the shortcuts.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

 

Related Topics