Tk Source Code
Ticket Change Details
Not logged in
Tcl 2014 Conference, Portland/OR, US, Nov 10-14
Send your abstracts to tclconference@googlegroups.com by Sep 8.
Overview

Artifact ID: e9a3e1acc0dd847695f29da760e63b056922e578
Ticket: 31cd33dbf0af9600f9f13b03f07b7dbf0a42d1f4
Cocoa Tk widgets do detect invalid -bitmap values
Date: 2014-01-31 23:22:28
User: ned.deily
Changes

  1. Change assignee to "nobody"
  2. Change closer to "nobody"
  3. Change cmimetype to "text/x-fossil-wiki"
  4. Change comment to:

    When a non-existant bitmap file is given to a widget with X11 or Aqua Carbon Tk 8.4 on OS X, an exception is returned. But with Cocoa Tk 8.5 or 8.6 on OS X, the error is not detected by Tk but does result in an OS X error message.

    With X11 Tk (MacPorts 8.6.1)

    $ /macports/bin/wish8.6
    % if [catch {button .b -bitmap "blah"} result] {
        puts "Failed: $result"
    } else {
        puts "passed"
    }
    Failed: bitmap "blah" not defined)
    

    With Cocoa Tk 8.6.1 or 8.5.15:

    $ /usr/local/bin/wish8.6
    % if [catch {button .b -bitmap "blah"} result] {
        puts "Failed: $result"
    } else {
        puts "passed"
    }
    2014-01-31 14:58:07.134 Wish[9555:507] CFURLCopyResourcePropertyForKey failed because it was passed this URL which has no scheme: blah
    passed
    
  5. Change foundin to "8.6.1"
  6. Change is_private to "0"
  7. Change login to "ned.deily"
  8. Change priority to "5 Medium"
  9. Change private_contact to "5312fcfb57a92ddd64553c14c04a390a9032b63f"
  10. Change resolution to "None"
  11. Change severity to "Important"
  12. Change status to "Open"
  13. Change submitter to "ned.deily"
  14. Change subsystem to "(unused)"
  15. Change title to "Cocoa Tk widgets do detect invalid -bitmap values"
  16. Change type to "Bug"