Bug 549352 - Unfold an item of a tree doesn't work with the arrow of the keyboard
Summary: Unfold an item of a tree doesn't work with the arrow of the keyboard
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Tree (show other bugs)
Version: 6.2.2   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: 7.1.0   Edit
Assignee: Laurent Redor CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks: 580801
  Show dependency tree
 
Reported: 2019-07-17 11:49 EDT by Julien Dupont CLA
Modified: 2023-03-29 12:45 EDT (History)
1 user (show)

See Also:


Attachments
Use case to reproduce (7.73 KB, application/x-zip-compressed)
2019-07-17 11:49 EDT, Julien Dupont CLA
no flags Details
Picture 1 (1.16 KB, image/png)
2019-07-17 11:49 EDT, Julien Dupont CLA
no flags Details
Picture 2 (1.58 KB, image/png)
2019-07-17 11:49 EDT, Julien Dupont CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Dupont CLA 2019-07-17 11:49:01 EDT
Created attachment 279319 [details]
Use case to reproduce

If you want to unfold the items of a tree with the arrow of the keyboard, it doesn't work.
See picture 1.
If you unfold the tree with the mouse it works correctly.
See picture2.

Steps to reproduce:
- Unzip the project fr.obeo.bug.unfold.tree.with.arrow.design.zip
- In the repository models, open the representation named "New Tree"
- Select in the tree "p2"
- Use the arrow "->" of the keyboard to unfold the tree.
- It doesn't work. KO You have the same result as the picture 1.
- Do the same operation with the mouse. It works.
For information, the unfold works correctly when it was do correctly 1 time.
Comment 1 Julien Dupont CLA 2019-07-17 11:49:24 EDT
Created attachment 279320 [details]
Picture 1
Comment 2 Julien Dupont CLA 2019-07-17 11:49:45 EDT
Created attachment 279321 [details]
Picture 2
Comment 3 Eclipse Genie CLA 2022-09-15 11:03:10 EDT
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/195843
Comment 4 Eclipse Genie CLA 2022-09-15 11:03:12 EDT
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/195844
Comment 7 Laurent Redor CLA 2022-09-22 08:17:40 EDT
Steps to validate:
- Unzip the project fr.obeo.bug.unfold.tree.with.arrow.design.zip
- In the "models" folder, open the representation named "new Tree"
- Select "p2" in the tree 
- Use the arrow "->" of the keyboard to unfold the tree.
- the representation is dirty, "p2" is expanded, and the classes "E1" and "E2" are visible under it. Before the fix, only a "blank" child was visible under expanded "p2", and the representation was not dirty.
Comment 8 Pierre-Charles David CLA 2023-03-29 12:44:04 EDT
Available in Sirius Desktop 7.1.0:
- Release record: https://projects.eclipse.org/projects/modeling.sirius/releases/sirius-desktop-7.1.0
- Update site: https://download.eclipse.org/sirius/updates/releases/7.1.0/2021-06/