Task #88160

Improve handling of unsharp clicks in the page tree

Added by Alexander Stehlik about 1 month ago. Updated about 1 month ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Pagetree
Target version:
-
Start date:
2019-04-16
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Sprint Focus:

Description

In the last couple of days I had a strange behavior in the pagetree: it would just ignore my clicks and nothing happend. This happened at least 50% of the time.

There where no errors on the JavaScript console.

After some testing I finally realized that the problem seems to be connected to the new mouse I bought. It seems to move a little when clicking.

This tiny movement is enough to enable the drag & drop behavior of the pagetree and ignore my click.

With older TYPO3 versions (tested with version 7) with the same (broken?) mouse there were no such problems. The pagetree worked just fine.

Possible solution

There is a setting in d3-drag called clickDistance.

After raising this setting a little bit the pagetree felt much smoother and responsive.

Further thoughts

I'm not sure how many people are affected by this problem. But there might be the risk that some are and they can not figure out what is going on. This can lead to frustration and a bad user experience.

With that in mind I think it is worth "fixing" the problem since I could not see any negative side effect.

History

#1 Updated by Gerrit Code Review about 1 month ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60488

#2 Updated by Gerrit Code Review about 1 month ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60488

#3 Updated by Gerrit Code Review about 1 month ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60488

Also available in: Atom PDF