klonyyy / MCUViewer

Real-time embedded variable & trace viewer
GNU General Public License v3.0
810 stars 81 forks source link

Improve Variable Drag and Drop #86

Closed r0oland closed 1 month ago

r0oland commented 1 month ago

Version/Branch:

main

Operating system:

Windows 10

Debug probe:

J-Trace PRO V3 Cortex-M

Details:

It's not possible to drag and drop variables without selecting them first. As you can see below, when dragging a variable from the table, the "selected" or "marked" one stays selected, even if I try and drag a different one. I first have to click on the variable to select it and then drag it.

Minor issue and might be related to the GUI framework you are using, but maybe not? I find this behavior very counter-intuitive.

Screenshots/Video:

failed_add

klonyyy commented 1 month ago

Yes it is a known issue to me. It is connected to how Imgui handles the selection and then drag and drop feature. I will try to figure it out as I find it annoying as well.

Candas1 commented 1 month ago

This bothers me as well. But I have the impression that it wasn't behaving like this in early versions.

klonyyy commented 1 month ago

Yes it wasn't, but you didn't have the select multiple option back then

klonyyy commented 1 month ago

It should be fixed now. Let me know if it's improved. https://github.com/klonyyy/MCUViewer/actions/runs/11090383529/job/30812651343

r0oland commented 1 month ago

Thanks for the fix, now working like a charm!