If you have a problem or need to report a bug please email :

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

Mouse over in Ruby is buggy?

For general discussion related FlowStone

Re: Mouse over in Ruby is buggy?

Postby trogluddite » Thu Jan 07, 2021 11:22 pm

tulamide wrote:we humans have a hard time reading code that isn't tidy and structured

I wouldn't argue against anything you said there - and I wish that DSPr had taken your advice when they originally designed the Ruby mouse handling (amongst other things)! This whole thread wouldn't have been necessary if "isInMousePoint" didn't interact with the other mouse methods in such a hidden way - and it shouldn't have taken a decade of collective effort to work out the logic behind it, which is neither well explained in the user guide nor made clear by stock toolbox examples.

As for FlowStone's built-in "safety nets" (e.g. having the default dragging cursor change) - I've always been a bit in two minds about them. Certainly, they help novices to make working modules, but they can also encourage lazy coding practices that come back to bite you when things get more complicated. It's as well that there is both an explanation of what DSPr seemed to intend, and your reminder that we can sometimes improve on that!
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
Posts: 1706
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK


Return to General

Who is online

Users browsing this forum: No registered users and 22 guests