vaadin / framework

Vaadin 6, 7, 8 is a Java framework for modern Java web applications.
http://vaadin.com/
Other
1.78k stars 730 forks source link

Grid DetailsRow Does Not Expand #7637

Closed vaadin-bot closed 4 years ago

vaadin-bot commented 8 years ago

Originally by mfriessen


Scroll to the bottom of the grid and double click the last row. The details row does not display. I repeated the use case 5 times (refresh, scroll to bottom and double click) and each time there was no response.


Imported from https://dev.vaadin.com/ issue #19791

vaadin-bot commented 8 years ago

Originally by mfriessen


Attachment added: gridtest.zip (915.8 KiB) Code to reproduce the problem

vaadin-bot commented 8 years ago

Originally by mfriessen


It looks like this is a problem with the event; it does not recognize that it was a double click.

vaadin-bot commented 8 years ago

Originally by proaccountapp


Updated prioritization date.

vaadin-bot commented 8 years ago

Originally by @TatuLund


Have you checked this one? https://dev.vaadin.com/ticket/19555

vaadin-bot commented 8 years ago

Originally by @TatuLund


Yes. I can replicate the issue with your test app. It is the duplicate of the issue I have reported before (#19555). The details row expands, but Grid doesn't scroll automatically so that you would see it. If you scroll down with the scroll bar you will see the details row.

vaadin-bot commented 8 years ago

Originally by mfriessen


The details row does not expand in Chrome because the item click event does not register the double click.

The details row expands most of the time in Firefox, and you can tell by the scroll bar that additional information is displayed.

vaadin-bot commented 8 years ago

Originally by mfriessen


This problem is not isolated to the details row. I am now trying to launch a modal from a double click on a grid row; if there is any scrolling before double clicking on any row, the itemclicklistener event is not aware of the double click.

vaadin-bot commented 8 years ago

Originally by @TatuLund


This seems to be different issue I could replicate first. I haven't noticed issue with double click so far. I.e. the event happens and itemclicklistener is run as it should. Does this missing of doubleclick happen all the time or only occasionally. How many of the double clicks succeed if it happens occasionally, i.e. how many times I need to repeat in order to get it happening. Also what vesion of Chrome you have and which operating system. I have Windows 10 and Chrome 50.0.2661.102 m.

vaadin-bot commented 8 years ago

Originally by mfriessen


Attachment added: ticket19791_2.zip (918.2 KiB) Updated code to show double click issue

vaadin-bot commented 8 years ago

Originally by mfriessen


Attachment added: output.PNG (14.9 KiB) output.PNG https://trac-attachments.vaadin.com/trac/19791/output.PNG output showing double click failure

vaadin-bot commented 8 years ago

Originally by mfriessen


Chrome Version 50.0.2661.94 m Windows 7

Attached new code showing how often the double click does not register. Out of 10 attempts (refresh page, scroll down and double click Bean 143) only 2 worked.

vaadin-bot commented 8 years ago

Originally by mfriessen


Updated Chrome to version 50.0.2661.102 m and the problem still exists.

vaadin-bot commented 8 years ago

Originally by @TatuLund


I think I am still unable to replicate the issue with the new application too.

However, I noticed that if I am careless with my pointing device and actually start "painting / selecting" something, the double click is not being registered, because there is other activity between clicks.

vaadin-bot commented 8 years ago

Originally by mfriessen


Updated to Chrome Version 51.0.2704.63 m on Windows 7. Problem still exists. Coworker with same environment sees the issue as well. We think the problem is specific to scrolling with the bar. If you scroll down using the mouse wheel, there are no issues.

vaadin-bot commented 8 years ago

Originally by mfriessen


Video showing issue: http://www.youtube.com/watch?v=axoC_fumO2c

In case it's not obvious, when the row stays highlighted, the double click did not work.

More double clicks worked today.

Have you tested the issue on Windows 7?

vaadin-bot commented 8 years ago

Originally by mfriessen


For the video, I clicked the refresh button so the refresh could be demonstrated. I usually use F5, which results in more double click failures.

vaadin-bot commented 8 years ago

Originally by proaccountapp


Removed prioritization date.

stale[bot] commented 6 years ago

A lot of tickets have been left hanging in the issue tracker through the years. Some of them are still relevant, some of them have been fixed a long time ago and some are no longer valid. To get a better look on what is important and still relevant, we are closing old tickets which have not been touched in a long time. No further work will be done on this ticket. If the ticket seems to be still actual, please verify the problem existence over latest framework version and then open a new ticket in vaadin/framework with all the suitable information.

TatuLund commented 4 years ago

This should be retested with Vaadin 8.9 release.

Ansku commented 4 years ago

Could not reproduce the issue with either a current or the original Vaadin version beyond the failure to scroll the details into view, unless zooming was involved (the issue in #11672 which was fixed yesterday). Note that a double click causes two regular click events as well as the double click event, which doesn't explain all of the logging in the attached picture but perhaps some of them were simply too slow clicking?