Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
contextual.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Jul 2011 at 19:50 UTC
Updated:
4 Jan 2014 at 00:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerHere is a patch.
The patch adds "contextual-links-trigger-active" to the trigger, and change the css which handles the showing.
It works as expected see screenshot
Comment #2
xandeadx commentedsubscr
Comment #3
marcvangendI'm not really familiar with this pattern of using multiple anonymous functions. Just curious: what is the difference compared to this?
Comment #4
dawehnerThe first one is executed when you hover, the second when you unhover
Your code does something else ... this pattern is used in contextual.js already.
Update status, because the part was cleared.
Comment #5
marcvangendThanks, I understand. In fact, it's right there in the jQuery documentation...
Sorry for inadvertently changing the status.
Comment #6
marcvangendPatch works as advertised. I'm not marking it RTBC yet because I only tested with Firefox 4 on a linux machine.
Comment #7
dawehnerEven this is a bug report it should be against 8.x-dev
Comment #8
Niklas Fiekas commentedTrivial D8 reroll.
I can also confirm that the patch solves the issue on Firefox and Chromium.
Comment #9
Niklas Fiekas commentedTagging.
Comment #10
Bojhan commentedsounds fine, but needs further testing I assume
Comment #11
fenda commentedIf this is further tested and completed, will a bug fix be applied to a future version of d7? Not sure how these things work.
Comment #12
Niklas Fiekas commentedYes, I believe this is backportable.
Comment #13
chrisarusso commentedD7 Patch attached, which means I'm switching version to 7.x-dev. Should I be doing this another way?
Comment #14
fenda commentedI tested #13 on d7 dev and it fixed the issue for me.
Comment #15
marcvangendillmasterc, drupaljoe: thanks for the patch and for testing it.
I'm setting this issue back to 8.x & 'needs review' because the core development work flow requires a commit to D8 before this can be backported to D7. I see that both patches are nearly identical, so this shouldn't be a problem.
I think we need someone to test the patch from #8 with the 8.x branch on IE8 and higher (and perhaps some other major browsers) so we can get the D8 patch committed asap.
Comment #16
Niklas Fiekas commentedTagging for manual testing.
Comment #17
chrisarusso commentedD8 patch from #8 no longer applies. This one should.
Contextual js is easy enough to port from patch in #8, but the old css has changed significantly. I believe this patch should do the trick, but looking into it further.
What scenario are folks using to test the nested contextual regions in D8? Basically, what's the easiest way to test this in D8?
Comment #18
fenda commentedHmm, hook_node_view and add a node_view() call to its $node->content?
Needs to be 2 separates node I think.
Comment #19
chrisarusso commentedLooks like this'll do it. On D8 with attached patch applied.
Tested with custom module in it's entirety below:
Then just create two nodes, the second node will be embedded in the body of the first (and so would any other node that's not nid == 2). Visiting the default homepage should give the needed view.
Comment #20
fenda commentedLooking good. Can we get this into the D7 update coming next week?
Comment #21
chrisarusso commentedSomewhat unimportant, but the above code snippet should read:
Implements hook_node_view() not
Implements hook_test().
Comment #22
catchLooks fine to me. Committed/pushed to 8.x, moving to 7.x for backport. Tagging as novice for the backport since this should be a straight re-roll.
Comment #23
Niklas Fiekas commentedReuploading #13.
Comment #24
fenda commentedI can confirm #23 fixed the bug for me in D7.
Comment #25
markhalliwell#23 also fixed it for me.
Comment #26
webchickCan you please verify what browsers you're testing in? We can't get this into D7 unless someone confirms in IE 6/7.
Comment #27
peterpoe commentedWorks on IE7 (using IETester). Could not test IE6 because some script was dying on the page (not contextual.js though, it died even before applying the patch).
Comment #28
alex.skrypnykTested in IE 7/8/9 - works perfectly.
IE6 failed for me, but this may be related to my setup.
Someone else, please confirm IE6 and lets move it into core ASAP. Very useful patch.
Comment #29
markhalliwellThis issue should probably be re-rolled against D7 dev again, patch no longer applies cleanly.
Comment #30
dawehnerNo real rerole needed, as it have been just some hunks.
Warning: I don't had time to retest the patch manually.
Comment #31
markhalliwellI can verify that the patch in #30 applies cleanly and fixes the nesting issue in:
The latest Chrome for both Mac and PC, no issues.
The latest FireFox for both Mac and PC, no issues.
Per @webchick in #26:
IE 6 via IETester. Had JS issues too, but was able to get it to work by switching and testing both Garland and Bartick, even though they both still have stylistic issues with the themes themselves (not sure why IE6 is still being considered, but whatever), no issues.
IE 7/8/9 via IETester, no issues.
IE 10 on Win8, no issues.
Can we please get this committed finally?
Comment #32
markhalliwellWould like to see this get added to the queue for 7.23.
Comment #33
David_Rothstein commentedNice improvement, and thanks for all the testing too.
Committed to 7.x! http://drupalcode.org/project/drupal.git/commit/c2a5709