Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
vanepp opened this issue Oct 22, 2021 · 9 comments
Closed
Milestone

Comments

@vanepp
Copy link
Contributor

vanepp commented Oct 22, 2021

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.

failiz added a commit to failiz/fritzing-app that referenced this issue Oct 22, 2021
@KjellMorgenstern
Copy link
Member

Right click will show the context of the label:
image

@KjellMorgenstern
Copy link
Member

KjellMorgenstern commented Nov 15, 2021

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

@failiz
Copy link
Contributor

failiz commented Nov 15, 2021

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
Copy link
Contributor

failiz commented Feb 26, 2024

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.)

@KjellMorgenstern
Copy link
Member

KjellMorgenstern commented Feb 26, 2024

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
Copy link
Member

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

@failiz
Copy link
Contributor

failiz commented Feb 26, 2024

I'm in windows with a mouse

@failiz
Copy link
Contributor

failiz commented Feb 27, 2024

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

@KjellMorgenstern
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants