Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29 FamiTracker
Login:
Menu:
Post: Author:
FamiTracker > General > Bug Reports & Feature Requests > Drag-drop bug which has always been present Owner: w7n_mariohacker New post
Page 1 of 1 Sort:  
Drag-drop bug which has always been present Posted: 2014-08-13 04:41  (Last Edited: 2014-08-13 04:42) Reply | Quote
w7n_mariohacker

Avatar

Member for: 3141 days
Status: Offline

#60801
So the case is:
Assume there is a note on row X.
Select the 'note area' from X to X+Y by CLICKING ROW X+Y FIRST then releasing at row X. (Don't select anything else, e.g. volume area.)
Now try to drop the area onto row X+Y. And it doesn't work.
The program probably assumed that this drag-dropping 'drags the area onto the same row'?

_______________________
w7n: \Akkari-n/
Posted: 2014-08-13 18:10 Reply | Quote
Stratelier



Member for: 2954 days
Status: Offline

#60839
Steps are confusing, I can't figure out what you're trying to describe....

Not sure if they're relevant or not, but a few things I noted while attempting to follow:
- Every time you click on a row FamiTracker resolves your click point to one row only (X or Y). It is literally impossible to click on two rows simultaneously.
- When you select by mouse, there's a certain pixel threshold you have to cross before the selection is actually made. You can use this to select just one note (by mouse, not keyboard).

And here's some steps I tried:

Select a group of notes (say, from row X to X+2, across both Note and Instrument columns). Now, click on one of those notes in the selection and start dragging the mouse to engage drag-and-drop mode. Drag the selection various places and note the gray shadow noting exactly where the group of notes will be dropped; release the mouse to cut-and-paste notes from the old to new location. It works even if the new location overlaps (or is the same as) the old location; so I fail to see any problems.

One issue I do see is that if you drag-and-drop notes onto an area that is already occupied, those notes are overwritten (the same as an actual Cut + Paste operation) when in some cases you might want those notes to get shifted around (as if you literally removed the row(s) from the measure and then re-inserted them to the new location). But that's more complicated and carries side effects of its own.

_______________________
Where to find me:
YouTube: [url=http://youtube.com/user/stratelier]http://youtube.com/user/stratelier
DeviantArt: [url=http://stratadrake.deviantart.com/]http://stratadrake.deviantart.com/
Posted: 2014-08-13 19:23 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#60843
I managed to reproduce the problem, I'll fix it.
Thanks for your report!

_______________________
Programmer and developer
Page 1 of 1 Sort: