#11471: wxDC::DrawCircle and DrawEllipse do not work on OSX (10.6)

4 views
Skip to first unread message

wxTrac

unread,
Nov 21, 2009, 8:59:08 PM11/21/09
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/11471>

#11471: wxDC::DrawCircle and DrawEllipse do not work on OSX (10.6)
-------------------------+--------------------------------------------------
Reporter: SnowLeopard | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 2.9.1
Component: wxOSX-Cocoa | Version: 2.9-svn
Keywords: | Blockedby:
Patch: 0 | Blocking:
-------------------------+--------------------------------------------------
wxDC::DrawCircle and DrawEllipse do not do anything on OSX. Can reproduce
with the sample "drawing", refer to screenshot.

I stepped into it and couldn't see the problem, but I do see that it is a
single point of failure--they both internally call an ellipse drawing
function.

Note that the function DrawArc works OK.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/11471>

wxTrac

unread,
Nov 22, 2009, 10:00:06 AM11/22/09
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/11471#comment:1>

#11471: wxDC::DrawCircle and DrawEllipse do not work on OSX (10.6)
-------------------------+--------------------------------------------------
Reporter: SnowLeopard | Owner:

Type: defect | Status: infoneeded_new


Priority: normal | Milestone: 2.9.1
Component: wxOSX-Cocoa | Version: 2.9-svn
Keywords: | Blockedby:
Patch: 0 | Blocking:
-------------------------+--------------------------------------------------

Changes (by csomor):

* status: new => infoneeded_new


Comment:

very strange and this is with svn trunk as of now, with 10.6.2 ? any
special configure switches ? in my xcode project builds circles are still
fine, I'll update now, rebuild and test again


--
Ticket URL: <http://trac.wxwidgets.org/ticket/11471#comment:1>

wxTrac

unread,
Nov 22, 2009, 10:15:53 AM11/22/09
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/11471#comment:2>

#11471: wxDC::DrawCircle and DrawEllipse do not work on OSX (10.6)
-------------------------+--------------------------------------------------
Reporter: SnowLeopard | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 2.9.1
Component: wxOSX-Cocoa | Version: 2.9-svn
Keywords: | Blockedby:
Patch: 0 | Blocking:
-------------------------+--------------------------------------------------

Changes (by SnowLeopard):

* status: infoneeded_new => new


Comment:

Yes, using the trunk on OSX 10.6.2.

The only config switch that I can think of is that I specify 10.5 as being
my minimum OSX (instead of 10.4).


--
Ticket URL: <http://trac.wxwidgets.org/ticket/11471#comment:2>

wxTrac

unread,
Nov 23, 2009, 9:08:43 PM11/23/09
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/11471#comment:3>

#11471: wxDC::DrawCircle and DrawEllipse do not work on OSX (10.6)
-------------------------+--------------------------------------------------
Reporter: SnowLeopard | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 2.9.1
Component: wxOSX-Cocoa | Version: 2.9-svn
Keywords: | Blockedby:
Patch: 0 | Blocking:
-------------------------+--------------------------------------------------

Comment(by SnowLeopard):

I removed my OSX min version from configure, but problem is still there.
Here is my configure command:

configure --with-osx_cocoa --enable-debug --disable-shared

Then I "make" it and rebuilt the drawing sample, but still can't draw
circles.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/11471#comment:3>

wxTrac

unread,
Nov 24, 2009, 8:19:10 AM11/24/09
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/11471#comment:4>

#11471: wxDC::DrawCircle and DrawEllipse do not work on OSX (10.6)
-------------------------+--------------------------------------------------
Reporter: SnowLeopard | Owner:

Type: defect | Status: infoneeded_new


Priority: normal | Milestone: 2.9.1
Component: wxOSX-Cocoa | Version: 2.9-svn
Keywords: | Blockedby:
Patch: 0 | Blocking:
-------------------------+--------------------------------------------------

Changes (by csomor):

* status: new => infoneeded_new


Comment:

I'm still seeing them

what kind of hardware are you running this ? do you have another machine -
preferrably with another graphic card available ? could you please mail me
your binary ?

thanks


--
Ticket URL: <http://trac.wxwidgets.org/ticket/11471#comment:4>

wxTrac

unread,
Nov 25, 2009, 10:23:59 PM11/25/09
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/11471#comment:5>

#11471: wxDC::DrawCircle and DrawEllipse do not work on OSX (10.6)
-------------------------+--------------------------------------------------
Reporter: SnowLeopard | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 2.9.1
Component: wxOSX-Cocoa | Version: 2.9-svn
Keywords: | Blockedby:
Patch: 0 | Blocking:
-------------------------+--------------------------------------------------

Changes (by SnowLeopard):

* status: infoneeded_new => new


Comment:

Sure I can send you the binary, what is your email address?

I'm on a 24" iMac:

Model Name: iMac
Model Identifier: iMac9,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2.66 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 6 MB
Memory: 4 GB

Here is my video card info:

NVIDIA GeForce 9400:
Chipset Model: NVIDIA GeForce 9400
Type: GPU
Bus: PCI
VRAM (Total): 256 MB
Vendor: NVIDIA (0x10de)
Device ID: 0x0867
Revision ID: 0x00b1
ROM Revision: 3379
Displays:
iMac:
Resolution: 1920 x 1200
Pixel Depth: 32-Bit Color (ARGB8888)
Main Display: Yes
Mirror: Off
Online: Yes
Built-In: Yes
Display Connector:
Status: No Display Connected


--
Ticket URL: <http://trac.wxwidgets.org/ticket/11471#comment:5>

wxTrac

unread,
Nov 26, 2009, 2:01:32 PM11/26/09
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/11471#comment:6>

#11471: wxDC::DrawCircle and DrawEllipse do not work on OSX (10.6)
-------------------------+--------------------------------------------------
Reporter: SnowLeopard | Owner:
Type: defect | Status: infoneeded_new
Priority: normal | Milestone: 2.9.1
Component: wxOSX-Cocoa | Version: 2.9-svn
Keywords: | Blockedby:
Patch: 0 | Blocking:
-------------------------+--------------------------------------------------
Changes (by csomor):

* status: new => infoneeded_new


Comment:

your video card is close to the one in my MacMini, which - at least with
my binary - is still showing things properly, please mail me yours to
csomor at me.com


--
Ticket URL: <http://trac.wxwidgets.org/ticket/11471#comment:6>

wxTrac

unread,
Nov 28, 2009, 3:05:42 PM11/28/09
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/11471#comment:7>

#11471: wxDC::DrawCircle and DrawEllipse do not work on OSX (10.6)
--------------------------+-------------------------------------------------
Reporter: SnowLeopard | Owner:
Type: defect | Status: closed
Priority: normal | Milestone: 2.9.1
Component: wxOSX-Cocoa | Version: 2.9-svn
Resolution: fixed | Keywords:
Blockedby: | Patch: 0
Blocking: |
--------------------------+-------------------------------------------------
Changes (by SC):

* status: infoneeded_new => closed
* resolution: => fixed


Comment:

(In [62740]) 64bit builds had problems with full circles, as we can use
10.4+ only APIs, use new implementation, fixes #11471


--
Ticket URL: <http://trac.wxwidgets.org/ticket/11471#comment:7>
Reply all
Reply to author
Forward
0 new messages