Author Topic: Info Text panel not evaluating variables  (Read 385 times)

Offline ejhutch

  • Member
  • **
  • Posts: 64
    • View Profile
Info Text panel not evaluating variables
« on: December 30, 2025, 03:17:33 AM »
There seem to be some instances where the Info Text panel won't evaluate any variables.  I'll list the steps to reproduce below, but I've not been able to link it to any specific set of circumstances other than it seemed to be length-related. But when I asked about length limits in another post, I was told that there is probably not a specific length limit. See https://forums.camerabits.com/index.php?topic=17075.msg83002#msg83002.

you can reproduce this with an Info Text snapshot file like the one attached.

Photo Mechanic Plus version 2025.10, build 8858 macOS Sequoia 15.7.2 (24G325)

Offline ahoward

  • Camera Bits Staff
  • Uber Member
  • *****
  • Posts: 1261
    • View Profile
Re: Info Text panel not evaluating variables
« Reply #1 on: December 30, 2025, 09:37:28 AM »
I reviewed the code and there is indeed a maximum. It was added in the October 2025 builds in order to prevent a crash that was occurring in the program. I tried increasing the maximum to a value that was higher than what your Info text snapshot would return and it does allow your snapshot to work, but I'll likely need Kirk to review that change when he's back from vacation to see what the reasoning is for that maximum or if there are any implications to raising it.
« Last Edit: December 30, 2025, 01:25:48 PM by ahoward »

Offline ejhutch

  • Member
  • **
  • Posts: 64
    • View Profile
Re: Info Text panel not evaluating variables
« Reply #2 on: December 31, 2025, 12:07:04 PM »
Makes sense. I made another snapshot with all the variables and their definitions — taken directly from the user guide pages. Of course it’s longer than this one with just the variables in it, but it might be a nice reference for new users. In fact, including one or more example variable snapshots with the build might help new users. I can’t remember if any were included by default or not.

Thanks!

Offline ejhutch

  • Member
  • **
  • Posts: 64
    • View Profile
Re: Info Text panel not evaluating variables
« Reply #3 on: January 17, 2026, 02:59:49 PM »
Any updates on this? If there is a limit, what is it?

I reviewed the code and there is indeed a maximum. It was added in the October 2025 builds in order to prevent a crash that was occurring in the program. I tried increasing the maximum to a value that was higher than what your Info text snapshot would return and it does allow your snapshot to work, but I'll likely need Kirk to review that change when he's back from vacation to see what the reasoning is for that maximum or if there are any implications to raising it.

Offline ahoward

  • Camera Bits Staff
  • Uber Member
  • *****
  • Posts: 1261
    • View Profile
Re: Info Text panel not evaluating variables
« Reply #4 on: January 19, 2026, 10:30:44 AM »
The limit was 3000 bytes. The next update will increase that limit and the variables in your info panel snapshot that you shared will evaluate.