Closed cjmayo closed 1 year ago
Merging #253 (061a816) into master (c33274f) will decrease coverage by
0.13%
. The diff coverage is68.13%
.
@@ Coverage Diff @@
## master #253 +/- ##
==========================================
- Coverage 85.86% 85.74% -0.13%
==========================================
Files 55 55
Lines 10375 10418 +43
==========================================
+ Hits 8909 8933 +24
- Misses 1466 1485 +19
Impacted Files | Coverage Δ | |
---|---|---|
fract4dgui/AVIGen.py | 10.00% <5.00%> (-0.59%) |
:arrow_down: |
fract4dgui/main_window.py | 64.81% <31.73%> (+0.93%) |
:arrow_up: |
fract4dgui/angle.py | 59.52% <34.28%> (-24.20%) |
:arrow_down: |
fract4dgui/director_dialogs.py | 66.66% <48.48%> (ø) |
|
fract4dgui/preferences.py | 76.13% <51.35%> (-0.48%) |
:arrow_down: |
fract4dgui/utils.py | 82.22% <65.21%> (+2.47%) |
:arrow_up: |
fract4dgui/PNGGen.py | 83.57% <72.72%> (-0.46%) |
:arrow_down: |
fract4dgui/application_window.py | 87.50% <73.21%> (-1.18%) |
:arrow_down: |
fract4dgui/director.py | 60.00% <74.00%> (-0.73%) |
:arrow_down: |
fract4dgui/settings_widgets.py | 77.83% <77.54%> (-0.67%) |
:arrow_down: |
... and 10 more |
... and 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
Thanks a lot Chris! Very exciting.
On Mon, Apr 10, 2023 at 11:47 AM codecov[bot] @.***> wrote:
Merging #253 https://codecov.io/gh/fract4d/gnofract4d/pull/253?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None (c6da90f https://github.com/fract4d/gnofract4d/commit/c6da90f4047224b7873a8fc90202dc2a5b0094fe) into master https://codecov.io/gh/fract4d/gnofract4d/commit/c33274f1f37e1d3dc4f441e333375b73905c215d?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None (c33274f https://github.com/fract4d/gnofract4d/commit/c33274f1f37e1d3dc4f441e333375b73905c215d) will decrease coverage by 0.16%. The diff coverage is 67.91%.
@@ Coverage Diff @@## master #253 +/- ## ==========================================- Coverage 85.86% 85.71% -0.16%
Files 55 55 Lines 10375 10422 +47 ==========================================+ Hits 8909 8933 +24 - Misses 1466 1489 +23
Impacted Files https://codecov.io/gh/fract4d/gnofract4d/pull/253?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None Coverage Δ fract4dgui/AVIGen.py https://codecov.io/gh/fract4d/gnofract4d/pull/253?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZnJhY3Q0ZGd1aS9BVklHZW4ucHk= 10.00% <5.00%> (-0.59%) ⬇️ fract4dgui/main_window.py https://codecov.io/gh/fract4d/gnofract4d/pull/253?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZnJhY3Q0ZGd1aS9tYWluX3dpbmRvdy5weQ== 64.81% <31.73%> (+0.93%) ⬆️ fract4dgui/angle.py https://codecov.io/gh/fract4d/gnofract4d/pull/253?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZnJhY3Q0ZGd1aS9hbmdsZS5weQ== 59.52% <34.28%> (-24.20%) ⬇️ fract4dgui/director_dialogs.py https://codecov.io/gh/fract4d/gnofract4d/pull/253?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZnJhY3Q0ZGd1aS9kaXJlY3Rvcl9kaWFsb2dzLnB5 66.66% <48.48%> (ø) fract4dgui/preferences.py https://codecov.io/gh/fract4d/gnofract4d/pull/253?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZnJhY3Q0ZGd1aS9wcmVmZXJlbmNlcy5weQ== 76.13% <51.35%> (-0.48%) ⬇️ fract4dgui/utils.py https://codecov.io/gh/fract4d/gnofract4d/pull/253?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZnJhY3Q0ZGd1aS91dGlscy5weQ== 82.22% <65.21%> (+2.47%) ⬆️ fract4dgui/PNGGen.py https://codecov.io/gh/fract4d/gnofract4d/pull/253?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZnJhY3Q0ZGd1aS9QTkdHZW4ucHk= 83.57% <72.72%> (-0.46%) ⬇️ fract4dgui/application_window.py https://codecov.io/gh/fract4d/gnofract4d/pull/253?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZnJhY3Q0ZGd1aS9hcHBsaWNhdGlvbl93aW5kb3cucHk= 87.50% <73.21%> (-1.18%) ⬇️ fract4dgui/director.py https://codecov.io/gh/fract4d/gnofract4d/pull/253?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZnJhY3Q0ZGd1aS9kaXJlY3Rvci5weQ== 60.00% <74.00%> (-0.73%) ⬇️ fract4dgui/settings_widgets.py https://codecov.io/gh/fract4d/gnofract4d/pull/253?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZnJhY3Q0ZGd1aS9zZXR0aW5nc193aWRnZXRzLnB5 77.83% <77.54%> (-0.67%) ⬇️ ... and 10 more https://codecov.io/gh/fract4d/gnofract4d/pull/253?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None
... and 1 file with indirect coverage changes https://codecov.io/gh/fract4d/gnofract4d/pull/253/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None
Help us with your feedback. Take ten seconds to tell us how you rate us https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None. Have a feature suggestion? Share it here. https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None
— Reply to this email directly, view it on GitHub https://github.com/fract4d/gnofract4d/pull/253#issuecomment-1502171539, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALECVB3TX3RA3CFOODILDXARIT5ANCNFSM6AAAAAAWZI5F6U . You are receiving this because you are subscribed to this thread.Message ID: @.***>
There is a specific gtk_event_controller_get_current_event_state
which can get the keyboard modifier from the gesture - don't need a workaround there.
Think that is it now, but I guess we'll wait a bit longer anyway.
I haven't found any additional problems and Debian 12 is now stable, so I guess most people now have or have a route to GTK 4 (tests running fine here on macOS thanks to Homebrew). I propose to merge this next Monday (17th), do say if you think it is still too soon.
Sounds good to us
One clear advantage of GTK 4 for Gnofract 4D is that it makes it easy to fix the high CPU usage while dragging the selection rectangle #14. With the new scene graph a widget's render node is cached. We can split the selection and fractal into separate widgets and only update the fractal widget when there are actual changes. This can be done without cairo, removing the need for it as an external dependency. (Angles and Fourways are still drawn with cairo, but Gtk.Snapshot provides the context).
If there is more than one keyboard device connected that might cause a problem for the code in this PR to detect ctrl/shift pressed with the mouse button on the fractal. PyGObject can't handle Gdk.Event types, which is needed to get the modifier from the drag gesture. Therefore, a workaround is used to get the modifier directly from the keyboard. Possibly it could be extended to cover the multi-keyboard situation.When? GTK 4 is available in Ubuntu 22.04, a few months to go before a new release of Debian stable with it.