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

0 Members and 1 Guest are viewing this topic.

Offline DanielSkevingtonTopic starter

  • Newbie
  • Posts: 6
  • Country: gb
Eeschema auto pan speed
« on: April 10, 2018, 04:56:04 pm »
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: 74
  • Country: gb
Re: Eeschema auto pan speed
« Reply #1 on: April 10, 2018, 05:31:34 pm »
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: 74
  • Country: gb
Re: Eeschema auto pan speed
« Reply #2 on: April 10, 2018, 07:55:27 pm »
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 DanielSkevingtonTopic starter

  • Newbie
  • Posts: 6
  • Country: gb
Re: Eeschema auto pan speed
« Reply #3 on: April 10, 2018, 08:02:54 pm »
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