Skip to content

can.viewer increments count and reset dt when scroll is used  #1407

Open

Description

@cetehem

Describe the bug

every time the function 'scroll' is used, either with the keyboard or the mouse wheel, Count value is increased, and dt value is reset.

To Reproduce

  • Start can.viewer as usual : python -m can.viewer -c can0 -i socketcan -b 1000000
  • Reduce the size of the terminal in order to have more frames than the terminal can show.
  • Used the scroll function, with up or down key, or with the mouse wheel

Expected behavior

Count and dt values doesn't changed on scroll

Additional context

OS and version:Fedora 36
Python version:3.10.7
python-can version:4.0.0
python-can interface/s (if applicable):socketcan

Activity

  1. changed the title [-]can.viewer increments count and reset dt when sroll is used [/-] [+]can.viewer increments count and reset dt when scroll is used [/+] on Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions