Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 6 of 6

Thread: Problem with numbering of objects in Audio System Design Tool

  1. #1
    Member
    Join Date
    Feb 2020
    Location
    Dublin, Ireland
    Posts
    46

    Problem with numbering of objects in Audio System Design Tool

    Hi,
    There's a minor bug in the design tool. If, for example, you drag on one Mixer, and then copy and paste that Mixer, the two are named Mixer1 and Mixer2. If you then drag on another mixer, however, it's also named Mixer2. The same thing happens with other object types,
    All the best,
    Alan

  2. #2
    Senior Member
    Join Date
    Jul 2020
    Posts
    466
    Quote Originally Posted by AlanK View Post
    Hi,
    There's a minor bug in the design tool.
    There's a subforum for bug reports.

    I don't see this issue, in fact copy/paste seems to do nothing in Firefox (77.0.1) or Chrome (84.0.4147.135) for me.

    You should give details of your setup when reporting bugs, in particular for a webtool the version of the
    browser you are using. Someone has to go and reproduce the problem, so they need to know such things.

  3. #3
    Member
    Join Date
    Feb 2020
    Location
    Dublin, Ireland
    Posts
    46
    Sorry for posting to the wrong place. It happens in Chrome (Version 84.0.4147.105 (Official Build) (64-bit)) and in Edge (Version 84.0.522.52 (Official build) (64-bit)). The problem is not with copying - it occurs when you mix copying objects and dragging on new ones. To see it, drag on a mixer, copy and paste that mixer, and then drag on another mixer

  4. #4
    Senior Member
    Join Date
    Jul 2020
    Posts
    466
    Quote Originally Posted by AlanK View Post
    Sorry for posting to the wrong place. It happens in Chrome (Version 84.0.4147.105 (Official Build) (64-bit)) and in Edge (Version 84.0.522.52 (Official build) (64-bit)). The problem is not with copying - it occurs when you mix copying objects and dragging on new ones. To see it, drag on a mixer, copy and paste that mixer, and then drag on another mixer
    That's what I did, copy and paste do nothing for me, I can only get copies by dragging.

  5. #5
    Senior Member
    Join Date
    Dec 2019
    Posts
    129
    I was able to duplicate the behavior you were talking about in Chrome(Version 84.0.4147.135 (64-bit)). Seems to be a pretty minor issue, as you can just rename any particular object simply by double clicking on it. The audio tool is nice to quickly route complex ideas but it isn't perfect. For example it doesn't automatically handle matrix connections without some trivial recoding.

  6. #6
    Member
    Join Date
    Jun 2020
    Location
    Sweden
    Posts
    62
    In function checkId in nodes.js it checks against id instead of name. And because copy/paste generates random id the numbering dont work on theese id:s. But i think this will introduce other problems so the checkId in getUniqueCppName should be replaced by new function checkName that checks against the name instead.
    Last edited by manicksan; 09-09-2020 at 10:24 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •