kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #19291
Re: A question about the crosshair behaivour
On 7/12/2015 3:51 PM, jp charras wrote:
> Le 12/07/2015 21:12, Andrew Zonenberg a écrit :
>> I pushed a patch to advanced-feature-bugfixes that hides the
>> cursor when the mouse is outside the window. This only applies to
>> GAL and does not change legacy.
>>
>> JP, can you be more specific about what would break in legacy if I
>> were to do the same?
>>
>>
>
> When you are clicking on a component or a pin in schematic editor, the
> graphic cursor of the board editor ( in legacy mode) is moved to the
> footprint or the pad.
>
> When you are clicking on a footprint or a pad, the graphic cursor of
> the schematic editor ( in legacy mode) is moved to the component or
> the pin in schematic editor.
>
> if the graphic cursor is hidden, the cross probing shows nothing.
>
Oops! Good catch JP. I forgot about that. The cross-probing should
work the same way (at least as much as possible) in both canvases. I
use this feature quite a bit on dual monitor setups. That being said,
we should be able to clear the crosshair when leaving the canvas and
redraw the crosshair when a crossprobing message is received unless
another mouse leave message is sent after the crossprobe event occurs.
I would expect that's not the case but occasionally there are some
surprise messages that get sent by wxWidgets.
References