← Back to team overview

openshot.developers team mailing list archive

[Bug 475073] Re: Rotating resources - Locale messes up X and Y

 

Here is an email that I sent to Dan about this issue.  I was able to get
a reproducible example, and it seems related to the GTK library.  I have
attached my example.

----------------------------
Hi Dan!
I have a very strange bug related to the affine filter, locales that use commas for decimals, and the gtk library.  This might sound bizarre, but I have a reproducible example for you.

The example is a simple logo.png file that is being rotated by the
affine filter.

$ python play.py (This syntax works great, assuming your locale is not comma based)
$ LANG=es_ES python play.py (This syntax moves the center of the rotation off the screen, at the very bottom, with the corners rotating into view)

If, you open up the "play.py" file, and comment out the "import gtk"
line, it will work correctly.

For example:
import mlt
import time
import sys
#import gtk

I have verified the example works correctly with "melt", and only seems
related to importing the gtk library when using Python.  Any thoughts on
this strange issue?  I'm sure it's something simple... at least I hope
it's something simple. =)  I will keep investigating the gtk library,
and see if I am not setting some locale specific property.  If you have
any ideas, I would love to hear them.

Thanks as always!
-Jonathan

** Attachment added: "Locale_Rotate.tar.gz"
   https://bugs.launchpad.net/openshot/+bug/475073/+attachment/1555918/+files/Locale_Rotate.tar.gz

-- 
Rotating resources - Locale messes up X and Y
https://bugs.launchpad.net/bugs/475073
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.

Status in OpenShot Video Editor: New

Bug description:
Hi there:

I have been playing with the rotation for a while but I don't understand why when I rotate a resource over the Y axis (no mather if it is a video or an image), the image moves to the top bottom of the screen. Also if I try to leave all the fields with zeros at rotation effect, still the video refuses to show up (seems to be at the top bottom too). The only way of leave things as the begining is removing the effect.

Am I doing something wrong?, because I see the demo video and it seems that this feature is working properly.





References