CLIM mail archive

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

overlapping presentations in output records



    Date: Thu, 30 Jan 1992 18:46+0200
    From: martin@fen.lrdc.pitt.edu



    I have a similar problem with output records.

    I put several presentations of multiple types on the output record 
    using with-output-as-presentation.  When they don't overlap I have
    no problem, but when they overlap I get an error about 25% of the 
    time.  

    The error I get looks like this:
    ========================================================================
    >>Error: The element #<CLIM:STANDARD-PRESENTATION DRAW::BOX 
    #S(DRAW::BOX POSITION 10 COLOR #<CLIM-UTILS:GRAY-COLOR 10% Gray 112CEA36> 
    UPPER-LEFT (78 102) LOWER-RIGHT (261 207)) /x 78:261 y 102:207/ 110BB87E> 
    was not found in 
    #<CLIM::TOP-LEVEL-COORDINATE-SORTED-SET /x -2:1261 y -2:788/ 112A32FE>

    (METHOD CLIM:DELETE-OUTPUT-RECORD-ELEMENT
    (CLIM::COORDINATE-SORTED-SET-OUTPUT-RECORD T)):
       Required arg 0 (RECORD):
     #<CLIM::TOP-LEVEL-COORDINATE-SORTED-SET /x -2:1261 y -2:788/ 112A32FE>
       Required arg 1 (ELEMENT): #<CLIM:STANDARD-PRESENTATION DRAW::BOX 
    #S(DRAW::BOX POSITION 10 COLOR #<CLIM-UTILS:GRAY-COLOR 10% Gray 112CEA36>
    UPPER-LEFT (78 102) LOWER-RIGHT (261 207)) /x 78:261 y 102:207/ 111ED7BE>
    ========================================================================

    Even though it says it can't find the presentation, when I look 
    through the presentation I can find it.

    Environment:  Xwindows, lucid, DEC5000

    Any help would be greatly appreciated.



    Joel Martin
    CS U Pitt


I think your problem is somwhat different to that of Ralf`s.
Your's is a known CLIM 1.0 bug.
I'm not sure for Lucid, but on a Symbolics you can avoid this error
by providing the option
 :output-record (make-instance 'clim::linear-output-record)
to the call of open-window-stream.

Markus Fischer
Consulting Services
Symbolics Systemhaus GmbH
Mergenthaler Allee 77-81
6236 Eschborn
West Germany


References:

Main Index | Thread Index