Moderator: Forum Moderators
Regardless of the setting in the ui setup page, the mouse cursor hides automatically after a few seconds
This issue has been haunting me for years and it's no longer just an annoyance.
Does any have a fix for this?
Somewhere, In the ui settings, is a check box to automatically hide or not hide the mouse cursor. Regardless of setting, the cursor hides on me.
while this is ok when viewing content, when I am trying to make configuration settings, I need the cursor visible AT ALL TIMES. Since the dev team can't or won't fix, does any one know where in the source code I might find the code function that does this?
Is there another approach to prevent the cursor from doing it's auto hide trick?
Seems to work OK, but maybe not as you expected.
If the setting is 1, no cursor is visible, as you know.
If set to 0, then if the mouse is moved, the cursor shows up
for about 4 seconds and then goes away again. As long as
the mouse is being moved, the cursor is on. The help for the
setting says as much, so nothing to fix (although it's out of
Code: Select all
"Toggles mouse cursor visibility " "for touchscreens. By default " "MythTV will auto-hide the cursor " "if the mouse doesn't move for a " "period, this setting disables the " "cursor entirely."
Code: Select all
git grep --open-files-in-pager=vi HideMouseCursor
$PAGER will be used.
Once the cursor disappears it's difficult to get the mouse to reappear.
Just moving the mouse doesn't cause the mouse pointer to reappear.
a series of left and right mouse button clicks may trigger a view event but it's very frustration trying to navigate a setup screen with the mouse pointer hidden.
Also, for me A few seconds is far too soon of a time period. perhaps a drop down list box containing entries like never hide, hide after 10, 30 and 60 seconds, or a text box where the user supplies a time period. In any event, I want to modify the code base so that the mouse is always visible or at the very least extend the time out period
https://github.com/MythTV/mythtv/blob/m ... .cpp#L3009
setMouseTracking(true) should start MouseMove events that show the cursor.
You could ramp up the 3 sec timeout or disable the autohide timer.
However it sounds like the real issue is the cursor doesn't appear when you move the mouse.
That could be a 'fussy system' (as per the comments). Or a focus problem, which has cropped up in the past.
Is the behaviour consistent on all screens ?
Does switching focus (Alt-Tab) change anything ?
What OS/Window Manager ?