ID:2891620
 
BYOND Version:515.1616
Operating System:Windows 7 Pro 64-bit
Web Browser:Chrome 117.0.0.0
Applies to:Dream Maker
Status: Unverified

Thus far we've been unable to verify or reproduce this bug. Or, it has been observed but it cannot be triggered with a reliable test case. You can help us out by editing your report or adding a comment with more information.
Descriptive Problem Summary:
When you copy parts of the map and then paste it to make working with tiles easier. When I undo the action (also using the ctrl+z shortcut), the object copy does not work properly.

I believe it is related to this bug - http://www.byond.com/forum/post/2889733

https://drive.google.com/file/d/ 1KnvB1NGn8G9vsSQfVOjYiK1cykIJ1dMq/view?usp=sharing

Numbered Steps to Reproduce Problem:
1. Make some atom on map.
2. Copy, paste, do some stuff like painting map.
3. Use undo to. Copied stuffs still stay on map.



Code Snippet (if applicable) to Reproduce Problem:
// No needed


Expected Results:

Actual Results:

Does the problem occur:
Every time? Or how often? Every time
In other projects*? Yep
In other user accounts? Yep
On other computers? Yep

When does the problem NOT occur?

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

I don't remember..

Workarounds:

I don't know

I'm gonna need a more concrete set of steps to follow on this. Attempting to recreate it on my own didn't work.
There is no rule, at least I can't see it. I did dozens of tests. I think it might have something to do with the size of the map. Although this is not a rule, because apart from recording, there were also glitches on a small map. Sometimes manipulating the map size helped. However, I don't think this is a rule as it didn't work every time.
I also tested it on a completely new project and it seemed to work, but after playing with the map sizes it started to break down. I think the critical size is 200 x 200.

https://drive.google.com/file/d/ 1feD3CgcRtTNktpxDMM7KSXDAmNeabLJx/view?usp=sharing

I tested on a 100x100 so that's smaller than the 200 you had, but it doesn't make a lick of sense that map size would be a factor in this. I'll give it a shot on a bigger map tomorrow to see if I can come up with anything, though.
I still couldn't get anything to happen on a 200x200 map. There has to be more going on here and it would have to be from a specific set of steps you followed, but without knowing those exact steps I can't reproduce this.
Lummox JR changed status to 'Unverified'
I made several attempts, each performed in the same way. I used keyboard shortcuts during each attempt. I think I painted quite quickly.
Each time I copied the objects, I used the copied objects as the active objects for painting.
It was only the fourth time that an error occurred.

(bug - 1:14)
https://drive.google.com/file/d/ 1iaihbWStic6IqJPGGlT-Pa2oQ8HdhzON/view?usp=sharing

Demo:
https://drive.google.com/file/d/ 1S_76mef6DEyzR0VpjBTkMWo1bp_fYuhp/view?usp=sharing

Can you break out the exact steps in text form (down to all of the clicks and keyboard shortcuts)? Trying to follow what happened in a video is not really all that helpful, since a video misses a lot of context.

(bug - 1:14)
https://drive.google.com/file/d/ 1iaihbWStic6IqJPGGlT-Pa2oQ8HdhzON/view?usp=sharing

0:06 - 0:11 use mouse to painting turfs
0:12 - 0:13 select turfs
0:14 - ctrl+c to copy
0:15 - ctrl+v to paste
0:20 - select pencil tool
0:21 - use ctrl+LMB to make active object
0:23 - use moouse to painting turfs
0:25 - 0:33 use ctrl+z many times to undo

repeat all steps 4 times..

I followed your steps multiple times and I still haven't been able to reproduce this issue.

I suggest you try doing this while using Steps Recorder. It might uncover something specific about the sequence of actions that isn't clear in your video.
Unfortunately I can't use the file. The steps are all recorded in another language and I can't read it.

I was told about Steps Recorder only recently and hadn't used it before myself, so I didn't know this would happen. It seems like it's the wrong program for the job after all, so I'm sorry I wasted your time on that one.
no problem, I just want to fix this bug. because I can't continue my project..

maybe it's a problem with some files or cookies?
No, there definitely has to be a bug, and it's triggered by a certain sequence of steps. Your video proves that, but it doesn't give me enough information to reproduce. At this point I'm basically convinced the only thing standing in the way of my reproducing this bug is a communication barrier. There's some step in the process, some vital piece of information like when and how you switch tools, that you're unintentionally leaving out. (One other clue to that is that you mentioned Ctrl+click to make something the active object, but that's wrong; Alt+click does that now.)

I would suggest loading up that .mht file you got yourself and translating all of the steps into English, which might make clear what you've left out in the steps of your report. In particular, it should become clear at which point you did something different than in the other steps, just before the bug occurred.
Even though I don't think it's relevant to this at all, there is a very slim possibility that this bug is more apt to occur in your specific project. If you can send me the project files, and especially point out which map you have this issue with and what part of the map you're editing when it tends to happen most, that might help.

I still think the issue relates to the specific sequence of events and has nothing to do with the exact project, but we can find out.
I don't think it's a design issue, as the bug is reproduced here on the new game. Here is another video:

https://drive.google.com/file/d/ 122dsSYTPYi30Osl0PC4Xylox0US506UU/view?usp=sharing

Demo:
https://drive.google.com/file/d/ 1S_76mef6DEyzR0VpjBTkMWo1bp_fYuhp/view?usp=sharing
As I've said, videos don't really help. I need to know the exact sequence of clicks, key presses, etc.

Steps Recorder might have been helpful for that, but unfortunately it records everything in the local language, which is a non-starter.

[edit]
I didn't realize your new video had a keyboard overlay; that's actually quite helpful. I'm looking through it on 0.25x speed now, and I see one important clue: an anomaly in the undo stack at 0:56, before the issue happens.

[edit 2]
It looks to me like the video begins somewhere other than the start of the editing process. Did you do any drawing/undo before that, so the undo stack wasn't empty? I noticed the issue only came up after you did a redo.
yes, I recorded it twice because I couldn't quite handle OBS.
Somehow the demo project shows this more reliably than my own, so that was actually a big help. No idea why, though.

When I followed your instructions to the letter, the results were intermittent at best. I often could not get the issue to happen. However, this sequence did work consistently:

* Pencil tool, draw
* Selection tool, select turfs
* Ctrl+C, Ctrl+V, drag selection
* Still in select tool, select other turfs
* Pencil tool, draw

I have no idea why the error was intermittent in the one case but not the other. I changed some logic and the problem appears to be resolved in all of my tests, but it's very hard to know if it's gone for good. The issue appears to be that a floating selection was still on the map, but in an inconsistent state where it wasn't "really" there.

I won't mark this as closed until it can be confirmed properly on your end. I might try to send you a test build later.
That's interesting, actually I think I didn't say something important. This "new" Demo was not new. It was created x time ago.
Page: 1 2