Bug 495965 - Preselect expanded tree when searching for images
Summary: Preselect expanded tree when searching for images
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 4.0.0   Edit
Hardware: PC Windows NT
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-06-13 04:21 EDT by Aurelien Pupier CLA
Modified: 2016-06-13 08:34 EDT (History)
1 user (show)

See Also:


Attachments
Current State (244.95 KB, image/png)
2016-06-13 06:14 EDT, Aurelien Pupier CLA
no flags Details
Enhancement Request (269.57 KB, image/png)
2016-06-13 06:14 EDT, Aurelien Pupier CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aurelien Pupier CLA 2016-06-13 04:21:22 EDT

    
Comment 1 Pierre-Charles David CLA 2016-06-13 04:35:53 EDT
Hi. Can you give a little more context? I'm not sure which part of Sirius you are refering to by "searching for images".
Comment 2 Aurelien Pupier CLA 2016-06-13 06:14:07 EDT
Created attachment 262397 [details]
Current State
Comment 3 Aurelien Pupier CLA 2016-06-13 06:14:31 EDT
Created attachment 262398 [details]
Enhancement Request
Comment 4 Pierre-Charles David CLA 2016-06-13 08:31:53 EDT
Thanks.

Re-formulating from my understanding based on the screenshots: when selecting an image for a style in the VSM editor, the dialog (WorkspaceAndPluginsResourceDialog.openDialogForImages) should automatically expand the current VSM project (if it contains images), or otherwise the first workspace project which contains at least one image. I'm not sure we want to expand the first plug-in if there are no images in the workspace: it's more costly to look inside plug-ins, and less likely to correspond to the actualy location where the user will look (the first plug-in with icons by alphabetical order has no particular reason to be of interest).
Comment 5 Aurelien Pupier CLA 2016-06-13 08:34:27 EDT
I'm not sure about the best User Experience to be honest.

Opening the current Plugins seems to be the most common use cases.

When there was already an image provided, maybe opening to the closest place we can find for it is reasonable too.