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 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 why this doesn't work in the default canvas.  Someone
 should probably take a look at it.  I'm guessing it has something to do
 with the overlays used on OSX.


 Um, perhaps it has something to do with this:

 #ifdef __WXMAC__
 m_defaultCursor = m_currentCursor = wxCURSOR_CROSS;
 m_showCrossHair = false;
 #else
 m_defaultCursor = m_currentCursor = wxCURSOR_ARROW;
 m_showCrossHair = true;
 #endif

 I’m assuming that this was done due to overlay issues as Wayne suggests.


 You don’t have a XOR-drawing mode on OS X with wxWidgets, so the usual
 redraw-to-delete doesn’t work here.
 If you want to delete something you have to completely repaint the canvas or
 revert the the last state saved in the overlay (which is faster than a
 complete redraw but still not as fast as just drawing two lines).

 If I haven’t tried yet, but if you just remove that ifdef I guess deletion
 of the crosshair won’t work at all (you would just fill up the canvas with
 crosshairs). Or, it could be quite slow (there is already now some
 noticeable lag when quickly moving around objects).
 However, I can give it a try on the weekend...

 So, the real issue is not to have a XOR draw mode on OS X, which is quite
 the base of every drawing stuff in the default canvas of pcbnew and
 eeschema. Using this overlay hack is just a workaround with many problems
 (especially causing all those redraw issues in eeschema)...


 Regards,
 Bernhard


 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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:
 
   http://stackoverflow.com/questions/8951679/drawing-with-xor-in-quartz 
 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 Jul 2015, at 05:10, Garth Corral  
 mailto:gcor...@abode.comgcor...@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:
 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 at it.  I'm guessing it has something to do
 with the overlays used on OSX.
 
 
 Um, perhaps it has something to do with this:
 
 #ifdef __WXMAC__
 m_defaultCursor = m_currentCursor = wxCURSOR_CROSS;
 m_showCrossHair = false;
 #else
 m_defaultCursor = m_currentCursor = wxCURSOR_ARROW;
 m_showCrossHair = true;
 #endif
 
 I’m assuming that this was done due to overlay issues as Wayne suggests.
 
 You don’t have a XOR-drawing mode on OS X with wxWidgets, so the usual 
 redraw-to-delete doesn’t work here.
 If you want to delete something you have to completely repaint the canvas or 
 revert the the last state saved in the overlay (which is faster than a 
 complete redraw but still not as fast as just drawing two lines).
 
 If I haven’t tried yet, but if you just remove that ifdef I guess deletion 
 of the crosshair won’t work at all (you would just fill up the canvas with 
 crosshairs). Or, it could be quite slow (there is already now some 
 noticeable lag when quickly moving around objects).
 However, I can give it a try on the weekend...
 
 So, the real issue is not to have a XOR draw mode on OS X, which is quite 
 the base of every drawing stuff in the default canvas of pcbnew and 
 eeschema. Using this overlay hack is just a workaround with many problems 
 (especially causing all those redraw issues in eeschema)...
 
 
 Regards,
 Bernhard
 
 
 
 ___
 Mailing list: https://launchpad.net/~kicad-developers 
 https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net 
 mailto:kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers 
 https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp 
 https://help.launchpad.net/ListHelp
 
 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp



smime.p7s
Description: S/MIME cryptographic signature
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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 that googling quite some days over christmas.

Yes, there are some things being somewhat similar to usual XOR.
But (and I may totally wrong here, like probably all others who introduced the 
Overlay stuff for that reason or did not implement it in wxWidgets), all of 
those don’t work like the usual XOR, i.e., you can’t remove things by just 
drawing twice.

If somebody shows me how to do that on OS X and the legacy canvas will be there 
long enough so that it is worth fixing (at least, for eeschema), I will happily 
try to patch that into wxWidgets…


