Update Vaadin7 to use atmosphere-runtime 2.2.13.vaadin2 (#12430)
* Update Vaadin7 to use atmosphere-runtime 2.2.13.vaadin2
* Update Constants.java
* Chrome 94 (#12434)
* Added logging for generateArchetype in BuildHelpers
* Chrome 94 screenshot changes and version number
Co-authored-by: Olli Tietäväinen <ollit@vaadin.com>
fix: Do not allow border to grow row height (#12254)
* fix: Do not allow border to grow row height
If css grows row height the VSrollTable rowHeight logic does not work allways
Fixes: https://github.com/vaadin/framework/issues/12251
* Compensate change in default row height
* Merge branch '7.7' into fix12251
* Replace calc with round
* Make fix more pin-point
* The first row does not have border thus regular height
* Fix drag-drop styles
* Further fix in drag-and-drop style
* Update TableDropIndicatorValoTest-indicator_ANY_Chrome__indicator.png
- Properly init client-side data in GridDataChangeHandlerTest
- Update Chrome version
- Separate and refactor ComboboxMenuBarAutoopenTest test cases to match
test description
- Update screenshot for ResponsiveStylesTest
- Refactor TextAreaEventPropagationTest to better match expected
behavior
- Add delay to GridDetailsClientTest and EscalatorSpacerTest for
stability
- Add delay and retries to TreeItemDoubleClickTest for stability
Co-authored-by: Teemu Suo-Anttila <teemusa@vaadin.com>
fix: use time-constant comparison for security tokens (#12192)
This is the same as #12190, but also applied for the upload security key
and the push id since both of those are also used to protect against
cross-site attacks. In addition, documentation for the push id is
clarified to point out its role.
Backporting of #12189
- Updated Chrome version
- Added leeway to ComboBox popup following along while scrolling
- Added workarounds to timing issues that aren't relevant for the tests
- Added delays for stability
* Updated browsers' screenshots
* Update browsers' screenshots
* Update chrome version to 83
Co-authored-by: Anna Koskinen <Ansku@users.noreply.github.com>
Fix incorrect position of column selector in MPR (#11946)
* Change ContextMenu position from absolute to fixed
* Use getBoundingClientRect to get the coordinates of columnSelector in
VScrollTable when the context menu is being opened
* Update TableTooManyColumnsTest screenshot
* Upgrade Chrome version in VerifyBrowserVersionTest
* Update ValoThemeUITest-sliders screenshot
* Fixes a Grid issue that breaks sorting.
When multi-select has been enabled and disabled a number of times, sorting on the first column in a Grid is broken.
Unregistering a click handler on the header solves the problem.
* Added a test checking that sorting of a grid column still works after having enabled and then disabled multi select mode.
The grid is configured with an extra header row containing a text box since it triggers an exception if the header click handler for the multi select column is not removed.
* Remove an unused import that was added by mistake
* Improve VMenuBar click handling logic
Backport to V7:
During `updateFromUIDL` inside MenuBarConnector we empty and re-instantiate the components of MenuBar. When we are modifying the Menubar from the BlurEventListener of another component, we ,by this, remove widgets, therefore clickEvent is not fired and the action of the MenuItem is not proceed as a result. (The BlurEvent is fired before the click event in the chain of events. )
To improve the situation, we catch onMouseDown event , which is fired before BlurEvent,by assigning mouseDown flag to true. Then if no click event has yet happened, we delay the execution of update inside `updateFromUIDL` by default 500 ms. Then if click event occurs, it proceeds normally. The time can be increased/decreased using setter.
There is no delay, if we are clicking on the MenuBar as usual or no Blur listener is set.
This change allows setting descriptions preserving the action from the MenuItem
(cherry picked from commit 22cc85c76f)
* Improve VMenuBar click handling logic
Add missing files from the first commit
Backported to V7:
(cherry picked from commit 22cc85c)
Fix Combo Box filtered on Property not showing results when page length is zero (#11247)
* Fix #11246
Take zero pageLength into account when calculating filtered ComboBox contents.
* Create ComboboxPageLengthZeroFilterTest.java
* add UI tests for fix