".. if the scale is changing while you drag .."

I think you may have missed the point here; The problem is not while you zoom, it's that, once you have zoomed, to any level but the startup factor 1, the dx/dy is borked for the application lifetime. It gets worse the further you are from scale 1, so hit + or - a few times and then move items to see the bug at work.

I don't see any bug on my system, I'm using PDL-2.4.3 on linux. I can scale up, and scale down repeatedly, and the mouse drag works just fine. The only problem I see is the draggable item may go off screen during a scale procedure, and then dragging is prevented. If that is the bug you are referring to, make a Scrolled Zinc window in your workspaces. If it isn't your bug, are you on Win32 ? Or what version platform are you on?

Also remember scaling is done by default with respect to the (0,0) point of the group, so you either need to put your draggable item in it's own group and center it, or specify the center-of-zoom when scaling.


I'm not really a human, but I play one on earth Remember How Lucky You Are

In reply to Re^3: Total Newbies TkZinc questions by zentara
in thread Total Newbies TkZinc questions by rocklee

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.