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

            Bug ID: 449971
           Summary: Long pause before playing sound after flipping card in
                    memory activities
           Product: gcompris
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: jaz...@gmail.com
          Reporter: k...@huftis.org
  Target Milestone: ---

SUMMARY
In the Memory activities (e.g., ‘Enumeration memory game’), when you flip a
card, there is an annoying ~.5 second pause before the corresponding sound is
played.

STEPS TO REPRODUCE
1. Go to Enumeration memory game.
2. Flip a card containing a number.

OBSERVED RESULT
The card is flipped. Then there is a .5 second pause, and the word ‘number’ is
spoken.

EXPECTED RESULT
The number should be spoken immediately after the card is finished flipping. Or
even better, a fraction of a second *before*, since you can clearly see card
front before the card is finished flipping.

ADDITIONAL INFORMATION
I *think* I know the reason for this. In src/activities/memory/CardItem.qml,
there is an ‘interval: 1500’ timer (line 61), which must finish before the
audio is played. But flipping the card takes less time. However, AFAICS, the
long 1500 delay is intentional, to allow the player to take a good look at the
card before it is flipped again (if it was the second card you flipped). And I
don’t know how to fix it so that there’s still a 1500 delay, but that the sound
is played right when the card is finished flipping (or a split second before).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to