Author Topic: Delay when entering captions using code replacements  (Read 2281 times)

Offline JonHob

  • Full Member
  • ***
  • Posts: 115
    • View Profile
Delay when entering captions using code replacements
« on: September 25, 2023, 11:05:54 AM »
Hi

I've been noticing a delay of up to 2 seconds while entering codes with Photo Mechanic Version 6.0, build 6856 (e57a46a). The previous version was also the same. As you can imagine, this can be very annoying!!

My laptop is a 2021 M1 MBP with 16GB RAM and 262 GB of free HD space running Ventura 13.6 (22G120). My files are all .jpg. Will any settings in the cache preferences help?

Offline ahoward

  • Camera Bits Staff
  • Hero Member
  • *****
  • Posts: 973
    • View Profile
Re: Delay when entering captions using code replacements
« Reply #1 on: September 25, 2023, 02:04:06 PM »
Caching preferences don't have any impact on Code Replacements. How many code replacement files do you have? Do you have a rough idea of how many total codes you have throughout all of those files?

Offline JonHob

  • Full Member
  • ***
  • Posts: 115
    • View Profile
Re: Delay when entering captions using code replacements
« Reply #2 on: September 25, 2023, 10:19:08 PM »
Hi

I normally load a separate set of codes for each team, one for the referee and a generic set of my standard phrases.

Would it be better to combine the team codes into one long list as opposed to 2 separate ones plus, adding my standard codes to that same list?

Offline ahoward

  • Camera Bits Staff
  • Hero Member
  • *****
  • Posts: 973
    • View Profile
Re: Delay when entering captions using code replacements
« Reply #3 on: September 26, 2023, 09:24:52 AM »
So just to clarify, you remove any old code replacement files from the list and then your list of code replacement files is generally at a maximum of 4 files at any given time?

Offline JonHob

  • Full Member
  • ***
  • Posts: 115
    • View Profile
Re: Delay when entering captions using code replacements
« Reply #4 on: September 26, 2023, 10:15:25 AM »
That is correct. I add and remove the teams as I need them.

I also use autocomplete which is always loaded. Would this have any effect?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Delay when entering captions using code replacements
« Reply #5 on: September 26, 2023, 10:24:19 AM »
This delay only occurs when you enter the closing code replacement delimiter?  Or are you getting a delay with each letter you type, regardless of whether you're entering a code or not?

-Kirk

Offline JonHob

  • Full Member
  • ***
  • Posts: 115
    • View Profile
Re: Delay when entering captions using code replacements
« Reply #6 on: September 26, 2023, 10:38:49 AM »
From what I recall, it's only when entering the codes. I can type the code, including the delimiter, and it catches up after a second or two.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Delay when entering captions using code replacements
« Reply #7 on: September 26, 2023, 10:56:00 AM »
From what I recall, it's only when entering the codes. I can type the code, including the delimiter, and it catches up after a second or two.

Is the problem no longer reproducible?

-Kirk