Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
dashboard.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Sep 2010 at 12:53 UTC
Updated:
12 Apr 2013 at 18:48 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
reglogge commentedI can reproduce this in Safari also. In Firefox it looks still different. Both are the Mac versions. Screens attached.
The reason seems to lie in the fact that menu blocks are automatically expanded upon placing them in a dashboard region, showing their menu entries. When putting them back in the tray, somehow this expanded state is retained which leads to these effects.
But is this critical? Since a simple page refresh solves this issue, I'm not sure that it qualifies. The functionality is still there, it just looks odd.
Comment #2
ksenzeeDefinitely not critical.
Comment #3
franzI had the same issue on Firefox 3.6.9 on Linux
Comment #4
franzActually, just open the customize interface and drag blocks around those disabled. This is enough to reproduce. It doesn't appear to be related to actually dragging the block to a region.
Comment #5
droplet commenteddragged icon has contextual-links to configure it. does it by design ??
Comment #7
jody lynnThe problem was that we were ending up with an extra nested block div due to the js using html() instead of replaceWith() to replace the newly loaded block. Also we should not have been using ajax to load the block when it was moving around in the disabled section and had not yet been enabled.
Another problem was that if you had a disabled block like 'Search' (which by default has no title) and you moved it into the enabled blocks, there would be no title, and you could end up with empty blocks in the disabled section.
Patch fixes both these problems.
Comment #8
jody lynnComment #9
aspilicious commentedSrry for this...
Waiting for this patch for a long time :)
Comment #10
jody lynnI don't really understand what's happening in that screenshot, but I'll see if I can reproduce. Which block are you dragging there in English (or does it happen for every block)?
Comment #11
yoroy commentedThat's the recent comments block there.
Comment #12
aspilicious commentedSrry for the dutch screenshot...
I talked with jody on irc, she is going to reroll.
Comment #13
jody lynnOk, new patch fixes this and also avoids loading already fully-loaded blocks more than once.
Comment #14
aspilicious commentedNot yet completly good :(
Thnx for your efforts btw.
I think it looks better if we delete the width part from the over event.
And put item.css('width', ''); on the start event. Than the width doesn't flikker all around.
Tested this myself, and I prefer it.
(and it would look nicer if we could copy the style from the disabled block, that way we always have the same style for dragged blocks)
Also, if you select a block (for example recent comments) close to the right upper corner of the block the border appears again o_O.
Afterwards it doesn't go away while dragging.
Comment #15
jody lynnI'm not sure if those problems are related to this issue though.
The display of the block while dragging should be a separate issue (unless it's different with this patch applied). Can you confirm if any of these problems were introduced by this patch?
Comment #16
aspilicious commentedI think this is introduced by this issue.
Not sure, no time for testing.
Comment #17
sunLike @ksenzee, I also don't think this is more severe than normal. Needs to go into D8 first.
Comment #18
jody lynnI rerolled the patch.
I took a deeper look into it, and can confirm that the issues aspilicious mentions are unrelated to this patch. The issue described with the 'border when hovering over the top right' is due to contextual activating, which is the same before and after the patch (see #831088: Contextual links are showing for disabled dashboard blocks).
Comment #19
kscheirer#18: 919290-18.patch queued for re-testing.
Comment #21
droplet commenteddoesn't it remove from D8 ?
Comment #22
marcingy commentedThis module no longer exists in d8