Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Dequeued stimuli are never removed from display stack

#105

The "dequeue_stimulus" action makes the target stimulus invisible, but it doesn't remove it from the StimulusDisplay's display stack. Instead, the stimulus stays in the stack indefinitely, even after the experiment is stopped and restarted.

This isn't necessarily a huge deal, but it definitely wastes CPU cycles. Specifically, StimulusDisplay::drawDisplayStack will test every stimulus that has ever been displayed for visibility, even if the user only presents one stimulus at a time and dutifully dequeues each one after display.

Probably the right thing is for StimulusDisplay::updateDisplay to remove any stimuli that become invisible.

Reported by Christopher Stawarz · March 27th, 2014 @ 03:18 PM

State: resolved
Milestone: 0.7.0
Assigned to: Christopher Stawarz Christopher Stawarz

Activity

  1. Christopher Stawarz
  2. Christopher Stawarz
    Christopher Stawarz
    • State changed from open to resolved
    • Assigned user set to Christopher Stawarz

    August 9th, 2016 @ 02:22 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.