Bug 453522 - Line creation tool unavailable on the context menu when the table is empty
Summary: Line creation tool unavailable on the context menu when the table is empty
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Table (show other bugs)
Version: 1.0.1   Edit
Hardware: PC Windows 8
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged, ui
Depends on:
Blocks:
 
Reported: 2014-11-28 07:18 EST by Romain Guider CLA
Modified: 2015-01-09 09:04 EST (History)
2 users (show)

See Also:


Attachments
Use case (1.29 KB, application/zip)
2014-12-18 05:40 EST, Florian Barbin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Romain Guider CLA 2014-11-28 07:18:12 EST
On Edition tables, the first element cannot be added via the contextual menu it must be added through the toolbar dropdown which is confusing for users.
Comment 1 Florian Barbin CLA 2014-12-18 05:40:40 EST
Created attachment 249520 [details]
Use case

Example based one the sample ecore editor with an empty table.
Comment 2 Florian Barbin CLA 2014-12-18 05:44:57 EST
I set the Importance as "enhancement". The creation tool is available on existing lines. Indeed, at the opening, if no line is selected, the creation tool is not available in the context menu (you have first to select a line)
Comment 3 Pierre-Charles David CLA 2015-01-09 09:04:48 EST
IIRC, this is (or at least was) because of a technical limitation of SWT under Linux, where it is/was not possible to react on a right-click inside the table control when it is empty. Maybe the limitation is not true anymore, and maybe we should do better on platforms where it is possible, even if it means the behavior will become platform-dependant.