Regards
Bernhard


 On 22 Jul 2015, at 15:09, 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:
 
   http://stackoverflow.com/questions/8951679/drawing-with-xor-in-quartz 
 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 Jul 2015, at 05:10, Garth Corral  
 mailto:gcor...@abode.comgcor...@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:
 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 at it.  I'm guessing it has something to do
 with the overlays used on OSX.
 
 
 Um, perhaps it has something to do with this:
 
 #ifdef __WXMAC__
 m_defaultCursor = m_currentCursor = wxCURSOR_CROSS;
 m_showCrossHair = false;
 #else
 m_defaultCursor = m_currentCursor = wxCURSOR_ARROW;
 m_showCrossHair = true;
 #endif
 
 I’m assuming that this was done due to overlay issues as Wayne suggests.
 
 You don’t have a XOR-drawing mode on OS X with wxWidgets, so the usual 
 redraw-to-delete doesn’t work here.
 If you want to delete something you have to completely repaint the canvas or 
 revert the the last state saved in the overlay (which is faster than a 
 complete redraw but still not as fast as just drawing two lines).
 
 If I haven’t tried yet, but if you just remove that ifdef I guess deletion 
 of the crosshair won’t work at all (you would just fill up the canvas with 
 crosshairs). Or, it could be quite slow (there is already now some 
 noticeable lag when quickly moving around objects).
 However, I can give it a try on the weekend...
 
 So, the real issue is not to have a XOR draw mode on OS X, which is quite 
 the base of every drawing stuff in the default canvas of pcbnew and 
 eeschema. Using this overlay hack is just a workaround with many problems 
 (especially causing all those redraw issues in eeschema)...
 
 
 Regards,
 Bernhard
 
 
 
 ___
 Mailing list: https://launchpad.net/~kicad-developers 
 https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net 
 mailto:kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers 
 https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp 
 https://help.launchpad.net/ListHelp
 

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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

On 07/22/2015 01:04 PM, Bob Gustafson wrote:

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 implementation.

Garth


On Jul 22, 2015, at 6:09 AM, Bob Gustafson bob...@rcn.com
mailto: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:

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 Jul 2015, at 05:10, Garth Corral gcor...@abode.com wrote:



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 why this doesn't work in the default canvas.  Someone
should probably take a look at it.  I'm guessing it has something
to do
with the overlays used on OSX.



Um, perhaps it has something to do with this:

#ifdef __WXMAC__
m_defaultCursor = m_currentCursor = wxCURSOR_CROSS;
m_showCrossHair = false;
#else
m_defaultCursor = m_currentCursor = wxCURSOR_ARROW;
m_showCrossHair = true;
#endif

I’m assuming that this was done due to overlay issues as Wayne
suggests.


You don’t have a XOR-drawing mode on OS X with wxWidgets, so the
usual redraw-to-delete doesn’t work here.
If you want to delete something you have to completely repaint the
canvas or revert the the last state saved in the overlay (which is
faster than a complete redraw but still not as fast as just drawing
two lines).

If I haven’t tried yet, but if you just remove that ifdef I guess
deletion of the crosshair won’t work at all (you would just fill up
the canvas with crosshairs). Or, it could be quite slow (there is
already now some noticeable lag when quickly moving around objects).
However, I can give it a try on the weekend...

So, the real issue is not to have a XOR draw mode on OS X, which is
quite the base of every drawing stuff in the default canvas of
pcbnew and eeschema. Using this overlay hack is just a workaround
with many problems (especially causing all those redraw issues in
eeschema)...


Regards,
Bernhard



___
Mailing list:https://launchpad.net/~kicad-developers
Post to :kicad-developers@lists.launchpad.net
Unsubscribe :https://launchpad.net/~kicad-developers
More help   :https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~kicad-developers
https://launchpad.net/%7Ekicad-developers
Post to : kicad-developers@lists.launchpad.net
mailto:kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
https://launchpad.net/%7Ekicad-developers
More help   : https://help.launchpad.net/ListHelp






___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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 implementation.

Garth


On Jul 22, 2015, at 6:09 AM, Bob Gustafson bob...@rcn.com
mailto: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:

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 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
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 at it.  I'm guessing it has something
to do
with the overlays used on OSX.



Um, perhaps it has something to do with this:

#ifdef __WXMAC__
m_defaultCursor = m_currentCursor = wxCURSOR_CROSS;
m_showCrossHair = false;
#else
m_defaultCursor = m_currentCursor = wxCURSOR_ARROW;
m_showCrossHair = true;
#endif

I’m assuming that this was done due to overlay issues as Wayne
suggests.


You don’t have a XOR-drawing mode on OS X with wxWidgets, so the
usual redraw-to-delete doesn’t work here.
If you want to delete something you have to completely repaint the
canvas or revert the the last state saved in the overlay (which is
faster than a complete redraw but still not as fast as just drawing
two lines).

