Author Topic: Odd Behavior (Possible Bug) moving multiple models (Linux)  (Read 1272 times)

Offline DoctorWizard

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • Doctor Wizard's Giant Musical Holiday Light Show
Odd Behavior (Possible Bug) moving multiple models (Linux)
« on: March 05, 2019, 06:44:16 PM »
I have found some rather strange behavior in the Linux version 2019.8 when selecting and moving multiple models.  If you ctrl-drag the lowest numbered model, it stays put while the other selected models move.  I can easily duplicate the problem in a new home folder / layout.

1. Draw 4 trees.  Remember which one you did first.
2. Select all 4 trees.
3. Ctrl-Drag the first tree.  It will stay put while the other 3 move.
4. Reselect all 4 trees.
5. Ctrl-Drag tree #2, 3, or 4.  All 4 trees will move including #1..
(more)
6. Select Trees 2, 3, and 4.  Leave #1 unselected.
7. Ctrl-Drag tree #2.  Trees 3 and 4 will move while tree #2 stays put.

This is especially annoying if you overlap models.  The lowest numbered one is the top one in the z-order so you always end up selecting the lowest numbered one and thus it always does this when trying to move overlapped models.

And while we're on the subject, a related feature request.....  A way to "group" models in the preview window, much as you would in a CAD or Inkscape or other such drawing program.  Since there is already a "group" and "lock" function, perhaps this could be called "glue" or "attach".  Perhaps have a checkbox in group properties that also "glues" the group together so they can be moved and sized together.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Odd Behavior (Possible Bug) moving multiple models (Linux)
« Reply #1 on: March 05, 2019, 07:21:21 PM »
There is no such thing as a Ctrl-Drag.  Control key either adds or remove a model from the group.  You can already create groups and then click group names to select all models in a group and move them.

Offline DoctorWizard

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • Doctor Wizard's Giant Musical Holiday Light Show
Re: Odd Behavior (Possible Bug) moving multiple models (Linux)
« Reply #2 on: March 07, 2019, 06:37:10 PM »
If I select a group in the models list, it does indeed highlight/select all the models in that group.  However, if I do a normal click-drag only one of the models will move, not the whole group.  (Wish it did!)
Using Ctrl-Drag allows me to move multiple models at once (regardless of whether they are grouped or not) and have them all keep the same relative position to each other -- assuming I Ctrl-Click-Drag on a model other than the first one.  That's why I found the behavior so odd.  If I ctrl-click-drag on the first one, the rest of them move but the first one (the very one I actually clicked on) does not move.  Weird.
Now I admit I'm new to xLIghts, and not really well versed in Linux yet either.  But I developed Windows Desktop applications for over 20 years and so I suspect this is not the intended behavior.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Odd Behavior (Possible Bug) moving multiple models (Linux)
« Reply #3 on: March 07, 2019, 09:16:01 PM »
Sorry were you in 2D mode?  I've got 3D on the brain.  Yes in 2D the control key modifier lets you move the group.  I haven't seen the problem you describe.

Offline DoctorWizard

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • Doctor Wizard's Giant Musical Holiday Light Show
Re: Odd Behavior (Possible Bug) moving multiple models (Linux)
« Reply #4 on: March 10, 2019, 08:11:46 AM »
The steps in my first post, pretty simple, reliably demonstrate the strange behavior every time.  At least on my machine.  (HP Z600 engineering workstation, dual Xeons, 24 cores, 24GB RAM, 512GB NVMe SSD, Linux Mint 19.04 with Cinnamon desktop.  Linux was just installed recently, so it's still pretty clean and close to default.)