Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317239 - CompletionCombo - selection popup jumps 1st time opened
Summary: CompletionCombo - selection popup jumps 1st time opened
Status: RESOLVED FIXED
Alias: None
Product: Riena
Classification: RT
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 3.0.0.M2   Edit
Assignee: Elias Volanakis CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-17 16:14 EDT by Elias Volanakis CLA
Modified: 2010-10-29 06:15 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Volanakis CLA 2010-06-17 16:14:45 EDT
To reproduce (this only happens once per app lifecycle):

1. Find a CompletionCombo
2. Click on the arrow button

The selection pop-up opens (very briefly) at the wrong location and jumps to the right location. This only happens once.
Comment 1 Sabine Achilles CLA 2010-06-18 01:56:02 EDT
On my computer this bug only happens to the lower CompletionCombo. It jumps to the upper border of the combo and then to the lower where it should be.
The upper CompletionCombo seems to have a different problem (although perhaps the same origin). Clicking on the arrow makes the popup appear (at the proper location), but only for a very brief time. Then it disappears.
Both phenomena can be reproduced each time you reenter the CompletionComboSubModule and click on one of the arrow buttons for the first time. If you click on the upper button first, the lower combo doesn't have a problem and the other way around.
Comment 2 Elias Volanakis CLA 2010-06-28 19:00:47 EDT
What is happening now is: user clicks on 2nd combo, view gets focus -> 1st combo gets focus, popup for 1st combo shows briefly, click is processed, popup for 1st combo is closed, popup for 2nd combo shows.

The problem is that we show the pop-up immediately when the CompletionCombo get's the focus. 

@Christian: I'm changing the code, so that the selection pop-up is shown after the first character is typed (not when the combo is focused).  If this is a problem (Rolf?) let me know. Another possible solution (a little more complex because of threading) could be wait until the combo has the focus for at least a mininum time (500ms?) and then show the selection pop-up...
Comment 3 Elias Volanakis CLA 2010-06-28 19:57:09 EDT
Resolved