gazebosim/gz-gui

Overlapped DropAreas don't work as expected

オープン

#121 opened on 2020/09/05

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (68 件のフォーク)auto 404
bughelp wanted

Repository metrics

Stars
 (103 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Currently, it isn't possible to drop plottable items onto the plotting chart if the plotting plugin is floating on top of ign-gazebo's 3D view. It's possible to drop onto the plot if the mouse's path doesn't pass over the 3D scene though:

drag_plot_scene

This happens because the moment the mouse enters the 3D scene's DropArea, that's holds focus, even when the mouse is on top of another DropArea above it. I haven't found a good way of working around it. Apparently one way of fixing this is to make one mouse area the child of the other one, but since they're in different plugins, that could become messy.

Another thing I tried was to increase the Z height of the plot's drop area, with no success.

コントリビューターガイド