Building the list of labels is very slow

Hello,

When I try to add a label to a person in Gramps Web, the list of existing labels (about 20) loads very slowly.

In contrast, searching for a reference among a total of 5,000 references is extremely fast.

Is there any way to speed this up?

Best regards,

Thomas

Gramps 6.0.8
Gramps Web API 3.12.2
Gramps Web Frontend 26.4.3
Gramps QL 0.4.0
Sifts 1.3.1
locale: en
multi-tree: true
task queue: true
OCR: true
chat: true

Hi,

That is extremely surprising to hear. I can’t think of any reason off the top of my head either. Could I see a video of it? A screenshot of the Network tab in the Developer Tools (F12) would also be very helpful.

Best regards,
David

Hello David,

Attached is the video.

On the second access to the labels, the data appears to be cached. Access is then much faster. I’m only noticing this for the first time now.

I don’t know how to access the developer tools :slight_smile:
My days as a software developer ended in the late 90s.

I’m working on a Chromebook, which doesn’t have FN keys.

Best regards and a nice May 1st,

Thomas

(Attachment Screen recording 2026-05-01 19.36.21.webm is missing)

Hi,

although the video is not displaying for me, I took another close look at the code and actually found a bug that explains why loading the labels takes so long in some cases!

The good news: the bug is very easy to fix and will be included in the next version, which will be released tomorrow or the day after.

Great,

thank you very much.

Thomas

Hello David,

The list construction is now proceeding at breakneck speed. The problem has been resolved.

Many thanks,

Thomas