Page MenuHomePhabricator

[TUX] Statsbar dynamic update issues
Closed, ResolvedPublic

Description

There are some inconsistencies here

Untranslated not being decreased properly:
http://laxstrom.name/statsbar.png

Observed a while ago.

Proofread growing too quickly or translated decreasing too slowly when proofreading.

Observed today by Siebrand.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=48971
https://bugzilla.wikimedia.org/show_bug.cgi?id=60949

Details

Reference
bz45700

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 1:17 AM
bzimport set Reference to bz45700.

Steps to reproduce:

Preconditions:
a. Be logged in on http://translatewiki.net.

Steps:

  1. Go to https://translatewiki.net/w/i.php?title=Special:Translate&group=ext-e3experiments&language=nl&tux=1&action=translate&filter=&tux=1

Observed:
I. 1 message is visible, with (unmentioned) status "translated"
II. The stats bar has a length of 100 and is "light blue".

  1. Open the editor
  2. Add the text "FUZZY" in front of the current translation
  3. Save translation

Observed:
III: Stats bar length changes from 100 to 200.
IV: No change in color of the bar

Expected:
V: Stats bar length remains 100
VI: Change in color from light blue to yellow

  1. Force reload the page.

Observed:
VII. 1 message is visible, with status "outdated"
VIII. The stats bar has a length of 100
IX: The stats bar is "yellow"

  1. Open the editor
  2. Click the botton "Confirm tranlation"

Observed:
X: Yellow stats bar remains with length of 100
XI: A light blue stats bar appears right above the yellow bar, with a length of 200

Expected:
XII: Stats bar length remains 100
XIII: Color of stats bar changes from yellow to light blue.

Above patch was merged. Would you have time to test again?

Still broken:

  1. In proofreading mode, edit proofread message..
  2. Translated count is increased, proofread count stays same (expected: decreases)
  • Bug 46739 has been marked as a duplicate of this bug. ***

(In reply to comment #4)

  1. In proofreading mode, edit proofread message..
  2. Translated count is increased, proofread count stays same (expected:

decreases)

I34afc33c3c9d1b8a6548886af381abba2d251238

(In reply to comment #7)

Merged.

And https://gerrit.wikimedia.org/r/#/c/103192/1 should have fixed it for real, but I didn't test yet.

Based on my experiences today this does not seem to have fixed it.

Screenshot(s): https://commons.wikimedia.org/wiki/File:Translatewikibug_2014-02-05.png

(In reply to comment #9)

Based on my experiences today this does not seem to have fixed it.
Screenshot(s):
https://commons.wikimedia.org/wiki/File:Translatewikibug_2014-02-05.png

I'm told it's better to file a new report for that, with steps to reproduce. We also had negative percentages in the past, but probably in another report: better not mix up.

(In reply to comment #10)

(In reply to comment #9)

Based on my experiences today this does not seem to have fixed it.
Screenshot(s):
https://commons.wikimedia.org/wiki/File:Translatewikibug_2014-02-05.png

I'm told it's better to file a new report for that, with steps to reproduce.
We
also had negative percentages in the past, but probably in another report:
better not mix up.

Thanks: Done at #60949