Bug 1587

Summary: unexpected text selection for decoder output (zoom levels)
Product: PulseView Reporter: Gerhard Sittig <Gerhard.Sittig>
Component: Data displayAssignee: Nobody <nobody>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: one zoom level
next zoom level
next zoom level
next zoom level

Description Gerhard Sittig 2020-08-16 20:54:56 CEST
Created attachment 660 [details]
one zoom level

Protocol decoders can provide a set of text variants which differ in their 
length, to have the application pick one of them which fits the available 
screen space for an annotation. It's a known contraint that decoders should 
provide the list of text variants in strict order of decreasing length. The 
application may rely on that order.

It was observed that pulseview can pick a text variant which is slightly 
longer than the available space, and then will truncate the text and add a 
"continuation marker" (a sequence of periods). Which results in the absence 
of data values after their explanatory prefix. In unfortunate circumstances 
several zoom levels can suffer from that issue, and several adjacent zoom 
levels keep hiding information from the user.

See the four attached screenshots for an illustration.
Comment 1 Gerhard Sittig 2020-08-16 20:55:29 CEST
Created attachment 661 [details]
next zoom level
Comment 2 Gerhard Sittig 2020-08-16 20:55:57 CEST
Created attachment 662 [details]
next zoom level
Comment 3 Gerhard Sittig 2020-08-16 20:56:24 CEST
Created attachment 663 [details]
next zoom level