Bug 502712

Summary: Lokalize shows Pology output repeatedly
Product: [Applications] lokalize Reporter: Karl Ove Hufthammer <karl>
Component: generalAssignee: Simon Depiets <sdepiets>
Status: REPORTED ---    
Severity: normal CC: aacid, shafff
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Karl Ove Hufthammer 2025-04-12 13:57:50 UTC
SUMMARY
When the Pology feature is enabled, the output from Pology is shown repeatedly, about once every second.


STEPS TO REPRODUCE
1. Enable the Pology feature in the settings.
2. Open a .po file.
3. Observe the unit metadata pane.

OBSERVED RESULT
After a second, the first Pology result is shown. Then, a duplicate result is shown one every second, filling up the unit metadata pane.


EXPECTED RESULT
The Pology check result should only be shown once.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250410
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0
Kernel Version: 6.14.0-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-2500 CPU @ 3.30GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 3GB

ADDITIONAL INFORMATION
According to a Git bisect, the problem was introduced in this commit:

commit 493a46b8d20bc1d573536aec17e80f19be3863ea (HEAD)
Author: Frederik Schwarzer <schwarzer@kde.org>
Date:   Mon May 29 23:09:16 2023 +0200

    port insertMulti() to insert()

 src/msgctxtview.cpp | 2 +-
 src/msgctxtview.h   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)