-
Notifications
You must be signed in to change notification settings - Fork 11
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
Port to GTK+3 #3
Conversation
@yashagrawal3 activity works but both play buttons doesn't have any effect, and i get this error
|
Thanks, good progress. Will look at patches in detail once you fix those errors. |
I have spent a lot of time debugging TempoSlider not appearing bug still wasn't able to figure out, I am getting no errors or warning on the console, do you have some Idea where could the problem be? |
Tested on Ubuntu 16.04. Tempo slider is not shown. Snapshot button is shown in an unusual way. Angle and size sliders are not shown. See screenshots below; master |
@yashagrawal3 i don't see the tempo slider. |
@chimosky Lessons is not a new feature it is present in the master branch. I am using Sugar on Ubuntu 17.10 in VirtualBox. |
Perhaps a race condition for toolbar widget rendering. What are your respective versions of python-sugar3 package? Mine is 0.112. Could you try the GTK+ Inspector? edit: ignore this |
Call new_from_data during object construction.
Tested 192e0e1 on Ubuntu 16.04. TempoSlider Gtk.HScale is rendered, but the Gtk.Image is empty. Reviewed 192e0e1 to look for reason why widget is not rendered fully;
Non-issues as observation only,
Deeper debugging;
Fixed in 2d030fd by calling Rsvg.Handle differently. Pushed. @chimosky, please test. |
@yashagrawal3 said
Should be fixed in Cartoon Builder now; sugarlabs/cartoon-builder@6a52371 |
@quozl tested, works fine but when screen-shot button is clicked i get this error
|
Yes, an obvious cause, will you be fixing it? See the change. |
Fixed in #1 |
Thanks.
|
That's what i did. |
Okay, thanks. Interesting. I've never seen a new pull request created when I did a |
Thanks, tested and merged @chimosky 's pull request. |
Tested on Ubuntu 16.02 with Sugar 0.112 and GTK+ 3.18.9. Comparing master branch to gtk3 branch 3046cab;
I tried this; - width = self.window.get_width()
- height = self.window.get_height()
+ width = self.mfdraw.get_allocated_width()
+ height = self.mfdraw.get_allocated_height() and got this;
Looks like there is lots more to do here. |
@quozl further testing showed errors, looking into it. |
We can close this now. |
Everything seems to work fine except a couple of buttons in the toolbar, which I need help in.
This warning is also logged while running the activity:
@quozl @chimosky please review!