Bug 407067

Summary: Unstable drag selection in call stack
Product: [Applications] kdevelop Reporter: Alexander Potashev <aspotashev>
Component: UI: generalAssignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.3.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Potashev 2019-04-29 19:57:08 UTC
SUMMARY
Unstable drag selection in call stack.

STEPS TO REPRODUCE
1. Pause or hit a breakpoint while debugging.
2. Open call stack tool view.
3. In the call stack, left-click and hold on a call stack item.
4. Drag over other call stack items to extend the selection.

OBSERVED RESULT
While dragging, when multiple items are already selected by this dragging action, some of the items may be randomly deselected and then selected again, as it appears.

EXPECTED RESULT
The whole range of call stack items between dragging start position and current mouse position should be selected at any time while dragging.

SOFTWARE/OS VERSIONS
Операционная система: Fedora 29
Версия KDE Plasma: 5.14.5
Версия Qt: 5.11.3
Версия KDE Frameworks: 5.55.0
Версия ядра: 5.0.6-200.fc29.x86_64
Архитектура: 64-битная
Comment 1 Alexander Potashev 2019-04-29 20:27:56 UTC
Looks like the list selection is rendered during drag selection as follows:
 1. If the item under mouse has changed using the last mouse move event, only this new item under mouse will be selected.
 2. Otherwise (i.e. if the latest mouse move event was a move inside the current item), all the items in drag range are selected correctly.