Bug 511 - The view is sometimes not redrawn when necessary
Summary: The view is sometimes not redrawn when necessary
Alias: None
Product: PulseView
Classification: Unclassified
Component: Data display (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: PulseView 0.3.0
Assignee: Nobody
Depends on:
Reported: 2014-12-02 21:51 CET by Soeren Apel
Modified: 2015-06-28 20:42 CEST (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description Soeren Apel 2014-12-02 21:51:43 CET
Problem: In certain situations, the view does not reflect changes that were performed in the UI.

How to replicate:

One of the situations in which this occurs is:
-) Start PV
-) Run demo
-) Add parallel decoder
-) Change decoder name to anything else, e.g. "abc" (note how the decode trace label doesn't update while typing either)
-) Right-click the decoder trace and delete it
Result: decoder trace label is gone, trace itself is still there

This behavior was introduced with the changes following c294543f8df3b3c90fa613c8198506aea68e91e7.
Comment 1 Soeren Apel 2014-12-03 13:08:01 CET
The commit that introduced this bug is 448a72cf7f0225eace2335ec05b979c4e9a6b882.
Comment 2 Joel Holdsworth 2014-12-04 10:40:49 CET
RowItem objects can trigger redraws by invoking appearance_changed( ), (or the top-level view can trigger updates by directly calling update() ). This issue is likely due to neglecting to call one or other of these.