[RC1] Mouse cursor lost actual position on timeout

Moderator: NADEO

Locked
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

[RC1] Mouse cursor lost actual position on timeout

Post by undef.de »

This i notice this a long time ago (maybe at B1.3), but i wasn't able to discribe it understandable, but now i can... hopefully. :roflol:

The mouse cursor has a timeout after that the cursor gets hidden. But in this situation the position of the cursor is moved to the middle of the viewport (0x0 i guess).

A click on a mouse button (like a map list in XAseco) or somewhere else does not reset this timeout, but it have to, because the user makes a mouse action. So the cursor should be still visible and placed at the position as it was before the timeout counter starts.

See my Screenshots to (forgot to manually add a cursor here):
Image

Image

PS: I haven't tested this in SM-Storm or TM-Stadium yet, but i guess there is the same behavior.
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: [RC1] Mouse cursor lost actual position on timeout

Post by steeffeen »

yes same behavior in storm
i'm wondering why there is this timeout anyway, for what? really annoying in my opinion
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    TMarc
    Posts: 15255
    Joined: 05 Apr 2011, 19:10
    Location: Europe
    Contact:

    Re: [RC1] Mouse cursor lost actual position on timeout

    Post by TMarc »

    this to hide the cursor in game so it is not visible anymore
    but the bug you have found makes the cursor disappear despite a visible GUI.

    a correction proposal would be not to hide and not to move the cursor if there is a GUI?
    User avatar
    Rots
    Translator
    Translator
    Posts: 1101
    Joined: 01 Sep 2010, 14:39
    Location: España, Barcelona

    Re: [RC1] Mouse cursor lost actual position on timeout

    Post by Rots »

    So, the mouse gets hidden but in a centered position. :?:

    Why mouse coords are not remember like in tmu?

    This is the cause of the many jukeboxed tracks i didnt juke :o :mrgreen:

    I confirm this issue
    Image
    Image
    Image
    TrackMania Original brought me here... Here I am since 2006
    User avatar
    undef.de
    Posts: 2095
    Joined: 06 Apr 2011, 21:57
    Location: Germany, North Sea Coast
    Contact:

    Re: [RC1] Mouse cursor lost actual position on timeout

    Post by undef.de »

    TMarc wrote:this to hide the cursor in game so it is not visible anymore
    but the bug you have found makes the cursor disappear despite a visible GUI.

    a correction proposal would be not to hide and not to move the cursor if there is a GUI?
    The best solution in my eyes is to don't hide the cursor if the mouse moves (the current status), but also if one of the mouse buttons is in use (left/middle/right...) but not only if the cursor is somewhere over a GUI element or a Manialink.

    The mouse position is currently reseted to the last position where i was before the mouse stays still (but pressing buttons). You can test this, if you move the mouse just one pixel.
    Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
    Visit the official website for more: UASECO.org


    Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

    You like what I do? Then award a ManiaStar.
    User avatar
    TMarc
    Posts: 15255
    Joined: 05 Apr 2011, 19:10
    Location: Europe
    Contact:

    Re: [RC1] Mouse cursor lost actual position on timeout

    Post by TMarc »

    is the mouse not always in use in ShootMania? Because then this won't work as fix there... you don't want the mouse cursor running across the map all the time ;)
    User avatar
    undef.de
    Posts: 2095
    Joined: 06 Apr 2011, 21:57
    Location: Germany, North Sea Coast
    Contact:

    Re: [RC1] Mouse cursor lost actual position on timeout

    Post by undef.de »

    TMarc wrote:is the mouse not always in use in ShootMania? Because then this won't work as fix there... you don't want the mouse cursor running across the map all the time ;)
    Ahmm... ok, in ShootMania your are right... i was only thinking about TM. But in TM my suggestion works. :thx:
    Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
    Visit the official website for more: UASECO.org


    Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

    You like what I do? Then award a ManiaStar.
    Locked

    Return to “Maniaplanet Reports”

    Who is online

    Users browsing this forum: No registered users and 0 guests