Bug 496278

Summary: Translation memory stops working plus Shortcut Ctrl+Number doesn't work for Translation memory item
Product: [Applications] lokalize Reporter: Valter Mura <valtermura>
Component: translation memoryAssignee: Simon Depiets <sdepiets>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aacid, kde-i18n-it, shafff, smart2128vr
Priority: NOR Keywords: regression
Version First Reported In: 24.08.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of tm not working

Description Valter Mura 2024-11-14 19:10:01 UTC
SUMMARY
During translation process, often the TM stops working and doesn't show the correct suggestion, even if you are in a translated segment. Also, in this case, if a memory item is shown in the Translation memory field, sometimes the combination Ctrl+number of the item doesn't work and cannot insert the picked item in the translation.

STEPS TO REPRODUCE
1. Open a Translation project in Lokalize with an already populated Translation Memory
2. Navigate through the segment and work on them.
3. Check if, for translated segments, the suggestions are shown in bold at 100%

OBSERVED RESULT
If not shown in bold, and at 100%, then the TM suggestion is not working and also the shortcut for insertion (Ctrl+1, Ctrl+2, etc.)

EXPECTED RESULT
The TM should be regularly loaded and work, if a segment is translated it should show the 100% concordance.
Also, the shortcuts should insert the suggestions, whatever is its score percentage.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.7-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Graphics Processor: NVE7

ADDITIONAL INFORMATION
Usually, if you reload the project, the TM restart working. But once you start to translate, it stops again.
Comment 1 Valter Mura 2024-11-14 19:12:48 UTC
Created attachment 175825 [details]
Screenshot of tm not working

Screenshot of TM not working on translated segment.
Comment 2 Vincenzo Reale 2024-11-14 19:27:33 UTC
Ciao Valter,
I already reported this issue a week ago.

https://bugs.kde.org/show_bug.cgi?id=495930

It should be fixed in Lokalize 24.12.0
Comment 3 Albert Astals Cid 2024-11-14 20:22:35 UTC

*** This bug has been marked as a duplicate of bug 495930 ***