ppy / osu

rhythm is just a *click* away!
https://osu.ppy.sh
MIT License
15.05k stars 2.22k forks source link

Cursor Disappears & Gets out from the menu #2015

Closed ZapTech43 closed 6 years ago

ZapTech43 commented 6 years ago

So Another problem when i on the osu!lazer main menu the cursor suddenly disappears & when i lift my mouse up it's getting through out the game zone Look At The Picture for more details Thanks!

cursor overlayed

(This Happens When I Played it In Borderless mode but When I Played it in fullscreen The Problem is Gone)

peppy commented 6 years ago

Could you please list your input settings (are you using raw input? sensitivity? do you have a tablet connected?)

ZapTech43 commented 6 years ago

Raw Input : Yes I'm Using it Sensitivity : Yes 1.88x Tablet Connected : No I Didn't connected a tablet (One more when i pressed the windows key the osu!laser window didn't minimize itself like the original osu!)

peppy commented 6 years ago

Can you reproduce if your sensitivity is 1.0x?

ZapTech43 commented 6 years ago

You mean? Ohh i just got it :v Let me try it

ZapTech43 commented 6 years ago

Yup, It Did Happens Again I Already Set The Sensitivity to 1.0x but the Raw input is still on

cursor overlayed 2

peppy commented 6 years ago

Can you also

ZapTech43 commented 6 years ago
LittleEndu commented 6 years ago

Correction, It does happen in maximized windowed but only left and right side. When OS takes over cursor it snaps back to correct place. https://i.imgur.com/g2ul5dw.png

peppy commented 6 years ago

These issues will likely be resolved by ppy/osu-framework#1371.

LittleEndu commented 6 years ago

I think I checked this on the raw input branch too and that wasn't the case. Will check again once I get on PC.

LittleEndu commented 6 years ago

Checked this on the Raw Input PR: Do note that I don't have multimonitor setup so I can't check if confinement works correctly, I can only check this bug. Also note this bug only exists with raw input on, regardless of sensitivity, regardless if using absolute device or regular mouse

-- Windowed Borderless Fullscreen
Never Confine 🐞 🐞 🐞
Fullscreen Confine 🐞 🐞 👍
Always Confine 👍 👍 👍
peppy commented 6 years ago

That table looks like exactly what I would expect. The bugs are not bugs, but just what you see when the mouse is not confined.

Could you provide a video or something because I'm still not sure what is being reported here.

LittleEndu commented 6 years ago

I do agree that this kinda behavior is to be expected but it looks ugly and it's impossible to find your cursor again once it goes offscreen (like when you drop your mouse then your cursor might be two screens away and you have no way to get it back other than alt+tab) . So I would still call this a bug. Solution would be to stop the parallax once there's no more background to show. And there should be a triangle that show which side the cursor is offscreen at.

peppy commented 6 years ago

I still need a video, because it's not obvious what you are trying to show here. The original user mentions an abrupt jump, which I cannot reproduce.

LittleEndu commented 6 years ago

Yeah I don't think there's any jumping going on other than if you move your mouse really fast or have tablet with really high sensitivity. If I am wrong the original user should correct us. I feel like this should be moved to low priority.

peppy commented 6 years ago

If it's just a matter of the mouse not being confined, that's resolved by limiting the confine modes. For instance, "Never" should be removed from the options.

LittleEndu commented 6 years ago

I feel like no confinement should be the default so that you wouldn't experience major mouse drift due to hitting the edge of the window/monitor. Or some other measure should be added that counteracts that. For me, this was basically the only reason I looked into providing more info on this issue. Not knowing where your cursor is once it's off screen is an issue for me

peppy commented 6 years ago

Basically disabling confining is only useful when windowed. The options should be "Fullscreen only" or "Always".

Aergwyn commented 6 years ago

I agree. In Fullscreen the option is useless as it's basically "Always" anyways and in Borderless/Windowed it's more of a nice-to-have thing. "Never" shouldn't be an option.

LittleEndu commented 6 years ago

Is there a way to get the number of monitors and extend the functionality of "fullscreen only" to borderless when there's only one monitor?

peppy commented 6 years ago

It needs to still apply with multiple monitors. It should still confine to available monitor space, else the user can exit in directions monitors do not exist.

peppy commented 6 years ago

This is going to be an interesting one to fix across platforms. I'll look into it once I'm 100% on raw input implementation.

leonekmi commented 6 years ago

I have a similar issue, the cursor goes on left and is uncontrollable when focused : https://up.twittolabel.fr/2018-03-16%2022-20-41.mp4

Environnement : Mono JIT compiler version 5.8.0.108 (tarball wed. march 14 13:32:19 CET 2018)

TheDarkDnKTv commented 4 years ago

Have this issue! I think it is because of only intel graphics video card available. If i will launch osu!lazer in windowed mode, there is cursor. But if i will set to fullscreen and restart, curson will not render at all, time to time i have no cursor at all (background not moving when i move mouse).

ZapTech43 commented 4 years ago

Have this issue! I think it is because of only intel graphics video card available. If i will launch osu!lazer in windowed mode, there is cursor. But if i will set to fullscreen and restart, curson will not render at all, time to time i have no cursor at all (background not moving when i move mouse).

Damn, this case is two years old btw... So, the cursor disappears? Is it like the problem above?

TheDarkDnKTv commented 4 years ago

Yes, repairs by changing to windowed and then again fullscreen.

Gababyte commented 4 years ago

I'm pretty sure I also have the same problem. I'm using a pretty old laptop but it can run osu!lazer pretty well, the only issue I have is my cursor. The cursor functions like normal, it's just that it's missing.