#247 polygons not drawing properly in hugs

Other
open
nobody
Rootless (76)
5
2003-05-23
2003-05-23
No

Using the hugs Haskell interpreter and the graphics package,
polygons don't draw on the screen properly for one of the
examples. As a test, I tried it remotely on a NetBSD box and directly
on the NetBSD box.

The polygons draw on a NetBSD box running XFree86, but not when
forwarding the session to my Mac running XFree86-4.3.0 (from fink).
OS is X 10.2.6.

I am including the haskell source file.

Discussion

  • Hisashi Todd Fujinaka

    Haskell file that doesn't work right.

     
  • Hisashi Todd Fujinaka

    Logged In: YES
    user_id=576330

    Now I notice that moving the window creates a redraw that shows the
    polygons, but every time the window tries to refresh I have to move the
    window to refresh it.

     
  • Torrey T. Lyons

    Torrey T. Lyons - 2003-06-02

    Logged In: YES
    user_id=133579

    Hmm, is this graphics package publicly available? In general XDarwin
    correctly updates areas damaged by drawing, so this is likely a result of the
    X client trying to optimize when updates are done. It would be interesting to
    know what is causing the problem. One possibly related issue is that
    XDarwin does not correctly send out VisibilityNotify events.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks