? Success

User tests: Successful: Unsuccessful:

avatar Erftralle
Erftralle
3 Feb 2015

When using the old fashioned mootools tooltips they are not displayed correctly like you can see in the following picture.
screen shot 2015-02-03 at 16 49 56
If using the mootools element storage they display correctly, you can see that in the next screen shot.
screen shot 2015-02-03 at 16 50 22

avatar Erftralle Erftralle - open - 3 Feb 2015
avatar jissues-bot jissues-bot - change - 3 Feb 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 3 Feb 2015
Category JavaScript
avatar zero-24
zero-24 - comment - 3 Feb 2015

@Erftralle can you re-add your images via this link it looks like that they are missing now: http://issues.joomla.org/tracker/joomla-cms/5958/edit

Thanks!


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5958.
avatar wilsonge
wilsonge - comment - 3 Feb 2015

Note to any testers make sure you test on IE8 as this method was changed as part of 3.3 beta 3 where tips were broken in IE8

avatar Erftralle Erftralle - change - 3 Feb 2015
The description was changed
avatar Erftralle
Erftralle - comment - 3 Feb 2015

@zero-24 Done!

avatar Erftralle
Erftralle - comment - 4 Feb 2015

@wilsonge Thank's for the hint. The changes of the first commit are not sufficient to work in IE8, the second one should.

avatar Erftralle
Erftralle - comment - 11 Feb 2015

I don't want to give up the hope to find some testers for this pull request but unfortunately Joomla! itself doesn't use Mootools tooltips any more.

Test instructions

If you would like to test it to give feedback please install Joomla-3.2-Hello-World-Component Step 10, create a menu item and append the following code lines to the file components/com_helloworld/views/helloworld/tmpl/default.php:

<?php JHtmlBehavior::tooltip()?>
<a class="hasTip btn btn-large btn-info" title="Title of the Mootools tooltip::Text of the Mootools tooltip. More text of the Mootools tooltip." href="http://www.example.com">Test the Mootools tooltip here!</a>

This additional code shows up a test button in the front end of the component and when you hover above it it will display a mootools tooltip.

Test it with and without the pull request patch and you will see the difference.

avatar brianteeman
brianteeman - comment - 11 Feb 2015

@test Before patch the url in the href is displayed - after the patch it is not
Not tested in IE

avatar Erftralle
Erftralle - comment - 22 Feb 2015

Thank's @brianteeman for testing!
If you have a closer look at the two pictures above (showing the tooltips before and after the patch) it is not only that the href is not displayed any longer. Without the patch Mootools is not able to distinguish between the title and the text of the tooltip.
You can see that in the first picture, there is no headline and you can see the double double point (MyFavourites::Here you can ...). After the patch you can see a centered headline and no double double point any more.

The reason for that is, that before the patch, the jQuery element storage is used to store title and text of the tooltip. Unfortunately Mootools has no access to it, so we have to store title and text in the Mootools element storage (see first two lines of the patch). The third line of the code change ensures, that a Mootools element is made out of this, which ensures the code is also working in IE8.

There must be more out there than just me using third party components (e.g. JoomGallery) which are still using the Mootools tooltips und would like to see them working again in Joomla 3.4.0.

I'm not giving up to get some testers ... ;-)

avatar wilsonge wilsonge - change - 25 Feb 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-02-25 00:55:36
avatar wilsonge wilsonge - close - 25 Feb 2015

Add a Comment

Login with GitHub to post a comment