-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redo PR #9379 (fix batch tooltip when mod multilanguage status enabled) #9944
Conversation
hum ... for me the tooltip doesn't exist with or without the PR (using latest staging on chrome). |
@andrepereiradasilva just tested with latest staging and fresh install on Chrome (mac), and i have the label tooltip: Note: with or without patch, tooltip works for me... |
ok, so clearly is something on my part. |
@andrepereiradasilva there's a misunderstanding of this PR... ;-) About this PR To Sum-up Batch modal tooltip issue
Information on Bootstrap tooltip
Why it's different in Batch modals
Why this PR? @andrepereiradasilva so, in your testing, you should have the tooltip in batch modals. If you don't have any tooltip on labels hover, there's another issue... Do you have tested on a fresh staging install ?
And not something else set for |
ok, only for batch modals then :)
I have a clean staging install. tested on windows chrome and firefox and no tooltip in batch modals.
Before and after the PR i have: jQuery(document).ready(function(){
jQuery('.hasTooltip').tooltip({"html": true,"container": "body"});
});
[...]
jQuery(document).ready(function(){
jQuery('#filter_search').tooltip({"html": true,"title": "Search title or alias. Prefix with ID: to search for an article ID.","container": "body"});
});
jQuery(document).ready(function(){
jQuery('.modalTooltip').tooltip({"html": true,"container": ".modal"});
}); |
i think the problem is related to the "Multilingual Status" link z-index in admin status bar (if i remove the status bar i can see the tooltips!). So the problem clearly doesn't came from your PR |
@andrepereiradasilva You will drive me crazy! ;-) So, no need to test with this PR, staging shoudl work... then i don't know why it does not work for you as it should (feedback from other users would be welcome especially on windows, as the issue is maybe not related to the batch modal tooltip directly...) What do you have when you hover labels in batch modals? nothing at all? error in console ? Could you do a test on 3.5.1 stable about batch modals? (or 3.5.0) |
@JoomliC please read my previous updated comment |
Confirmed: Disabled mod_multilanguage admin module and finally i can see the tooltip!! I guess both of us where right ;) |
sorry for all of this, but i really couldn't see any tooltip ... enable mod_multilanguage admin module and you'll see what i saw: no tooltip at all. I will now test your PR with the mod_multilanguage admin module disabled. |
Great! In the same time, maybe the modal z-index should be increase, to be sure the "dark" background is hover all the page contents... What's you opinion ? |
i think the mod_multilanguage needs to be corrected. You can see also that with that module enabled the admin status bar is visible!! in all modals. |
@andrepereiradasilva we post in the same time ;-) The issue you found is not related to this PR, but to a bug already there! (confirmed with 3.5.1)
Exactly what i see now too! ;-) |
because the link opens a modal :) |
I have tested this item ✅ successfully on ecd1002 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9944. |
Ok, but miss the reason for this 61eb22d#diff-9c08ca434f4f64bc6d36d803d6f174afR16 Maybe to keep it visible when the modal is open, but.. not sure really needed... (need your lights @dgt41 ;-) ) |
@andrepereiradasilva seems that with or without the z-index set in module multi-languages, change nothing in tooltip conflict... and indeed, i see why this one is used. |
ok. so, we don't know what it is exactly, but it's module multi-languages fault for sure :) |
i think i found a way to solve the mod_multilangue issue. will make a PR |
Please test #9958 |
Hmm |
@infograf768 yes that's mod_multilanguage modal code fault. |
@andrepereiradasilva yes, just tested, and fix issue with bottom bar index (better looking!). But for sure, a fix to be found for module multi-languages... :-| |
This PR has received new commits. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9944. |
This PR has received new commits. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9944. |
This PR has received new commits. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9944. |
This PR has received new commits. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9944. |
I have tested this item ✅ successfully on 0c1e34a This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9944. |
@andrepereiradasilva so, i found a way to fix tooltip with module multilanguage status enabled (due to maybe a class conflict...) So, as all Batch button use "collapseModal" as selector, i have directly set EDIT: @andrepereiradasilva you really post so fast, i don't have yet time to finish my message ;-) @infograf768 the PR is updated, now included a fix too for batch modals tooltip with or without module multilanguage status enabled ;-) |
oh, and not related to this PR, but related to tooltips on modals in the croped tooltips in article select ... the problem must be the fact that the tooltip is reaching the iframe boundaries, so IMO we have two options:
|
I have tested this item ✅ successfully on 0c1e34a This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9944. |
RTC. Thanks. Can go in 3.5.2 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9944. |
I don't have your issue here: |
@infograf768 i guess some part depends on browser rendering. |
I confirm the issue in that case (Firefox Macintosh) |
the problem must be the fact that the tooltip is reaching the iframe boundaries, so IMO we have two options: not use iframes at all: ie, load the content via ajax and dump it. would also be good for accessibility, but probably a lot of css work make the tooltip render on bottom instead of top of the labels on this component iframes: don't know if this is simple or not . i guess data-placement="bottom" could be used for that @andrepereiradasilva Yes, iframe issue with BS tooltip. Your second option, even if not the best (as definitely an "auto" mode placement is missing in BS2... (but is included in BS3)) is the way to go until iframe are maybe replace little by little by modal body as a layout of the view. So, placement bottom for tooltip needed today for:
|
@andrepereiradasilva do you have the issue with versions too (2 last buttons Keep On/Off and Delete) ? |
@JoomliC no not that one because the title is repeated (what?) and with that moves the buttons down so it doesn't reach the iframe boundaries. Update: actually it reaches it by some pixels as you can see in the picture. |
@andrepereiradasilva yes, i saw that about title, and other things too, and will do a PR for a better rendering of Versions html modal ;-) About tooltip inside iframe, i'm testing a way to fix it without having to edit all related views... But if i don't find the solution, i will do the PR to fix all modal views (which works well indeed with just changing one line!) ;-) |
@andrepereiradasilva and @infograf768, first PR for modal iframe issue: #9991 |
EDIT: REDO PR #9379
This PR has fixed tooltip not visible in batch modal.
But tooltip are not displayed (since 3.5.0 or before...) if module multilanguage status is enabled
Testing Instructions