Author Topic: [v1.5.8.19] Derived Commands tooltip does not update  (Read 4383 times)

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4783
  • RTFM
[v1.5.8.19] Derived Commands tooltip does not update
« on: May 17, 2016, 01:40:09 PM »
The "derived commands" tooltip ,that is shown when hovering over the command counter at the bottom of the "Edit a Profile" command list, does not update its count when commands are edited, whereas the normal(non-derived) command counter does.

Only by saving the profile(clicking "Done") and reopening the "Edit a Profile" window will the "derived commands" counter update.


Not sure if this is by design(long computation time with large profiles?).


EDIT:

Originally spotted in v1.5.8.18

Tested with v1.5.8.19, still in place.
« Last Edit: May 21, 2016, 01:36:45 PM by Pfeil »

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: [v1.5.8.18] Derived Commands tooltip does not update
« Reply #1 on: May 17, 2016, 04:11:41 PM »
I know what you're talking about... it might be by design, but I'll trek on thru there and see if that's so.

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: [v1.5.8.19] Derived Commands tooltip does not update
« Reply #2 on: May 31, 2016, 09:25:35 PM »
I looked at this again.  Yeah it's not displaying the exact number, as that's all the info it has at that point.  The actual number is built once you commit, as the derived number is based on command count (with multi-part (semicolon-delimited commands)), composite commands (prefix & suffix commands), dynamic commands (with the square brackets) plus commands that are included with the, 'override listening if m command starts with...' stuff.  The form doesn't have all the details until the full command list is rendered and that doesn't happen until you hit, 'OK'.  I mean, I could make it go out and render all of that, but I don't think that tool tip is going to be used by most and it's there more for a, 'this is why your profile takes five minutes to load' indicator when folks write in. 

I changed the tool tip to say, 'actual count may be different until form is reloaded' or something like that if a command is edited, just to avoid the full-on sucker punch.

Thanks again for watching out for me ;)