To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73199
                 Issue #|73199
                 Summary|aquavcl01: can't use keyboard before opening some kind
                        | of Window
               Component|porting
                 Version|680m198
                Platform|All
                     URL|
              OS/Version|Mac OS X
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|MacOSX
             Assigned to|tra
             Reported by|pjanik





------- Additional comments from [EMAIL PROTECTED] Sat Jan  6 02:22:04 -0800 
2007 -------
Hi,

my goal is to make goodies/source/inv's application work as it works on other 
platforms. You can now 
controll it fully using mouse after I implemented MOUSEMOVE events. But you 
can't controll your space 
ship using the keyboard.

>From the debugging output I see that keyboard events (cursor left e.g.) are 
>processed and sent by VCL 
correctly but the problem is that there is none to process it.

I described some parts of th problem in this thread:

http://porting.openoffice.org/servlets/BrowseList?list=mac&by=thread&from=1605498

To sum up:

- keyboard start to work after the first window different from the main 
application window is opened. 
This can happen if: 1. I finish the level 1 or they will kill me in the level 
one ;-)

- the method void MyWindow::KeyInput( const KeyEvent& rKEvent) is not called at 
all before the 
situation described above happens

- the difference between X11 build and AQUA build is that the function 
ImplGetKeyInputWindow returns 
NULL pChild because

pChild = pWindow->ImplGetWindowImpl()->mpFrameData->mpFocusWin;

mpFocusWin is NULL. Why? ;-)

To test the goodies application, do this:

cd goodies/source/inv
dmake TEST=yes

# Prepare the application "bundle"

cd ../../unxmacxi.pro/bin
mkdir -p invader.app/Contents/MacOS/goodies/res
cp -r ../../../default_images/goodies/res/*bmp 
invader.app/Contents/MacOS/goodies/res
cp invader applicat.rdb invader.app/Contents/MacOS
cd invader.app/Contents/MacOS
./invader

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to