[haXe] Screenweaver on a Mac doesn't accept keyboard input

Matthew Bergsma matthew at toolhouse.com
Thu Aug 30 17:05:48 CEST 2007


Hi Baluta - Thanks for your report.

I'm on a PPC, and I've tried it on our mac pro, but I still don't  
have keyboard input in a transparent window when running SWHX.app - I  
am running 10.4.9, haxe 1.1.4 and swhx 1.1. Would you mind comparing  
versions? Also note that transparent is not the same as "chromeless"  
- as I noticed slimmer timer was not fully transparent in my mac  
version I tested.

I am however loading a SWF in to the swhx window that has not been  
compiled by haxe. Are you generating your SWF via haxe?

Thanks again.



On Aug 29, 2007, at 2:21 PM, Kelvin Luck wrote:

> I tried on an Intel Mac. Maybe that is the missing piece of the  
> puzzle? Does it work correctly for anyone using an Intel Mac?
>
> Baluta Cristian wrote:
>> for me is working. do you have an intel or ppc? i tryed only on ppc
>> On 8/28/07, Kelvin Luck <kelvin at kelvinluck.com> wrote:
>>> I can confirm that I couldn't get keyboard focus on my app on OSX  
>>> when
>>> the window was set to transparent. In fact, I've just gone back and
>>> checked my app since I am on a Mac at the moment and noticed other
>>> problems... I thought I had uploaded a working version (without the
>>> transparent window) but it seems that I didn't.
>>>
>>> To see the problems download the Mac version from this page:
>>>
>>> http://kelvinluck.com/projects/slimmer-timer
>>>
>>> Unzip and run SlimmerTimer.app. Now try and type something in a text
>>> field. It won't work. Interestingly enough, if you click the close
>>> button in the top right and then say "No" to quitting  
>>> SlimmerTimer then
>>> you will see that the text appears in the text field. So it  
>>> appears that
>>> rather than the text field not getting focus the problem is that a
>>> change in the textfield isn't triggering a redraw...
>>>
>>> Hopefully that will help with further investigations,
>>>
>>> Cheers,
>>>
>>> Kelvin :)
>>>
>>> Matthew Bergsma wrote:
>>>> Can anyone out there confirm that it is possible to run a  
>>>> windowless
>>>> SWHX app on mac that will accept keyboard input?
>>>>
>>>> I tried a few extra things with packaging up my app, and I am still
>>>> unable to get keyboard input on a transparent swhx app on the  
>>>> mac. I am
>>>> curious if anyone has been able to do it?
>>>>
>>>> Here is what I have tried:
>>>>
>>>> 1. packaging up all the resources and contents into the swhx.app  
>>>> file to
>>>> create a single standalone application that does not require  
>>>> anything to
>>>> install. As expected, this behaves the same way as just placing the
>>>> bootloader alongside the resources, and does not allow keyboard  
>>>> input to
>>>> a plain SWF with a single input text field.
>>>>
>>>> 2. Running the app as Sudo. (hey if it's a permission thing, it was
>>>> worth a shot).
>>>>
>>>>
>>>> Thanks for any help.
>>>>
>>>>
>>>> On Aug 27, 2007, at 2:57 PM, Matthew Bergsma wrote:
>>>>
>>>>> Thanks Nicolas for your help - as a long time MTASC evangelist,  
>>>>> it is
>>>>> fun to finally talk to the author. (Great work).
>>>>>
>>>>> I just wanted to confirm - I am running my application with the
>>>>> SWHX.app bootloader and not launching it from a command line -  
>>>>> and I
>>>>> am unable to receive keyboard input in the flash environment  
>>>>> (even a
>>>>> simple input text field). So I'm not sure if I missed something in
>>>>> your recommended solution.
>>>>>
>>>>> Is the problem that the resources need to be bundled into the app
>>>>> package - and not placed alongside the bootloader? Then the OS  
>>>>> will
>>>>> run it as a non-console application?
>>>>>
>>>>> I've been looking for an FAQ on this issue for a while, and I  
>>>>> have not
>>>>> been able to find anything - so I apologize if there is some  
>>>>> public
>>>>> explanation somewhere, but I have scoured google and haxe.org and
>>>>> swhx's site - Also looked through all changelog files, and it  
>>>>> appears
>>>>> like I encountered an unsolved issue.
>>>>>
>>>>> Thanks again for your help
>>>>>
>>>>>
>>>>> *Matthew Bergsma** •** **Toolhouse Design Company*
>>>>> [T] 360.676.9275 x121
>>>>> [F] 360.676.8976
>>>>>
>>>>>
>>>>> --
>>>>> haXe - an open source web programming language
>>>>> http://haxe.org
>>>>
>>> --
>>> haXe - an open source web programming language
>>> http://haxe.org
>>>
>
> --
> haXe - an open source web programming language
> http://haxe.org

Matthew Bergsma • Toolhouse Design Company
[T] 360.676.9275 x121
[F] 360.676.8976


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070830/d1ae6ce9/attachment-0001.htm


More information about the Haxe mailing list