I have three tasks which I can’t solve with current drag&drop in 4.5:
When I’m creating default visual (on drag event) it spawns in left upper corner of dragabble object. So, it snaps not under the cursor, but with some shift accordingly. How to place it right under cursor ?
Default visual (widget) rendering is horrible: image should be trasnparent. But instead it’s just black in transparent space. Plus image have been some sort of noised and blured.
And that’s how this widget actually looks like:
Don’t worry about number in center. It was removed by logic of construction.
Is there some sort of “begin on drag over event” and “end on drag event” ? I need to do some stuff with dropable widget right after draged object leaved this dropable widget local space.
I don’t think problem in materials, because regular text box (No name, Empty - captions) have same issues. Background image (orange part) have such material:
I see that the file type that you are using for your sample texture in the material editor is a PNG. Could you try replacing that with a 32 bit TGA version of your current texture sample and let me know if this makes a difference?
As I already said, file format doesn’t matter. Look at the textbox UMG elements. I’ve just created new widget with border and image in it. Image in TGA format. I’ve got same black borders and no transperancy.
I am still unable to reproduce this issue. Could you provide screen shots of all the blueprints that you are using to produce this problem? This will help eliminate any differences we have in the way we have our drag and drop systems set up.
After posting earlier I gave it another go and was able to reproduce this issue that you are experiencing. I then filled out a report (UE-5016) and sent it to the developers. Thank you for the time and information that lead to the detection and cataloging of this problem. I will provide updates with an pertinent information as it becomes available.
Got the exact same problem, the drag operation seems to automatically fill the visual with a black background. I first tested just the Texture itself, no distortions but the transparent parts are just black. When I tried with a Material, but that had even more problems because it was on the upper left corner of a small black box and I couldnt fix the scaling or the translucency. Drag Visuals seem to only take things that are directly after the root of a widget so no kind of wrapping worked for me!
I also have this issue as i mentioned on the Drag & Drop forum thread. The image is always squared and without alpha. If i try to set the Default Drag Visual to a widget i created nothing appears, i have to set to an image widget for it to show like mentioned before.
I have recently been able to reproduce this issue. There has been no new and pertinent information about this issue. However, I do have an example of how to achieve a workaround for this issue.