PojavLauncher icon indicating copy to clipboard operation
PojavLauncher copied to clipboard

Mouse doesn't highlight where it actually is

Open Mousebu opened this issue 2 years ago • 17 comments

Describe the bug

The virtual mouse doesn't actually higlitght where it actually is

The log file and images/videos

https://user-images.githubusercontent.com/106907343/172061681-a2a1d552-29d8-4909-b783-86049077871a.mp4

Steps To Reproduce

1. Start pojav launcher 
2. Launch any version 
3. The virtual mouse doesn't actually displays the button where it is

Expected Behavior

Please fix this the virtual mouse should be there where it highlights

Platform

- Device model: Vivo y91i 
- CPU architecture: aarch64
- Android version: 8.1
- PojavLauncher version: latest on playstore

Anything else?

Please fix this its so annoying

Mousebu avatar Jun 05 '22 17:06 Mousebu

hmm Notch detection is something available on android 9 onward. Will be a bit tricky to handle your case

Mathias-Boulay avatar Jun 06 '22 15:06 Mathias-Boulay

So you mean it will take time to fix this bug

Mousebu avatar Jun 06 '22 16:06 Mousebu

@Mousebu Can you try this debug build ? https://github.com/PojavLauncherTeam/PojavLauncher/runs/6759772253

Mathias-Boulay avatar Jun 06 '22 17:06 Mathias-Boulay

So you mean it will take time to fix this bug

No idea if serpent's build helped you, but you can do 2 things that will likely fix this problem. a) Upgrade to Android 9 or higher (find a guide for your phone) b) Enable the notch.

GaucovyAero avatar Jun 06 '22 18:06 GaucovyAero

How to enable the notch?

Mousebu avatar Jun 06 '22 18:06 Mousebu

How to enable the notch?

Absolutely no idea. Every phone has it different. Basically, you have the screen that is currently disabled in the upper part of your phone where your camera is. That's why it doesn't work on pojav. You have to enable the upper part of your display in order to have an accurate virtual mouse on Android 8 and lower.

GaucovyAero avatar Jun 06 '22 18:06 GaucovyAero

@Aerolome he can't, at least from pojav side. Since android supports display cutouts only since 9.

@Mousebu did you try the build ?

Mathias-Boulay avatar Jun 06 '22 19:06 Mathias-Boulay

I dont have java 8 runtime

@Aerolome he can't, at least from pojav side. Since android supports display cutouts only since 9.

@Mousebu did you try the build ?

What runtime should i choose? Java 17 would work?

Mousebu avatar Jun 07 '22 02:06 Mousebu

I meant "since android 9"

Mathias-Boulay avatar Jun 07 '22 07:06 Mathias-Boulay

I can't click any of the single player or multiplayer even I can't click quit game the mouse is working but couldn't click even I click the home button on mobile and clear on the minimize and again went to pohavlanchur multipletimes but still I won't work

But that problem in fabric 1.16.5 but I can use normal vinnila 1.16.5 I can click on 1.16.5 also I really need the fabric Uploading Screenshot_2022-06-12-07-43-58-255_net.kdt.pojavlaunch.debug.jpg…

REYASKANNAN avatar Jun 12 '22 04:06 REYASKANNAN

Uploading Screenshot_2022-06-12-07-43-58-255_net.kdt.pojavlaunch.debug.jpg…

REYASKANNAN avatar Jun 12 '22 04:06 REYASKANNAN

I'm running Android 13 beta and have a similar issue. Pojav doesn't render at all in the bar where the hole punch is. It renders the game properly but the controls extend off screen by an amount equal to the hole punch size. This causes mouse clicks to be slightly offset. I can fix it by going into developer options and hiding the cutout. Screenshot_20220731-161348

il-av avatar Jul 31 '22 20:07 il-av

I'm running Android 13 beta and have a similar issue. Pojav doesn't render at all in the bar where the hole punch is. It renders the game properly but the controls extend off screen by an amount equal to the hole punch size. This causes mouse clicks to be slightly offset. I can fix it by going into developer options and hiding the cutout. Screenshot_20220731-161348

Well, just enable the notch if you can.

GaucovyAero avatar Sep 03 '22 20:09 GaucovyAero

The notch is enabled. Things display there throughout the OS. Pojav launcher doesn't use the space when running Minecraft. Other apps will use it and adapt to it.

il-av avatar Sep 03 '22 22:09 il-av

The notch is enabled. Things display there throughout the OS. Pojav launcher doesn't use the space when running Minecraft. Other apps will use it and adapt to it.

Well, then disable it and test again.

GaucovyAero avatar Sep 04 '22 05:09 GaucovyAero

When the notch is disabled system wide, the issue is fixed.

il-av avatar Sep 04 '22 12:09 il-av

When the notch is disabled system wide, the issue is fixed.

indeed

GaucovyAero avatar Sep 04 '22 13:09 GaucovyAero

New update fixed it :-)

Mousebu avatar Dec 29 '22 15:12 Mousebu