Problems with right mouse button double clicked

Bugs will be moved here once resolved.

Post » Tue Jan 22, 2013 12:18 am

Hello all,
In a simple project i have an object with an event:
-Mouse On Object1 Clicked=> Object1 Destroy

It works in every combination of buttons and click/double-click except double click with right mouse button.

There's no other event that use right mouse button or even another mouse event in the entire project.

Could there be any bug with right mouse button double-clicks on objects?

This running r116 on win7.
B
31
S
4
G
4
Posts: 110
Reputation: 4,588

Post » Tue Jan 22, 2013 12:51 am

There's no issue for me : Example capx

This capx works as intended.
It's strange to double click with right button though, I guess we're more used/faster to left double click than right double click.

Also make sure it's maybe not an issue with your mouse.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Tue Jan 22, 2013 3:41 am

I posted this as a possible bug because it worked normally until this issue suddently appeared. It's strange that all mouse clicks worked except that particular combination. My mouse works fine by the way.

My object is pinned to another object (that make the physical calculations and movements).

I double checked my project and there's no other event that requires right click inputs of any kind. Maybe one event was cancelling the other but even with everything "toggled disable" this strange behavior still remains.

Im working on debug data. That's why i choose that combination of buttons to destroy quickly an instance.
It worked fine until i copy my project from Win7 to WinXp and back again at Win7. Without any change it failed with just right mouse button on double clicks.

Pretty strange even as a bug on my side but i will keep searching for errors.

I will post a capx if i can't get rid of this bug and no one else shows the same particular problem.

PD: I'm a fan of your gamedevtuts+ tutorials put more for the dumb minds!

B
31
S
4
G
4
Posts: 110
Reputation: 4,588

Post » Wed Jan 23, 2013 4:28 pm

[Capx]
https://www.dropbox.com/s/r6bsss2qwbb7eul/ExampleRightDoubleClick.capx

-------
Hello again.
I can't get rid of this strange behavior yet.
If I change mouse buttons being clicked, it works. Just right mouse button doesn't work.

I stripped my project of all that seems irrelevant to the objects and events that shows this behavior.

Don't mind ugly placement of event/subevents. It's all a testbed for physics and debug data (stripped mostly in this .capx).

But if there's a definitive bad use of some event or a bad placement of any event, order, or action that trigger this bug or any other you spot then tell me so i don't drag it along as a bad "code habit".

Event 6 and 7 have the click event and destroy action.

Event 13 was my suspicious bug's trigger but i changed the button there and the bug remains.

Also if i put an OR on event 6 to destroy the object with right OR middle mouse button nothing happends with either button.

Any help or direction will be much appreciated.


B
31
S
4
G
4
Posts: 110
Reputation: 4,588

Post » Wed Jan 23, 2013 6:12 pm

Yeah right double-click only works in Firefox for me. Won't work in any other browser.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,020

Post » Wed Jan 23, 2013 6:36 pm

aah, that's why it worked before. I'm switching my project from win7 on home to winxp on my office. In the office i usually test in firefox since, somehow, chrome works like a turtle there.
So this is really a problem outside my "code". It appears to be a chrome issue and not a C2 issue too.

Howerver, Kyatric's example and my own previous tests with simpler events worked on chrome.
Could be a bug only triggered by a combination of factors. I can't grasp what trigger it.
B
31
S
4
G
4
Posts: 110
Reputation: 4,588

Post » Wed Jan 23, 2013 7:03 pm

Hmm even Kyatric's simple example won't work in Chrome for me.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,020

Post » Thu Jan 24, 2013 1:41 am

Ha indeed, my example doesn't work in Chrome either.
Yet another strange Chrome bug apparently.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Fri Jan 25, 2013 5:59 pm

It works in Firefox, but not in any other browser. Our code is trivial, so it looks like most browsers just don't support double-right-clicks, probably because it's a very unusual input method! (Where have you ever seen another game or app that needed a double-right click?) So I'm closing this as won't fix - I recommend you use a different input method...
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest