All labels flicker (vanish and reappear) on every undo/redo

Đang mở
#12,822 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
56/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
desktop

Hướng nghiên cứu

Start by tracing how label views are refreshed when the undo stack changes, then compare that path with how edits update labels in place. The reproduction steps provide a way to observe the flicker: create labels, edit an audio clip, then undo and redo. Done when labels unaffected by the action stay visible without flickering; the issue names no source files or tests, so locating the relevant code will take project familiarity.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug Labels
Bug description

When a project contains labels, every undo or redo makes all the labels in the project disappear for a fraction of a second and then reappear.

Steps to reproduce
  1. Create a new project
  2. Add an audio track and generate or record some audio
  3. Add a label track and create several labels
  4. Make any edit (e.g. move or trim an audio clip)
  5. Press Undo
  6. Press Redo
  7. Watch the labels during steps 5 and 6
Expected behavior

Labels the undone/redone action didn’t affect stay drawn without any visual change.

Actual behavior

On each undo and redo, all labels in the project briefly vanish and then reappear.

Audacity Version

Audacity 4.0.2

Operating system

OS independent

Additional context

It looks like the label views are fully rebuilt or reset on every undo-stack state change instead of being updated in place.

Ngôn ngữ chính
C++
Star
19.2k
Fork
2.8k
Merge trung bình
2 ngày 23 giờ
Pull request đã merge (30 ngày)
45

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của audacity/audacity

Tất cả issue của audacity/audacity

Issue tương tự

Thêm issue về C++

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.