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"

Touch Event fires on both pressed and released

Hey everyone,

There seems to be some weird issue with toggles on touch screens, when using a touch display ( laptop and stand alone display tested, not mobile ) a single touch turns this toggle on and then back off. The video below shows what is happening, interestingly when the button is held down for an amount of time ( right click ) it only fires once. Which is what should be happening on a tap as well.

Video of issue: https://youtu.be/kGarGEJIdUI

Attempted Fixes:

  • Turned off / on Click Events in PlayerController

  • Turned off / on Touch Events in PlayerController

  • Turned off / on Touch Over Events in PlayerController

  • Set Touch 1 as a Click Event

  • Turned On / Off 'Use Mouse for Touch"

Please let me know if you have any other ideas!

Product Version: UE 4.14
Tags:
more ▼

asked Mar 08 '17 at 08:02 PM in Bug Reports

avatar image

HaxO
713 23 15 44

avatar image Thomas G ♦♦ STAFF Mar 13 '17 at 01:45 PM

Hello HaxO,

I was unable to reproduce your issue on our end, I have a couple of questions that will help me narrow down the issue you are experiencing.

  1. Are you able to reproduce your issue in a new project?

  2. If so could you provide a detailed list of steps so I can reproduce your issue on our end?

  3. Could you provide screenshots of your UI that is causing the issue?

Thanks!

avatar image HaxO Mar 13 '17 at 08:48 PM

I cannot reproduce it in a new project either, guess I messed something up on the way.

Here are the settings of the toggle in the video. Will get more info up here soon.

alt text

togglesettings.jpg (481.9 kB)
avatar image Thomas G ♦♦ STAFF Mar 14 '17 at 05:25 PM

Could you also post screenshots of your Widget's event graph & any other blueprints that use these buttons? This would help me investigate your issue further.

avatar image HaxO Mar 15 '17 at 03:19 PM

Yes, sorry to not be very responsive. Will get to this asap.

avatar image HaxO Mar 15 '17 at 09:04 PM

Alright, sorry about that. Here is the blueprint that is called when the Secondary_T toggle is pressed:

alt text

Maybe it is because the Primary_T and Secondary_T can turn each other off, that is somehow counting as an OnCheckStateChange Event for the touchscreen but not for clicks?

togglescript.jpg (774.2 kB)
avatar image Thomas G ♦♦ STAFF Mar 16 '17 at 04:06 PM

I was still not able to reproduce your issue on our end. To investigate further, I would need to see your project, which you can privately message me on the forums here:

https://forums.unrealengine.com/member.php?680446-ThomasVanZeeland

Thanks!

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

1 answer: sort voted first

After a couple more days of trying to debug this I settled for just brute forcing it. With this macro the toggle is disabled for 0.2 seconds then re-enabled, solving the issue.

If it's dumb and it works, it isn't dumb. Right? right?!>!?!

alt text

togglefix.jpg (220.6 kB)
more ▼

answered Mar 21 '17 at 03:09 PM

avatar image

HaxO
713 23 15 44

avatar image BigJohn83 Oct 26 '18 at 04:55 AM

I'm having this exact same issue. Have you ever figured out a better solution?

avatar image HaxO Oct 26 '18 at 01:25 PM

No, had to just go with this and move onto other things.

(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