virtaal icon indicating copy to clipboard operation
virtaal copied to clipboard

Virtaal freezes during navigation (on java-style choice format messages)

Open helix84 opened this issue 9 years ago • 3 comments

Version: 0.7.1 (Windows 7, Debian Jessie), master (Debian Jessie) Keywords: freeze, hang, pause, wait

This should be very easy to reproduce on the attached test file. Just navigating (clicking or ctrl-up/ctrl-down) among the strings (no translating needed) of this file will freeze the Virtaal UI for minutes. This doesn't happen on a particular string, but seems to happen on strings that are in the java properties (created using prop2po) format with choice format (their equivalent of Gettext plural forms).

This occurs even with all the Virtaal plugins disabled. The delay seemingly gets longer the longer you change focus among strings, though I didn't verify this. It doesn't seem to matter whether the Plural-Forms header is present.

Test .po file: virtaal-freeze-test.po.

helix84 avatar Oct 20 '15 08:10 helix84

Couldn't replicate on Virtaal 0.7.1 on Ubuntu 14.04.

unho avatar Oct 20 '15 08:10 unho

I'm not able to try to duplicate right now, but I can say that I worked extensively on slowdowns and interactivity problems since the release of 0.7.1. I haven't had time to work on a release yet, but I do believe that several such problems should be fixed in git. If you are able to try running it from git master and reporting back, that would be quite useful. I'm not sure when I'll get round to a release, but I do believe things are already better. I hope that helps.

friedelwolff avatar Oct 23 '15 08:10 friedelwolff

@helix84 Confirmed in Virtaal 1.0.0-beta1, Arch Linux 64-bit, using the above po file. See attached a screencapture in zip file (~300 kB).

rffontenelle avatar Jan 14 '20 19:01 rffontenelle