fritzing-app icon indicating copy to clipboard operation
fritzing-app copied to clipboard

In schematic right clicking then moving a label causes a jump in position

Open vanepp opened this issue 4 years ago • 9 comments

Current Behaviour

If you place a part in schematic, then right click on the label and move it slightly (1 grid line in this case) the position jumps a large distance.

capture

like this

capture1

if you left click on the label and move it it moves as expected only 1 grid line without jumping a large (and apparently random) direction,.

Build:

Version 0.9.9 (bCD-348-0-f0af53a9 2021-09-22) 64 [Qt 5.15.2]

Operating System: Windows 10

Steps to reproduce:

  • See current behaviour

Expected Behaviour

The label should move with the mouse as a left mouse click does not jump.

vanepp avatar Oct 22 '21 15:10 vanepp

Right click will show the context of the label: image

KjellMorgenstern avatar Nov 13 '21 11:11 KjellMorgenstern

I have trouble to reproduce this issue. But when I right-click on a label, it can not be moved at all in Fritzing 0.9.9 ? The context menu will be shown instead, as expected. We have fixed a similar issue related to undo/redo, but I think that was already in 0.9.7

KjellMorgenstern avatar Nov 15 '21 07:11 KjellMorgenstern

I could reproduce it in 0.9.9. I think you have to move the label first (with the left button) and then try to right click.

failiz avatar Nov 15 '21 08:11 failiz

Still an issue in 1.0.2.

Steps:

  • Add a resistor
  • Move the label.
  • Right-click on the label and hold the right-click! Then move the mouse while holding the right-click. Then the label jumps. Easily reproducible. (The right-click menu only appears when releasing the right-click.)

failiz avatar Feb 26 '24 12:02 failiz

Trying to reproduce this here, but the right click menu immediately appears when pressing the right mouse button.

When you right click the resistor itself, does the menu also delay until the button is released again?

KjellMorgenstern avatar Feb 26 '24 14:02 KjellMorgenstern

Which input device are you using? Mouse or touchpad? I am currently testing on Linux, with a mouse.

KjellMorgenstern avatar Feb 26 '24 14:02 KjellMorgenstern

I'm in windows with a mouse

failiz avatar Feb 26 '24 15:02 failiz

When you right click the resistor itself, does the menu also delay until the button is released again?

Yes, the menu only appears when releasing the button, both for the resistor or the label

failiz avatar Feb 27 '24 09:02 failiz

I was able to reproduce it on windows as you described. Behavior of reacting on release vs on press is due to the OS conventions. The fix works on Windows (emulator), with Ubuntu, mouse and touchpad. I'll also try with a macbook, then add it to 1.0.3

KjellMorgenstern avatar Feb 27 '24 10:02 KjellMorgenstern