public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Re: screen redraw problem
@ 2003-11-06 14:16 J S
  2003-11-06 15:27 ` Harold L Hunt II
  0 siblings, 1 reply; 10+ messages in thread
From: J S @ 2003-11-06 14:16 UTC (permalink / raw)
  To: cygwin-xfree

Ha ! OK I'll try to be that guy! What's the best way to do this? Recompile 
XWin with the -g flag? Is there anything to change in the Makefile? Haven't 
done this before so would appreciate any pointers.

Thanks a lot.



>JS,
>
>Looks like you have found a generic problem with X or one of the libraries 
>you are using.  It is going to take a lot of debugging... you are going to 
>have to be that guy.
>
>Harold
>
>J S wrote:
>
>>Is there anymore information I need to add to this post? I would really 
>>like to get some help with it. The logs don't seem to be showing anything. 
>>I've tried setting different color depths, and screen resolutions but to 
>>no avail.
>>
>>Hi,
>>
>>I have an application which has some boxes in the window. The window 
>>itself
>>is scrollable. When I scroll down -  no problem, but when I scroll up the
>>boxes turn into long vertical bars. This problem doesn't happen with 
>>Exceed,
>>but on XFree86 (both Linux XFree86 and Cygwin-XFree) it does.
>>
>>Can anyone advise me whether this is a bug, or is there some setting I 
>>need
>>to add? Let me know if you need anymore information.
>>
>>Thanks for any help.
>>
>>JS.
>>
>>_________________________________________________________________
>>Stay in touch with absent friends - get MSN Messenger 
>>http://www.msn.co.uk/messenger
>>
>

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: screen redraw problem
@ 2003-11-19 15:51 J S
  0 siblings, 0 replies; 10+ messages in thread
From: J S @ 2003-11-19 15:51 UTC (permalink / raw)
  To: cygwin-xfree

Thanks for the help I got on this from Harold and Alan. The application was 
written in-house and after I asked the client for the source code, they 
managed to find the error themselves. For some reason, this only showed up 
in XFree86 though (not Exceed or Sun X-Windows). Here's what they said:

"An XWindows Draw function was taking a clipping area as a parameter. Under 
Xfree86, depending on what you are doing, invalid clipping areas were being 
generated and so the Draw function was causing screen distortions. I have 
put a validation in which checks the clipping area and if invalid it does 
not paint. In the old days when I used to work on the Windows SDK and 
OS2/Presentation Manager we used to hit similiar problems. This fix appears 
to be working."

>JS,
>
>Can you tell us about the application - is it available anywhere so I
>can take a look too ?
>
>Alan.

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: screen redraw problem
@ 2003-11-07 21:13 J S
  0 siblings, 0 replies; 10+ messages in thread
From: J S @ 2003-11-07 21:13 UTC (permalink / raw)
  To: cygwin-xfree

Hi Alan,

I wish I could. It's a legacy application used by my work called ISIS which 
runs on an old VAX system (not an OS I'm really familiar with). I don't 
think it's written in-house either, so getting the source code is probably a 
no-no too. In fact, the same applies to most X apps we have at my work! I'll 
check it out on Monday though. Thanks for your interest.

JS.


>JS,
>
>Can you tell us about the application - is it available anywhere so I
>can take a look too ?
>
>Alan.

_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today! 
http://www.msn.co.uk/messenger


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: screen redraw problem
@ 2003-11-07 12:42 J S
  2003-11-07 17:44 ` Harold L Hunt II
  2003-11-07 17:51 ` Alan Hourihane
  0 siblings, 2 replies; 10+ messages in thread
From: J S @ 2003-11-07 12:42 UTC (permalink / raw)
  To: cygwin-xfree

Harold,

Many thanks for email. I have created an XFree debug build now and a 
symbolic link from /usr/X11R6_suffix/lib/X11/fonts to 
/usr/X11R6/lib/X11/fonts.

In order to debug this though, what's the best approach?
For example, should I use any flags on the xwin command line? Do you use gdb 
to do the debugging? If so, could you just give me a clue as to where I 
might want to set the breakpoint given the nature of the problem?

Sorry to ask for spoon-feeding on this!! Thanks again though.

JS.


>JS,
>
>Start here:
>http://xfree86.cygwin.com/docs/cg/prog-obtaining-source.html
>
>Then read how to compile:
>http://xfree86.cygwin.com/docs/cg/prog-build-native.html
>
>Notice that towards the bottom of the above section it tells how to do a 
>"Standard Build" and a "Debug Build".  The debug build uses the "makeg" 
>script, so you don't have to edit any Imakefiles or config files.
>
>Finally, read how to move your current X installation safely out of the way 
>before installing your local build:
>http://xfree86.cygwin.com/docs/cg/prog-build-native.html#prog-compiling-install
>
>As an absolute last step, if you created a host.def file that said not to 
>build fonts (look at xf86site.def for an example), then you need to cut and 
>paste C:\cygwin\usr\X11R6_suffix\lib\X11\fonts to 
>C:\cygwin\usr\X11R6\lib\X11\fonts.  Cutting and pasting is an instantaneous 
>operation.  Copying the files would take up to an hour, as there are around 
>20,000 font files.  Just be sure that you cut and paste that fonts folder 
>into another folder before you delete one of your test installations.  You 
>don't want to end up deleting that folder... you would be in a world of 
>hurt.
>
>Harold
>
>J S wrote:
>
>>Ha ! OK I'll try to be that guy! What's the best way to do this? Recompile 
>>XWin with the -g flag? Is there anything to change in the Makefile? 
>>Haven't done this before so would appreciate any pointers.
>>
>>Thanks a lot.
>>
>>
>>
>>>JS,
>>>
>>>Looks like you have found a generic problem with X or one of the 
>>>libraries you are using.  It is going to take a lot of debugging... you 
>>>are going to have to be that guy.
>>>
>>>Harold
>>>
>>>J S wrote:
>>>
>>>>Is there anymore information I need to add to this post? I would really 
>>>>like to get some help with it. The logs don't seem to be showing 
>>>>anything. I've tried setting different color depths, and screen 
>>>>resolutions but to no avail.
>>>>
>>>>Hi,
>>>>
>>>>I have an application which has some boxes in the window. The window 
>>>>itself
>>>>is scrollable. When I scroll down -  no problem, but when I scroll up 
>>>>the
>>>>boxes turn into long vertical bars. This problem doesn't happen with 
>>>>Exceed,
>>>>but on XFree86 (both Linux XFree86 and Cygwin-XFree) it does.
>>>>
>>>>Can anyone advise me whether this is a bug, or is there some setting I 
>>>>need
>>>>to add? Let me know if you need anymore information.
>>>>
>>>>Thanks for any help.
>>>>
>>>>JS.
>>>>
>>>>_________________________________________________________________
>>>>Stay in touch with absent friends - get MSN Messenger 
>>>>http://www.msn.co.uk/messenger
>>>>
>>>
>>
>>_________________________________________________________________
>>It's fast, it's easy and it's free. Get MSN Messenger today! 
>>http://www.msn.co.uk/messenger
>>
>

_________________________________________________________________
Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile


^ permalink raw reply	[flat|nested] 10+ messages in thread
* screen redraw problem
@ 2003-11-05 16:15 J S
  2003-11-05 17:23 ` Harold L Hunt II
  0 siblings, 1 reply; 10+ messages in thread
From: J S @ 2003-11-05 16:15 UTC (permalink / raw)
  To: cygwin-xfree, xfree86

Is there anymore information I need to add to this post? I would really like 
to get some help with it. The logs don't seem to be showing anything. I've 
tried setting different color depths, and screen resolutions but to no 
avail.

Hi,

I have an application which has some boxes in the window. The window itself
is scrollable. When I scroll down -  no problem, but when I scroll up the
boxes turn into long vertical bars. This problem doesn't happen with Exceed,
but on XFree86 (both Linux XFree86 and Cygwin-XFree) it does.

Can anyone advise me whether this is a bug, or is there some setting I need
to add? Let me know if you need anymore information.

Thanks for any help.

JS.

_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger 
http://www.msn.co.uk/messenger


^ permalink raw reply	[flat|nested] 10+ messages in thread
* screen redraw problem
@ 2003-11-04 12:58 J S
  0 siblings, 0 replies; 10+ messages in thread
From: J S @ 2003-11-04 12:58 UTC (permalink / raw)
  To: cygwin-xfree, xfree86

Hi,

I have an application which has some boxes in the window. The window itself 
is scrollable. When I scroll down -  no problem, but when I scroll up the 
boxes turn into long vertical bars. This problem doesn't happen with Exceed, 
but on XFree86 (both Linux XFree86 and Cygwin-XFree) it does.

Can anyone advise me whether this is a bug, or is there some setting I need 
to add? Let me know if you need anymore information.

Thanks for any help.

JS.

_________________________________________________________________
Tired of 56k? Get a FREE BT Broadband connection 
http://www.msn.co.uk/specials/btbroadband


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-11-19 15:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-06 14:16 screen redraw problem J S
2003-11-06 15:27 ` Harold L Hunt II
  -- strict thread matches above, loose matches on Subject: below --
2003-11-19 15:51 J S
2003-11-07 21:13 J S
2003-11-07 12:42 J S
2003-11-07 17:44 ` Harold L Hunt II
2003-11-07 17:51 ` Alan Hourihane
2003-11-05 16:15 J S
2003-11-05 17:23 ` Harold L Hunt II
2003-11-04 12:58 J S

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).