Bug 1838 - A single math trace cannot be dragged above a single analog trace (works with 2 analog traces)
Summary: A single math trace cannot be dragged above a single analog trace (works with...
Status: CONFIRMED
Alias: None
Product: PulseView
Classification: Unclassified
Component: UI (show other bugs)
Version: unreleased development snapshot
Hardware: x86 Linux
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-15 13:20 CEST by cedric
Modified: 2023-04-15 13:39 CEST (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cedric 2023-04-15 13:20:45 CEST

    
Comment 1 cedric 2023-04-15 13:39:28 CEST
Overview:A single math trace cannot be dragged above a single analog trace. It jumps back. It works fine if there are 2 analog traces.

Steps to Reproduce:
1) Start pulseview
2) Remove all analog traces, except A0
3) Remove all logic traces
4) Add a math channel
5) Click and hold the label "A0" and try to drag it below Math1. It will unexpectedly jump back to the top. 
6) Click and hold the label "Math1" and try to drag it below A0. Now Math1 will correctly move below A0. 
7) Click and hold the label "Math1" and try to drag it above A0. Now Math1 will correctly move above A0.
8) Click and hold the label "A0" and try to drag it down. During the dragging, A0 will jump up and down randomly, and when the mouse is released, A0 jumps to the top of the screen.

Actual Results:
See steps 5,6,7,8

Expected Results:
A0 should be able to be dragged above and below math1, without jumping to the wrong place.

Build Date & Hardware: I build it myself on 04/15/2023 on a 64 bit AMD machine.
PulseView 0.5.0-git-62c0968
libsigrok 0.6.0-git/4:0:0 (rt: 0.6.0-git-5bce22ac/4:0:0)
Kernel version: $ uname -a 
Linux cedric 6.2.11-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 13 Apr 2023 16:59:24 +0000 x86_64 GNU/Linux

Additional Builds and Platforms: 

Additional Information:
When 2 analog traces are present, it works fine when the analog channels are grouped, and it works also fine when the analog channels are not grouped.