807 questions
0
votes
0
answers
72
views
PyQt6 animated cursor using an .ani file
I have 2.5 years of experience in Python and I have been writing an application in PyQt6 for Windows for almost 2 years.
I want an animated custom cursor. Basically, I want the same effect as setting ...
0
votes
0
answers
72
views
VScode cursor is black against a black background - how do I change it?
My cursor suddenly turned black against the black background (see image below), so there is no contrast at all. I have had to switch to light mode just for this reason. Is there a way around it?
I ...
0
votes
1
answer
82
views
I'm trying to have the user's cursor in an input statement at a specific point (after the ": |") so it types at that point
Here is my code:
print("Make a 20-digit code with numbers 0-9: |___|", end="\r", flush=True)
addDigits = input("Make a 20-digit code with numbers 0-9: |")
More ...
1
vote
1
answer
144
views
How do I change my mouse icon when I hover over a TSkLabel component on Delphi in FireMonkey
I have a follow up question to one of my previous questions. I have switched over to using Skia4Delphi in my applications, but the properties are very different.
I was using TLabel and setting the ...
0
votes
1
answer
193
views
How can I completely hide the mouse cursor when hovering on a component in Delphi? [closed]
I always kind of thought/assumed there would be a crNone option under the Cursor property on components.
But when browsing through the Cursor list in the object inspector, I don't see a crNone option. ...
2
votes
1
answer
113
views
How do I change my mouse icon when I hover over a word on Delphi in FireMonkey?
How do I change the mouse icon when it hovers over a word and changes to another icon?
I have a word that is in a TLabel component. When I hover my mouse over it then I want the mouse icon to change ...
1
vote
1
answer
54
views
Replace default mouse icon maps
I am able to replace the mouse cursor in gmail following the solution in stack overflow.
This same solution works in maps like google maps.
However, it seems not to work in maps that have the cursor ...
0
votes
2
answers
97
views
MouseWheel Doesn't Scroll Back and Forth
I'm using this script for mousewheel. What I have tried only works one way. Instead of scroll up and down it just Scrolls forward. What I want it to do is change the cursor Forwards and Backwards. ...
1
vote
1
answer
98
views
Winapi: Modify DPI scaled standard cursor bitmap
A C++ Windows application desires to annotate the cursor bitmap with a small colored icon which conveys context dependent information, i.e. while hovering specific items.
User preferences are to be ...
1
vote
2
answers
172
views
Multiple image trails following cursor with Javascript
I'm trying to create multiple image trails for a grid. Each trail follow the cursor, I found an example on Codepen to illustrate the effect I'm looking for. The example is made with GSAP, but for this ...
7
votes
1
answer
850
views
'mouse_tracker.dart' Assertion Failed - '(event is PointerAddedEvent) == (lastEvent is PointerRemovedEvent)'
When mirroring a device using scrpy, anytime I scroll or pass the mouse cursor through widgets that have hover animations, it throws these exceptions, I've a found an open issue on Flutter github but ...
0
votes
1
answer
68
views
Multiple cursors follow mouse in Javascript
I have a grid with multiple items. Each item has its own custom cursor with the div .grid__item-cursor.
What I'm trying to achieve is when hovering an item, its cursor follows the mouse with a smooth ...
1
vote
0
answers
64
views
How to change mouse scheme in C++ (windows)? [duplicate]
I want to change the mouse scheme from my C++ code on Windows. For example, I want to change from "Inverse (large)" to "Standard (large)". Should I just change the value of the ...
1
vote
0
answers
156
views
When running a Flutter app designed for iOS, is there a way to get the mouse cursor to change when running the app on macOS via Mac Designed for IPad?
I have a Flutter app that runs on iOS and also want to run that same app on macOS via the Mac Designed for iPad target. While I am able to run the app via Xcode using the Mac Designed for iPad target, ...
4
votes
1
answer
99
views
Why `cursor: pointer` and `:hover` property is not being applied?
HTML and CSS Code:
*{
margin: 0;
padding: 0;
font-family: "Spectral", "serif";
}
.main_box{
/* width: 100vh; */
background-image: url(photo.jpg);
background-size: cover;
...
0
votes
1
answer
84
views
How can I make NSCursor hide in full screen macOS window?
import SwiftUI
import Combine
struct ContentView: View {
@State private var activityTimer: Cancellable?
@State private var activityCountDownInterval: TimeInterval = 3
@State private var ...
0
votes
1
answer
44
views
Unity - Make Cursor go begind target Sprite
I want to make my cursor go behind a sprite like this:
Is there a way to change the cursor layer renderer in the code / during the game. I want to do it when the character is clicked on.
Right now, I ...
0
votes
1
answer
99
views
Custom Cursor Stuck on Interactive Elements like Links/Buttons
I'm implementing a custom cursor consisting of two elements: a small black dot and a larger trailing transparent circle. While it works globally, the issue arises when hovering over interactive ...
0
votes
0
answers
58
views
How to flip mouse cursor behaviour on one axis?
I'm in posession of a touchpanel supposedly manufactured by IRTOUCH SYSTEMS unfortunately without the knowledge of its model number. Now my problem is that the (0,0) point of the touchpanel input is ...
0
votes
0
answers
22
views
Change cursor color on hover in css [duplicate]
So my question is:- Can we change the Colour of Cursor pointer during hover state of a button? If Yes, then How?
eg. The viewer's cursor default color is white. But I want it to be black when the ...
0
votes
1
answer
1k
views
How to Create a Mouse Trail Effect in Playwright for Random Mouse Movements?
I'm using Playwright to automate browser interactions, and would like to create a visual effect where the mouse leaves a trail as it moves randomly across the screen, mimicking natural cursor movement....
0
votes
0
answers
64
views
Qt6 Custom Cursor Offset from Actual Paint Position in QWidget Drawing Application
I'm developing a painting application using PyQt6 where users can draw on images with a custom cursor. I'm experiencing an issue where there's a consistent offset between where my custom cursor ...
1
vote
1
answer
208
views
Changing the cursor of a FLTK window
I am trying to change the cursor inside a FLTK window: the following code
#include "FL/Fl.H"
#include "FL/Fl_Double_Window.H"
Fl_Cursor CUR_DEF = FL_CURSOR_HAND;
int main(){
...
0
votes
0
answers
78
views
convert mouse cursor image to left-handed (horizontally flip) using python
Recently I find that Windows mouse cursor is not very friently for left-handed people. Because it point from right to left.
So I wonder if there is a way to change it to "left to right". I ...
3
votes
0
answers
332
views
Cursor Not blinking animation issue - shadcn inputOtpGroup component
OTP Component issue
The cursor is not blinking when otp component is opened in each input otp section(the blinking animation is not there). Also i am not able to automatically focus with a blinking ...
-1
votes
1
answer
151
views
Java Swing returning exception when i try to use a customized cursor in a Red Hat environment
I've been having the following exception everytime I try to run anything containing a customized cursor in a java swing component:
Warning: cursor image loaded 32 32
[AwtExceptionHandler:45] Error in ...
0
votes
1
answer
225
views
How to zoom image in and out using mouse location C# windows forms
I want to zoom in to image, so the point under the mouse cursor will stay under the mouse cursor. I have tried:
private void ZoomForm_MouseWheel(object sender, MouseEventArgs e)
{
float ...
22
votes
6
answers
25k
views
Cursor disappearing inside text field
I'm encountering an unusual issue on Windows 10 and Windows 11 PCs where my mouse cursor disappears within any text field—whether on websites, in search bars, or similar fields in Chrome or other ...
1
vote
0
answers
106
views
Follow changes with the mouse cursor when pressing ctrl + z/Z (undo/redo) in JupyterLab
In most of the text editors that I used (e.g., Notepad++), the mouse cursor follows the positions of the changes when undoing/redoing text pieces. Is there a way to have this effect in JupyterLab, as ...
1
vote
0
answers
628
views
How can I receive pointer events on Wayland, while also passing them through to the client below?
I am creating a program that highlights the mouse cursor and shows mouse clicks for screencasts in Wayland.
My current approach is to create a full-screen transparent layer surface, where I would draw ...
1
vote
0
answers
174
views
How can I create flashlight cursor effect in Delphi?
For example this screenshot belongs to Daemon Tools (which is programmed in C#):
As you can see in this screenshot, I want to create flashlight effect which follows cursor.
How can I do this in ...
0
votes
1
answer
105
views
Custom JS cursor updates on hover - but not when auto-scrolling content moves beneath it when mouse is idle
I have a custom cursor effect that follows the real browser point around the page. When the mouse hovers over an element with a data-label value set, a class of .cursor-trail--hover is added and the ...
1
vote
1
answer
115
views
iSH on iPad stops with a hollow rectangle cursor [closed]
Using iSH on the IPad Pro M2 is fun, until the cursor turns to a hollow rectangle and I cannot type anything. The iSH simple controls disappear too. Something to do with my thumb touching the trackpad?...
0
votes
1
answer
235
views
How can I use pyautogui so that even with 2 screens with different resolutions, a MoveTo puts me in the same place?
here's my code:
import pyautogui
screen_width, screen_height = pyautogui.size()
def scale_positions(x, y, base_width=2560, base_height=1440):
return int(x * screen_width / base_width), int(y * ...
1
vote
0
answers
91
views
How to handle an animation across multiple components on a page in React JS website
I am building my first React site and having trouble understanding how to best layout pages and running into issues like this: I have a cursor animation -- throughout the entire webpage, the cursor is ...
0
votes
1
answer
88
views
cursor img converted base64 got issue
I've tried to replace the actual cursor for my website blog page, changing with my svg logo to get a space invader for cursor.
But when I refresh my page I can't see it.
Here is the page https://...
2
votes
1
answer
178
views
Is there a way to get hotspot information from .cur file using PyQt?
I am working on a PyQt application and one of the functions is to change the cursor style when user opens the app. It is easy to make this work, the only problem is the hotspot information is default ...
1
vote
1
answer
203
views
Changing the pointer cursor at each page reload
I'm writing some code trying to change a cursor at each reload, using javascript only.
I'm using Math.random cause I have 13 different cursors (it's ghibli theme)
It works fine for the default as I'm ...
0
votes
0
answers
57
views
How to add custom cursor
Im trying to add a custom cursor to this game I'm trying to make
here is the code
JFrame window = new JFrame("First Java Window");
window.setDefaultCloseOperation(JFrame....
-1
votes
1
answer
489
views
Is there a reason why my buttons aren't working towards my code? [closed]
For my buttons towards my code, it's not allowing the button to turn the cursor into a pointer when moving onto the button, and after a while my hover pseudo class selector is no longer working for ...
3
votes
0
answers
583
views
Flutter Tooltip over Button
I have an OutlinedButton wrapped in a Tooltip widget, I added a margin to the tooltip to position it to the right of the button.
When I hover the button, it's supposed to change the cursor to the hand ...
1
vote
0
answers
217
views
Hand Cursor pointing to button
I’d like to achieve a visual effect where the mouse cursor appears as a hand (or pointing finger) that always points toward a specific button on the screen. This behavior should persist even when the ...
0
votes
1
answer
1k
views
Circle Follow Mouse Cursor - Javascript
I've found something I'd really like to implement into my website here - https://codepen.io/clementGir/pen/RQqvQx
It's some code that enabled a ball object to follow your cursor/mouse movements on a ...
3
votes
1
answer
446
views
How to change mouse cursor when I hover over javafx TextArea?
I want to change the TextArea cursor, but nothing happens when I use this:
numTextArea.setCursor(Cursor.DISAPPEAR);
1
vote
1
answer
339
views
rigidbody2D.MovePosition causing jittery movement when using mouse delta
When using rigidbody2D.MovePosition along with the mouse delta input, the object moves around incorrectly, unpredictably, and jittery.
I'm trying to make a game where you are a cursor and have to ...
0
votes
3
answers
108
views
How can I achieve a cursor hover affect when hovering over an inner element? (CSS)
I am trying to achieve a help cursor when hovering over a button, but the issue is I can't set the hover effect on the button itself (I only want to affect certain buttons and its not possible to set ...
1
vote
0
answers
270
views
Qt 6.5 mouse cursor icon not changing
After migrating to Qt6.5 (from Qt6.4) on Debian 11.7, and installing the library libxcb-cursor0, some mouse cursor icons are not appearing anymore.
Everything was working before.
main.cpp
#include <...
2
votes
0
answers
248
views
Pointer Lock but without message like in Figma when dragging to set width
Edit: Question is resolved. See my first comment.
I'm looking to achieve some pointer lock behaviour like this but without the Press [esc] to show your cursor message, or via some hacky workaround or ...
0
votes
1
answer
2k
views
How to hide mouse pointer/cursor when over Android View?
When you connect mouse to Android device and see cursor on the screen, I want it to disappear when it’s over my view. I want to to provide custom user experience for this view that is different from ...
0
votes
1
answer
427
views
How to change my cursor pre-sets (schemes) with one file
So lately I found a really good cursor preset. But sometimes I want it to be normal, or just randomly choose a scheme upon start up. My idea is to use one single file to make this modification. I ...