Maybe it's worth looking over the shoulder of one of the other major FOSS projects to see how they handled it.
I'm not getting the same behaviour in any of them. GIMP seems particularly robust, and will take all sorts of spin button abuse. It will even gracefully handle flicking the mousewheel while click-holding the opposite spin button. :)

-C

On Thu, Mar 10, 2016 at 5:38 PM, Eduard Braun <Eduard.Braun2@...173...> wrote:
Am 10.03.2016 um 18:18 schrieb Martin Owens:
Sounds probable. I'd love a fix in trunk. I've been avoiding clicking
the buttons but sometimes I forget.
It's a bit awkward when showing people how to use inkscape. :)
I kinda have to hide the problem &/or recite a disclaimer.
The patches don't seem to fix anything in the core, just the parts in
the extensions. Although they might be a good guide to a fix (I'm not
sure).

Are these patches waiting on review Eduard?

Martin,

Sorry, I think you misunderstood: The focus of those bugs is different and I only noticed an issue with the spin button while working on them. The patch attached to those bugs is not really meant to fix the spin button issue* but to address the other issues mentioned in those bugs. I didn't commit the patch yet to give people a chance to test it first (If you want you can review it, Nicolas already mentioned that it works on XP, tough, so it's not necessary).

The issue I noticed might be related to the issue discussed here but not even that is verified yet... It just seemed familiar, so I though I'd mention it.

Regards,
Eduard


* I delayed the CPU-intensive part with a timeout to give the main thread some time to process the mouse click which makes the spin button issue less likely but a real fix is still required.