-
-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backport] rapid click on two different items in a list gets interpreted as a double-click on the first item #14345
base: Pharo11
Are you sure you want to change the base?
Conversation
This issue has either a default title or empty body. We would appreciate it if you could provide more information. Note: I am not a very intelligent bot, I can only react to new comments. Please add a comment for me if you update the body or title. |
Hi, Current bug fixes should be done on Pharo 12. If the fix is integrated in Pharo 12 and works fine, we can then backport it to Pharo 11. |
It brings other changes so I cannot just rebase it against P11 |
@jecisc What should I do? |
I'll try to cherry pic your fix against P12. |
…aised mouse events from test cases)
(I did a close/reopen so we run the tests against the newest version of Pharo11) |
The fix is in Pharo12 since end of July, it seems no problems came up. We can merge the backport when the tests look ok |
The CI run has some tests failing due to a DNU for #asPseudoDoubleClickEvent, for example #testDoubleClickActivatesRowInDoubleClickActivationMode
|
I think this is because a change was integrated to Spec for the Pharo 11 branch but we need to do a new release |
BaselineOfPharo class>>#spec needs to be updated to point to v1.2.4 instead of v1.2.3 |
This PR solves the problem with 2 subsequent clicks (within double click timing) on 2 different items of FTTableMorph.
Before the fix, this would execute a double click command on the first clicked item.
The fix involves comparing the 2 click positions and resulting item indexes.
A second problem occurs when double clicking on an already selected item.
Before the fix, the item gets de-selected, and nothing further happend.
This PR ensures that item is selected before dispatching the double click command.