Community
Participate
Working Groups
Build ID: I20090128-1800 Steps To Reproduce: 1. Start SWT snippet 15 2. Expand the first node 3. Expand the second node 4. Press CTRL and click on any child of the second node. Repeat (with releasing & pressing CTRL or SHIFT) until the first node gets collapsed. 5. When creating the Tree with SWT.MULTI, this seems to appear more often. More information: I noticed that when waiting some time (1-2 s) after pressing CTRL or SHIFT and then clicking, this does not happen. This is very annoying in the SWT.MULTI case as it does not allow to efficiently do multi-selection. This is with Ubuntu 8.10
I couldn't see this on my machine (RHEL5 with GTK 2.10 but I also tried GTK 2.14 which is what comes Ubuntu 8.10).
For your repro steps, are you running the snippet unaltered? You then expand the first node, then the second node, and then press CTRL (and hold it down) while you click on any child of the second node. You then release the CTRL and hold it down and select another child of the second node. You then see the first node collapse. Is this summary correct?
OK - I can sorta repro this with a MULTI tree - just need to find the right combination.
It works 'better' with the MULTI flag but I can also reproduce in SINGLE mode.
OK, this only seems to happen in GTK 2.14 trees (can be either single or multi). I tried it out with 2.10 and 2.12 and couldn't get anything happening. In GTK 2.14, it seems as though the expander on the first node sometimes gets focus when hitting control or shift, and if it remains in focus when the next click occurs, the first node will collapse. Marcel, can you verify that you are running GTK 2.14 on your machine?
Yes, 2.14 is what I'm using.
This is the duplicate of bug 255126
*** Bug 285673 has been marked as a duplicate of this bug. ***
I see this occasionally, and I'm on gtk2-2.10.4-20 PW
*** This bug has been marked as a duplicate of bug 255126 ***