No need for 770 device to debug the AWT problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I should have added that it works fine with the JDK.

Matchbox is kick-ass!

Philippe Laporte wrote:

> Hi,
>     Having a 770 device is not needed. What one needs is a nested X 
> server that runs the same WM as on the 770 (Matchbox).
>
> Step-by-step instructions:
>
> 1. Build classpath
> 2. Build a JVM
> 3. Goto http://projects.o-hand.com/matchbox/sources/ and download the
> latest version of matchbox-window-manager and libmatchbox
> First build libmatchbox then the matchbox-window-manager:
>
> libmatchbox: $ ./configure && make && make install (use --prefix if 
> you want it somewhere special)
>
> matchbox-window-manager: $ ./configure --enable-standalone 
> --disable-ping-protocol --disable-xrm
> This is how I built it, I guess you can do it in another way as well..
> (you can use --prefix here as well)
>
> then: $ make && make install
>
> Hit CTRL-ALT-F<whatever> log on
> then:
> $ X :1 & xterm -display :1
>
> This will start a new X server with a xterm..
> start the wm:
> $ matchbox-window-manager (if it is located in your $PATH)
>
>
>
> So this way one can debug on an x86 desktop
>
> Seems like an Xserver tuning is also needed:
>
> From tapani.palli@xxxxxxxxx:
>
>> The fixed pixmap problem, how do I best get the fix?
>>
>>>
>>  
>>
> There is no problem in Matchbox. Fix is to disable composite in X server
> build (which is done).
>
>
>
>
> Previous thread:
>
>
> tapani.palli@xxxxxxxxx wrote:
>
> Expose-events work in 770 normally, bug is in the application/library
> side, not in Matchbox. Problem with pixmap depth was solved by disabling
> composite extension in Xomap build (if it does not work, the problem is
> trivial for application side to fix just by using some other function to
> query colordepth instead).
>
>
>
> Thomas Fitzsimmons wrote:
>
>>
>
>>>> Hi,
>>>>
>>>> On Tue, 2006-03-07 at 13:46 +0100, Clemens Eisserer wrote:
>>>>  
>>>>
>>  
>>
>>>>>>>> Classpath's AWT of course runs on top of GTK+.
>>>>>>>>     
>>>>>>>
>>>>     
>>>>
>>>>>>
>>>>>> Not on the 770, it has several problems but I am not experienced
>>>>>> enough to solve them:
>>>>>>
>>>>>> - Expose events seem not to be sent by X or at least are not 
>>>>>> received
>>>>>> by java. I did some debgugging and as far as I can tell no expose
>>>>>> events are sent by X.
>>>>>>   
>>>>>
>>>   
>>>
>>>>
>>>>
>>>> Interesting.  Does the 770 window manager allow overlapping windows or
>>>> dialogs?  Maybe there is no need for expose events except one on 
>>>> initial
>>>> startup.  Maybe we need to post paint events in response to something
>>>> other than an expose event, when running on the 770.  I'd appreciate
>>>> more information on this.
>>>>
>>>>  
>>>>
>>  
>>
>>>>>> - When creating offscreen images they are created using 24 bit depth
>>>>>> since GTK_RGB thinks this is best (why do we ask GTK_RGB for the
>>>>>> default pixmap depth and do not simply use the depth the screen is
>>>>>> running?). But 770's X server has no colormap assigned to 24-bit 
>>>>>> mode
>>>>>> so it asserts.
>>>>>>   
>>>>>
>>>   
>>>
>>>>
>>>>
>>>> Yes, I think we currently assume a 24-bit colormap in the GTK peers,
>>>> which is wrong.  I'd like to see this fixed.
>>>>
>>>>
>>
>
> Best Regards,
>





[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux