Bug #1347

Stop grabbing the mouse pointer at startup, at least in window mode

Added by Potlatch almost 8 years ago. Updated almost 7 years ago.

Status:New Start date:08/20/2011
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Input: Mouse
Target version:-

Description

Hi,

Well, i'm not really sure it qualifies as a bug. Still each time I startup ryzom client in window mode, it grabs the mouse pointer and put it somewhere else. I find it quit annoying and don't see the purpose of it in the window mode.

Official client on Ubuntu 10.04

Best regards.

mouse-fix-hack.diff (2.8 kB) Magnifier nimetu, 08/22/2011 08:13 am

History

#1 Updated by kervala almost 8 years ago

Do you talk about the mouse changing position while loading the game after selecting your character ?

If yes, that's a known "bug" even under Windows.

"Grabbing the mouse" is the fact the OS is refusing the cursor to leave the window, I suppose it isn't that the problem ?

The mouse grabbing only occurs when pressing the left button to rotate camera.

#2 Updated by Potlatch almost 8 years ago

Indeed, I was refering about the mouse changing position. It seems to appear 2 times: when you get prompted to enter your password and after selecting your character.

#3 Updated by nimetu over 7 years ago

kervala wrote:

Do you talk about the mouse changing position while loading the game after selecting your character ?

If yes, that's a known "bug" even under Windows.

culprit is the excessive use of SetMouseFreeLook() and setMousePos(x,y) functions.

As I have multiple monitors and it was driving me mad, did some trial-error commenting.
On linux, this works just fine.
http://ballisticmystix.net/temp/mouse-fix-hack.diff

#4 Updated by kaetemi almost 7 years ago

  • Category set to Input: Mouse

Also available in: Atom PDF