Log in

View Full Version : Lag When Re-naming Open Records



rocketvaultgames
March 13th, 2024, 22:19
This seems to be new... (D&D 5e, no extensions loaded)

Lag When Re-naming Open Records

Steps to reproduce:

Open Story Database
Add Item (Green/white Plus)
Type a name for the new item (in the header of the story record) - FGU lags significantly between every character as it updates the display in the database list as well.
Close Story Database - Lag intermittently goes away?

I can't quite tell what's happening with the Story Database window closed. Sometimes it's zippy, and sometimes it lags.... like maybe it is still updating behind the scenes but only every second or two instead of near-constantly?

Laerun
March 14th, 2024, 19:27
This seems to be new... (D&D 5e, no extensions loaded)

Lag When Re-naming Open Records

Steps to reproduce:

Open Story Database
Add Item (Green/white Plus)
Type a name for the new item (in the header of the story record) - FGU lags significantly between every character as it updates the display in the database list as well.
Close Story Database - Lag intermittently goes away?

I can't quite tell what's happening with the Story Database window closed. Sometimes it's zippy, and sometimes it lags.... like maybe it is still updating behind the scenes but only every second or two instead of near-constantly?


Fantasy Grounds does save in the background every five minutes. When you are editing stories or anything, are you still using the large campaign folder and maps loaded or active. Even if we are not looking at an active map or such, it still has some overhead and indexing. Try to work in a blank, or fresh campaign, with very little loaded or added. If the problem still persists, then it might be related to something outside of Fantasy Grounds. If the problem goes away, it might be related to size, and the content of your current campaign. Extensions, even when disabled or inactive can leave behind unwanted remnants and junk code, so hopefully not in thus case. Not all extensions do this, but it depends on how they were written and what they modify or overide. I suspect many of your issues stems from the large campaign size and content. As it grows, it can become mammoth. Your PC might be trying to index your content as you use FG. However, once it reached beyond a certain threshold, the computer will tend to lag, regardless of new or older computers. It is a limit to computing itself. For example, most images edited in an application like Adobe process almost instantly
But, when you edit and throw in a large high quality photo that's about 2 GB and larger dimensions and 300 dpi it takes my computer over 30 seconds to process and save, even up to a minute to render, as an example.
I hope you can figure this out. You do a good job tracking down bugs and such with the UI and the functions within the platform.

Cheers,
Laerun

Ecks
March 14th, 2024, 23:03
I've seen this as well, in a new 5E campaign, no extensions:

Open Story record window, leave open with group set to All
Create Basic or Advanced story, type title, no lag
Load Player's Handbook
With Story record window open and group set to All, create a new story (basic or advanced). Type title. There is significant lag, and FPS drops to 1.
Close Story record window, now typing Story title has no lag
Open Story window, change group to "Uncategorized" no lag

Trenloe
March 15th, 2024, 04:50
@Ecks steps suggest that this is due to the title of the story getting updated after each keypress into the Story data list, and FG will then re-order the list alphabetically after each key press. If there's a lot of records in the list currently being displayed (maybe with multiple pages) then I can see lag as FG will be doing a re-order after every key-press.

Vass_Dts
March 17th, 2024, 17:44
I have noticed this happening to me as well. Previously, FGU would update the name of a record when you clicked away from the Title bar (or if you locked the entry). It now it updates the name on each keystroke. Should be an easy fix to get it to how it was previously.

rocketvaultgames
March 19th, 2024, 16:34
For what it's worth, this lag only appears to happen for Story records. NPCs/Items, etc. seem to still behave the old way.

Moon Wizard
March 20th, 2024, 02:02
I've just pushed a new update to the patch system that should address this. Please run a new Check for Updates, and try again.

Regards,
JPG

rocketvaultgames
March 20th, 2024, 03:40
Looks good on my end. Thanks!