Overview
Artifact ID: | e9a3e1acc0dd847695f29da760e63b056922e578 |
---|---|
Ticket: | 31cd33dbf0af9600f9f13b03f07b7dbf0a42d1f4
Cocoa Tk widgets do detect invalid -bitmap values |
User & Date: | ned.deily 2014-01-31 23:22:28 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed 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) <verbatim> $ /macports/bin/wish8.6 % if [catch {button .b -bitmap "blah"} result] { puts "Failed: $result" } else { puts "passed" } Failed: bitmap "blah" not defined) </verbatim> With Cocoa Tk 8.6.1 or 8.5.15: <verbatim> $ /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 </verbatim>
- foundin changed to: "8.6.1"
- is_private changed to: "0"
- login: "ned.deily"
- priority changed to: "5 Medium"
- private_contact changed to: "5312fcfb57a92ddd64553c14c04a390a9032b63f"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "ned.deily"
- subsystem changed to: "(unused)"
- title changed to: "Cocoa Tk widgets do detect invalid -bitmap values"
- type changed to: "Bug"