Bug 1587 - unexpected text selection for decoder output (zoom levels)
Summary: unexpected text selection for decoder output (zoom levels)
Status: CONFIRMED
Alias: None
Product: PulseView
Classification: Unclassified
Component: Data display (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-16 20:54 CEST by Gerhard Sittig
Modified: 2020-08-16 20:56 CEST (History)
0 users



Attachments
one zoom level (22.29 KB, image/png)
2020-08-16 20:54 CEST, Gerhard Sittig
Details
next zoom level (22.09 KB, image/png)
2020-08-16 20:55 CEST, Gerhard Sittig
Details
next zoom level (16.58 KB, image/png)
2020-08-16 20:55 CEST, Gerhard Sittig
Details
next zoom level (13.83 KB, image/png)
2020-08-16 20:56 CEST, Gerhard Sittig
Details

Note You need to log in before you can comment on or make changes to this bug.
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