gazebosim/gz-gui

Overlapped DropAreas don't work as expected

开放

#121 创建于 2020年9月5日

 (0 条评论) (0 个反应) (0 位负责人)C++ (68 个派生)auto 404
bughelp wanted

仓库指标

星标
 (103 个星标)
PR 合并指标
 (平均合并 8小时 31分钟) (30 天内合并 3 个 PR)

描述

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.

贡献者指南