This week I kept working on embedding xulrunner on windows with PyGTK. I thought it was only going to take a couple days, and in fact I was almost there after two days, but then I ran into a huge tangle of focus problems. Basically the focus is totally broken on my tests, it takes some random amount of clicking on the window to get the focus right, and I have no idea why.
I looked at the gtkmozembed source and remembered that they have a ton of hacks to get focus right. Then I checked the moz-dev-embedding lists, and found out that most of those hacks don’t work on windows. I’m trying to get in contact with some mozilla people, but in the meantime I’m pretty much stuck on the focus issues.
I think I’m going to just forge ahead and ignore this problem for now. Hopefully I’ll get a good response and have a straightforward fix. Otherwise, I can look into more radical measures like webkit, or just using XULRunner for all the UI stuff. I don’t know, but right now I’m sick of trying to get those clicks working, so I need to move on.
0 comments ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment