-
Notifications
You must be signed in to change notification settings - Fork 182
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
DrawPanel Feature: Grouping Shapes #653
base: master
Are you sure you want to change the base?
Conversation
…into new_bb_border
Hello @ganimtron-10! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2022-09-12 15:09:33 UTC |
Hello @ganimtron-10, |
@ganimtron-10 Thank you for updating the PR with grouping the shapes functionality. |
I tried various ways to find the issue and found out Disk2D's rotation was causing this failure so I removed that part and rerecorded the test but still as we can see the tests are still failing. Mohamed also tried running this test on his Windows, there the tests are passing sucessfully. Also if we see the failing pattern it isn't consistent in some cases only rotation test is failing in some the grouping test is failing. |
Hello @skoudoro @Garyfallidis , |
Thank you for going deeper to this. So We need to look RingSlider only. We might miss something that will bother us in the future. Good investigation @ganimtron-10 |
2cd1b7a
to
ed7975f
Compare
Codecov Report
@@ Coverage Diff @@
## master #653 +/- ##
==========================================
- Coverage 50.47% 50.11% -0.36%
==========================================
Files 126 120 -6
Lines 28299 28311 +12
Branches 3034 3049 +15
==========================================
- Hits 14284 14189 -95
- Misses 13536 13650 +114
+ Partials 479 472 -7
|
@ganimtron-10 I want to merge this but I saw that sometimes the "test_ui_draw_panel_grouping" is failing. Can you suggest how to move forward? Should we ignore the failing because this will come together with another PR? I am not sure how to proceed. Please advise. |
Hello @Garyfallidis , As you suggest there are mainly two ways to merge this PR:
Let me know, how should I go ahead with it!! |
|
||
current_size = (680, 680) | ||
show_manager = window.ShowManager( | ||
size=current_size, title="DrawPanel Grouping UI Example") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You do not need initialize here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, it is internally called in the show_manager.start()
Let's investigate deeper. Neither 1 or 2 are viable long term solutions. |
I tried investigating the issues but was unable to narrow it down. I can show that the code repeats itself from the |
Thank you for your feedback @ganimtron-10. We are also still investigating, and I wonder if it is not the Investigations still in process. Thank you for still looking into it |
@ganimtron-10 please update these PR. |
This feature adds grouping functionality to the shapes present in the
DrawPanelUI
.PR #623 needs to be merged before this.
To group shapes:
Ctrl
Keyleft mouse click
Features:
Demo: