MAGIC Magic Mailing List
 
 

From: R. Timothy Edwards (tim AT stravinsky DOT jhuapl.edu)
Date: Tue Mar 11 2003 - 13:25:52 EST

  • Next message: atif: "Why magic?"

    Dear Svenn,
    
       It is difficult to test all possible graphics configurations, so I
    have to debug problems as they are reported to me.  Apparently there
    are issues with KDE in particular that I need to look at.  There are
    obviously problems with xwin-32 as well;  I will have to look into both
    of those.
    
    > If I start magic the same way on debian KDE 3.1 in 16-bit color mode
    > I get the colors right in layout and buttons. but the open layout
    > dialog does not show up and hang the whole app.
    
       KDE does strange things.  This particular phenomenon sounds like
    Tk (i.e., magic) has created the window and thinks that it has been
    mapped, while apparently KDE has ignored the Tk command "wm deiconify ..."
    and has left the dialog unmapped.  The dialog is written such that it
    hangs the application until something is selected (a behavior I don't
    like).
    
       I rewrote large portions of magic's colormap handling routines
    recently, and while the end result is cleaner than before, the presence
    of the Tk graphics and the difficulties with the possibility of having
    several different graphics visuals in the same window makes it
    considerably more complicated than previous versions.
    
    > I see there is a 25 bit and a 7 bit version of the display files.
    > What happens when my x-server has 16 bit color planes?
    
    One of the things I cleaned up is that each graphics interface determines
    which display files it will read on startup.  The X11 and Tk graphics
    modules prefer 8-bit visuals but will drop to 16- or 24-bit if that's
    the only visual available.  The "7bit" style files correspond to 8-bit
    visuals (the missing bit having to do with avoiding certain preallocated
    positions in the colormap, which may be what is causing the black-and-
    white buttons under xwin-32).  The "24bit" style files correspond to
    16- and 24-bit displays (or rather, any TrueColor visual type).  So if
    your server is set for a 16-bit TrueColor visual, you will get the
    24-bit display style.
    
    Please let me know if you find other combinations of visuals and
    window managers and/or X servers which work or don't work.
    
    					Regards,
    					Tim
    


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo