Client (production/canary) and FXServer version: Production/Canary and Latest Recommended (4394)
What you expected to happen: Opening F8 does not cause the mouse cursor to be invisible when opening a NUI afterwards
What actually happens: When opening the F8 console and closing it, and opening a NUI, the cursor is not visible on the screen.
If the cursor is changed via something like a button or number input (changes cursor to pointer) the cursor is fixed
Category of bug (eg. client, server, weapons, peds, native) Client/NUI
Reproducible steps, preferably with example script(s)
Make some/a resource(s) with a NUI, which can be as simple as just a colored box
Open and then close the F8 console
Open the NUI and the cursor will be gone
You can make an input/button that changes the cursor type and will fix the issue
I have not been able to find a reliable way via a script to solve the issue.
Here is a video and one of the resources that were used. (Both have the issue on their own as well as it doesnāt happen 100% of the time.) nuitest.zip (800 Bytes)
---Bank window status
---@param status boolean
---@return boolean
self.bankWindowOpened = function(status)
if (self.windowOpenStatus or IsNuiFocused()) and status == true then
return false
end
if status == true then
self.currentOpenedWindow = WindowTypes.BRANCH
self.windowOpenStatus = true
SetNuiFocus(true, true)
SendNUIMessage({
action = Actions.OPEN,
window = WindowTypes.BRANCH,
})
elseif status == false then
self.currentOpenedWindow = false
self.windowOpenStatus = false
SetNuiFocus(false, false)
SendNUIMessage({
action = Actions.CLOSE,
window = WindowTypes.BRANCH,
})
end
return true
end
Iām consistently experiencing this all the time with the code snippets/resources above. What else is required? Since youāre not getting this on your end Iām guessing this is related to Windows version or maybe graphics drivers? Another thing to point out is that I am using a dual monitor setup.
I have the same issue too, the repro steps provided by @Sharpadogge are complete. If bubble cannot reproduce it is because something else is interfering.
I think it may be unrelated to mouse brand, all of them presumably use the HID interface. I myself switch between different mouses sometimes, and it did not make a difference with the reproduction.
Well. Lets see. Could this be related to SteamInput maybe? Does this make a difference with Steam running or not? What about GPU vendor? Iām running Nvidia myself. Maybe he runs Radeon and this could be the reason for not being able to reproduce.
invisible cursor drive me nuts! to use Qtarget 3rd eye with āhoverā only and guessing where the cursor is⦠i never found the source but it will be the āpre-cursorā of my insanity!