home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!usenet.ins.cwru.edu!agate!sprite.Berkeley.EDU!ouster
- From: ouster@sprite.Berkeley.EDU (John Ousterhout)
- Newsgroups: comp.lang.tcl
- Subject: Re: Bug report - text and canvas widgets leave pixel turds in OW 3.0
- Date: 17 Aug 1992 15:45:06 GMT
- Organization: U.C. Berkeley Sprite Project
- Lines: 40
- Distribution: world
- Message-ID: <16ohi2INNll1@agate.berkeley.edu>
- References: <1992Aug11.230311.5499@awds.imsd.contel.com>
- NNTP-Posting-Host: tyranny.berkeley.edu
-
- In article <1992Aug11.230311.5499@awds.imsd.contel.com>, mh@awds.imsd.contel.com (Mike Hoegeman) writes:
- |> John, here's a bug report. This may be an openwindows problem?
- |>
- |> Under openwindows 3.0 the text widget cursor leaves pixel turds behind
- |> when scrolling the widget with the insertion cursor at the bottom left
- |> hand corner of the widget. The column of pixels on the left hand side
- |> of the insertion cursor are not being cleared as scrolling is taking
- |> place.
- |>
- |> Similarly, in the item types canvas demo in the 'widget ' script if you
- |> drag the outlined pie arc (the green one on color machines) toward the
- |> top of the screen it leaves around pixel turds at the bottom part of
- |> the outline and at the right hand tips of the area where the slice is
- |> taken out of the pie. If you drag the pie arc downwards the bottom
- |> those same pixels are not being blitted with the rest of the pie arc.
- |> --
- |> ------------------------------------------------------------------------------
- |> Mike Hoegeman email: mh@wx.gtegsc.com tel: (818)706-4145
- |> GTE Weather Systems Group 31717 La Tienda Dr, Westlake Village CA. 91359
-
- I haven't had a chance to look at the problems with the text widget cursor,
- but I've fixed a couple of bugs in bounding-box computations that were
- responsible for the problems with the green arc. These will be in the
- upcoming 2.3 bug-fix release.
-
- However, OpenWindows does not display arcs correctly so I can't completely
- eliminate the pixel turd problems. For example, the red outline pie-arc
- at the very lower left of the "Item Types" demo leaves turds behind from
- its left edge and I can't easily make this stop. The problem is that
- OpenWindows doesn't obey the X spec when drawing arcs. If anyone out there
- has contacts with the OpenWindows developers, you might forward this message
- on to them. A wide arc is supposed to be drawn with a constant width all
- around, even if the arc is elliptical in shape. OpenWindows stretches the
- width in proportion to the arc's eccentricity so that it has the specified
- width at the narrow sides of the arc but is wider at the longer sides of
- the arc by the aspect ratio of the arc's defining ellipse. I suspect that
- this behavior comes from using Postscript primitives in NeWS to draw arcs
- (e.g. draw a wide circular arc, then stretch it to make an elliptical arc).
- For now I'm not going to try to compensate for this in Tk, since it only
- happens under OpenWindows.
-