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"

On released event bug

Button event "on released" is triggered in a second, but not after the button is released.

Product Version: UE 4.18 Preview
Tags:
more ▼

asked Jul 27 '17 at 07:21 AM in Bug Reports

avatar image

Simfo
182 4 10 9

avatar image Rudy Q ♦♦ STAFF Jul 27 '17 at 02:25 PM

Hello Simfo,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you elaborate further on the issue that you are experiencing and as to how it is at an inverse to the result that you are expecting?

  2. Can you reproduce this issue in a clean project?

  3. If so, could you provide a detailed list of steps to reproduce this issue on our end?

  4. Could you provide screen shots of any settings/blueprints/widgets that may be involved with this issue?

avatar image Simfo Jul 27 '17 at 06:50 PM

Hello Rudy Q, "On released" event is triggered in about 0.5-1 second regardless of whether the button was released or not. Here is my clear bp prodject showing a bug. Just press the button and hold around 3 sec.link text

alt text

avatar image Simfo Jul 27 '17 at 06:58 PM

I'm sorry, I mean the event is triggered even if the button has not been released.

avatar image Rudy Q ♦♦ STAFF Jul 28 '17 at 07:27 PM

After taking a look at the project provided I found that this issue is cause by setting "Use Mouse for Touch" to true in your project settings. Disabling this will setting will prevent the release from firing for the mouse button is released. I hope that this information helps.

Make it a great day

avatar image Simfo Jul 28 '17 at 09:45 PM

Thank you! But "Use Mouse for Touch" is the default setting if you create a project for mobile devices. And I can not test my game for mobile without it! In versions before 4.17, everything works fine with "Use Mouse for Touch". In any case, such behavior looks strange.

avatar image Simfo Aug 09 '17 at 07:12 AM

On mobile devices "on released" events always works wrong. Setting "Mouse for touch" does not affect this in any way. For this reason, I cannot use 4.17 in production. Please, fix it!

avatar image Simfo Sep 22 '17 at 07:05 AM

The bug is still there. UE 4.18 preview 1.

avatar image Raptagon Studios Aug 22 '18 at 06:13 PM

bug still exists in 4.19

(comments are locked)
10|2000 characters needed characters left

4 answers: sort voted first
more ▼

answered Mar 11 '18 at 12:55 PM

avatar image

Arkante54
41 1 2 3

avatar image Raptagon Studios Aug 22 '18 at 06:16 PM

Thank you for this fix! Hopefully that works for mobile too!

avatar image jonnyvegas Feb 11 '19 at 05:28 PM

Seems to work on mobile!

(comments are locked)
10|2000 characters needed characters left

Hello Simfo,

After further testing I was able to find further inconsistency and I have written up a report. I have provided a link to the public tracker. Please feel free to use the link provided for future updates.

Link: https://issues.unrealengine.com/issue/UE-50329

Make it a great day

more ▼

answered Sep 26 '17 at 02:52 PM

avatar image

Rudy Q ♦♦ STAFF
47.5k 545 132 522

avatar image Simfo Sep 27 '17 at 01:11 PM

Thank you!

avatar image Piranhi Oct 14 '17 at 06:08 PM

I've also come across this bug and it does indeed happen on Mobile and PC.

Tested in 4.18.3

avatar image Simfo Feb 03 '18 at 06:55 AM

It's been 6 months already... version 4.19.. the bug is still here :(

avatar image Estape Feb 16 '18 at 03:19 AM

Still waiting... I just stopped my project only because this bug still exist =/

avatar image Roel Mar 01 '18 at 11:44 AM

Is this bug ever going to be fixed?

avatar image Roel Mar 01 '18 at 02:38 PM

For mobile: As a quick fix I'm now checking if the button is pressed or if it is hovered. Seems like it is released when it is hovered.

(comments are locked)
10|2000 characters needed characters left

I have noticed this on 4.17 too, still waiting for a solution for 4.18.3.

more ▼

answered Nov 17 '17 at 02:32 PM

avatar image

Estape
27 6 10 11

(comments are locked)
10|2000 characters needed characters left

i found solution of this bug last a month but now i found it means fix it for mobile touch pressed event

  1. when you use pressed event that replace with hovered event.

  2. when you perform release event instead use Unhovered event.

finally its work for all. i try it.

First i use onPressed And OnRelease but not Works alt text

Than after fix used OnHovered And OnUnHovered alt text

11.png (191.6 kB)
22.png (161.7 kB)
more ▼

answered Mar 12 '19 at 03:59 AM

avatar image

Sendy50
8 1 2 4

(comments are locked)
10|2000 characters needed characters left
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