Skip to content

Editor: Playing effect looped skips the first frame #541

@RamonAbudAlcala

Description

@RamonAbudAlcala

Details about the problem

Hi, I recently aquired a razer mouse and installed your software.

I was playing with creating custom effects and came upon the following bug.

How to reproduce

  • Create an effect with 2 frames, select different colors so it is easy to see the difference in the device when changing frames.
  • Select "loop"
  • Select 1fps
  • Click "play" button

Behaviour

Frame 0 runs for 1s, then
Frame 1 runs for 1s, then
Frame 0 runs for an instant (very very quickly) then,
Frame 1 runs for 1s,
Frame 0 runs for an instant (very very quickly) then,
Frame 1 runs for 1s,
...

Expected behaviour

Frame 0 should run for 1/fps every cycle, not just the first one.

Extra info

OS Debian Trixie
openrazer v3.10
polychromatic
Mouse Razer Basilisk Pro V3

Final comments

I quickly looked at your code to see if I could spot where the bug was, but it does not seem immediately apparent to me. But if it helps, I think that the relevant function is play_sequence in /polychromatic-helper.

Application Version

v0.9.3

Qt Version

v6.7.2

Operating System

Debian Trixie

Desktop Environment

Gnome 47.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugFaults with Polychromatic itself

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions