Impossible to drag and drop to change categorization of (Bug #931)


Added by Pierre H 9 months ago. Updated 26 days ago.


Status:New Start date:09/19/2024
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

In version 1.6.0+git20240317102301 installed with MacPorts on macOS Sonoma, it is not possible to change the categorization of checkboxes extracted from the scan after automatic input using drag and drop.

When attempting to drag and drop a box from one area to another, nothing happens, and the terminal displays the following message:

Use of uninitialized value $id in concatenation (.) or string at /opt/local/lib/perl5/vendor_perl/5.34/AMC/Gui/Zooms.pm line 519.
Use of uninitialized value $id in hash element at /opt/local/lib/perl5/vendor_perl/5.34/AMC/Gui/Zooms.pm line 521.


AMC-DEBUG-kU5NDErA.log (71.9 kB) Joël Brogniart, 06/05/2025 10:13 am

click.png (17.7 kB) Alexis Bienvenüe, 06/05/2025 11:34 am


History

Updated by Alexis Bienvenüe 26 days ago

I'm afraid I can't reproduce the bug as it seems to work on linux and I don't have any macOS box…
Is it working with the 'click' workflow?

Updated by Joël Brogniart 26 days ago

I have just tested drag and drop with version 1.7.0 on macOS in debug mode and indeed, after dropping, the visually moved box does not appear in the drop zone.
I've attached a log of the operations, a move of a white square into the black area and a move of a black square into the white area.
The following information is displayed in the terminal during operations.

Use of uninitialized value $id in concatenation (.) or string at /opt/local/lib/perl5/vendor_perl/5.34/AMC/Gui/Zooms.pm line 519.
Use of uninitialized value $id in hash element at /opt/local/lib/perl5/vendor_perl/5.34/AMC/Gui/Zooms.pm line 521.
Use of uninitialized value in numeric ne (!=) at /opt/local/lib/perl5/vendor_perl/5.34/AMC/Gui/Zooms.pm line 521.
Use of uninitialized value $id in concatenation (.) or string at /opt/local/lib/perl5/vendor_perl/5.34/AMC/Gui/Zooms.pm line 519.
Use of uninitialized value $id in hash element at /opt/local/lib/perl5/vendor_perl/5.34/AMC/Gui/Zooms.pm line 521.
Use of uninitialized value in numeric ne (!=) at /opt/local/lib/perl5/vendor_perl/5.34/AMC/Gui/Zooms.pm line 521.
Use of uninitialized value $id in hash element at /opt/local/lib/perl5/vendor_perl/5.34/AMC/Gui/Zooms.pm line 522.

Updated by Joël Brogniart 26 days ago

Apart for testing, I haven't used AMC for a while. I can't remember what is the 'click' workflow? A click on a case in the zomm window doesn't do anything.

Updated by Pierre H 26 days ago

Yes, clicking works perfectly : clicking a checkbox successfully changes its status. When I initially reported the bug, I hadn’t yet realized that clicking had the same effect as drag-and-drop.

Since then, I’ve updated to macOS 15.5, but drag-and-drop still doesn’t work (although clicking continues to work as expected).

Perhaps this could be mentioned in the doc. On page 5 https://www.auto-multiple-choice.net/pdf/auto-multiple-choice-doc-en.pdf : "Verify whether the detection worked correctly, and correct it if needed by dragging and dropping or clicking the box images."

Updated by Joël Brogniart 26 days ago

Tested with AMC 1.7.0+git20250604122134 and neither drag and drop nor click change the status of a box for me.

Updated by Alexis Bienvenüe 26 days ago

For clicking to work tou have to select this workflow here:

Then, left-click on box changes its status, and right-click on box changes the status of all boxes that are closer to the threshold.

Updated by Joël Brogniart 26 days ago

OK, ça marche parfaitement pour le clic alors ;-)

Updated by Joël Brogniart 26 days ago

OOps, click functions as expected when click workflow is selected.

Also available in: Atom PDF