Bug 187880 - [new eux] Don't open a dialog when Mylar starts for the first time
Summary: [new eux] Don't open a dialog when Mylar starts for the first time
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 enhancement (vote)
Target Milestone: 2.0   Edit
Assignee: Mik Kersten CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 175411 (view as bug list)
Depends on:
Blocks: 187154 187568
  Show dependency tree
 
Reported: 2007-05-18 14:30 EDT by Wayne Beaton CLA
Modified: 2007-06-15 12:10 EDT (History)
5 users (show)

See Also:


Attachments
load recommened values automatically (7.89 KB, patch)
2007-06-09 18:17 EDT, Balazs Brinkus CLA
no flags Details | Diff
mylar/context/zip (5.76 KB, application/octet-stream)
2007-06-09 18:17 EDT, Balazs Brinkus CLA
no flags Details
mylar/context/zip (9.22 KB, application/octet-stream)
2007-06-15 12:10 EDT, Mik Kersten CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wayne Beaton CLA 2007-05-18 14:30:08 EDT
When Mylar starts in a new workspace, it presents the user with a dialog box asking for some configuration. Frankly, having read through the options once, I now always just accept the defaults. I wonder if the dialog is necessary; as users become more sophisticated in their use of Mylar, they will know to go to the workspace preferences to change these settings, so IMHO, the dialog is unnecessary.

My primary concern is the inclusion of Mylar in packaged Eclipse images produced by the EPP project. I think that Mylar is a valuable contribution to these packages, and really want it included. However, this dialog is just one more thing that may slightly frighten/startle/confuse new users of the package. I may be over-reacting a bit, but I believe that every little bit counts as far as the user experience is concerned.

So... it'd be nice to see the dialog disappear on the EPP packages. Perhaps the dialog can be shown the first time the user actually touches Mylar (i.e. connects to a repository, creates a category, or creates a task). Perhaps we can just include a preferences override that provides acceptable defaults in lieu of showing the dialog.
Comment 1 Mik Kersten CLA 2007-05-22 21:28:50 EDT
Agreed.  I will explore ways to get rid of this dialog.
Comment 2 Balazs Brinkus CLA 2007-06-03 07:43:29 EDT
What should be the activation action, when the default values will be loaded? If the user open the Task List or the Task Resositories view?
Comment 3 Mik Kersten CLA 2007-06-04 21:34:55 EDT
Hmm, I never thought of only loading the values when Mylar gets first used instead of when it gets activated.  Good idea, especially because it is only the Java-specific preferences that change non-Mylar preference values.  
Comment 4 Balazs Brinkus CLA 2007-06-09 18:17:10 EDT
Created attachment 70778 [details]
load recommened values automatically

The original solution what I thought  is not working. It has dependency problem.
Then I added a listener to the java.ui activator JavaUiBridgePlugin which listens to the the Task List view activation or opening.
I only listen  to the List view. I think the Repositories view listening is not necessary.
Comment 5 Balazs Brinkus CLA 2007-06-09 18:17:13 EDT
Created attachment 70779 [details]
mylar/context/zip
Comment 6 Mik Kersten CLA 2007-06-14 01:39:26 EDT
*** Bug 175411 has been marked as a duplicate of this bug. ***
Comment 7 Mik Kersten CLA 2007-06-15 12:10:16 EDT
Balazs: thanks for the patch, that was a good start.

In the end I had to redesign the wizard some since some option were not relevant.  Instead of making it show on first Task List view activation I made it show on first task activation.  This is a bit better because the preferences the wizard sets are not relevant until a task is activated.
Comment 8 Mik Kersten CLA 2007-06-15 12:10:25 EDT
Created attachment 71482 [details]
mylar/context/zip