#247 polygons not drawing properly in hugs

Rootless (76)

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.


  • Hisashi Todd Fujinaka

    Haskell file that doesn't work right.

  • Hisashi Todd Fujinaka

    Logged In: YES

    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

    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.


Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks