Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-22 Thread Nick Østergaard
Maybe we should just ensure that it works properly in GAL on OS X and don't care for the legacy for this exact issue? 2015-07-22 7:47 GMT+02:00 Bernhard Stegmaier stegma...@sw-systems.de: On 22 Jul 2015, at 05:10, Garth Corral gcor...@abode.com wrote: On Jul 21, 2015, at 1:30 PM, Wayne

Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-22 Thread Garth Corral
Bernhard is referring to a wxWidgets implementation. Garth On Jul 22, 2015, at 6:09 AM, Bob Gustafson bob...@rcn.com wrote: If you do a Google search on: XOR draw mode on OS X There are a lot of notes and bug reports. This one might have some useful hints:

Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-22 Thread Bernhard Stegmaier
From your link (and there going to the Apple docs): kCGBlendModeXOR R = S*(1 - Da) + D*(1 - Sa). This XOR mode is only nominally related to the classical bitmap XOR operation, which is not supported by Quartz 2D. And the bug reports all report the same… it is not supported on OS X. Yes, I did

Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-22 Thread Bob Gustafson
Also see http://trac.wxwidgets.org/ticket/14982 It appears that the problem has been fixed for a few years in wxWidgets, but perhaps the call of the function needs tweeking. If the equivalent of XOR in OSX is named something different than XOR, then the different name needs to be used. Bob G

Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-22 Thread Bob Gustafson
It does seem that wxWidgets is broken for XOR on OSX. wxWidgets needs some help - more or less like some of the other Kicad wxWidgets patches. See also http://trac.wxwidgets.org/ticket/13095 Bob G On 07/22/2015 10:22 AM, Garth Corral wrote: Bernhard is referring to a wxWidgets

Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-22 Thread Wayne Stambaugh
Maybe it's time to revisit this again in light of the XOR mode being fixed in OSX since wxWidgets 2.9.4. Please be aware that KiCad does it's own drawing mode thing, see include/gr_basic.h which may or may not directly map to wxXOR so you may have to do some #ifdef foo to make it work correctly

Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-22 Thread Bob Gustafson
If you do a Google search on: XOR draw mode on OS X There are a lot of notes and bug reports. This one might have some useful hints: http://stackoverflow.com/questions/8951679/drawing-with-xor-in-quartz Hope this helps Bob G On 07/22/2015 12:47 AM, Bernhard Stegmaier wrote: On 22

Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-22 Thread Wayne Stambaugh
On 7/22/2015 1:47 AM, Bernhard Stegmaier wrote: On 22 Jul 2015, at 05:10, Garth Corral gcor...@abode.com mailto:gcor...@abode.com wrote: On Jul 21, 2015, at 1:30 PM, Wayne Stambaugh stambau...@gmail.com mailto:stambau...@gmail.com wrote: On 7/21/2015 4:19 PM, Bernhard Stegmaier wrote:

Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-21 Thread Garth Corral
I swear this worked for me fairly recently. Garth On Jul 21, 2015, at 7:35 AM, Bernhard Stegmaier stegma...@sw-systems.de wrote: Hi, for me, crosshair did never work since I started to use KiCad... I tried a couple of times, maybe I just hit those versions where it was accidentally

Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-21 Thread Garth Corral
I’ve just checked my build of 5958 and my experience matches Andy’s description in the second bug that he linked, but only in the GAL canvas. The crosshair does not appear to work in the default canvas and, as Andy described, does not work in eeschema. Garth On Jul 21, 2015, at 9:06 AM,

Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-21 Thread Bernhard Stegmaier
I am on a 5796 right now and it neither works in eeschema nor in pcbnew both in default and GAL canvas. In GAL canvas the toolbar button even doesn’t toggle correct, it always as unselected. In eeschema and pcbnew default canvas it does toggle, but that doesn’t change anything. This is with my

Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-21 Thread Bernhard Stegmaier
On 22 Jul 2015, at 05:10, Garth Corral gcor...@abode.com wrote: On Jul 21, 2015, at 1:30 PM, Wayne Stambaugh stambau...@gmail.com mailto:stambau...@gmail.com wrote: On 7/21/2015 4:19 PM, Bernhard Stegmaier wrote: OK, got it… the crosshair is only shown in some modes (didn’t really use

Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-21 Thread Garth Corral
On Jul 21, 2015, at 1:30 PM, Wayne Stambaugh stambau...@gmail.com wrote: On 7/21/2015 4:19 PM, Bernhard Stegmaier wrote: OK, got it… the crosshair is only shown in some modes (didn’t really use GAL up to now). Yes, works also for me in GAL mode and not in default canvas. I'm not sure

Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-21 Thread Bob Gustafson
The crosshairs are useful for drawing straight lines - board edges - in the example shown. The 'tool' used is the dotted line. The arrow is used more to select things - like chips or pins or traces. Hope this helps Bob G On 07/21/2015 03:19 PM, Bernhard Stegmaier wrote: OK, got it… the

Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-21 Thread Bernhard Stegmaier
OK, got it… the crosshair is only shown in some modes (didn’t really use GAL up to now). Yes, works also for me in GAL mode and not in default canvas. BTW: Is it on purpose that in GAL mode both the small/big crosshair *and* the usual mouse cursor (arrow) is shown? Regards, Bernhard On 21

Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-21 Thread Wayne Stambaugh
On 7/21/2015 4:19 PM, Bernhard Stegmaier wrote: OK, got it… the crosshair is only shown in some modes (didn’t really use GAL up to now). Yes, works also for me in GAL mode and not in default canvas. I'm not sure why this doesn't work in the default canvas. Someone should probably take a look

Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-21 Thread Nick Østergaard
There was a change in rev 5827 [1] by orson that added it to the GAL canvas. Maybe this commit broke it for OS X? Could you try a build from before that commit and verify that it actually worked at that time? [1] http://bazaar.launchpad.net/~kicad-product-committers/kicad/product/revision/5827

Re: [Kicad-developers] pcbnew: OS X cursor shape cannot be changed in any of the view

2015-07-21 Thread Bernhard Stegmaier
Hi, for me, crosshair did never work since I started to use KiCad... I tried a couple of times, maybe I just hit those versions where it was accidentally broken... :) Regards, Bernhard On 2015-07-21 15:58, Nick Østergaard wrote: There was a change in rev 5827 [1] by orson that added it to