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

CHDK UI version 2.0 ?

  • 542 Replies
  • 144803 Views
*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: CHDK UI version 2.0 ?
« Reply #450 on: 27 / October / 2012, 18:23:12 »
Advertisements
In tsvstar's new menu system the meaning of some of the configuration variables has changed.
This relates to the overrides for shutter speed, subject distance, ISO, flash power, fast ev, and possibly others (plus the bracketing versions of these).

Previously these overrides used two variables - the main override value and the multiplier ('koef') value.
Turning an override off was controlled by setting the multiplier to 0 (the main value could be left at the previous value).

In the new system these values are turned off by setting the main override value to -1.

This introduces a number of problems and issues:
- the ISO value being written to DNG files was wrong (this is fixed now)
- the subject distance override is broken because -1 now means 'off' and 'infinity' in different parts of the code
- a CHDK config file saved with 1.2 will cause problems if loaded in 1.1 (the -1 values are not valid for 1.1)
- you can no longer turn an override off; but still keep the previous value so it can be turned on again quickly with the same value.

I think the previous logic should be restored so that only the multiplier variable controls whether an override is on or off - this can probably be done while still keeping the new UI.

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 reyalp

  • ******
  • 14114
Re: CHDK UI version 2.0 ?
« Reply #451 on: 27 / October / 2012, 18:49:46 »
Good catches, I'd thought I noticed some weirdness going back and forth between 1.1 and 1.2, but hadn't had time to dig into it.

I'll also note I found the having a separate key to get the OFF value a bit confusing. It's not clear to me this is an improvement.
Don't forget what the H stands for.

Re: CHDK UI version 2.0 ?
« Reply #452 on: 27 / October / 2012, 19:02:02 »
Good catches, I'd thought I noticed some weirdness going back and forth between 1.1 and 1.2, but hadn't had time to dig into it.

I'll also note I found the having a separate key to get the OFF value a bit confusing. It's not clear to me this is an improvement.
I seem to recall a conversation about going to CCHDK3.CFG.   Is that starting to look like it was actually a good idea ?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: CHDK UI version 2.0 ?
« Reply #453 on: 27 / October / 2012, 20:03:17 »
Good catches, I'd thought I noticed some weirdness going back and forth between 1.1 and 1.2, but hadn't had time to dig into it.

I'll also note I found the having a separate key to get the OFF value a bit confusing. It's not clear to me this is an improvement.
I seem to recall a conversation about going to CCHDK3.CFG.   Is that starting to look like it was actually a good idea ?


I don't think it's necessary (yet).

I think these specific overrides need to revert back to a 'composite' variable implementation where there is a variable for the override value and another to turn it on/off. This will keep it compatible with 1.1 and eliminate the issues that are breaking 1.2 functionality.

I need to think about how the UI could work better - I agree with reyalp that the new pop up window to get to the on/off setting is a step backward.

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 #454 on: 27 / October / 2012, 20:08:36 »
I need to think about how the UI could work better - I agree with reyalp that the new pop up window to get to the on/off setting is a step backward.
I guess its a matter of personal taste but the first thing I do when using 1.2.0 is turn off the popup window.  It just plain ugly.

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline dvip

  • ****
  • 451
Re: CHDK UI version 2.0 ?
« Reply #455 on: 30 / October / 2012, 10:44:00 »
> the first thing I do when using 1.2.0 is turn off the popup window

I do the same. I don't like sounds, popups, ads, logos, or anything like it :)
Just like finding the user menu quick.
Haven't got used to it using the SX40HS' shortcut button. Good to know my A590IS is still in great shape.
 

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: CHDK UI version 2.0 ?
« Reply #456 on: 31 / October / 2012, 05:56:47 »
I've updated my 'philmoz-uitest' branch with (hopefully) all the 1.2 changes except the 'simple' menu system that breaks the overrides.

This reverts all the override logic back to the old system and should also make the config file compatible with 1.1.

So far it seems to work ok; but it will need a lot more testing before merging this back into the 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 #457 on: 31 / October / 2012, 11:05:51 »
So far it seems to work ok; but it will need a lot more testing before merging this back into the trunk.
Downloaded, built and installed on all three of my cameras.  If I see anything funny I'll let you know. 

I'm currently working on upgraded versions of the four simple demo scripts that I did a year ago for inclusion into the CHDK distro  (hdr,motion, interval, shoot).  Something a little more sophisticated without being too complicated -  probably Lua only but with the ground rule of no camera specific code.   I plan to leave them permanently on my user menu so they are easily available anytime I'm shooting.   I'll publish them for people who want to graduate from the basic scripts without spending weeks scrubbing through the wiki and forum for something that will actually run on their camera.




Ported :   A1200    SD940   G10    Powershot N    G16


Re: CHDK UI version 2.0 ?
« Reply #458 on: 01 / November / 2012, 15:44:17 »
Actually I do not understand why to revert whole feature (in philmoz-uitest) because only one issue..
Maybe at least vote first? ;)

1. Regarding to "simple" mode in common. It IS back compatible with 1.1 cfg. Code will align to the new values depending on all values when first load 1.1 cfg.
2. INFINITY issue for subject distance override was missed by me.
And looks like best way to fix this will be reverting of _this_ pair to complex state.
Although it could be combined in one value, I do not see simple way to toggle values between this three kind of states (off-value-infinity).

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: CHDK UI version 2.0 ?
« Reply #459 on: 01 / November / 2012, 17:40:21 »
Actually I do not understand why to revert whole feature (in philmoz-uitest) because only one issue..
Maybe at least vote first? ;)

After using the 'simple' mode I found it is anything but simple. In my view it makes overrides harder to use and loses useful functionality like being able to turn the overrides off but keep the override value for later reactivation.

Another useful feature that is lost with your version is the ability set any arbitrary Tv override value.

I have not committed this change to the trunk since it will need to be discussed and agreed which version to use (or a hybrid of the two if the bugs and usability issues can be resolved).

Quote
1. Regarding to "simple" mode in common. It IS back compatible with 1.1 cfg. Code will align to the new values depending on all values when first load 1.1 cfg.

But config files saved with 1.2 cause problems when loaded into 1.1 making it very hard for users to test out 1.2 and revert back if they don't want to use it.

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


SimplePortal 2.3.6 © 2008-2014, SimplePortal