Applet Embedding Toolbar Glitch

caribou-contests shared this problem 5 years ago
In Progress

Hello I use the applet embedding feature specifically with the deployggb.js. On the geogebratube all by tools appear as they should. Once I go to see the embedded version I notice that the last item in the toolbar gets cut off and but underneath the 2nd last item, and is also not clickable!


Any solutions? I've had to just place a placeholder tool like "text" as the last toolt o prevent this cutoff of my needed tool. Also this doesn't seem to happen all the time, but it does happen.

Comments (12)

photo
1

Please post a link to your applet

photo
1

This started to happened when I started to include the french translation for my worksheets, so if you can't read something let me know!


I also attached a png file of it working correctly on geogebratube and not on my embedded worksheet.


Here is the Geogebra Version, toolbar working as expected:


https://www.geogebra.org/m/EmD3QBnJ


Here is the embedded version, Point tool can't be accessed by opening up the side menu and clicking on 'Point'. Here when the Point tool is clicked it automatically switches to the Move tool:


mycariboutests.x10host.com/explore/tutorial.php?lang=fr

photo
1

Anyone run into the same problem or anything?

photo
1

The applet you've linked to doesn't have two tools. Where is this applet on your site?


https://www.geogebra.org/m/EmD3QBnJ

photo
1

Here is the embedded version, Point tool can't be accessed by opening up the side menu and clicking on 'Point'. Here when the Point tool is clicked it automatically switches to the Move tool:

mycariboutests.x10host.com/explore/tutorial.php?lang=fr

photo
photo
1

My test shows the association point to tag Well Done only for point A, as shown.

photo
1

The well done is actually a text field that just becomes visible once the first point is on screen, that's all. Unless you meant something else?

photo
1

Update: Something else I noticed with new worksheets which doesn't happen with the worksheets created in earlier worksheets is that when embedding: the toolbar text help and invalid input alerts appear on the left of the ggbapplet( in my case) instead of inside of the ggbapplet.


This is in addition to the last tool button getting cut off and put under the previous tool and then becoming not clickable.

photo
1

Hi.

According to your applet, here att'd for the sake of clarity, no discrepancies arise. Cheers

photo
1

See the related screenshot, too!

photo
1

Thanks, seems that the GeoGebra feature that collapses two toolboxes when window is too narrow kicked in.

We will try to fix it soon, but in caseyou need a quick solution you may specify the width and height in pixels in parameters of your applets.

photo
1

Thanks for the reply! Also I want to point out that all the worksheets prepared before the latest update still function normally, it is just more recently created worksheets that share this bug.


> specify the width and height in pixels in parameters of your applets


As in the Applet Parameters in my JavaScript?


Thanks again.

photo
© 2021 International GeoGebra Institute