If I haven’t tried yet, but if you just remove that ifdef I guess
deletion of the crosshair won’t work at all (you would just fill up
the canvas with crosshairs). Or, it could be quite slow (there is
already now some noticeable lag when quickly moving around objects).
However, I can give it a try on the weekend...

So, the real issue is not to have a XOR draw mode on OS X, which is
quite the base of every drawing stuff in the default canvas of
pcbnew and eeschema. Using this overlay hack is just a workaround
with many problems (especially causing all those redraw issues in
eeschema)...


Regards,
Bernhard



___
Mailing list:https://launchpad.net/~kicad-developers
Post to :kicad-developers@lists.launchpad.net
Unsubscribe :https://launchpad.net/~kicad-developers
More help   :https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~kicad-developers
https://launchpad.net/%7Ekicad-developers
Post to : kicad-developers@lists.launchpad.net
mailto:kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
https://launchpad.net/%7Ekicad-developers
More help   : https://help.launchpad.net/ListHelp




___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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 on OSX.

On 7/22/2015 2:19 PM, Bob Gustafson wrote:
 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
 
 On 07/22/2015 01:04 PM, Bob Gustafson wrote:
 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 implementation.

 Garth

 On Jul 22, 2015, at 6:09 AM, Bob Gustafson bob...@rcn.com
 mailto: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:

  
 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 Jul 2015, at 05:10, Garth Corral gcor...@abode.com wrote:


 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 why this doesn't work in the default canvas.  Someone
 should probably take a look at it.  I'm guessing it has something
 to do
 with the overlays used on OSX.


 Um, perhaps it has something to do with this:

 #ifdef __WXMAC__
 m_defaultCursor = m_currentCursor = wxCURSOR_CROSS;
 m_showCrossHair = false;
 #else
 m_defaultCursor = m_currentCursor = wxCURSOR_ARROW;
 m_showCrossHair = true;
 #endif

 I’m assuming that this was done due to overlay issues as Wayne
 suggests.

 You don’t have a XOR-drawing mode on OS X with wxWidgets, so the
 usual redraw-to-delete doesn’t work here.
 If you want to delete something you have to completely repaint the
 canvas or revert the the last state saved in the overlay (which is
 faster than a complete redraw but still not as fast as just drawing
 two lines).

 If I haven’t tried yet, but if you just remove that ifdef I guess
 deletion of the crosshair won’t work at all (you would just fill up
 the canvas with crosshairs). Or, it could be quite slow (there is
 already now some noticeable lag when quickly moving around objects).
 However, I can give it a try on the weekend...

 So, the real issue is not to have a XOR draw mode on OS X, which is
 quite the base of every drawing stuff in the default canvas of
 pcbnew and eeschema. Using this overlay hack is just a workaround
 with many problems (especially causing all those redraw issues in
 eeschema)...


 Regards,
 Bernhard



 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp

 ___
 Mailing list: https://launchpad.net/~kicad-developers
 https://launchpad.net/%7Ekicad-developers
 Post to : kicad-developers@lists.launchpad.net
 mailto:kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 https://launchpad.net/%7Ekicad-developers
 More help   : https://help.launchpad.net/ListHelp




 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp
 
 
 
 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp
 

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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 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:

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 at it.  I'm guessing it has something to do
with the overlays used on OSX.



Um, perhaps it has something to do with this:

#ifdef __WXMAC__
m_defaultCursor = m_currentCursor = wxCURSOR_CROSS;
m_showCrossHair = false;
#else
m_defaultCursor = m_currentCursor = wxCURSOR_ARROW;
m_showCrossHair = true;
#endif

I’m assuming that this was done due to overlay issues as Wayne suggests.


You don’t have a XOR-drawing mode on OS X with wxWidgets, so the usual
redraw-to-delete doesn’t work here.
If you want to delete something you have to completely repaint the
canvas or revert the the last state saved in the overlay (which is
faster than a complete redraw but still not as fast as just drawing
two lines).

If I haven’t tried yet, but if you just remove that ifdef I guess
deletion of the crosshair won’t work at all (you would just fill up
the canvas with crosshairs). Or, it could be quite slow (there is
already now some noticeable lag when quickly moving around objects).
However, I can give it a try on the weekend...

So, the real issue is not to have a XOR draw mode on OS X, which is
quite the base of every drawing stuff in the default canvas of pcbnew
and eeschema. Using this overlay hack is just a workaround with many
problems (especially causing all those redraw issues in eeschema)...


Regards,
Bernhard



___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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:
 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 at it.  I'm guessing it has something to do
 with the overlays used on OSX.


 Um, perhaps it has something to do with this:

 #ifdef __WXMAC__
 m_defaultCursor = m_currentCursor = wxCURSOR_CROSS;
 m_showCrossHair = false;
 #else
 m_defaultCursor = m_currentCursor = wxCURSOR_ARROW;
 m_showCrossHair = true;
 #endif

 I’m assuming that this was done due to overlay issues as Wayne suggests.
 
 You don’t have a XOR-drawing mode on OS X with wxWidgets, so the usual
 redraw-to-delete doesn’t work here.
 If you want to delete something you have to completely repaint the
 canvas or revert the the last state saved in the overlay (which is
 faster than a complete redraw but still not as fast as just drawing two
 lines).

It's all coming back to me now.  Bernhard is correct.  The reason the
cross-hairs are not used on OSX is because of the lack (or at least that
use to be the case) of a working XOR drawing mode.  I don't know if
anyone has tried enabling them on OSX recently.

 
 If I haven’t tried yet, but if you just remove that ifdef I guess
 deletion of the crosshair won’t work at all (you would just fill up the
 canvas with crosshairs). Or, it could be quite slow (there is already
 now some noticeable lag when quickly moving around objects).
 However, I can give it a try on the weekend...
 
 So, the real issue is not to have a XOR draw mode on OS X, which is
 quite the base of every drawing stuff in the default canvas of pcbnew
 and eeschema. Using this overlay hack is just a workaround with many
 problems (especially causing all those redraw issues in eeschema)...
 
 
 Regards,
 Bernhard
 

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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 
 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 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
 2015-07-21 15:51 GMT+02:00 Jean-Paul Louis lou...@yahoo.com:
 I am using Adam’s nightly build.
 I tried this on the three view modes, and result is the same. The cursor 
 shape is always the default system cursor, I cannot find a way to have a 
 large crosshair like it used to be available.
 Is that planned?
 Regards,
 Jean-Paul
 AC9GH
 Application: kicad
 Version: (2015-07-13 BZR 5935)-product release build
 wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI 1002,GCC 
 4.2.1,STL containers,compatible with 2.8)
 Platform: Mac OS X (Darwin 14.4.0 x86_64), 64 bit, Little endian, wxMac
 Boost version: 1.54.0
 USE_WX_GRAPHICS_CONTEXT=OFF
 USE_WX_OVERLAY=ON
 KICAD_SCRIPTING=OFF
 KICAD_SCRIPTING_MODULES=OFF
 KICAD_SCRIPTING_WXPYTHON=OFF
 USE_FP_LIB_TABLE=HARD_CODED_ON
 BUILD_GITHUB_PLUGIN=ON
 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp
 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp
 
 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp



smime.p7s
Description: S/MIME cryptographic signature
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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, Andy Peters asp_digi...@me.com wrote:
 
 
 On Jul 21, 2015, at 8:41 AM, Garth Corral gcor...@abode.com wrote:
 
 
 I swear this worked for me fairly recently.
 
 It worked for me, too.
 
 old bug here: https://bugs.launchpad.net/kicad/+bug/1448129
 
 and here: https://bugs.launchpad.net/kicad/+bug/1463505 where I noticed that 
 the full-screen crosshair worked in pcbnew but not eeschema.
 
 -a
 
 
 
 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 
 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 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
 2015-07-21 15:51 GMT+02:00 Jean-Paul Louis lou...@yahoo.com:
 I am using Adam’s nightly build.
 I tried this on the three view modes, and result is the same. The cursor 
 shape is always the default system cursor, I cannot find a way to have a 
 large crosshair like it used to be available.
 Is that planned?
 Regards,
 Jean-Paul
 AC9GH
 Application: kicad
 Version: (2015-07-13 BZR 5935)-product release build
 wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI 1002,GCC 
 4.2.1,STL containers,compatible with 2.8)
 Platform: Mac OS X (Darwin 14.4.0 x86_64), 64 bit, Little endian, wxMac
 Boost version: 1.54.0
   USE_WX_GRAPHICS_CONTEXT=OFF
   USE_WX_OVERLAY=ON
   KICAD_SCRIPTING=OFF
   KICAD_SCRIPTING_MODULES=OFF
   KICAD_SCRIPTING_WXPYTHON=OFF
   USE_FP_LIB_TABLE=HARD_CODED_ON
   BUILD_GITHUB_PLUGIN=ON
 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp
 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp
 
 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp
 
 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp
 



smime.p7s
Description: S/MIME cryptographic signature
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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 own builds (stock plus Garths panning changes).
I have some older ones I could also check, but as I said… I think it never 
worked for me.


Regards,
Bernhard

 On 21 Jul 2015, at 15:58, Nick Østergaard oe.n...@gmail.com wrote:
 
 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
 
 2015-07-21 15:51 GMT+02:00 Jean-Paul Louis lou...@yahoo.com:
 I am using Adam’s nightly build.
 
 I tried this on the three view modes, and result is the same. The cursor 
 shape is always the default system cursor, I cannot find a way to have a 
 large crosshair like it used to be available.
 
 Is that planned?
 
 Regards,
 Jean-Paul
 AC9GH
 
 
 Application: kicad
 Version: (2015-07-13 BZR 5935)-product release build
 wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI 1002,GCC 
 4.2.1,STL containers,compatible with 2.8)
 Platform: Mac OS X (Darwin 14.4.0 x86_64), 64 bit, Little endian, wxMac
 Boost version: 1.54.0
 USE_WX_GRAPHICS_CONTEXT=OFF
 USE_WX_OVERLAY=ON
 KICAD_SCRIPTING=OFF
 KICAD_SCRIPTING_MODULES=OFF
 KICAD_SCRIPTING_WXPYTHON=OFF
 USE_FP_LIB_TABLE=HARD_CODED_ON
 BUILD_GITHUB_PLUGIN=ON
 
 
 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp
 
 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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
 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 at it.  I'm guessing it has something to do
 with the overlays used on OSX.
 
 
 Um, perhaps it has something to do with this:
 
 #ifdef __WXMAC__
 m_defaultCursor = m_currentCursor = wxCURSOR_CROSS;
 m_showCrossHair = false;
 #else
 m_defaultCursor = m_currentCursor = wxCURSOR_ARROW;
 m_showCrossHair = true;
 #endif
 
 I’m assuming that this was done due to overlay issues as Wayne suggests.

You don’t have a XOR-drawing mode on OS X with wxWidgets, so the usual 
redraw-to-delete doesn’t work here.
If you want to delete something you have to completely repaint the canvas or 
revert the the last state saved in the overlay (which is faster than a complete 
redraw but still not as fast as just drawing two lines).

If I haven’t tried yet, but if you just remove that ifdef I guess deletion of 
the crosshair won’t work at all (you would just fill up the canvas with 
crosshairs). Or, it could be quite slow (there is already now some noticeable 
lag when quickly moving around objects).
However, I can give it a try on the weekend...

So, the real issue is not to have a XOR draw mode on OS X, which is quite the 
base of every drawing stuff in the default canvas of pcbnew and eeschema. Using 
this overlay hack is just a workaround with many problems (especially causing 
all those redraw issues in eeschema)...


Regards,
Bernhard

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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 why this doesn't work in the default canvas.  Someone
 should probably take a look at it.  I'm guessing it has something to do
 with the overlays used on OSX.
 

Um, perhaps it has something to do with this:

#ifdef __WXMAC__
m_defaultCursor = m_currentCursor = wxCURSOR_CROSS;
m_showCrossHair = false;
#else
m_defaultCursor = m_currentCursor = wxCURSOR_ARROW;
m_showCrossHair = true;
#endif

I’m assuming that this was done due to overlay issues as Wayne suggests.


Garth

smime.p7s
Description: S/MIME cryptographic signature
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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 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 Jul 2015, at 19:28, Bob Gustafson bob...@rcn.com
mailto:bob...@rcn.com wrote:

The screen shots are in GAL mode. I just confirmed now that the
default mode does not work - only a pen cursor. The Cairo mode does
work, but is slow.

I used Adam's latest OSX debug nightly build.

Bob G

On 07/21/2015 12:17 PM, Bob Gustafson wrote:

The crosshairs still work as I used them in the past:

Using tutorial here:
https://www.wayneandlayne.com/blog/2013/02/26/kicad-tutorial-pcb-edges/

