Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enables confirmation dialog when closing Gazebo. #850

Merged
merged 3 commits into from
Jun 18, 2021

Conversation

francocipollone
Copy link
Contributor

🎉 New feature

Related to issue #820

Summary

This feature of MainWindow was added here gazebosim/gz-gui#225
--> needs upstream release

In this PR we only have to enable this behavior.

Test it

cd ign-gazebo
git checkout francocipollone/citadel_confirmation_dialog
colcon build --packages-select ign-gazebo3 
ign gazebo

Now try to close it!

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

Signed-off-by: Franco Cipollone <franco.c@ekumenlabs.com>
@francocipollone francocipollone added enhancement New feature or request 🏰 citadel Ignition Citadel needs upstream release Blocked by a release of an upstream library labels Jun 4, 2021
@francocipollone francocipollone requested a review from scpeters June 4, 2021 17:36
@codecov
Copy link

codecov bot commented Jun 4, 2021

Codecov Report

Merging #850 (37d4d05) into ign-gazebo3 (01fc2ff) will increase coverage by 12.23%.
The diff coverage is 90.52%.

Impacted file tree graph

@@               Coverage Diff                @@
##           ign-gazebo3     #850       +/-   ##
================================================
+ Coverage        65.71%   77.94%   +12.23%     
================================================
  Files              127      215       +88     
  Lines             6238    12077     +5839     
================================================
+ Hits              4099     9414     +5315     
- Misses            2139     2663      +524     
Impacted Files Coverage Δ
include/ignition/gazebo/EntityComponentManager.hh 100.00% <ø> (ø)
include/ignition/gazebo/Link.hh 100.00% <ø> (ø)
include/ignition/gazebo/Model.hh 100.00% <ø> (ø)
include/ignition/gazebo/SdfEntityCreator.hh 100.00% <ø> (ø)
include/ignition/gazebo/Server.hh 100.00% <ø> (ø)
include/ignition/gazebo/ServerConfig.hh 100.00% <ø> (ø)
include/ignition/gazebo/System.hh 100.00% <ø> (ø)
include/ignition/gazebo/components/Component.hh 100.00% <ø> (ø)
include/ignition/gazebo/gui/GuiEvents.hh 0.00% <0.00%> (ø)
src/SimulationRunner.hh 100.00% <ø> (ø)
... and 197 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7876ca3...37d4d05. Read the comment docs.

Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Let's just wait for an ign-gui release and then upgrade the required version here:

https://github.com/ignitionrobotics/ign-gazebo/blob/ee895b82525a4ee8943b317bc2e44799260f5446/CMakeLists.txt#L78

@chapulina chapulina mentioned this pull request Jun 17, 2021
7 tasks
francocipollone and others added 2 commits June 18, 2021 10:07
Signed-off-by: Franco Cipollone <franco.c@ekumenlabs.com>
@francocipollone
Copy link
Contributor Author

LGTM Let's just wait for an ign-gui release and then upgrade the required version here:

https://github.com/ignitionrobotics/ign-gazebo/blob/ee895b82525a4ee8943b317bc2e44799260f5446/CMakeLists.txt#L78

Done!

@francocipollone francocipollone removed the needs upstream release Blocked by a release of an upstream library label Jun 18, 2021
@chapulina chapulina merged commit fada73c into ign-gazebo3 Jun 18, 2021
@chapulina chapulina deleted the francocipollone/citadel_confirmation_dialog branch June 18, 2021 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏰 citadel Ignition Citadel enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants