Re: [Kicad-developers] [PATCH] Improved zoom behavior on MacOS

2017-09-13 Thread Maciej Suminski
Hi Jon,

The patch looks good to me. I am willing to merge it as soon as it
receives some positive feedback from the Mac users.

Regards,
Orson

On 09/12/2017 05:16 PM, Jon Evans wrote:
> Hi,
> 
> This patch changes the way middle wheel events are handled on MacOS.
> In my testing, this new behavior feels way better when using Apple
> trackpads, and also seems to work fine with the normal wheel on my external
> mouse.
> 
> Mac users, I'd appreciate some testing to see if the behavior is worse than
> the existing one in any use cases.  Since MacOS provides wheel event
> acceleration at the OS level, we shouldn't need our own acceleration
> management code, but maybe there are some situations where the old code
> works better?
> 
> Thanks,
> Jon
> 
> 
> 
> ___
> 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] [PATCH] Add support for panning with left and right mouse buttons

2017-09-13 Thread Maciej Suminski
Hi Jon,

I apologize for delayed replies, I have very limited time for KiCad
development recently.

I do not mind adding such setting, but does not it cause issues with
right-click menus or left mouse button click actions?

Regards,
Orson

On 09/06/2017 03:31 AM, Jon Evans wrote:
> Hi all,
> 
> This patch extends the VIEW_CONTROLS to allow optional panning with left or
> right buttons in addition to middle.  I plan to make use of this in
> GerbView for an easy panning mode that works well on laptops and 2-button
> mice, and this might also be useful in other applications -- drag-to-pan
> with the right button is a handy thing to enable in editing tools to make
> them usable when you don't have a middle button.
> 
> -Jon
> 
> 
> 
> ___
> 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] 1: GAL Bug with Window Buttons

2017-09-13 Thread Marcos Chaparro
I can confirm this on sept 6 nighties.

Regards

On Sep 13, 2017 03:07, "Strontium"  wrote:

> On 13/09/17 13:24, Nick Østergaard wrote:
>
>> What version of kicad did he test?
>>
> Application: kicad
> Version: no-vcs-found-8182369~60~ubuntu16.04.1, release build
> Libraries:
> wxWidgets 3.0.2
> libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
> Platform: Linux 4.4.0-93-generic x86_64, 64 bit, Little endian, wxGTK
> Build Info:
> wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
> Boost: 1.58.0
> Curl: 7.47.0
> Compiler: GCC 5.4.0 with C++ ABI 1009
>
> Build settings:
> USE_WX_GRAPHICS_CONTEXT=OFF
> USE_WX_OVERLAY=OFF
> KICAD_SCRIPTING=ON
> KICAD_SCRIPTING_MODULES=ON
> KICAD_SCRIPTING_WXPYTHON=ON
> KICAD_SCRIPTING_ACTION_MENU=ON
> BUILD_GITHUB_PLUGIN=ON
> KICAD_USE_OCE=ON
> KICAD_SPICE=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] [PATCH] Add background color for subsheets

2017-09-13 Thread Maciej Suminski
Hi Oliver,

Seems good to me, I vote for merging.

Regards,
Orson

On 09/12/2017 11:11 AM, Oliver Walters wrote:
> This small patch adds a configurable background color for hierarchical
> sheets.
> 
> Image: http://i.imgur.com/53zgcy9.png
> 
> Oliver
> 
> 
> 
> ___
> 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] [PATCH] Field editor buttons

2017-09-13 Thread Maciej Suminski
Hi Oliver,

I like the change. The new buttons take less space and the icons appear
self-explanatory.

Cheers,
Orson

On 09/12/2017 09:50 AM, Oliver Walters wrote:
> Attached is a patch set that simplifies the UI buttons for organising
> component fields, both in the symbol editor and the schematic viewer.
> 
> Screenshot: http://i.imgur.com/YFjASPT.png
> 
> Cheers,
> 
> Oliver
> 
> 
> 
> ___
> 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] [PATCH] Field editor buttons

2017-09-13 Thread Oliver Walters
Orson,

Thanks, I have noticed (and I'm sure others have) a whole swathe of UX
stuff that is pretty clunky. This one seemed like an easy win :)



On Wed, Sep 13, 2017 at 8:18 PM, Maciej Suminski 
wrote:

> Hi Oliver,
>
> I like the change. The new buttons take less space and the icons appear
> self-explanatory.
>
> Cheers,
> Orson
>
> On 09/12/2017 09:50 AM, Oliver Walters wrote:
> > Attached is a patch set that simplifies the UI buttons for organising
> > component fields, both in the symbol editor and the schematic viewer.
> >
> > Screenshot: http://i.imgur.com/YFjASPT.png
> >
> > Cheers,
> >
> > Oliver
> >
> >
> >
> > ___
> > 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] [PATCH] Add support for panning with left and right mouse buttons

2017-09-13 Thread Bernhard Stegmaier
Hi,

Did you try (at least for laptops) the existing touchpad panning - instead of 
introducing yet another panning mode?
The 2-finger panning gestures should meanwhile also be available on 
Windows/Linux?


Regards,
Bernhard

> On 13. Sep 2017, at 11:21, Maciej Suminski  wrote:
> 
> Hi Jon,
> 
> I apologize for delayed replies, I have very limited time for KiCad
> development recently.
> 
> I do not mind adding such setting, but does not it cause issues with
> right-click menus or left mouse button click actions?
> 
> Regards,
> Orson
> 
> On 09/06/2017 03:31 AM, Jon Evans wrote:
>> Hi all,
>> 
>> This patch extends the VIEW_CONTROLS to allow optional panning with left or
>> right buttons in addition to middle.  I plan to make use of this in
>> GerbView for an easy panning mode that works well on laptops and 2-button
>> mice, and this might also be useful in other applications -- drag-to-pan
>> with the right button is a handy thing to enable in editing tools to make
>> them usable when you don't have a middle button.
>> 
>> -Jon
>> 
>> 
>> 
>> ___
>> 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] [PATCH] Improved zoom behavior on MacOS

2017-09-13 Thread Bernhard Stegmaier
Hi,

I am getting 
patch:  malformed patch at line 52: @@ -178,6 +181,7 @@ void 
WX_VIEW_CONTROLS::onWheel( wxMouseEvent& aEvent )

Can you resend?


