Author Topic: Crashes during copy and paste  (Read 2054 times)

Offline gerry

  • Hero Member
  • *****
  • Posts: 695
    • View Profile
Crashes during copy and paste
« on: June 19, 2016, 02:16:49 PM »
@ version 2016_37
In the first crash , I  copied the face effect (Singing Face model under the Singing Face group) from between the first set of timing marks and then repeatedly pasted between successive timing marks ('Voice 1' active). After several pastes (> 10) it crashed  . Was using Cntrl C and Cntrl V.
In the second and third crashes , was doing the same , but using the Singing Face 2 model with 'Voice 2' timing track active. I believe that the paste operation crashed when there was no ending timing mark in the region that I was pasting to. Was using Cntrl C and Cntrl V.

In all three cases , I restarted xl and continued what I was doing successfully.

(I then had to go back and correct them all to remove the red colour selection and leave only the white active....lol)
Gerry

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Crashes during copy and paste
« Reply #1 on: June 19, 2016, 07:19:16 PM »
Sorry but it's hard to fix unless I can cause it and there are tons of options with cut and paste now that you didn't specify.  Was a timing track active?  Was it on Paste by Cell or Paste by Time?  Was the paste target a single cell or a selection of multiple cells?  Were you pasting in timing area, model area, or both?

Offline sean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Xlights and Nutcracker Forum
Re: Crashes during copy and paste
« Reply #2 on: June 19, 2016, 10:54:03 PM »
when reporting bugs a short video of you duplicating the problem will really help the developers. use your phone movie or screencast-o-matic free version.
Sean
Littleton, CO
Latest releases http://nutcracker123.com/nutcracker/releases
xLights/Nutcracker Forum http://nutcracker123.com/forum/index.php
Fbook [url=https://www.facebook.com/groups/62

Offline gerry

  • Hero Member
  • *****
  • Posts: 695
    • View Profile
Re: Crashes during copy and paste
« Reply #3 on: June 20, 2016, 05:04:03 AM »
I will attempt to recreate the problem tomorrow and document as was not at home today.

Until the third crash , I did not really see any apparent pattern , cause I simply restarted xl and 'continued with no problem'.
Most of the time , if and when it does crash with me which is not that often, its when I am doing the screen prints for the documentation unlike others who are actively aiming to do something to a sequence.. so by the time the debug report window appears , its like .. oh shucks what exactly was I doing just now that caused the crash ?

 
Gerry

Offline gerry

  • Hero Member
  • *****
  • Posts: 695
    • View Profile
Re: Crashes during copy and paste
« Reply #4 on: June 21, 2016, 02:35:16 AM »
Attached is a screen print of the setup just prior to the crash.
The timing track of Voice 2 has been selected. It crashes irrespective of whether Paste by Time or Paste by Cell is selected. Once of each crash report attached.
Single cell (with face effect) selected (the one in the red box) . Cntrl C to copy . Cursor placed where the red oval is. Cntrl V to paste and it crashes.

Note that there is no timing line after that (the vertical line that I have highlighted that exists just before). There are also face effects on the same horizontal line at the end - these were placed there when timing grid of Voice 1 was active.

Hope this helps.   
Gerry

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Crashes during copy and paste
« Reply #5 on: June 21, 2016, 08:22:28 AM »
There's one part of your description that doesn't make sense.   If you have a timing track active then it's not possible for you to select that position where the red oval is because without an end timing mark there is no cell to highlight.  There is no way to select that spot unless you turn off the timing track.  So when you say "cursor placed where the red oval is" what does that mean?  You just hover the mouse cursor there?  If that spot is not selected with a colored highlight then it's not the target of the paste.  Would be better to see a video of what you're doing.

Offline gerry

  • Hero Member
  • *****
  • Posts: 695
    • View Profile
Re: Crashes during copy and paste
« Reply #6 on: June 21, 2016, 04:32:56 PM »
Hi Gil,
I should have said 'attempted to place the cursor' where the red oval is. I noticed that yesterday when doing the snapshot. That area is protected so the cursor does not stick.
But that was what I was trying to do.
Started a few cells back. Selected the face effect (one cell) , copied , click on next cell and paste. Click on next cell and paste and so on .. until I reached the highlighted point and tried to do the same thing and it crashed.

I don't think a video would help , cause u cant see the cursor 'being placed' when it crashes.
So IMHO , either it did not like the fact that there was no timing mark after, or it did not like the face effects already at the end of that row. But am sure that when I created the subsequent timing marks at that point , there was no problem.
used cntrl c and cntrl v through out.
Regards 

Gerry

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Crashes during copy and paste
« Reply #7 on: June 21, 2016, 05:04:29 PM »
Ok so why are you hitting Control-V when you didn't establish a paste location?  If you want to paste out there then add another timing mark or uncheck the timing track and then you'll be able to select that location.  I agree it shouldn't crash so that is all part of us having to idiot proof the code.

Offline gerry

  • Hero Member
  • *****
  • Posts: 695
    • View Profile
Re: Crashes during copy and paste
« Reply #8 on: June 21, 2016, 05:31:33 PM »
Hi Gil,
I did add the timing mark finally ... I completed that bit a few days ago and am only submitting this to prevent the crashes for others.
The sequence was that I added the timing marks first , tried to ensure that the face definition in the first cell was correct for all the required rows ie the correct Voice selected , white color on (I still got that wrong.. lol), etc etc , then for each row , copied the first cell and repeatedly pasted across all cells till suddenly it crashed..
Restarted and did the same thing , this time saving after every few pastes until it crashed again which gave me an indication as to where and possibly why.
Gerry