Drag and Drop bugs

e-me's picture

a) When using pictures in draggables, the hover text is visible in edit mode but not in execute mode that is needed.

b) When the Show label for a Drag area is NOT checked, the label does not show but it still shows the hover text. It would be desirable to hide both the title and the hover text.

c) Sometimes the selection of zones in which a draggable can be placed is changed arbitrarily, even though changes are saved and the content type is updated.

// Wordpress H5P plugin v.1.10.1 || Desktop || Mozilla Firefox

Content types: 
BV52's picture

Hi e-me,

a) Hover issue is resolved since the latest release of Drag and Drop.

b) This is by design since hover texts is also used for screen readers.

c) Could you please elaborate this, a test content will also help in diagnosing the issue.

-BV52

papi Jo's picture

a) This bug has been reported quite a few times already, including by me more than a year ago. There is a fix waiting for approval. See H5P Image: hover text not working This bug has indeed been fixed in the current release. Please update your Drag & Drop.

b) I have re-written your statement using the exact H5P terminology for the Drag & Drop content: When the Show label for a Drop Zone is NOT checked, the label does not show but it still shows the hover text.

This is no longer true. In this example I have just created on the H5P site the Show label for the drop zone is not checked and the label is not visible on hover. Maybe you are not using the latest version of Drag & Drop available?

c) Sometimes the selection of zones in which a draggable can be placed is changed arbitrarily, even though changes are saved and the content type is updated.

Unfortunately it is impossible to examine bugs which happen "sometimes" if you do not provide the exact detailed circumstances of that happening.

BV52's picture

Thanks for the input papi Jo, as usual spot on :-)

-BV52

Hi H5P team - 

I'm testing a drag and drop activity and when I have Show Label box unchecked, the screen reader (NVDA) isn't able to read the title. Is this a bug or by design? 

If needed, I'll happily submit a feature request for the ability to have the label hidden but accessible to screen readers. 

Thank you!

BV52's picture

Hi Chelsey,

Thank you for reporting this. I filed a bug report and you can follow the progress here.

-BV

e-me's picture

Guys (BV52, papi Jo) thanks a lot for your responses

It seems as if "Drag and Drop" cannot count the right number of correct points whenever there is more than one correct answer for a drop zone.

Pleae have a look at  the following H5P file:

https://h5p.org/node/700706

For instance, for the first question (= "Drag and Drop") of the question set I only get 5 / 7 points although all answers are correct (see screenshot attached):

Furthermore, sometimes I get changing results in counting when I change something and undo the change. 

Could you help me?

Attachments: 
otacke's picture

Hi Cornel!

I assume that you have allowed two correct solutions for tow of the lower drop zones because of associativity. If you allow infinite instances to be drawn from the options, Drag&Drop will expect all the correct solutions for a drop zone to be present, not just one of them.

For the random counting issue: Please provide more specifics for reproducing the problem.

Cheers,
Oliver

BV52's picture

Hi Cornel,

I'm afraid Drag and Drop does not have an 'or' feature for scoring, it adds all the possible answers to the total score.

-BV

Dear otacke, dear BV52,

Thank you very much for your very fast reply!

OK, you are right – if I allow infinite instances it does not work. That was also one finding I have already had. Nevertheless, if I do allow only one instance of each field to be drawn it only works from time to time. For the h5p file already mentioned

https://h5p.org/node/700706

I change the first two quizzes in the way that I only allow single instances of each field – and therefore doubled some fields in the second quiz. The first quiz works with that workaround (and shows the correct numbers of stars) – the second does not (all fields are green but I get onyl 9/14 stars – see screenshot attached). AND the first quiz does have an "OR" for "R" and "I".

So sometimes "OR" works. Have a look at the following very simple h5p file:

https://h5p.org/node/493326

"m" and "a" can be dropped on either of the two drop zones and I get 2/2 stars.

Concerning the random counting issue: I try to reproduce it.

Thanks in advance!

Cornel

Attachments: 
otacke's picture

Hi Cornel!

That could in fact be a flaw in the logic. I assume you'd have to at least cap the maximum score to the number of draggables if none of them can have multiple instances. But maybe there's a reason behind this and changes could possibly break existing content that relies on the current logic, so someone of the H5P core team should probably have a closer look.

Best,

Oliver 

Hello otacke,

Thanks for the reply. So how can I contact someone of the H5P core team to show her/him the possible flaw?

