Page MenuHome

WIP: Mouse Cursor Preferences
Needs ReviewPublic

Authored by Harley Acheson (harley) on Oct 22 2019, 9:34 PM.

Details

Summary

This is mostly an experiment to see if this might be an approach for having user preferences for mouse cursors.

If you apply this patch (and rebuild targets) everything should work roughly as it does now. But you you should be able to go into preferences and change some cursor preferences.

These categories might be less than ideal, the assortment might be dumb too. Some things will change as expected when you change them, other things might not, and sometimes the wrong cursor will change. That is the "WIP" part. LOL

What's the point of "movement" cursor? That is because many Mac users are used to seeing a "hand" cursor when you are able to pan an object around. But Windows users might prefer a multi-direction arrow cursor instead.

What the point of "selection" cursor? That is mostly just because that change is immediately easy to test, since that changes the default OS "pointing arrow" cursor. But it is *possible* that some users might prefer that to be NONE if they have some types of touchscreens or active tablet systems. But again, all this stuff is up for debate and being worked on.

Diff Detail

Repository
rB Blender

Event Timeline

I like the idea... But, no Edit Mode category?

@TheRedWaxPolice (TheRedWaxPolice) : I like the idea... But, no Edit Mode category?

Only for lack of imagination mostly.

We generally still want to have the tool dictate the cursor. But you wanting to be in 3D view edit mode and in circumstances where we see a "crosshair" cursor you want alternatives? I seem to recall you wanting to use an OS-supplied arrow cursor in that case. Is that right? Any other ideas?

We generally still want to have the tool dictate the cursor.

When it comes to tools, I always wanted them to show their icon next to the cursor, like this:


That would be the Bevel tool in Edit Mode.

But you wanting to be in 3D view edit mode and in circumstances where we see a "crosshair" cursor you want alternatives? I seem to recall you wanting to use an OS-supplied arrow cursor in that case. Is that right?

That's correct. Coming from C4D, that's all I want. The "crosshair" cursor is really uncomfortable to use in edit mode. LOL...

Any other ideas?

Not really, the arrow cursor is all that is needed there imo...

Adding a user preference for "Precision" cursor: the one we normally would use a crosshair for. This way @TheRedWaxPolice (TheRedWaxPolice) can use a crosshair, OS pointer, none, or even a pen if he wants to while editing.

The Preferences panel should look like the following:

Great patch Mr. Harley. That's the ultimate freedom we need. 👍


When it comes to tools, I always wanted them to show their icon next to the cursor, like this:

Yeah, I like that style too. Best of the best.

Cleanup and small changes. Separate cursors lists for each group. Some places that need to be WM_CURSOR_DEFAULT always.

William Reynish (billreynish) requested changes to this revision.Oct 28 2019, 12:07 PM

This approach is too granular.

There is a high likelihood that we will add many more tool icons over time, and it doesn’t make sense to add a customizable enum for every single tool or every single case. It would become unwieldy very quickly.

Instead, we should specifically allow users to adjust the cursor for painting and sculpting.

This revision now requires changes to proceed.Oct 28 2019, 12:07 PM
Paul (rice) added a subscriber: Paul (rice).

Cleaning up and removing lots of experimental things that didn't work well.