Menu

#811 Stipple patterns don't work in arc/oval items on Windows/Mac

obsolete: 8.6b1
open-remind
7
2010-04-29
2000-11-01
No

OriginalBugID: 1274 Bug
Version: 8.2
SubmitDate: '1999-02-23'
LastModified: '2000-04-03'
Severity: SER
Status: Assigned
Submitter: pat
ChangedBy: ericm
RelatedBugIDs: 1379 555 610 4081 4077 2495
OS: All Windows
Machine: X86

Name:
Christopher Nelson

ReproducibleScript:
canvas .c
pack .c
.c create oval 1i 1i 2i 2i -fill black -stipple gray50

ObservedBehavior:
The oval is drawn black, no fill pattern.

DesiredBehavior:
A 50% gray oval.

Stippling is not yet (as of 8.2.0 still) implement for non-Unix platforms.
-- 08/14/1999 hobbs
Some aspects of stippling work, but not most (see 4077, 4081).
-- 03/27/2000 hobbs

Discussion

  • Donal K. Fellows

    Confirmed in 8.3.0. And at the same time I noticed that thick ovals (-width 5) don't look to me to have a constant width on this Win98 machine at least. Strange...

     
  • Don Porter

    Don Porter - 2001-03-23
    • labels: 104332 --> 05. Canvas Items
     
  • Don Porter

    Don Porter - 2001-12-13
    • assigned_to: nobody --> hobbs
     
  • Bastien Chevreux

    Logged In: YES
    user_id=98533

    For 8.3.4, stippleborders work for polygons, but
    not for rectangles (Win NT).

     
  • Anonymous

    Anonymous - 2005-12-07

    Logged In: YES
    user_id=456242

    As of TclTk 8.4.9 oval outlines, and the curved part of arc
    outlines, do not stipple on _any_platform_!

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2005-12-07

    Logged In: YES
    user_id=72656

    It most certainly works on unix, but remember that you need
    to use -outlinestipple.

     
  • Russell Owen

    Russell Owen - 2006-03-07

    Logged In: YES
    user_id=431773

    As of Aqua Tk 8.4.12 rectangles ignore stipple. I've not
    tried other canvas shapes.

    May I suggest adding a warning to the documentation about
    using stipple on non-unix platforms?

     
  • Donal K. Fellows

    • status: open --> open-later
     
  • Donal K. Fellows

    • priority: 5 --> 4
     
  • Donal K. Fellows

    Logged In: YES
    user_id=79902

    doc update applied; keeping open as it would still be nice
    to fix the bug (if possible)

     
  • Edward Brekelbaum

    Logged In: YES
    user_id=896923

    Is someone working on this bug? It impacts me directly, so
    I will fix it if necessary. Please email me if I need to
    fix this.

    Thanks!

     
  • Edward Brekelbaum

    Logged In: YES
    user_id=896923

    I have fixed the bug to my satisfaction on my machine. I'd
    like someone to look it over for integration into the main
    code. What is the best way to go about that?

    Thanks!

    The fix makes use of
    http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnargdi/html/msdn_transblt.asp

    It is about 60 lines of code. I am uncertain of the usage
    of FillOpaqueStippled, so I am probably doing that wrong.

    It seems possible to restructure the rectangle version to
    be more like this, and possibly set up a function that both
    could use.

     
  • Nobody/Anonymous

    Logged In: NO

    I am posting the code in the patches section.

     
  • Nobody/Anonymous

    Logged In: NO

    Xref: patch 1493260

     
  • Peter Caffin

    Peter Caffin - 2008-03-13

    Logged In: YES
    user_id=2029956
    Originator: NO

    I've tested this bug using Tk 8.5.2.0.284581 (teapot) on both Windows XP Pro and Mac OS X 8.4.

    The issue is still present on both platforms. Did the patch provided by 'nobody' on 2006-05-23 16:09 get tested or applied?

     
  • Edward Brekelbaum

    I installed Activestate Tcl 8.5.5.0 a while back. This bug is still present. Is there some problem with the patch?

     
  • Donal K. Fellows

    • priority: 4 --> 7
    • status: open-later --> open-remind
     
  • Jan Nijtmans

    Jan Nijtmans - 2010-04-29

    Still not fixed in Tk 8.6b1

     
  • Jan Nijtmans

    Jan Nijtmans - 2010-04-29
    • milestone: 102499 --> obsolete: 8.6b1