Right-Clicks and Double-Clicks don't work in LC8
MacBox at earthlink.net
MacBox at earthlink.net
Thu Jun 23 12:01:56 EDT 2016
Apologies, Mark, I apparently managed to leave out a critical piece of info; this is in Edit, not Run-mode.
To be clear, double-clicking a control in Edit-mode does not open the Property Inspector, and Right-Clicking does not display the PopUp menu to Edit Script, show the Property Inspector, etc.
Additionally holding option-command and double-clicking does not open the script editor
All these do work in older versions, and in LC8 under another user account, so it must be something in my account that’s causing the issue.
On Jun 23, 2016, at 11:31, macbox at earthlink.net wrote:
> Double-clicking on a control, and Right-Clicking a control do nothing in LiveCode 8 in my user account (this has been true since the first DP release). Testing on another account does work, so I tried quitting, deleting the Livecode7.rev preference file in my account, and relaunching, but that did not solve the issue. What other file(s) do I need to delete?
>
> I’m currently using LC 8.0.1 build 13020 under Mac OS 10.9.5
>
> TIA!!
> I'm not sure that behavior would be affected by the preferences...
>
> I just created a stack and a button, and set the button's script to
> this:
>
> on mouseDown
> put the millisecs && the params & return before msg
> end mouseDown
>
> on mouseDoubleDown
> put the millisecs && the params & return before msg
> end mouseDoubleDown
>
> on mouseUp
> put the millisecs && the params & return before msg
> end mouseUp
>
> on mouseDoubleUp
> put the millisecs && the params & return before msg
> end mouseDoubleUp
>
> Switched to browser mode and the output of the message box when clicking
> or double-clicking either the left or right button seem fine.
>
> The engine allows to configure the 'double click interval' (the maximum
> time between two clicks for it to register as a double-click) and the
> 'double click delta' (the maximum distance from the first click the
> mouse can move for a double-click to still register). The double click
> interval is controlled by 'the doubleClickInterval' global property, and
> the double click delta is controlled by 'the doubleClickDelta' global
> property. The doubleClickInterval is initialized from the system default
> when the engine starts up; the doubleClickDelta is by default 4 pixels.
>
> Try doing 'put the doubleClickDelta' and 'put the doubleClickInterval'
> in the message box on the user account which is broken (in this regard)
> and the one that is not.
>
> Also, whether or not the mouse recognises clicking on the right side as
> a right click, there is an option in Mouse System Preferences which
> allows you to configure what the 'secondary' click is. If you turn off
> 'secondary click', then you have to use Ctrl-Click to get a Right-Click
> - this setting is per user account so it might be worth checking that
> too.
>
> Warmest Regards,
>
> Mark.
>
> --
> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
More information about the use-livecode
mailing list