On Wed, 17 Jan 2001 [EMAIL PROTECTED] wrote:

> 
> 
> I've never heard of anything like this.  The problem seems so "odd", as you
> appropriately put it. That's the only difference you see?  And everything else
> is the same?  You're using the same ROM image?  You're emulating the same device

The only difference is in the rendering of tables. Forms without tables render
fine.

> with the same RAM size?  Is the 'pose' binary the same -- or was it compiled
> separately on the two machines?  If the latter, was the same compiler used?
> Could there be some code generation problem?

Same binary (I copied it over), but was also happening with a freshly-compiled
binary on the troublesome machine. Same rom image, mem size, and emulated
machine.

> 
> If I were faced with the same problem, I'd be working to find out why r and
> bounds are apparently incorrect.  I wouldn't want to shoot blindly by replacing
> seemingly unrelated libraries.

Indeed, which is why I was loathe to copy any libraries around. Trouble is I
wouldn't know where to start to find out why the values get set incorrectly --
the reason I thought libX might be to blame is because I imagine pose gets
sent some sort of window drawing events, but I know nothing about X
programming so I'm probably wrong here. 

Any ideas how to go about tracking this down? I'm completely stumped..

Thanks,

Simon.


> 
> -- Keith Rollin
> -- Palm OS Emulator engineer
> 
> 
> 
> 
> 
> 
> Simon Drabble <[EMAIL PROTECTED]> on 01/17/2001 07:11:21 AM
> 
> Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
> 
> Sent by:  Simon Drabble <[EMAIL PROTECTED]>
> 
> 
> To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
> cc:    (Keith Rollin/US/PALM)
> Subject:  odd behaviour in pose
> 
> 
> 
> Running pose on my home Linux box (Suse 6.4, kernel 2.2.14) I have no problems
> (well, except those caused by my code :) ).
> 
> Running on an almost identical machine (identical except for the X server &
> libX11) pose does not get the row & bounds parameters correctly in table draw
> data callbacks:
> 
> static void DrawMainTableItem(VoidPtr table, Word r, Word c, RectanglePtr
> bounds)
> 
> Stepping through my code in gdb, r is always 0 and bounds always the top row
> of the table -- I have multiple tables on different forms using different
> callbacks, and the values are always the same. Also for table load data
> callbacks.
> 
> Not sure what might be causing this, although the near-identicality of the
> two machines tends to point the finger at X somehow being at fault.
> 
> Has anyone else encountered this? is there a fix? I guess I could copy over
> the relevant X server and libraries but I'm only willing to do this if
> absolutely necessary.
> 
> 
> Simon.
> 
> 
> 
> 
> 
> 
> 



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to