• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Fast click and drag (zoom) command being interpreted as...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 126
  • Views 14789
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Fast click and drag (zoom) command being interpreted as a click (repeat) command......

ClintMeyer
ClintMeyer over 11 years ago

In my current setup I use right click and drag for zooming in.  I hold the right mouse button and drag to draw a box and when I release the mouse I will zoom into the box I have created.  

I am noticing that if I execute a very fast zoom box, cadence will interpret my drag as a right mouse click and therefore execute my right mouse click command rather than my right mouse click drag command.  In my current setup right click executes a repeat command (cadence default in our installation).

I would like to remove the right click cadence default bindkey in hopes that Cadence will not interpret my click, drag and release as a right click rather my intended click, drag and release.  

I did the same thing in Cadence 6.x and no matter how fast I was able to click and drag it never interpreted my click and drag as a plain click and release.  
 
There seems to be a time sensitivity to whether a click and release is a click or drag command.  I can move the mouse rather far in the short time that is still inside the "click" time window.  

Is there a cdsenv variable that sets up click time? 
  • Cancel
  • skillUser
    skillUser over 11 years ago

    Hi Clint,

    Yes there is an environment variable to control the double-click time:

    ui  dblClkTime     int     200

    Double Click Time is given in milliseconds. 200 ms is 1/5th of a second. If the program receives a second mouse click in the window of time defined by Double Click Time, the action is taken as a double-click.

    This is also controlled from the UI under Options -> User Preferences, Double Click Time (a slider controls the value) .

    Hopefully this is what you are looking for?

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Frank Wiedmann
    Frank Wiedmann over 11 years ago

    You might also want to take a look at http://support.cadence.com/wps/mypoc/cos?uri=deeplinkmin:ViewSolution;solutionNumber=11840198.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ClintMeyer
    ClintMeyer over 11 years ago

    Lawrence

     Unintuitively that works, I saw that option but did not try it since I was not doing a double click.  THANKS FOR THE TIP!!!!

     Clint 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ClintMeyer
    ClintMeyer over 11 years ago
    Thanks for pointing me towards that, looks like I am not alone.  Thankfully the double click time worked.  
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information