x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Left Click / Double Click / Drag-Drop doesnt work with buttons.

After 4.18 all my widgets are broken when using buttons.

1- Left Mouse click doesnt work:

At “OnMouseButonDown “ left Mouse buton doesnt work. It can be fix by using “ OnPreviewMouseButtonDown” BUT its brings us 2th and 3th bugs.

2- Drag Drop operation broken with left Mouse button : When try to use “ Detect Drag If Pressed” node with using “ OnPreviewMouseButtonDown” :

a- Left Mouse click only work when double click.

b- When drag oparation over both buttons stays at hovered state. You need to hover/unhover again to fix it.

3- This is the best one. Double click with left Mouse buton doenst work.

I spent 2 days for it. Precise click doesnt fix it. And i know i can replace Buttons with borders but i have more then 10 widgets using this system. So it will cost me a lot if i redo all of them.

i am almost sure there is no fix for it yet, if I am wrong, i would apretiate it, if anyone can help me with that.

Thank you.

Product Version: UE 4.18
Tags:
more ▼

asked Jan 05 '18 at 12:05 AM in Bug Reports

avatar image

Qukla
59 3 5 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

4 answers: sort voted first

Generally speaking, you should stay away from dragging buttons. The behaviour you're after was causing issues elsewhere and is no longer available. As you probably know since you've done your research, it seems.

10 widgets do not sound like a lot, really. However, when it comes to maintenance and updates, consider extending the widgets from a master class, use brushes to inject settings into widgets, store settings in vars / structs and so on.

In the future, when you need to modify something, it's a matter of altering some data rather than manually redoing stuff. This will also give you the chance to let the user modify the colour scheme of the interface, for example.

Probably not the answer you were looking for, though :|

edit: the bug that was entered for this is flagged as By Design - I'd assume it's going to stay this way.

edit2:

3- This is the best one. Double click with left Mouse buton doenst work.

This post by Nick.

more ▼

answered Jan 05 '18 at 10:34 AM

avatar image

Everynone
15.2k 77 25 62

avatar image Qukla Jan 05 '18 at 10:44 AM

Thanks a lot for your answer these are good tips ^^

As far as I can tell, it is not possible to use the buttons at the moment and there will not be any fixes in the near future. So it is the most logical solution to redo it all over again.

Thanks again

avatar image Everynone Jan 05 '18 at 10:51 PM

It's a bit of a shame, really. I did enjoy having buttons handle the hover states automagically. :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Yes me too :'(

more ▼

answered Jan 05 '18 at 10:59 PM

avatar image

Qukla
59 3 5 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I got around this by just adding an event to "on mouse button up"

more ▼

answered Feb 02 '18 at 10:07 PM

avatar image

dragonsomnolent
76 1 9 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

When you detect drag if moved, make sure the Local Y position of the mouse is above the intended area, as you don't want the entire window to drag if you click a button. Similar to a windows window frame.alt text

dragfix.png (187.2 kB)
more ▼

answered Jul 18 '18 at 08:43 PM

avatar image

TibbaRrule_
26 2 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question