Download Funny Cursors

0 views
Skip to first unread message

Penélope Lichlyter

unread,
Jan 25, 2024, 3:06:11 AM1/25/24
to lecsiochumgeu

I agree with the article regarding using the correct cursor for an element, however I highly dislike the use of custom cursors unless the interaction behind the cursor is obvious. The emoji example, while just an example is not at all clear to what the user interaction should be. Accessibility should not be lost and so one should tread carefully if choosing to implement this.

All the cursor tests seem to pass and look fine (custom cursor, all cursors) but the cursor used by xterm when you hit one of the modifier keys (at least for shift, control and alt) which is a completely empty one of size 6x13 (the size of one character on the default xterm) 312 bytes of rgb data, shows up late (only shows when you move the mouse, at which point the xterm resets it) and it looks different from what it should be..

download funny cursors


Download Ziphttps://t.co/QON29zczUN



I managed to capture a screenshot of it by delaying the sending of cursors in ServerSource.send_cursor by 5 seconds, then hitting one of the special modifier keys, waiting 5 seconds, seeing the cursor log message on the client then moving the mouse and asking gimp to take a screen capture! Here it is:

So r8090 scales it to the exact size the OS wants - which is slightly problematic for cursors that are not square, like the one from the xterm: we scale 13x6 to 32x32 (and maybe 64x64 or other on high dpi displays apparently). Maybe we should paste the cursor onto an empty 32x32 transparent frame instead? (but only if the frame is bigger than the cursor!..) This will have to do for now. It may well fix the crash with GTK3 too.

df19127ead
Reply all
Reply to author
Forward
0 new messages