Bug: snapping to lines

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: Tracker Support, TrackerSupp-Daniel, Sean - Tracker, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
KD952
User
Posts: 67
Joined: Mon Feb 13, 2023 6:13 am

Bug: snapping to lines

Post by KD952 »

Hello!

I just upgraded to build 385
Bild_2024-03-02_092057518.png
Snapping to mid-point no longer works with lines on build 385.

Here are my settings:
Bild_2024-03-02_091727822.png
As you can see in the following gif snapping to mid-point no longer works for lines.
Still works for polygon lines.
clip0010-ezgif.com-video-to-gif-converter.gif
Kind regards,
Daniel
User avatar
David.P
User
Posts: 1525
Joined: Thu Feb 28, 2008 8:16 pm

Re: Bug: snapping to lines

Post by David.P »

Wow, as if snapping alone wouldn't be a totally awesome feature for an PDF Editor, it is even configurable! I didn't know that.

When the devs take a look into this bug as reported by Daniel, maybe a tiny audible feedback could be added to the snapping feature?

That would make snapping even more intuitive. I have been using a similar feature (programmed in AutoHotKey) for years in PowerPoint, which is my main drawing program, and it makes drawing stuff all day long so much faster and less tiring.

Actually, I have made that feature active system-wide in the meantime. It makes a tiny "click" sound every time the mouse cursor changes, i.e. when you hover or pass over things with your mouse:

Code: Select all

SetTimer, CursorClick, 11 ; run every 11 milliseconds

CursorClick:
	CursorNow := A_Cursor ; determine the current cursor
	If (CursorNow != "IBeam") and (CursorNow != "Arrow") and  (CursorNow != CursorPrevious) ; determine if the cursor has changed (except if the cursor is =IBeam or =Arrow)
		{
		;~ ToolTip, CursorClick %CursorPrevious% %CursorNow% ; shows what the current cursor is, for debugging
        SoundPlay, C:\Windows\Media\MenuPopup.wav  ; play a tiny click sound
		}
	CursorPrevious := CursorNow
Return
The MenuPopup.wav file is attached, just put this into your C:\Windows\Media folder to try.

Thanks for considering!

Best regards
David

MenuPopup.wav.zip
(268 Bytes) Downloaded 1 time
David.P
PDF-XChange Pro
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 18113
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Bug: snapping to lines

Post by Tracker Supp-Stefan »

Hello KD952, David.P,

@KD952 - thanks for your report!
I've managed to reproduce the issue and have created the ticket for our devs so that they can get this resolved:
#6800: Editor 385: Snapping to midpoint works only for some annotations

@David P - I will make sure that the dev team also sees and considers your comments, but I can't make promises for such a sound being added from our side!

Kind regards,
Stefan
KD952
User
Posts: 67
Joined: Mon Feb 13, 2023 6:13 am

Re: Bug: snapping to lines

Post by KD952 »

Hello Stefan!

Could you expand the ticket to include the following problem:

"Snapping position indicators no longer show up for area tool, perimeter tool and polygon line tool when pressing shift key"
area_tool.gif
Kind regards,
Daniel
User avatar
Jordan - Tracker Supp
Site Admin
Posts: 105
Joined: Mon Jul 03, 2023 3:10 pm

Re: Bug: snapping to lines

Post by Jordan - Tracker Supp »

Hello KD952,

Pressing Shift key does have a different function when used with those two tools - to draw the line in increments of 15 degree for more precision. And if the perimeter/area tool start from outside the figure ( when including other shapes or more complex areas) ,there are cases that you will not be able to select the snap point.

Holding the key to show snap position and then to have to relies it in order to link your line does not sound very functional.

The snap point do show when you hover over it and holding shift for the first helps if the snap point is the first used by the tool. I did check several builds back, but I was not able to find one where the Shift key had that function.
Best regards,
Jordan
KD952
User
Posts: 67
Joined: Mon Feb 13, 2023 6:13 am

Re: Bug: snapping to lines

Post by KD952 »

Hello Jordan!

The area tool, perimeter tool and polygon line tool did lose this functionality recently. Cannot say which build.

For comparison line tool still works as intended.
Snapping position indicators show up while holding shift key.

line_tool + shift key.gif
Kind regards,
Daniel.
KD952
User
Posts: 67
Joined: Mon Feb 13, 2023 6:13 am

Re: Bug: snapping to lines

Post by KD952 »

Maybe a better wording would be:

"Snapping position indicators disappear while pressing shift key" (for area tool, perimeter tool and polygon line tool)
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8787
Joined: Wed Jan 03, 2018 6:52 pm

Re: Bug: snapping to lines

Post by TrackerSupp-Daniel »

Hello, KD952

Thank you for the excellent explanation, I have successfully reproduced the issue, and created a ticket showcasing it. As per usual, this is an internal ticket, but you can ask any member of the support team for updates in the future:

RT#6852: Bug: Poly-Tools - snap icon not shown when shift is held.

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8787
Joined: Wed Jan 03, 2018 6:52 pm

Re: Bug: snapping to lines

Post by TrackerSupp-Daniel »

Hello,

A quick followup here, this ticket has been rejected, not because it is not a bug, but because the issue at hand is not the lack of snap point icons, that is actually by design. When shift is held, snapping to other objects should not happen at all, because it is not possible to reliably do so.

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
KD952
User
Posts: 67
Joined: Mon Feb 13, 2023 6:13 am

Re: Bug: snapping to lines

Post by KD952 »

Hello Daniel!

I have to strongly disagree with the developers on this point.

Snapping while shift is held has reliably worked for many many years.
At least going back to Version 8 probably Version 7 too.


I had to roll back to a previous version to record the following videos:

1. Measuring areas is faster and less prone to error when using shift + snapping because you don't have to make sure that you catch the end points. You just have to catch the next line.
01.gif


2. Measuring areas with cut outs is only accurately possible when using shift + snapping because you can make sure to not mark areas more than once.
02.gif


3. Measuring sloppy drawn technical drawings is much easier when using shift + snapping because you can close the gaps where lines are not intersecting.
03.gif
Kind regards,
Daniel
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8787
Joined: Wed Jan 03, 2018 6:52 pm

Re: Bug: snapping to lines

Post by TrackerSupp-Daniel »

Hello, KD952

Thank you very much for bringing this back up, I have forwarded your feedback to the Dev team to have the hopefully reconsider this. I cannot make any promises, but there have in the past been some cases where rejected tickets are revived.

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Post Reply