Bug 502712 - Lokalize shows Pology output repeatedly
Summary: Lokalize shows Pology output repeatedly
Status: REPORTED
Alias: None
Product: lokalize
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-12 13:57 UTC by Karl Ove Hufthammer
Modified: 2025-04-12 13:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)