hardbyte / hardbyte/python-can

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

Đang mở
#1,407 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
1.6k
Fork
697
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.