Make clicking outside a ComboBox add a pending new item (#18366)
It should not matter how you move from a field to the next. Tabbing
to the next field already previously caused the new item handler to
be invoked. This fixes the case when you click in the next field to
work the same way.
Change-Id: I3978d87cde8f05dce92edda2a4a116f4a15e0749
Show a sensible message for missing extensions (#10799)
Also remove ComponentMissingFromDefaultWidgetsetTest since it's
identical to UnknownComponentConnectorTest
Change-Id: I4b4b8f40c8376f4ea26b73d41191a3e7e811df01
- legacy DateField declarative format tests are fixed (day light saving
time is taken into account).
- CalendarMonthViewDndEvent UI because you are not supposed to work on
Sundays (when the test is broken).
Backported from master branch (Vaadin 8).
Change-Id: I5e62c09da579e9f6eb2a58a87253618d3f30b2e9
Add valo-menu-hover stylename to make responsive menu appear w/o adding code (#19019)
Adding the optional "valo-menu-hover" style to the "valo-menu" element
will make the menu appear on hover - i.e when mousing over on desktop,
when tapping on touch devices (which also triggers hover).
Backported from master branch (vaadin 8).
Change-Id: I8344234a20aa93216b0116608d81e30e86d8b309
Add tests for widgetset compilation in different modes
* Using the default widget set
* Using no add-ons but a custom widget set
* Using add-ons with a defined widget set
* Using add-ons with no defined widget set
* Using directories with special characters (space)
Change-Id: I85450de359f410003bed94b120915b4736bc2d4f
Make initially disabled grid work when enabled (#20240)
Adds API to allow grid to ask its data source if it is waiting for data.
The previous tracking inside grid was not always correct as it relied
on dataAvailable being called.
Change-Id: I0bdb448d9b720155940b0834e118f0eca27a3bfc
Calculate column widths immediately if there is data (#20269)
Deferring the column width calculations, like done before,
causes flickering as each column is first rendered with its
minimum required width.
Change-Id: I02e6951a99dcb0cb9ad78a95915076d064fa9642
Ensure Firefox always updates the grid scrollbar (#19802)
When the scrollbar is scrolled a bit down and the number of items
in the grid is reduced so that no scrollbar is needed anymore, it seems
that Firefox refuses to send a scroll event even though the scroll position
is updated before the scrollbar is hidden.
Change-Id: I626536a9efd036bc826b1e6be3363332a56774f6
Always show loading indicator for JavaScript RPC (#20235)
The change to not show loading indicator for JS RPC was done in
15a53d305e and looks like a refactoring
error.
Change-Id: If2a2818e0c4adc06479ecaf17764bf53fc89c095
Update DOM and update escalator row count in the correct order (#19442)
If you show a column when Grid has no horizontal scrollbar, and is scrolled
all the way down, and the number of visible rows is slightly more than N then
Escalator will adjust the row count when the scrollbar is shown so that N-1
rows are visible. During this operation, the DOM must be updated for the new
column.
Change-Id: I0b6c845f96a57be1d64ef4e735aa2f77efbe589a
Discard for DateField when the data source contains null (#8069)
Earlier discard did not work (#8069) if the data source
contained null and the user entered an invalid value for date fields.
The discard logic has been changed such that the error indicators and
internal state of the date field is cleared also if the value entered by
the user is invalid and the data source is null.
attach() updates the value from the data source in the same way as
discard. The old logic in attach is retained.
Change-Id: I5d798a2fdc3d2f0e82a037ea3cb2f57b6432039e
Fix animation end listeners so they are always removed (#17903)
Fixes ComboBox suggestion popup so that it will not automatically
close when clicking the popup button, if the user happened to
double click on the button earlier.
Change-Id: I60936f82133ca89c2aef0dccff68092a11deff1c
The main encoding problem was fixed in GWT 2.7.0.vaadin4.
Vaadin 8 is already fixed as it uses GWT 2.8
Change-Id: I78ea30c1ff81d44432cd82ecd23eda8eb86e6efb
Fix Grid height calculation when HeightMode.ROW (#20104, #20074)
When Grid is inside of a Tab (Tabsheet or Accordion) and
height mode is set to HeightMode.ROW, layout happens
before row height is known. To fix that, an event is fired
and a handler starts a layout after everything is calculated.
Change-Id: Idc8de795956b387ec69adf1871cb7f557914d998
Fixing TabSheet scrolling within SplitPanel (#20052)
This patch fixes an issue with disappearing tabs in a TabSheet placed in a
SplitPanel.
Scrolling a tab into view needs to be done after layout has happened. Otherwise
the available width for TabSheet is unknown and causes unexpected behaviour.
Change-Id: Ibcea04ddadfafc5028efe44a6817517b16e21bde
Without the fix, when selecting a value from page n+1 and re-opening the
ComboBox popup, the content of the text box may disappear.
Change-Id: I5fb57c0e5a068645f4b11fb1c392e682dd04b06a
The test was based on the assumption that only the visible tabs are
in the DOM of the tab bar. This assumption was no longer true.
Furthermore, the test iterated over all tabs which led to performance
issues especially on IE8.
Change-Id: If8e904418bdb81cf2762475b317adb2b21dcc032
Since the fix for #13370 which causes tooltips to react to mouseOut,
TB tests for tooltips fail on Firefox because of an extraneous
mouseOut event from FirefoxDriver.
Tooltips do work in manual tests also on Firefox.
Change-Id: Ic6d73bb4487749618bbc5c7e3a8416107adb4856
- new height more for undefined height that works like in Table and
resizes the grid when details row opens or closes
Change-Id: I2dc817140308093865be30de72edcd6494e4a44b