Cheers,

Cornel

otacke's picture

Hi Cornel!

The core team is actively monitoring this forum via BV52. He'll respond here soon, for sure.

Best,
Oliver

BV52's picture

Hi Cornel and Oliver,

Correct me if I'm wrong this feels like a feature request rather than a bug since there really is not feature that sets a maximum number of points.

Also there is a prototype Drag and Drop feature from Papi Jo that may be of use. You can check the this thread for more details. It is not exactly what Cornel is looking for but maybe you can leverage the fact that the features that Papi Jo will let you drop any of the draggables and you will still get the same score.

-BV

Hi BV52,

I am pretty sure that we are talking about a bug rather than a feature report because on the one hand it works sometimes and sometimes not and on the other I am convinced you should get all possible stars if everything is sorted in the right way (see screenshot attached). Please correct me if I am wrong or try to explain to me where to number 9 of 14 on the screenshot comes from. I do not understand it.

I also had a look at what Papi is looking for, and I assume it is something different. He is looking for a solution that if a specified number of draggables is met the dropzone returns "correct". I just want that more than one item is counted as correct for a specific drop zone. That possibility is already implemented but simply does not work all the time.

Thanks in advance!

Cheers,

Cornel

Attachments: 

Hi BV52,

Please have a look at my following first Drag and Drop of the Question Set:

Six drop zones, only one correct drawable item per drop zone, no infinite instance but still only 6 of 10 stars although all answers were right (see screenshot attached).

How can this happen if it is not a bug?

Cheers,

Cornel

 

Attachments: 
BV52's picture

Hi Cornel,

You are correct and thank for the clarification and screenshots. Drag and Drop is an awesome content but sometimes it is really a hard nut to crack.

Anyway looking at the screenshots I see that you have static texts. I am assuming that along the way of creating/editing the content you may have set these as a draggable and changed it to static text. That is the bug described it this report. Removing and recreating these static text should resolve the scoring issues for that specific Drag and Drop activity.

-BV

Hello BV52,

Thank you very much for the hint – it works. Nevertheless it is quite tedious to find the wrong static text box or image – especially if there are more than just a few.

Since the report you have posted is already almost 2 years old – without any improvement: Is there a chance that this bug will be fixed in the (near) future?

Cheers,

Cornel

BV52's picture

Hi Cornel,

I'm glad it worked although I would agree it can be bit tedious.

In terms of the bug getting fixed I can't give any timelines. The core team is very small and prioritizes issues that breaks 'basic' functionalities of the contents.

-BV

 

I am trying to set up drag and drop to be able to classify a bunch of items, but allow the user to classify incorrectly.

In this example I have 5 items which are to be dropped into three landing zones, although each item has only one correct landing zone that it should be placed in.

The intention is that the 5 items should be able to be placed in any of the three zones (i.e., allow the user to choose an incorrect zone).  As I understand it, choosing "Select All" in the drop zones selection allows this.

The problem occurs when I then attempt to edit the drop zones to "Select correct elements"

In this example, all the elements to be classified have "Select all" for allowable drop zones, except the item "Fake Invoices" which has only the one drop zone "Integration" (i.e., as a sort of control element for the bug I'm trying to describe).

Screen 1 shows the first step of the cycle, where the "Integration" landing zone has four out of five elements checked as "correct".  However, only two should be checked - "Fake Invoices" and "Charity Director".  So, I uncheck the others and leave just the two correct answers checked and click the "Done" button

Screen 2 shows the second step of the cycle. I have immediately re-opened the "Integration" drop zone, and find that only "Fake Invoices" is checked.  I have done nothing except click "done" to close the landing zone edit window, and then immediately re-open it.  However, the answer is now incorrect, as "Charity Director" is not checked.  So, I check "Charity Director" as a correct answer, to add to "Fake Invoices" which I leave checked (i.e., two out of the five possibilities are again identified as "correct").  I then click "done" and close the edit window.

Step 3 - on immediately re-opening the landing zone edit window, I am now back to step 1...the landing zone shows four elements checked as correct.

So, some sort of doom loop.  

Is there a formatting issue I am missing, or is this indeed a bug?

 

Attachments: 
BV52's picture

Hi blegal,

I suggest that you attach your content here. I haven't encountered something like this and I also can't reproduce the issue on my end.

Also does this happen to any DnD that you create or only for this specific one?

-BV