The two screen shots attached show the crosshairs cursor window wide
and short

On system:

Application: kicad
Version: (2015-07-20 BZR 5967)-product release build
wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI 1002,GCC
4.2.1,STL containers,compatible with 2.8)
Platform: Mac OS X (Darwin 14.4.0 x86_64), 64 bit, Little endian, wxMac
Boost version: 1.54.0
 USE_WX_GRAPHICS_CONTEXT=OFF
 USE_WX_OVERLAY=ON
 KICAD_SCRIPTING=ON
 KICAD_SCRIPTING_MODULES=ON
 KICAD_SCRIPTING_WXPYTHON=ON
 USE_FP_LIB_TABLE=HARD_CODED_ON
 BUILD_GITHUB_PLUGIN=ON

On 07/21/2015 11:51 AM, Bernhard Stegmaier wrote:

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 own builds (stock plus Garths panning changes).
I have some older ones I could also check, but as I said… I think
it never worked for me.


Regards,
Bernhard


On 21 Jul 2015, at 15:58, Nick Østergaard oe.n...@gmail.com wrote:

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

2015-07-21 15:51 GMT+02:00 Jean-Paul Louis lou...@yahoo.com:

I am using Adam’s nightly build.

I tried this on the three view modes, and result is the same. The
cursor shape is always the default system cursor, I cannot find a
way to have a large crosshair like it used to be available.

Is that planned?

Regards,
Jean-Paul
AC9GH


Application: kicad
Version: (2015-07-13 BZR 5935)-product release build
wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI
1002,GCC 4.2.1,STL containers,compatible with 2.8)
Platform: Mac OS X (Darwin 14.4.0 x86_64), 64 bit, Little endian,
wxMac
Boost version: 1.54.0
 USE_WX_GRAPHICS_CONTEXT=OFF
 USE_WX_OVERLAY=ON
 KICAD_SCRIPTING=OFF
 KICAD_SCRIPTING_MODULES=OFF
 KICAD_SCRIPTING_WXPYTHON=OFF
 USE_FP_LIB_TABLE=HARD_CODED_ON
 BUILD_GITHUB_PLUGIN=ON


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp




___
Mailing list:https://launchpad.net/~kicad-developers
Post to :kicad-developers@lists.launchpad.net
Unsubscribe :https://launchpad.net/~kicad-developers
More help   :https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~kicad-developers
https://launchpad.net/%7Ekicad-developers
Post to : kicad-developers@lists.launchpad.net
mailto:kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
https://launchpad.net/%7Ekicad-developers
More help   : https://help.launchpad.net/ListHelp




