Mouse is defocused constantly [Fixed]

Description: It's archive, posting new is here http://wohlsoft.ru/forum/viewforum.php?f=11

IjahMatson
Topic author, Passerby
Passerby
IjahMatson
Topic author, Passerby
Passerby
Reputation: 0
Posts: 4
Joined: 19 Aug 2014

Post #1by IjahMatson » 19 Aug 2014, 15:06

To put this issue in a simpler way, I keep clicking the edit window after selecting an object but no matter how much I click it won't add the object to the level, going to the toolbar does nothing, clicking them does nothing and in my debug log I see hundreds of this line "Debug: [MousePress] MultiMouse detected [10001] [edit mode: 0]"

I get this issue with other Qt based apps too, I'm lost for solutions as google has been no help..

Wohlstand M
Lead Developer
Lead Developer
Avatar
Wohlstand M
Lead Developer
Lead Developer
Age: 30
Reputation: 493
Posts: 1747
Joined: 15 Feb 2014
English Pronouns: he/him
Location: Moscow, Russia
Website Youtube channel URL Skype Tencent QQ

Post #2by Wohlstand » 19 Aug 2014, 15:22

IjahMatson wrote:MultiMouse detected [10001]
This means:
if we check this list:
http://qt-project.org/doc/qt-4.8/qt.html#MouseButton-enum
the "10001" is bynary number 0x11
I.e. with left mouseButton (0x01) already pressed the some "XButton2" with (0x10) code.
This means: some, pressed one of these buttons:
Image

I will try force zero these bits, and editor must ignore Xbuttons and multimouse bugs will not be appears.
Also quick question: what mouse type you are using?

IjahMatson
Topic author, Passerby
Passerby
IjahMatson
Topic author, Passerby
Passerby
Reputation: 0
Posts: 4
Joined: 19 Aug 2014

Post #3by IjahMatson » 19 Aug 2014, 15:33

I'm using a Microsoft SideWinder X5... yeah, it has those buttons.

But the weird thing is it does this even when the mouse is disconnected and I'm using the trackpad, my trackpad has 5 buttons though and is that of a Dell Latitude e6410.

Wohlstand M
Lead Developer
Lead Developer
Avatar
Wohlstand M
Lead Developer
Lead Developer
Age: 30
Reputation: 493
Posts: 1747
Joined: 15 Feb 2014
English Pronouns: he/him
Location: Moscow, Russia
Website Youtube channel URL Skype Tencent QQ

Post #4by Wohlstand » 19 Aug 2014, 15:39

IjahMatson wrote:I'm using a Microsoft SideWinder X5... yeah, it has those buttons.

But the weird thing is it does this even when the mouse is disconnected and I'm using the trackpad, my trackpad has 5 buttons though and is that of a Dell Latitude e6410.

I think I coded the button detection wrong:

Code: Select all

int mSum = (int)( mouseEvent->buttons() );
if( mSum > 4 || mSum == 3 )

This is a checking of any mouse buttons which is already pressed. But this is made only for mouses with three buttons.
I will edit this and notify you, and then you could download the laboratory build for testing it.

IjahMatson
Topic author, Passerby
Passerby
IjahMatson
Topic author, Passerby
Passerby
Reputation: 0
Posts: 4
Joined: 19 Aug 2014

Post #5by IjahMatson » 19 Aug 2014, 15:46

Well thanks, It seems like a really neat editor but I've never been able to use it because of the mouse issue I have :P

Wohlstand M
Lead Developer
Lead Developer
Avatar
Wohlstand M
Lead Developer
Lead Developer
Age: 30
Reputation: 493
Posts: 1747
Joined: 15 Feb 2014
English Pronouns: he/him
Location: Moscow, Russia
Website Youtube channel URL Skype Tencent QQ

Post #6by Wohlstand » 19 Aug 2014, 16:07

IjahMatson wrote:Well thanks, It seems like a really neat editor but I've never been able to use it because of the mouse issue I have :P
I have made a fix: ;-)
https://github.com/Wohlhabend-Networks/PlatGEnWohl/commit/10b5361c23d36d1b59ac5ab258d3ae1c9d32ee3f
Try to download the tiny or lite version from the laboratory and try some mouse actions for testing, please report to me how it goes
http://wohlsoft.ru/docs/_laboratory/
, If all's successful, topic will be locked.


Return to “Troubleshooting”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest