stimfit icon indicating copy to clipboard operation
stimfit copied to clipboard

Move traces keyboard commands unresponsive in concatenated sweeps/Event Detection

Open Sverreg opened this issue 3 years ago • 1 comments

The move traces keybindings (Ctrl/Shift + -> or <-) do not work in concatenated sweeps in Stimfit 0.16.0 on Ubuntu 20.04. They work before the sweeps are concatenated, or if other commands that create a new window are used (eg. filtering).

I tested solutions from #33, spamming the magnifying glass or selecting the trace window with the cursor does not fix the issue. The traces window is highlighted when I click it.

If I create a new window (of a selected concatenated sweep), the keyboard commands work in the new window, great! But, when I run event detection it breaks again. It looks like the issue here is that events are always selected, not the Traces window (see orange highlight around the leftmost event-box in screenshot) when the traces window is clicked. Running Erase All Events restores keyboard move functionality. Creating a new window still works, but the events are not copied so that doesn't help much.

image

Sverreg avatar Aug 23 '21 17:08 Sverreg

Testing this on Stimfit 0.16.3 on Linux, the issue can be reproduced with the following steps:

  1. Select severall or all sweeps, and
  2. Menu->Edit->"Concatenate Selected Sweeps (multiple channels)" then the scaling keys <Ctrl> +/+ and <Shift> +/- do not do anything.

Interestingly, when selectiong
Menu->Edit->"New Window with ... " -> and any of the 3 options, the the scaling keys <Ctrl> +/+ and <Shift> +/- are usable. However, only the data of a single channel is shown

schloegl avatar Mar 22 '24 20:03 schloegl