Regards,
Bernhard


> On 13. Sep 2017, at 11:09, Maciej Suminski  wrote:
> 
> Hi Jon,
> 
> The patch looks good to me. I am willing to merge it as soon as it
> receives some positive feedback from the Mac users.
> 
> Regards,
> Orson
> 
> On 09/12/2017 05:16 PM, Jon Evans wrote:
>> Hi,
>> 
>> This patch changes the way middle wheel events are handled on MacOS.
>> In my testing, this new behavior feels way better when using Apple
>> trackpads, and also seems to work fine with the normal wheel on my external
>> mouse.
>> 
>> Mac users, I'd appreciate some testing to see if the behavior is worse than
>> the existing one in any use cases.  Since MacOS provides wheel event
>> acceleration at the OS level, we shouldn't need our own acceleration
>> management code, but maybe there are some situations where the old code
>> works better?
>> 
>> Thanks,
>> Jon
>> 
>> 
>> 
>> ___
>> 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


[Kicad-developers] [PATCH] Eagle schematic and project import.

2017-09-13 Thread Russell Oliver
Hello Everyone,

Please find attached a combined patch set which adds Eagle schematic
parsing and a generic project import feature to KiCad.

Its been in the pipeline for a long time now and I'm excited to get all
your feedback and see it announced to the community.

I'm thankful to Alejandro Montoro for the initial plugin layout and Orson
for his guidance and code review over the past few months.

Kind Regards
Russell Oliver
___
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] [PATCH] Eagle schematic and project import.

2017-09-13 Thread Kaspar Emanuel
Hi Russ,

wouldn't mind giving this a go but I don't see any attachments.

Cheers,

Kaspar


On 13 September 2017 at 01:48, Russell Oliver  wrote:

> Hello Everyone,
>
> Please find attached a combined patch set which adds Eagle schematic
> parsing and a generic project import feature to KiCad.
>
> Its been in the pipeline for a long time now and I'm excited to get all
> your feedback and see it announced to the community.
>
> I'm thankful to Alejandro Montoro for the initial plugin layout and Orson
> for his guidance and code review over the past few months.
>
> Kind Regards
> Russell Oliver
>
> ___
> 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] [PATCH] Improved zoom behavior on MacOS

2017-09-13 Thread Jon Evans
Hi Bernhard,

Please try the attached.

Thanks,
Jon

On Wed, Sep 13, 2017 at 6:56 AM, Bernhard Stegmaier  wrote:

> Hi,
>
> I am getting
> patch:  malformed patch at line 52: @@ -178,6 +181,7 @@ void
> WX_VIEW_CONTROLS::onWheel( wxMouseEvent& aEvent )
>
> Can you resend?
>
>
> Regards,
> Bernhard
>
>
> On 13. Sep 2017, at 11:09, Maciej Suminski 
> wrote:
>
> Hi Jon,
>
> The patch looks good to me. I am willing to merge it as soon as it
> receives some positive feedback from the Mac users.
>
> Regards,
> Orson
>
> On 09/12/2017 05:16 PM, Jon Evans wrote:
>
> Hi,
>
> This patch changes the way middle wheel events are handled on MacOS.
> In my testing, this new behavior feels way better when using Apple
> trackpads, and also seems to work fine with the normal wheel on my external
> mouse.
>
> Mac users, I'd appreciate some testing to see if the behavior is worse than
> the existing one in any use cases.  Since MacOS provides wheel event
> acceleration at the OS level, we shouldn't need our own acceleration
> management code, but maybe there are some situations where the old code
> works better?
>
> Thanks,
> Jon
>
>
>
> ___
> 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
>
>


0001-Improved-zoom-behavior-on-MacOS.patch
Description: Binary data
___
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] [PATCH] Eagle schematic and project import.

2017-09-13 Thread Russell Oliver
Hmm the patch file I sent might be too big for launchpad

You can get it at
https://github.com/rustyoz/kicad/tree/eagle-import?files=1

I'll also directly send it too you.

On 13 Sep 2017 23:09, "Kaspar Emanuel"  wrote:

> Hi Russ,
>
> wouldn't mind giving this a go but I don't see any attachments.
>
> Cheers,
>
> Kaspar
>
>
> On 13 September 2017 at 01:48, Russell Oliver 
> wrote:
>
>> Hello Everyone,
>>
>> Please find attached a combined patch set which adds Eagle schematic
>> parsing and a generic project import feature to KiCad.
>>
>> Its been in the pipeline for a long time now and I'm excited to get all
>> your feedback and see it announced to the community.
>>
>> I'm thankful to Alejandro Montoro for the initial plugin layout and Orson
>> for his guidance and code review over the past few months.
>>
>> Kind Regards
>> Russell Oliver
>>
>> ___
>> 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] [PATCH] Add support for panning with left and right mouse buttons

2017-09-13 Thread Jon Evans
Hi Orson and Bernhard,

1) If the left-click pan setting is enabled, it does conflict with
left-click dragging (to make a group selection, for example).  I do not
enable left-click pan anywhere by default, I just added it in case there is
a single-function "pan tool" ever desired, like what is available in most
PDF readers.

2) If the right-click pan setting is enabled, it only handles drag events,
so in my testing, you can still use the right click menus just fine
(because it is a click without a drag).  I would welcome feedback if anyone
tests this and finds that it causes issues with right-click.

3) This setting is currently only enabled in my GerbView GAL branch, so if
you want to test it on master, you will have to just force the default to
enable right-click pan, and then it will also work in pcbnew.

4) The reason for this change is that the "touchpad pan" option allows you
to pan with the touchpad but not zoom, since it is using the same events.
My patch allows (in some tools, when appropriate) four different actions
without leaving the mouse/touchpad:  Left click to select, Right click for
context menu, mouse wheel, and right-drag for pan.  On an Apple touchpad at
least, this lets you both zoom and pan with just gestures.  This new patch
is not specific to MacOS though, I have tested it on Linux as well and with
various mice in addition to the Mac touchpad.  On regular mice with wheel
it also allows you to select, zoom, and pan at the same time.

Best,
Jon

On Wed, Sep 13, 2017 at 6:51 AM, Bernhard Stegmaier  wrote:

> Hi,
>
> Did you try (at least for laptops) the existing touchpad panning - instead
> of introducing yet another panning mode?
> The 2-finger panning gestures should meanwhile also be available on
> Windows/Linux?
>
>
> Regards,
> Bernhard
>
> > On 13. Sep 2017, at 11:21, Maciej Suminski 
> wrote:
> >
> > Hi Jon,
> >
> > I apologize for delayed replies, I have very limited time for KiCad
> > development recently.
> >
> > I do not mind adding such setting, but does not it cause issues with
> > right-click menus or left mouse button click actions?
> >
> > Regards,
> > Orson
> >
> > On 09/06/2017 03:31 AM, Jon Evans wrote:
> >> Hi all,
> >>
> >> This patch extends the VIEW_CONTROLS to allow optional panning with
> left or
> >> right buttons in addition to middle.  I plan to make use of this in
> >> GerbView for an easy panning mode that works well on laptops and
> 2-button
> >> mice, and this might also be useful in other applications -- drag-to-pan
> >> with the right button is a handy thing to enable in editing tools to
> make
> >> them usable when you don't have a middle button.
> >>
> >> -Jon
> >>
> >>
> >>
> >> ___
> >> 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


Re: [Kicad-developers] should we change control in 3d-viewer

2017-09-13 Thread Kevin Cozens

On 2017-08-28 09:54 AM, Mário Luzeiro wrote:

Hi liyoubdu,
you are free to develop new ways of browsing the 3D board and submit a patch.


A wish list item for me would be to be able to use a Space Navigator to 
manipulate the view of the PCB in the 3D viewer.


--
Cheers!

Kevin.

http://www.ve3syb.ca/   |"Nerds make the shiny things that distract
Owner of Elecraft K2 #2172  | the mouth-breathers, and that's why we're
| powerful!"
#include  | --Chris Hardwick

___
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] should we change control in 3d-viewer

2017-09-13 Thread Jon Evans
Jost posted about working on Space Navigator support back in May -- curious
if that is going anywhere?

-Jon

On Wed, Sep 13, 2017 at 10:57 AM, Kevin Cozens  wrote:

> On 2017-08-28 09:54 AM, Mário Luzeiro wrote:
>
>> Hi liyoubdu,
>> you are free to develop new ways of browsing the 3D board and submit a
>> patch.
>>
>
> A wish list item for me would be to be able to use a Space Navigator to
> manipulate the view of the PCB in the 3D viewer.
>
> --
> Cheers!
>
> Kevin.
>
> http://www.ve3syb.ca/   |"Nerds make the shiny things that
> distract
> Owner of Elecraft K2 #2172  | the mouth-breathers, and that's why we're
> | powerful!"
> #include  | --Chris Hardwick
>
>
> ___
> 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] should we change control in 3d-viewer

2017-09-13 Thread Clemens Koller
Hi!

I would be glad to test a branch with SpaceNavigator + Trackpad + 
KBD+Mouse-Support as well - and even all three of the devices at the same time. 
I can, however, build and test on Linux only. Win7 exists only virtualized.

Regards,

Clemens


On 2017-09-13 17:04, Jon Evans wrote:
> Jost posted about working on Space Navigator support back in May -- curious 
> if that is going anywhere?
> 
> -Jon
> 
> On Wed, Sep 13, 2017 at 10:57 AM, Kevin Cozens  > wrote:
> 
> On 2017-08-28 09:54 AM, Mário Luzeiro wrote:
> 
> Hi liyoubdu,
> you are free to develop new ways of browsing the 3D board and submit 
> a patch.
> 
> 
> A wish list item for me would be to be able to use a Space Navigator to 
> manipulate the view of the PCB in the 3D viewer.
> 
> -- 
> Cheers!
> 
> Kevin.
> 
> http://www.ve3syb.ca/           |"Nerds make the shiny things that 
> distract
> Owner of Elecraft K2 #2172      | the mouth-breathers, and that's why 
> we're
>                                 | powerful!"
> #include  |             --Chris Hardwick
> 
> 
> ___
> 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] [PATCH] Fix duplicated pin in case of multipart symbol creation

2017-09-13 Thread Wayne Stambaugh
I merged your patch in the master branch.  Thank you for your
contribution to KiCad.

Cheers,

Wayne

On 9/5/2017 1:29 PM, Jean-Samuel Reynaud wrote:
> Hi All,
> 
> Please find attached a patch to fix issue like this bug report:
> https://bugs.launchpad.net/kicad/+bug/1509936
> 
> Linked pin should be created (eeschema/pinedit.cpp:CreateImagePins) only
> if the pin IS common to all unit.
> So loop skip (continue instruction) should be called only if pin is NOT
> common to all unit.
> 
> I know that schematic editor is currently undergoing major recontruction
> but perhaps this quick fix could help some users...
> 
> Regards,
> 
> 
> 
> ___
> 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] [PATCH] Minor UI improvements

2017-09-13 Thread Wayne Stambaugh
Michael,

I took a look at your patch and I have one comment.  The change from
"New Project" to "Project" does not follow normal file menu conventions.
 The correct convention is "New", not "Project".  I'm fine with all of
the other changes.

Cheers,

Wayne

On 9/6/2017 10:57 AM, Michael Kavanagh wrote:
> Hi all,
> Please find attached a small patch for the KiCad manager, mostly edits
> to bring the menu bar more inline with Windows and macOS guidelines.
> Changed some hotkeys as well.
> Regards,
> Michael
> 
> 
> ___
> 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] disable icons in menus by default on osx

2017-09-13 Thread Wayne Stambaugh
The correct way to fix this would be to leave the #ifdef in place and
put m_useIconsInMenus in the Read() setting function as the default so
the correct default value is used the first time kicad is run.  Your
change makes off the default for all platforms which doesn't fix the
underlying issue.  I'll fix this.  It's a trivial change.

On 9/12/2017 4:57 PM, Michael Kavanagh wrote:
> Doesn't matter to me (although I personally always turn them off). I was
> just pointing out that the code didn't appear to work as it was intended
> to on macOS and provided an alternative.
> 
> Michael
> 
> On 12 September 2017 at 16:28, Wayne Stambaugh  > wrote:
> 
> Do we really need to change the default?  All this will do is change
> which group of users complains about the default setting.  The reason we
> changed this is that some users wanted the menu bitmaps even on
> platforms where it is recommended not to use them.  I just don't see any
> benefit to making this change.  Is it that difficult for users to check
> or uncheck the menu bitmap setting according to their preference?
> 
> Wayne
> 
> On 9/12/2017 8:56 AM, Fabrizio Tappero wrote:
> > Hi Diogo,
> > thanks for point it our. This has been fixed in a patch that is
> > currently in the pipeline.
> >
> > Cheers
> > Fabrizio
> >
> >
> > On Mon, Sep 11, 2017 at 7:51 PM, Diogo Condeço  
> > >> wrote:
> >
> >     While personally I won't use icons in the menus if that option is
> >     available to me, I can see why someone would like to use them. 
> >
> >     I can see it being useful to identify actions visually, but with
> >     that in mind, I can't understand why having icons and reusing them
> >     on different functions would help anyone. I've attached a screenshot
> >     where the same icon is used for 3 different actions
> >
> >     BR,
> >     Diogo
> >
> >     On Thu, Sep 7, 2017 at 3:59 PM, Miguel Angel Ajo Pelayo
> >     mailto:majop...@redhat.com>
> >> wrote:
> >
> >         I personally (as a user) find the icons visually more intuitive.
> >         Specially for newcomers and better adoption of KiCad.
> >
> >         I know it's out of some guidelines, but this is a very complex
> >         software.
> >
> >         My feeling is that it's better with a "on" by default setting,
> >         as long as people already used to the software, or not liking
> >         icons could disable them.
> >
> >         On Thu, Sep 7, 2017 at 4:34 PM, Michael Kavanagh
> >          
> >>
> >         wrote:
> >
> >             Hi,
> >
> >             Sorry to bring this up again, but for me icons are still
> >             enabled by default on macOS (and Windows unsurprisingly). I
> >             deleted /Library/Application Support/kicad,
> >             ~/Library/Preferences/kicad and /Applications/Kicad,
> >             reinstalled from most recent nightly (07-Sep-2017) and the
> >             icons were there upon startup.
> >
> >             I think the problem was the default value was true when the
> >             key wasn't found (ie for new install),
> >             see 
> http://docs.wxwidgets.org/trunk/classwx_config_base.html#a93b700301e0b73f1b42f14497f2e6bc7
> 
> 
> >             
>  
> >
> >
> >             I have attached a patch to turn icons off by default on all
> >             platforms (doing away with "ugly" #if defined()/#endif). I
> >             think this would be preferable as per both the macOS and
> >             Windows guidelines. I am unfamiliar with Linux UI's but if
> >             Linux users want the icons enabled by default the #if will
> >             have to be added again.
> >
> >             Cheers,
> >             Michael
> >
> >
> >             On 13 April 2017 at 18:51, Wayne Stambaugh
> >             mailto:stambau...@gmail.com>
> >> wrote:
> >
> >                 Simon,
> >
> >                 I committed your patch since osx expects the icons to be
> >                 disabled by
> >                 default.
> >
> >                 Thanks,
> >
> >              

Re: [Kicad-developers] 1: GAL Bug with Window Buttons

2017-09-13 Thread Andrey Kuznetsov
Same thing here:

Application: kicad
Version: (2017-09-07 revision 90668f9ef)-makepkg, release build
Libraries:
wxWidgets 3.0.3
libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1
librtmp/2.3
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian,
wxMSW
Build Info:
wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.60.0
Curl: 7.54.1
Compiler: GCC 7.1.0 with C++ ABI 1011

Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_SPICE=ON


On Wed, Sep 13, 2017 at 3:02 AM, Marcos Chaparro 
wrote:

> I can confirm this on sept 6 nighties.
>
> Regards
>
> On Sep 13, 2017 03:07, "Strontium"  wrote:
>
>> On 13/09/17 13:24, Nick Østergaard wrote:
>>
>>> What version of kicad did he test?
>>>
>> Application: kicad
>> Version: no-vcs-found-8182369~60~ubuntu16.04.1, release build
>> Libraries:
>> wxWidgets 3.0.2
>> libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
>> Platform: Linux 4.4.0-93-generic x86_64, 64 bit, Little endian, wxGTK
>> Build Info:
>> wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
>> Boost: 1.58.0
>> Curl: 7.47.0
>> Compiler: GCC 5.4.0 with C++ ABI 1009
>>
>> Build settings:
>> USE_WX_GRAPHICS_CONTEXT=OFF
>> USE_WX_OVERLAY=OFF
>> KICAD_SCRIPTING=ON
>> KICAD_SCRIPTING_MODULES=ON
>> KICAD_SCRIPTING_WXPYTHON=ON
>> KICAD_SCRIPTING_ACTION_MENU=ON
>> BUILD_GITHUB_PLUGIN=ON
>> KICAD_USE_OCE=ON
>> KICAD_SPICE=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
>
>


-- 
Remember The Past, Live The Present, Change The Future
Those who look only to the past or the present are certain to miss the
future [JFK]

kandre...@gmail.com
Live Long and Prosper,
Andrey
___
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] [PATCH] Add support for panning with left and right mouse buttons

2017-09-13 Thread Andrey Kuznetsov
FYI, Regarding panning with 2 fingers, it does not work on my Lenovo laptop
running windows 8.
Only zoom works, 2 finger up-down motion.

On Wed, Sep 13, 2017 at 6:53 AM, Jon Evans  wrote:

> Hi Orson and Bernhard,
>
> 1) If the left-click pan setting is enabled, it does conflict with
> left-click dragging (to make a group selection, for example).  I do not
> enable left-click pan anywhere by default, I just added it in case there is
> a single-function "pan tool" ever desired, like what is available in most
> PDF readers.
>
> 2) If the right-click pan setting is enabled, it only handles drag events,
> so in my testing, you can still use the right click menus just fine
> (because it is a click without a drag).  I would welcome feedback if anyone
> tests this and finds that it causes issues with right-click.
>
> 3) This setting is currently only enabled in my GerbView GAL branch, so if
> you want to test it on master, you will have to just force the default to
> enable right-click pan, and then it will also work in pcbnew.
>
> 4) The reason for this change is that the "touchpad pan" option allows you
> to pan with the touchpad but not zoom, since it is using the same events.
> My patch allows (in some tools, when appropriate) four different actions
> without leaving the mouse/touchpad:  Left click to select, Right click for
> context menu, mouse wheel, and right-drag for pan.  On an Apple touchpad at
> least, this lets you both zoom and pan with just gestures.  This new patch
> is not specific to MacOS though, I have tested it on Linux as well and with
> various mice in addition to the Mac touchpad.  On regular mice with wheel
> it also allows you to select, zoom, and pan at the same time.
>
> Best,
> Jon
>
> On Wed, Sep 13, 2017 at 6:51 AM, Bernhard Stegmaier <
> stegma...@sw-systems.de> wrote:
>
>> Hi,
>>
>> Did you try (at least for laptops) the existing touchpad panning -
>> instead of introducing yet another panning mode?
>> The 2-finger panning gestures should meanwhile also be available on
>> Windows/Linux?
>>
>>
>> Regards,
>> Bernhard
>>
>> > On 13. Sep 2017, at 11:21, Maciej Suminski 
>> wrote:
>> >
>> > Hi Jon,
>> >
>> > I apologize for delayed replies, I have very limited time for KiCad
>> > development recently.
>> >
>> > I do not mind adding such setting, but does not it cause issues with
>> > right-click menus or left mouse button click actions?
>> >
>> > Regards,
>> > Orson
>> >
>> > On 09/06/2017 03:31 AM, Jon Evans wrote:
>> >> Hi all,
>> >>
>> >> This patch extends the VIEW_CONTROLS to allow optional panning with
>> left or
>> >> right buttons in addition to middle.  I plan to make use of this in
>> >> GerbView for an easy panning mode that works well on laptops and
>> 2-button
>> >> mice, and this might also be useful in other applications --
>> drag-to-pan
>> >> with the right button is a handy thing to enable in editing tools to
>> make
>> >> them usable when you don't have a middle button.
>> >>
>> >> -Jon
>> >>
>> >>
>> >>
>> >> ___
>> >> 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
>
>


-- 
Remember The Past, Live The Present, Change The Future
Those who look only to the past or the present are certain to miss the
future [JFK]

kandre...@gmail.com
Live Long and Prosper,
Andrey
___
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] [PATCH] Minor UI improvements

2017-09-13 Thread Michael Kavanagh
Hi,

I figured this was okay since it was part of a "New" sub menu. Please see
attached screenshot.

I thought this might be useful if in the future its possible to create new
schematics/pcb files from the KiCad, the options can go in the same sub
menu. This is a useful feature of other EDA software.

I can change this and resubmit if necessary.

Regards,

Michael

On 13 September 2017 at 17:20, Wayne Stambaugh  wrote:

> Michael,
>
> I took a look at your patch and I have one comment.  The change from
> "New Project" to "Project" does not follow normal file menu conventions.
>  The correct convention is "New", not "Project".  I'm fine with all of
> the other changes.
>
> Cheers,
>
> Wayne
>
> On 9/6/2017 10:57 AM, Michael Kavanagh wrote:
> > Hi all,
> > Please find attached a small patch for the KiCad manager, mostly edits
> > to bring the menu bar more inline with Windows and macOS guidelines.
> > Changed some hotkeys as well.
> > Regards,
> > Michael
> >
> >
> > ___
> > 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] [PATCH] Minor UI improvements

2017-09-13 Thread Wayne Stambaugh
That seems reasonable to me.  If no one else objects, I will merge your
patch.

On 9/13/2017 1:53 PM, Michael Kavanagh wrote:
> Hi,
> 
> I figured this was okay since it was part of a "New" sub menu. Please
> see attached screenshot.
> 
> I thought this might be useful if in the future its possible to create
> new schematics/pcb files from the KiCad, the options can go in the same
> sub menu. This is a useful feature of other EDA software.
> 
> I can change this and resubmit if necessary.
> 
> Regards,
> 
> Michael
> 
> On 13 September 2017 at 17:20, Wayne Stambaugh  > wrote:
> 
> Michael,
> 
> I took a look at your patch and I have one comment.  The change from
> "New Project" to "Project" does not follow normal file menu conventions.
>  The correct convention is "New", not "Project".  I'm fine with all of
> the other changes.
> 
> Cheers,
> 
> Wayne
> 
> On 9/6/2017 10:57 AM, Michael Kavanagh wrote:
> > Hi all,
> > Please find attached a small patch for the KiCad manager, mostly edits
> > to bring the menu bar more inline with Windows and macOS guidelines.
> > Changed some hotkeys as well.
> > Regards,
> > Michael
> >
> >
> > ___
> > 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] [PATCH] Add support for panning with left and right mouse buttons

2017-09-13 Thread Jon Evans
Are you using my gerbview_gal branch and testing with gerbview?  That is
the only place where this feature is enabled.   If you would like to test
it outside of that branch, change m_panWithRightButton to true and rebuild.

I don't have a Windows laptop to test with at the moment, but I would
believe that the behavior of trackpads is different -- this will only work
if (like Apple trackpads) the trackpad translates a "press with two
fingers, then drag" as a "right button drag" event.

-Jon

On Wed, Sep 13, 2017 at 1:41 PM, Andrey Kuznetsov 
wrote:

> FYI, Regarding panning with 2 fingers, it does not work on my Lenovo
> laptop running windows 8.
> Only zoom works, 2 finger up-down motion.
>
> On Wed, Sep 13, 2017 at 6:53 AM, Jon Evans  wrote:
>
>> Hi Orson and Bernhard,
>>
>> 1) If the left-click pan setting is enabled, it does conflict with
>> left-click dragging (to make a group selection, for example).  I do not
>> enable left-click pan anywhere by default, I just added it in case there is
>> a single-function "pan tool" ever desired, like what is available in most
>> PDF readers.
>>
>> 2) If the right-click pan setting is enabled, it only handles drag
>> events, so in my testing, you can still use the right click menus just fine
>> (because it is a click without a drag).  I would welcome feedback if anyone
>> tests this and finds that it causes issues with right-click.
>>
>> 3) This setting is currently only enabled in my GerbView GAL branch, so
>> if you want to test it on master, you will have to just force the default
>> to enable right-click pan, and then it will also work in pcbnew.
>>
>> 4) The reason for this change is that the "touchpad pan" option allows
>> you to pan with the touchpad but not zoom, since it is using the same
>> events.  My patch allows (in some tools, when appropriate) four different
>> actions without leaving the mouse/touchpad:  Left click to select, Right
>> click for context menu, mouse wheel, and right-drag for pan.  On an Apple
>> touchpad at least, this lets you both zoom and pan with just gestures.
>> This new patch is not specific to MacOS though, I have tested it on Linux
>> as well and with various mice in addition to the Mac touchpad.  On regular
>> mice with wheel it also allows you to select, zoom, and pan at the same
>> time.
>>
>> Best,
>> Jon
>>
>> On Wed, Sep 13, 2017 at 6:51 AM, Bernhard Stegmaier <
>> stegma...@sw-systems.de> wrote:
>>
>>> Hi,
>>>
>>> Did you try (at least for laptops) the existing touchpad panning -
>>> instead of introducing yet another panning mode?
>>> The 2-finger panning gestures should meanwhile also be available on
>>> Windows/Linux?
>>>
>>>
>>> Regards,
>>> Bernhard
>>>
>>> > On 13. Sep 2017, at 11:21, Maciej Suminski 
>>> wrote:
>>> >
>>> > Hi Jon,
>>> >
>>> > I apologize for delayed replies, I have very limited time for KiCad
>>> > development recently.
>>> >
>>> > I do not mind adding such setting, but does not it cause issues with
>>> > right-click menus or left mouse button click actions?
>>> >
>>> > Regards,
>>> > Orson
>>> >
>>> > On 09/06/2017 03:31 AM, Jon Evans wrote:
>>> >> Hi all,
>>> >>
>>> >> This patch extends the VIEW_CONTROLS to allow optional panning with
>>> left or
>>> >> right buttons in addition to middle.  I plan to make use of this in
>>> >> GerbView for an easy panning mode that works well on laptops and
>>> 2-button
>>> >> mice, and this might also be useful in other applications --
>>> drag-to-pan
>>> >> with the right button is a handy thing to enable in editing tools to
>>> make
>>> >> them usable when you don't have a middle button.
>>> >>
>>> >> -Jon
>>> >>
>>> >>
>>> >>
>>> >> ___
>>> >> 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
>>
>>
>
>
> --
> Remember The Past, Live The Present, Change The Future
> Those who look only to the past or the present are certain to miss the
> future [JFK]
>
> kandre...@gmail.com
> Live Long 

Re: [Kicad-developers] [PATCH] Add support for panning with left and right mouse buttons

2017-09-13 Thread Andrey Kuznetsov
Sorry,  I was talking about the nightly version.

On Wed, Sep 13, 2017 at 12:24 PM Jon Evans  wrote:

> Are you using my gerbview_gal branch and testing with gerbview?  That is
> the only place where this feature is enabled.   If you would like to test
> it outside of that branch, change m_panWithRightButton to true and rebuild.
>
> I don't have a Windows laptop to test with at the moment, but I would
> believe that the behavior of trackpads is different -- this will only work
> if (like Apple trackpads) the trackpad translates a "press with two
> fingers, then drag" as a "right button drag" event.
>
> -Jon
>
> On Wed, Sep 13, 2017 at 1:41 PM, Andrey Kuznetsov 
> wrote:
>
>> FYI, Regarding panning with 2 fingers, it does not work on my Lenovo
>> laptop running windows 8.
>> Only zoom works, 2 finger up-down motion.
>>
>> On Wed, Sep 13, 2017 at 6:53 AM, Jon Evans  wrote:
>>
>>> Hi Orson and Bernhard,
>>>
>>> 1) If the left-click pan setting is enabled, it does conflict with
>>> left-click dragging (to make a group selection, for example).  I do not
>>> enable left-click pan anywhere by default, I just added it in case there is
>>> a single-function "pan tool" ever desired, like what is available in most
>>> PDF readers.
>>>
>>> 2) If the right-click pan setting is enabled, it only handles drag
>>> events, so in my testing, you can still use the right click menus just fine
>>> (because it is a click without a drag).  I would welcome feedback if anyone
>>> tests this and finds that it causes issues with right-click.
>>>
>>> 3) This setting is currently only enabled in my GerbView GAL branch, so
>>> if you want to test it on master, you will have to just force the default
>>> to enable right-click pan, and then it will also work in pcbnew.
>>>
>>> 4) The reason for this change is that the "touchpad pan" option allows
>>> you to pan with the touchpad but not zoom, since it is using the same
>>> events.  My patch allows (in some tools, when appropriate) four different
>>> actions without leaving the mouse/touchpad:  Left click to select, Right
>>> click for context menu, mouse wheel, and right-drag for pan.  On an Apple
>>> touchpad at least, this lets you both zoom and pan with just gestures.
>>> This new patch is not specific to MacOS though, I have tested it on Linux
>>> as well and with various mice in addition to the Mac touchpad.  On regular
>>> mice with wheel it also allows you to select, zoom, and pan at the same
>>> time.
>>>
>>> Best,
>>> Jon
>>>
>>> On Wed, Sep 13, 2017 at 6:51 AM, Bernhard Stegmaier <
>>> stegma...@sw-systems.de> wrote:
>>>
 Hi,

 Did you try (at least for laptops) the existing touchpad panning -
 instead of introducing yet another panning mode?
 The 2-finger panning gestures should meanwhile also be available on
 Windows/Linux?


 Regards,
 Bernhard

 > On 13. Sep 2017, at 11:21, Maciej Suminski 
 wrote:
 >
 > Hi Jon,
 >
 > I apologize for delayed replies, I have very limited time for KiCad
 > development recently.
 >
 > I do not mind adding such setting, but does not it cause issues with
 > right-click menus or left mouse button click actions?
 >
 > Regards,
 > Orson
 >
 > On 09/06/2017 03:31 AM, Jon Evans wrote:
 >> Hi all,
 >>
 >> This patch extends the VIEW_CONTROLS to allow optional panning with
 left or
 >> right buttons in addition to middle.  I plan to make use of this in
 >> GerbView for an easy panning mode that works well on laptops and
 2-button
 >> mice, and this might also be useful in other applications --
 drag-to-pan
 >> with the right button is a handy thing to enable in editing tools to
 make
 >> them usable when you don't have a middle button.
 >>
 >> -Jon
 >>
 >>
 >>
 >> ___
 >> 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 

Re: [Kicad-developers] 1: GAL Bug with Window Buttons

2017-09-13 Thread Jon Evans
The scrollbars are also disabled on MacOS in the code (for reasons I don't
know) -- is there a bug in LP for this already?  I couldn't find one with a
quick search.

On Wed, Sep 13, 2017 at 1:37 PM, Andrey Kuznetsov 
wrote:

> Same thing here:
>
> Application: kicad
> Version: (2017-09-07 revision 90668f9ef)-makepkg, release build
> Libraries:
> wxWidgets 3.0.3
> libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1
> librtmp/2.3
> Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian,
> wxMSW
> Build Info:
> wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
> Boost: 1.60.0
> Curl: 7.54.1
> Compiler: GCC 7.1.0 with C++ ABI 1011
>
> Build settings:
> USE_WX_GRAPHICS_CONTEXT=OFF
> USE_WX_OVERLAY=OFF
> KICAD_SCRIPTING=ON
> KICAD_SCRIPTING_MODULES=ON
> KICAD_SCRIPTING_WXPYTHON=ON
> KICAD_SCRIPTING_ACTION_MENU=ON
> BUILD_GITHUB_PLUGIN=ON
> KICAD_USE_OCE=ON
> KICAD_SPICE=ON
>
>
> On Wed, Sep 13, 2017 at 3:02 AM, Marcos Chaparro 
> wrote:
>
>> I can confirm this on sept 6 nighties.
>>
>> Regards
>>
>> On Sep 13, 2017 03:07, "Strontium"  wrote:
>>
>>> On 13/09/17 13:24, Nick Østergaard wrote:
>>>
 What version of kicad did he test?

>>> Application: kicad
>>> Version: no-vcs-found-8182369~60~ubuntu16.04.1, release build
>>> Libraries:
>>> wxWidgets 3.0.2
>>> libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
>>> Platform: Linux 4.4.0-93-generic x86_64, 64 bit, Little endian, wxGTK
>>> Build Info:
>>> wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+
>>> 2.24
>>> Boost: 1.58.0
>>> Curl: 7.47.0
>>> Compiler: GCC 5.4.0 with C++ ABI 1009
>>>
>>> Build settings:
>>> USE_WX_GRAPHICS_CONTEXT=OFF
>>> USE_WX_OVERLAY=OFF
>>> KICAD_SCRIPTING=ON
>>> KICAD_SCRIPTING_MODULES=ON
>>> KICAD_SCRIPTING_WXPYTHON=ON
>>> KICAD_SCRIPTING_ACTION_MENU=ON
>>> BUILD_GITHUB_PLUGIN=ON
>>> KICAD_USE_OCE=ON
>>> KICAD_SPICE=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
>>
>>
>
>
> --
> Remember The Past, Live The Present, Change The Future
> Those who look only to the past or the present are certain to miss the
> future [JFK]
>
> kandre...@gmail.com
> Live Long and Prosper,
> Andrey
>
> ___
> 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] 1: GAL Bug with Window Buttons

2017-09-13 Thread Bernhard Stegmaier
Yes, they are not shown for MacOS.
I tried to get them working long ago, but didn’t succeed.
However, this might just have been due to my inability… :)


Regards,
Bernhard

> On 13. Sep 2017, at 21:54, Jon Evans  wrote:
> 
> The scrollbars are also disabled on MacOS in the code (for reasons I don't 
> know) -- is there a bug in LP for this already?  I couldn't find one with a 
> quick search.
> 
> On Wed, Sep 13, 2017 at 1:37 PM, Andrey Kuznetsov  > wrote:
> Same thing here:
> 
> Application: kicad
> Version: (2017-09-07 revision 90668f9ef)-makepkg, release build
> Libraries:
> wxWidgets 3.0.3
> libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 
> librtmp/2.3
> Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
> Build Info:
> wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
> Boost: 1.60.0
> Curl: 7.54.1
> Compiler: GCC 7.1.0 with C++ ABI 1011
> 
> Build settings:
> USE_WX_GRAPHICS_CONTEXT=OFF
> USE_WX_OVERLAY=OFF
> KICAD_SCRIPTING=ON
> KICAD_SCRIPTING_MODULES=ON
> KICAD_SCRIPTING_WXPYTHON=ON
> KICAD_SCRIPTING_ACTION_MENU=ON
> BUILD_GITHUB_PLUGIN=ON
> KICAD_USE_OCE=ON
> KICAD_SPICE=ON
> 
> 
> On Wed, Sep 13, 2017 at 3:02 AM, Marcos Chaparro  > wrote:
> I can confirm this on sept 6 nighties.
> 
> Regards
> 
> On Sep 13, 2017 03:07, "Strontium"  > wrote:
> On 13/09/17 13:24, Nick Østergaard wrote:
> What version of kicad did he test?
> Application: kicad
> Version: no-vcs-found-8182369~60~ubuntu16.04.1, release build
> Libraries:
> wxWidgets 3.0.2
> libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
> Platform: Linux 4.4.0-93-generic x86_64, 64 bit, Little endian, wxGTK
> Build Info:
> wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
> Boost: 1.58.0
> Curl: 7.47.0
> Compiler: GCC 5.4.0 with C++ ABI 1009
> 
> Build settings:
> USE_WX_GRAPHICS_CONTEXT=OFF
> USE_WX_OVERLAY=OFF
> KICAD_SCRIPTING=ON
> KICAD_SCRIPTING_MODULES=ON
> KICAD_SCRIPTING_WXPYTHON=ON
> KICAD_SCRIPTING_ACTION_MENU=ON
> BUILD_GITHUB_PLUGIN=ON
> KICAD_USE_OCE=ON
> KICAD_SPICE=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 
> 
> 
> 
> 
> 
> -- 
> Remember The Past, Live The Present, Change The Future
> Those who look only to the past or the present are certain to miss the future 
> [JFK]
> 
> kandre...@gmail.com 
> Live Long and Prosper,
> Andrey
> 
> ___
> 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] 1: GAL Bug with Window Buttons

2017-09-13 Thread Jon Evans
Hi all,

Here's a patch that adds support for the scrollbar buttons (and clicking in
the empty space) in GAL.
Seems to work okay in Linux, but that's all I can test tonight.
Let me know if you find any issues.


-Jon

On Wed, Sep 13, 2017 at 5:38 PM, Bernhard Stegmaier  wrote:

> Yes, they are not shown for MacOS.
> I tried to get them working long ago, but didn’t succeed.
> However, this might just have been due to my inability… :)
>
>
> Regards,
> Bernhard
>
> On 13. Sep 2017, at 21:54, Jon Evans  wrote:
>
> The scrollbars are also disabled on MacOS in the code (for reasons I don't
> know) -- is there a bug in LP for this already?  I couldn't find one with a
> quick search.
>
> On Wed, Sep 13, 2017 at 1:37 PM, Andrey Kuznetsov 
> wrote:
>
>> Same thing here:
>>
>> Application: kicad
>> Version: (2017-09-07 revision 90668f9ef)-makepkg, release build
>> Libraries:
>> wxWidgets 3.0.3
>> libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0
>> nghttp2/1.23.1 librtmp/2.3
>> Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian,
>> wxMSW
>> Build Info:
>> wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
>> Boost: 1.60.0
>> Curl: 7.54.1
>> Compiler: GCC 7.1.0 with C++ ABI 1011
>>
>> Build settings:
>> USE_WX_GRAPHICS_CONTEXT=OFF
>> USE_WX_OVERLAY=OFF
>> KICAD_SCRIPTING=ON
>> KICAD_SCRIPTING_MODULES=ON
>> KICAD_SCRIPTING_WXPYTHON=ON
>> KICAD_SCRIPTING_ACTION_MENU=ON
>> BUILD_GITHUB_PLUGIN=ON
>> KICAD_USE_OCE=ON
>> KICAD_SPICE=ON
>>
>>
>> On Wed, Sep 13, 2017 at 3:02 AM, Marcos Chaparro 
>> wrote:
>>
>>> I can confirm this on sept 6 nighties.
>>>
>>> Regards
>>>
>>> On Sep 13, 2017 03:07, "Strontium"  wrote:
>>>
 On 13/09/17 13:24, Nick Østergaard wrote:

> What version of kicad did he test?
>
 Application: kicad
 Version: no-vcs-found-8182369~60~ubuntu16.04.1, release build
 Libraries:
 wxWidgets 3.0.2
 libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
 Platform: Linux 4.4.0-93-generic x86_64, 64 bit, Little endian, wxGTK
 Build Info:
 wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+
 2.24
 Boost: 1.58.0
 Curl: 7.47.0
 Compiler: GCC 5.4.0 with C++ ABI 1009

 Build settings:
 USE_WX_GRAPHICS_CONTEXT=OFF
 USE_WX_OVERLAY=OFF
 KICAD_SCRIPTING=ON
 KICAD_SCRIPTING_MODULES=ON
 KICAD_SCRIPTING_WXPYTHON=ON
 KICAD_SCRIPTING_ACTION_MENU=ON
 BUILD_GITHUB_PLUGIN=ON
 KICAD_USE_OCE=ON
 KICAD_SPICE=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
>>>
>>>
>>
>>
>> --
>> Remember The Past, Live The Present, Change The Future
>> Those who look only to the past or the present are certain to miss the
>> future [JFK]
>>
>> kandre...@gmail.com
>> Live Long and Prosper,
>> Andrey
>>
>> ___
>> 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
>
>
>
From 8a93c2d1ac32dcf4cc49f55ce49945d2317f4154 Mon Sep 17 00:00:00 2001
From: Jon Evans 
Date: Wed, 13 Sep 2017 20:07:29 -0400
Subject: [PATCH] Support scrollbar controls in GAL canvas

---
 common/view/wx_view_controls.cpp | 59 +++-
 1 file changed, 52 insertions(+), 7 deletions(-)

diff --git a/common/view/wx_view_controls.cpp b/common/view/wx_view_controls.cpp
index 9f9dcdc8b..d403e6581 100644
--- a/common/view/wx_view_controls.cpp
+++ b/common/view/wx_view_controls.cpp
@@ -63,6 +63,14 @@ WX_VIEW_CONTROLS::WX_VIEW_CONTROLS( VIEW* aView, wxScrolledCanvas* aParentPanel
 wxMouseEventHandler( WX_VIEW_CONTROLS::onLeave ), NULL, this );
 m_parentPanel->Connect( wxEVT_SCROLLWIN_THUMBTRACK,
 wxScrollWinEventHandler( WX_VIEW_CONTROLS::onScroll ), NULL, this );
+m_parentPanel->Connect( wxEVT_SCROLLWIN_LINEUP,
+wxScrollWinEventHandler( WX_VIEW_CONTROLS::onScroll ), NULL, this );
+m_parentPanel

[Kicad-developers] [PATCH] Set modified flag when changing layer visibility (lp:793420)

2017-09-13 Thread Jon Evans
Hi,

This is a partial fix for https://bugs.launchpad.net/kicad/+bug/793420 --
addresses the issue that layer visibility changes don't mark the board as
needing a save.

-Jon
From ee6434e5691fc6f3be88cbce657dde99c3f33990 Mon Sep 17 00:00:00 2001
From: Jon Evans 
Date: Wed, 13 Sep 2017 22:23:27 -0400
Subject: [PATCH] Set modified flag when changing layer visibility (lp:793420)

---
 pcbnew/class_pcb_layer_widget.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pcbnew/class_pcb_layer_widget.cpp b/pcbnew/class_pcb_layer_widget.cpp
index 8c39e20a6..4490c26a2 100644
--- a/pcbnew/class_pcb_layer_widget.cpp
+++ b/pcbnew/class_pcb_layer_widget.cpp
@@ -614,6 +614,8 @@ void PCB_LAYER_WIDGET::OnLayerVisible( int aLayer, bool isVisible, bool isFinal
 
 brd->SetVisibleLayers( visibleLayers );
 
+myframe->OnModify();
+
 EDA_DRAW_PANEL_GAL* galCanvas = myframe->GetGalCanvas();
 
 if( galCanvas )
-- 
2.11.0

___
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] 1: GAL Bug with Window Buttons

2017-09-13 Thread jp charras
Le 14/09/2017 à 02:21, Jon Evans a écrit :
> Hi all,
> 
> Here's a patch that adds support for the scrollbar buttons (and clicking in 
> the empty space) in GAL.
> Seems to work okay in Linux, but that's all I can test tonight.
> Let me know if you find any issues.
> 
> 
> -Jon
> 

It works fine also on Windows.
I committed it. Thanks.


-- 
Jean-Pierre CHARRAS

___
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