CLIM mail archive



    Date: Mon, 22 Jun 1992 14:24 EDT

    I'm using CLIM 1.0 and MCL 2.0, both beta.

    I've discovered a problem with clim:tracking-pointer.

    I track the pointer and highlight the presentations it passes over,
    taking care only highlighting when the pointer enters the
    presentation, and dehighlighting when it exits. The problem is that
    the exiting motion, it counts as a presentation movement, so the
    pointer actually is outside the presentation after the motion.
    In my case this means that the presentation is still highlighted after
    the pointer has just exited, giving the user false feedback.

    It also seems to be a disagreement between the :presentation clause
    and the :pointer-button-press clause as to when the pointer is on a
    presentation. When moving entering presentation and pressing the
    button, I get a pointer-button-press event and not a
    presentation-button-press event.

    I've been debugging my code for quite a while and am quite sure that
    something must be wrong with tracking-pointer. If it's needed I will
    try to make some code that demonstrates the problem, so others may
    verify the problem.

    Hallvard Traetteberg
    Dept. of Knowledge Based Systems
    Center for Industrial Research
    Box 124 Blindern, 0314 Oslo 3

    Tlf: +47 2 45 20 10
    Fax: +47 2 45 20 40

The CLIM 1.1 version of TRACKING-POINTER will manage highlighting for
you, and does not have any of these problems.


Main Index | Thread Index