[MGNLUI-3329] Vaadin requests are not sent in time from Page Editor and during navigation with 1-3 keys (since Vaadin 7.3 update). Created: 22/Jan/15  Updated: 06/Aug/15  Resolved: 16/Feb/15

Status: Closed
Project: Magnolia UI
Component/s: page editor
Affects Version/s: 5.2.11, 5.3.7, 5.4
Fix Version/s: 5.2.12, 5.3.8

Type: Bug Priority: Critical
Reporter: Aleksandr Pchelintcev Assignee: Aleksandr Pchelintcev
Resolution: Fixed Votes: 0
Labels: pageeditor, support, vaadin
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by PAGES-15 CLONE - Vaadin requests are not sent ... Closed
Relates
relates to MGNLUI-2963 Update AdminCentral to use latest Vaadin Closed
relation
is related to MGNLUI-3249 Magnolia doesn't work on IE 10 and IE 11 Closed
is related to MGNLUI-3359 Make sure Magnolia 5.4 runs on Edge m... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Issue: sometimes the user action (like click or key press) is not propagated to server unless browser event occurs (like mouse move/hover).

Steps to reproduce in Page Editor:

  • Select/un-select a component within Page Editor.
  • Actionbar is not updated according to the selection state...
  • ...unless the cursor is moved out of editor's iframe -> UIDL request is sent then and actionbar is updated.

Similar case in ShellApp:

  • Start some app
  • Go to some shell app (e.g. Pulse)
  • Go back to the app with a key shortcut (e.g. press '2' to close Pulse)
  • The address bar location is not updated until the mouse cursor is merely moved.

The 5.3 installations are not affected which puts an update to Vaadin 7.3.4 (since 5.4) into suspicion.



 Comments   
Comment by Mikaël Geljić [ 13/Feb/15 ]

also affects IE10/11 on current Vaadin version (7.1.7)

Comment by Aleksandr Pchelintcev [ 16/Feb/15 ]

In short - the problem was with the GWT code we expose to the JS code (e.g. JQuery callbacks, CKEditor listeners, Pages Editor iframe interactions). Triggered from outside of GWT those methods wouldn't cause GWT's scheduler to finalize the user event processing and Vaadin's RPC queue wouldn't be flushed. It used to work because coincidentally there used to be a timer that was triggering the queue flushing on a regular basis (apparently not for the case of IE 10/11).

Wrapping exposed GWT methods with GWT's $entry(function) function cures the issue.

Comment by Richard Unger [ 20/Mar/15 ]

What's the status here? There don't seem to be any fix versions noted? This is affecting us in 5.3.7...

Comment by Mikaël Geljić [ 20/Mar/15 ]

Hi Richard,
You probably encountered that issue on IE10 or IE11, haven't you?
We realized that quite recently, and MGNLUI-3249 was scheduled and fixed for 5.3.8, which should be available next week if all goes well.

For the story, this is caused partially because we're "stuck" with Vaadin 7.1 series on Magnolia 5.3, and presumably because of some legacy code from the Vaadin 6 era. The workaround for now is to use IE9 Compatibility mode — which MGNLUI-3249 now makes the default.
For some obscure reasons, the "InPrivate" mode sometimes also helps working around the problem, while not all systems seem to be evenly affected, regardless of IE build version.

Anyway, this ticket here fixes one of these legacy problems (and is indeed targeted at 5.4), while MGNLUI-3359 will ensure Magnolia 5.4 runs on Edge mode again in IE10/11.

Cheers,
Mika

Comment by Richard Unger [ 20/Mar/15 ]

Hi Mika,

Thanks for the feedback. Yes indeed, the issue occurs only in IE10 & IE11 (also in IE9 mode) but the issue we are encountering isn't to do with the 1-3 keys, it is simply that the action bar does not update as you select different components/areas in the editor. Once you move the mouse onto the action bar it updates.

I opened a support ticket for it.

Thanks!

Generated at Mon Feb 12 09:05:32 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.