You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ign-gui branch:main (da55587), built from source - together with Edifice
Description
Very minor thing, which might as well not by an issue - just something done by design. I do not have any use-case for it currently (just something I noticed when trying out the demo), so please just close this issue if you think it works as it should.
Expected behavior: All keypresses are published, including "blank space" ("spacebar") key.
Expected behavior (alternative): All keypresses except bound shortcuts are published.
Actual behavior: Keys such as 't' (shortcut for Translate mode) or 'r' (shortcut for Rotate mode) are published together with other keys. However, key for "spacebar" (shortcut for pause/play) is not published.
Note: Combinations with holding "ctrl" or "shift" allow "spacebar" key to be published
Steps to reproduce
ign gazebo empty.sdf
Add Key publisher GUI plugin (manually)
ign topic -e -t /keyboard/keypress
While Gazebo GUI is in focus, press keys such as 'a' or 'b' - keys are published
While Gazebo GUI is in focus, press keys such as 't' (shortcut for translate mode) or 'r' (shortcut for Rotate mode) - keys are published
While Gazebo GUI is in focus, press "spacebar" - no key is published
The text was updated successfully, but these errors were encountered:
Oh this is related to gazebosim/gz-sim#466 and gazebosim/gz-sim#369. I believe we should update ignition::gui::WorldControl not to use a QML shortcut for the space bar, because that swallows the events. Instead, it should filter key events from the main window like ignition::gazebo::gui::TransformControl plugin is doing now.
Environment
main
(da55587), built from source - together with EdificeDescription
Very minor thing, which might as well not by an issue - just something done by design. I do not have any use-case for it currently (just something I noticed when trying out the demo), so please just close this issue if you think it works as it should.
Steps to reproduce
ign gazebo empty.sdf
ign topic -e -t /keyboard/keypress
The text was updated successfully, but these errors were encountered: