MantisBT - TestLink
View Issue Details
0008947TestLinkGUIpublic2020-06-23 11:412020-08-07 08:27
Postgres (?)
0008947: Drag&Drop doesn't work in Test Specification
Test cases in a Test Specification tree should be movable by a mouse (aka drag and drop) but they are not.
Trying to drag clicking on the test case icon, clicking on the text, clicking on the empty space near the text - all without luck.

Tried it in Chrome, Edge, Firefox.

As a result I can't order testcases in a logical way, which gives this bug major severity.
1. Open Test Specification
2. Expand Test Suite with Test Cases
3. Click and hold single Test Case
4. Move the mouse couple of items up or down
5. Release the mouse button

Result: nothing really happens. The animation looks like the browser tries to handle my dragging, i.e. showing either picture or text near the mouse cursor.

Expected: the testcase moves in the list to the new position with some meaningful animation.
I'm using default bitnami docker container to run Testlink
No tags attached.
wmv Video_20200730165131.wmv (1,029,798) 2020-07-30 08:58
Issue History
2020-06-23 11:41denwerNew Issue
2020-06-23 14:34atisneNote Added: 0029770
2020-06-23 15:13atisneNote Added: 0029771
2020-06-24 10:19fmanNote Added: 0029772
2020-06-25 08:45atisneNote Added: 0029784
2020-06-25 08:45atisneNote Edited: 0029770bug_revision_view_page.php?bugnote_id=29770#r6081
2020-06-25 17:55denwerNote Added: 0029793
2020-06-25 17:55denwerNote Edited: 0029793bug_revision_view_page.php?bugnote_id=29793#r6085
2020-06-25 18:12fmanNote Added: 0029794
2020-07-30 08:58sherrywu02021File Added: Video_20200730165131.wmv
2020-07-30 09:00sherrywu02021Note Added: 0029860
2020-07-31 08:24sherrywu02021Note Added: 0029861
2020-08-07 03:42sherrywu02021Note Added: 0029871
2020-08-07 08:27fmanNote Added: 0029872

2020-06-23 14:34   
(edited on: 2020-06-25 08:45)
I reproduce on linux (1_9_20_fixed). Using Firefox and Chromium. Using site admin.

The same behavior exists also on the requirements browser.

I can't find a logical behavior. The move works on firsts (several tens, hundreds ?) items and do nothing on some others (often at the end of a long list).

Empty the cache of the browser changes things but don't solve the issue.

2020-06-23 15:13   
I don't see any error, neither on client side nor on server side.
2020-06-24 10:19   
This error sometimes happens and other no, it's random and because tree component is very old I've no hope will be possible to solve it.
2020-06-25 08:45   

Although the behavior is odd, it can always be reproduced using a large amount of items.
2020-06-25 17:55   
I reproduce the problem with not so many items: ~ 160 test cases spread among ~ 40 test suites.

What is interesting - top 4 items (not counting the root) are always draggable, no matter test suites or test cases they are.

For example I have a tree:

If I collapse folders 1 and 4 -> items 1, 4, 6, 7 are draggable. 8 is not.
If I expand 4 -> items 1, 4, 5, 6 are draggable. 7, 8 are not
If I expand 1 -> 1, 2, 3, 4 are draggable. Others are not.

Drop point is also always among top 4 items. If you drag it lower - it's always crossed red cirle.

Hopefully it can give a clue.

2020-06-25 18:12   
@all users:
please understand that unfortunately, this issue will not be planned on the task list.
2020-07-30 09:00   
Hi?i encountered the same problem and uploaded the file
2020-07-31 08:24   
Dear fman:
May be we can try to fix this problem by ourself,but we can't find xxx.js which is about this problem.
Can you tell us the code location?
Thank you!
2020-08-07 03:42   
We upgraded the ext-all.js, the problem is be sloved.
You can try it
2020-08-07 08:27   
It's critical to understand what is the extjs version have you used, because upgrading from 3.4 to latest has lot of changed thinhgs