Author Topic: Eeschema auto pan speed  (Read 1539 times)

0 Members and 1 Guest are viewing this topic.

Offline DanielSkevington

  • Contributor
  • Posts: 5
  • Country: gb
Eeschema auto pan speed
« on: April 11, 2018, 02:56:04 am »
I have searched but couldn't find anything about this, apologies if I've missed it.

When I am moving a block of objects, or placing a wire or symbol (or anything else for that matter) in eeschema, if my cursor reaches the edge of the window the program automatically pans in that direction, which is nice in theory but in reality the speed of the panning is so fast that it is basically unusable. Is there a way to change this behaviour? A google search and search of this forum didn't get me anywhere. I've looked through all the eeschema options/preferences and couldn't see it but that doesn't necessarily mean it isn't there...
 

Offline saike

  • Regular Contributor
  • *
  • Posts: 72
  • Country: gb
Re: Eeschema auto pan speed
« Reply #1 on: April 11, 2018, 03:31:34 am »
I resorted to modifying & recompiling the source code to get round this problem. A fairly easy task on Linux, possibly not so easy on a windows machine.

If you want to try this I will see if I can remember which file the relevant code is in.
 

Offline saike

  • Regular Contributor
  • *
  • Posts: 72
  • Country: gb
Re: Eeschema auto pan speed
« Reply #2 on: April 11, 2018, 05:55:27 am »
For the source code downloaded sometime around the end of March 2018

The relevant file is 
Code: [Select]
kicad-source-mirror/common/view/wx_view_controls.cppThe pan function is called
Code: [Select]
bool WX_VIEW_CONTROLS::handleAutoPanning( const wxMouseEvent& aEvent )
Somewhere around line 563 is where the wx_timer is started that handles the auto pan speed.

What is really needed is for this to be set from an external config file but this lack of configurability is something that seems like it will never be fixed in kicad it has been like this for many years.
 

Offline DanielSkevington

  • Contributor
  • Posts: 5
  • Country: gb
Re: Eeschema auto pan speed
« Reply #3 on: April 11, 2018, 06:02:54 am »
Many thanks, I am on Linux as it happens so I will give that a go. Really appreciate the response, cheers!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf