| Summary: | CodeEdit renders incorrectly after traversing out and back in | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Carolyn MacLeod <Carolyn_MacLeod> |
| Component: | Editor | Assignee: | libing wang <libingw> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Carolyn MacLeod
I tried this a bit more, including on Chrome and IE. Here's some notes: - The left-shifted rendering problem happens on IE also (slightly differently) - The shifting problem doesn't happen on Chrome, but I noticed that after you dismiss the Find dialog, the "tab stops" for it are still there. So, for example, before you create the Find dialog, Shift+Tab takes you directly to the browser's address bar. But after the Find dialog was created (and closed) it takes way more Shift+Tab keys to get to the address bar. - In Firefox, I noticed that if you do the 6 steps, then do the following 2 steps, the CodeEdit widget keeps shifting further to the left each time: 7) Click (using the mouse) on the address bar 8) Type Tab until the CodeEdit widget has focus again The text find dialog used in the code edit widget is the textView built-in one. The "hidden" state of the dialog was done in a tricky way: It was shifted to the (-1000px, -50px) against the editor parent DIV origin. That is why when you use tab key, all the controls inside the dialog is still counted even though you cant see them. I tried in the browser css inspector: 1. Remove the shifting of the dialog but instead put "display: none". 2. Use tab key now, the controls in the dialog are no longer counted. 3. The steps in FF never hit the issue again. fixed with http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=a5b582d126386a35907b86ff786fd0e136b29d64. Please download the next codeEdit I-build to verify. Verified. |