___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : 

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 Jul 2015, at 19:28, Bob Gustafson bob...@rcn.com wrote:
 
 The screen shots are in GAL mode. I just confirmed now that the default mode 
 does not work - only a pen cursor. The Cairo mode does work, but is slow.
 
 I used Adam's latest OSX debug nightly build.
 
 Bob G
 
 On 07/21/2015 12:17 PM, Bob Gustafson wrote:
 The crosshairs still work as I used them in the past: 
 
 Using tutorial here: 
 https://www.wayneandlayne.com/blog/2013/02/26/kicad-tutorial-pcb-edges/ 
 https://www.wayneandlayne.com/blog/2013/02/26/kicad-tutorial-pcb-edges/ 
 
 The two screen shots attached show the crosshairs cursor window wide and 
 short 
 
 On system: 
 
 Application: kicad 
 Version: (2015-07-20 BZR 5967)-product release build 
 wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI 1002,GCC 
 4.2.1,STL containers,compatible with 2.8) 
 Platform: Mac OS X (Darwin 14.4.0 x86_64), 64 bit, Little endian, wxMac 
 Boost version: 1.54.0 
  USE_WX_GRAPHICS_CONTEXT=OFF 
  USE_WX_OVERLAY=ON 
  KICAD_SCRIPTING=ON 
  KICAD_SCRIPTING_MODULES=ON 
  KICAD_SCRIPTING_WXPYTHON=ON 
  USE_FP_LIB_TABLE=HARD_CODED_ON 
  BUILD_GITHUB_PLUGIN=ON 
 
 On 07/21/2015 11:51 AM, Bernhard Stegmaier wrote: 
 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 own builds (stock plus Garths panning changes). 
 I have some older ones I could also check, but as I said… I think it never 
 worked for me. 
 
 
 Regards, 
 Bernhard 
 
 On 21 Jul 2015, at 15:58, Nick Østergaard oe.n...@gmail.com 
 mailto:oe.n...@gmail.com wrote: 
 
 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
  
 http://bazaar.launchpad.net/~kicad-product-committers/kicad/product/revision/5827
 
 2015-07-21 15:51 GMT+02:00 Jean-Paul Louis lou...@yahoo.com 
 mailto:lou...@yahoo.com: 
 I am using Adam’s nightly build. 
 
 I tried this on the three view modes, and result is the same. The cursor 
 shape is always the default system cursor, I cannot find a way to have a 
 large crosshair like it used to be available. 
 
 Is that planned? 
 
 Regards, 
 Jean-Paul 
 AC9GH 
 
 
 Application: kicad 
 Version: (2015-07-13 BZR 5935)-product release build 
 wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI 1002,GCC 
 4.2.1,STL containers,compatible with 2.8) 
 Platform: Mac OS X (Darwin 14.4.0 x86_64), 64 bit, Little endian, wxMac 
 Boost version: 1.54.0 
  USE_WX_GRAPHICS_CONTEXT=OFF 
  USE_WX_OVERLAY=ON 
  KICAD_SCRIPTING=OFF 
  KICAD_SCRIPTING_MODULES=OFF 
  KICAD_SCRIPTING_WXPYTHON=OFF 
  USE_FP_LIB_TABLE=HARD_CODED_ON 
  BUILD_GITHUB_PLUGIN=ON 
 
 
 ___ 
 Mailing list: https://launchpad.net/~kicad-developers 
 https://launchpad.net/~kicad-developers 
 Post to : kicad-developers@lists.launchpad.net 
 mailto:kicad-developers@lists.launchpad.net 
 Unsubscribe : https://launchpad.net/~kicad-developers 
 https://launchpad.net/~kicad-developers 
 More help   : https://help.launchpad.net/ListHelp 
 https://help.launchpad.net/ListHelp 
 ___ 
 Mailing list: https://launchpad.net/~kicad-developers 
 https://launchpad.net/~kicad-developers 
 Post to : kicad-developers@lists.launchpad.net 
 mailto:kicad-developers@lists.launchpad.net 
 Unsubscribe : https://launchpad.net/~kicad-developers 
 https://launchpad.net/~kicad-developers 
 More help   : https://help.launchpad.net/ListHelp 
 https://help.launchpad.net/ListHelp 
 
 ___ 
 Mailing list: https://launchpad.net/~kicad-developers 
 https://launchpad.net/~kicad-developers 
 Post to : kicad-developers@lists.launchpad.net 
 mailto:kicad-developers@lists.launchpad.net 
 Unsubscribe : https://launchpad.net/~kicad-developers 
 https://launchpad.net/~kicad-developers 
 More help   : https://help.launchpad.net/ListHelp 
 https://help.launchpad.net/ListHelp 
 
 
 
 ___
 Mailing list: https://launchpad.net/~kicad-developers 
 https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net 
 

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 at it.  I'm guessing it has something to do
with the overlays used on OSX.

 
 BTW:
 Is it on purpose that in GAL mode both the small/big crosshair *and* the
 usual mouse cursor (arrow) is shown?

In the legacy canvas, the cross-hairs snap to the grid point nearest the
mouse cursor.  The actual drawing point is the cross-hair position so
that you can draw and position on grid.  The GAL canvases should work
this way but I'm not sure that is the case.

 
 
 Regards,
 Bernhard
 
 
 On 21 Jul 2015, at 19:28, Bob Gustafson bob...@rcn.com
 mailto:bob...@rcn.com wrote:

 The screen shots are in GAL mode. I just confirmed now that the
 default mode does not work - only a pen cursor. The Cairo mode does
 work, but is slow.

 I used Adam's latest OSX debug nightly build.

 Bob G

 On 07/21/2015 12:17 PM, Bob Gustafson wrote:
 The crosshairs still work as I used them in the past:

 Using tutorial here:
 https://www.wayneandlayne.com/blog/2013/02/26/kicad-tutorial-pcb-edges/

 The two screen shots attached show the crosshairs cursor window wide
 and short

 On system:

 Application: kicad
 Version: (2015-07-20 BZR 5967)-product release build
 wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI 1002,GCC
 4.2.1,STL containers,compatible with 2.8)
 Platform: Mac OS X (Darwin 14.4.0 x86_64), 64 bit, Little endian, wxMac
 Boost version: 1.54.0
  USE_WX_GRAPHICS_CONTEXT=OFF
  USE_WX_OVERLAY=ON
  KICAD_SCRIPTING=ON
  KICAD_SCRIPTING_MODULES=ON
  KICAD_SCRIPTING_WXPYTHON=ON
  USE_FP_LIB_TABLE=HARD_CODED_ON
  BUILD_GITHUB_PLUGIN=ON

 On 07/21/2015 11:51 AM, Bernhard Stegmaier wrote:
 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 own builds (stock plus Garths panning changes).
 I have some older ones I could also check, but as I said… I think it
 never worked for me.


 Regards,
 Bernhard

 On 21 Jul 2015, at 15:58, Nick Østergaard oe.n...@gmail.com wrote:

 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

 2015-07-21 15:51 GMT+02:00 Jean-Paul Louis lou...@yahoo.com:
 I am using Adam’s nightly build.

 I tried this on the three view modes, and result is the same. The
 cursor shape is always the default system cursor, I cannot find a
 way to have a large crosshair like it used to be available.

 Is that planned?

 Regards,
 Jean-Paul
 AC9GH


 Application: kicad
 Version: (2015-07-13 BZR 5935)-product release build
 wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI
 1002,GCC 4.2.1,STL containers,compatible with 2.8)
 Platform: Mac OS X (Darwin 14.4.0 x86_64), 64 bit, Little endian,
 wxMac
 Boost version: 1.54.0
  USE_WX_GRAPHICS_CONTEXT=OFF
  USE_WX_OVERLAY=ON
  KICAD_SCRIPTING=OFF
  KICAD_SCRIPTING_MODULES=OFF
  KICAD_SCRIPTING_WXPYTHON=OFF
  USE_FP_LIB_TABLE=HARD_CODED_ON
  BUILD_GITHUB_PLUGIN=ON


 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp
 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp

 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp



 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp

 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 mailto:kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : 

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

2015-07-21 15:51 GMT+02:00 Jean-Paul Louis lou...@yahoo.com:
 I am using Adam’s nightly build.

 I tried this on the three view modes, and result is the same. The cursor 
 shape is always the default system cursor, I cannot find a way to have a 
 large crosshair like it used to be available.

 Is that planned?

 Regards,
 Jean-Paul
 AC9GH


 Application: kicad
 Version: (2015-07-13 BZR 5935)-product release build
 wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI 1002,GCC 
 4.2.1,STL containers,compatible with 2.8)
 Platform: Mac OS X (Darwin 14.4.0 x86_64), 64 bit, Little endian, wxMac
 Boost version: 1.54.0
  USE_WX_GRAPHICS_CONTEXT=OFF
  USE_WX_OVERLAY=ON
  KICAD_SCRIPTING=OFF
  KICAD_SCRIPTING_MODULES=OFF
  KICAD_SCRIPTING_WXPYTHON=OFF
  USE_FP_LIB_TABLE=HARD_CODED_ON
  BUILD_GITHUB_PLUGIN=ON


 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


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 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

2015-07-21 15:51 GMT+02:00 Jean-Paul Louis lou...@yahoo.com:

I am using Adam’s nightly build.

I tried this on the three view modes, and result is the same. The 
cursor shape is always the default system cursor, I cannot find a way 
to have a large crosshair like it used to be available.


Is that planned?

Regards,
Jean-Paul
AC9GH


Application: kicad
Version: (2015-07-13 BZR 5935)-product release build
wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI 1002,GCC 
4.2.1,STL containers,compatible with 2.8)
Platform: Mac OS X (Darwin 14.4.0 x86_64), 64 bit, Little endian, 
wxMac

Boost version: 1.54.0
 USE_WX_GRAPHICS_CONTEXT=OFF
 USE_WX_OVERLAY=ON
 KICAD_SCRIPTING=OFF
 KICAD_SCRIPTING_MODULES=OFF
 KICAD_SCRIPTING_WXPYTHON=OFF
 USE_FP_LIB_TABLE=HARD_CODED_ON
 BUILD_GITHUB_PLUGIN=ON


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp