Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341216 - Hitting ESC in Firefox
Summary: Hitting ESC in Firefox
Status: RESOLVED DUPLICATE of bug 260117
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-03-29 07:47 EDT by Frank K CLA
Modified: 2011-04-04 09:37 EDT (History)
0 users

See Also:


Attachments
Simple example to show the problem (18.14 KB, application/zip)
2011-04-04 08:46 EDT, Frank K CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank K CLA 2011-03-29 07:47:25 EDT
Build Identifier: 1.4M6

After pressing escape key in Firefox (tested with 3.6.15 and 4.0), RAP seems to lose its ability to directly react on user commands. E.g. if you want to open a dialog afterwards, it doesn't show up. It will only show up if you make another GUI change like opening the menu or change the selection in a table.

Reproducible: Always

Steps to Reproduce:
1. Start Firefox and open you RAP application
2. Press escape
3. Do something that changes something on the GUI (e.g. let a dialog appear)
4. Nothing happens
5. Do something else (e.g. open the menu or change a selection in a table)
6. Dialog tried to open before will show up
Comment 1 Ivan Furnadjiev CLA 2011-03-29 08:09:17 EDT
I've tried to reproduce it with both Controls Demo and Workbench Demo without success. Could you check both demos too? Could you provide a self running snippet or steps to reproduce with one of these demos?
Comment 2 Frank K CLA 2011-03-29 08:28:04 EDT
I can't reproduce this error with the demos - are they up to date (1.4M6)?
RAP Demo (http://rap.eclipsesource.com/rapdemo/) seems to be of a previous release, at least it tells so.

Will try to create a demo and upload it, but this will take some time...
Comment 3 Ivan Furnadjiev CLA 2011-03-29 08:32:08 EDT
Frank, I'm testing it against RAP from CVS HEAD. Controls Demo and Workbench Demo are from CVS too.
Comment 4 Frank K CLA 2011-03-29 11:13:37 EDT
After way more testing I found out that it all relies on Comboboxes. The bug only occurs when you select an enabled Combobox and then press escape.

Unfortunately I cannot reproduce this with the examples (yet).
Comment 5 Ivan Furnadjiev CLA 2011-04-04 03:55:57 EDT
Frank, any additional information on this?
Comment 6 Frank K CLA 2011-04-04 08:46:05 EDT
Created attachment 192453 [details]
Simple example to show the problem

Quick and dirty example.

Shows a countdown in the status bar. Countdown isn't updated after you press Escape when the combobox is selected.
Comment 7 Frank K CLA 2011-04-04 08:52:48 EDT
Made a small example and found out that the problem only occurs when you have a thread that updates the UI. Therefore I took the countdown counter of our application and put it into the ApplicationActionBarAdvisior.
I'm not sure if all of these threads inside the fillStatusLine method are necessary, but besides the combobox- problem in firefox there were no other side-effects yet.
Comment 8 Ivan Furnadjiev CLA 2011-04-04 09:37:00 EDT
Frank, I think that you ran into this bug 260117. Please reopen this bug if you don't think so.

*** This bug has been marked as a duplicate of bug 260117 ***