Bug 267834 - [Perspectives] Customize Perspective dialog: Warning for invisible items needs polish
Summary: [Perspectives] Customize Perspective dialog: Warning for invisible items need...
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5   Edit
Assignee: Platform UI Triaged CLA
QA Contact: Eric Moffatt CLA
URL:
Whiteboard:
Keywords: polish
Depends on:
Blocks:
 
Reported: 2009-03-10 08:10 EDT by Markus Keller CLA
Modified: 2009-04-28 11:46 EDT (History)
1 user (show)

See Also:


Attachments
Screenshot (30.63 KB, image/png)
2009-03-10 08:10 EDT, Markus Keller CLA
no flags Details
Patch to tweak the dialog (7.53 KB, patch)
2009-04-22 11:04 EDT, Eric Moffatt CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2009-03-10 08:10:43 EDT
Created attachment 128182 [details]
Screenshot

I20090310-0100

Customize Perspective dialog, click on the checkbox of a disabled item. A warning dialog appears with several problems:

- Dialog title should be name of an action, not a message

- String concatenation is not the right means to compose strings (see CustomizePerspectiveDialog.UnavailableContributionItemCheckListener.checkStateChanged(..)). Especially not if there's no space between sentences...

- The dialog is not really helpful. Why would I want to expand the item if I still cannot do anything afterwards? You should better ask me if I would like to go to the command group to actually make it visible.
Comment 1 Eric Moffatt CLA 2009-03-11 15:12:57 EDT
How about in this case we just show the same dialog that we show when you try to 'select' a leaf (i.e. one of the items you get if you and 'Yes' to the current dialog) ?

Also, what would you suggest for a title ?
Comment 2 Markus Keller CLA 2009-03-12 06:57:42 EDT
> How about in this case we just show the same dialog that we show when you try
> to 'select' a leaf (i.e. one of the items you get if you and 'Yes' to the
> current dialog) ?

Sounds good (regardless of the expansion state, of course).

> Also, what would you suggest for a title ?

Something like "Make Item Visible", or just repeat "Customize Perspective" from the parent dialog.
Comment 3 Eric Moffatt CLA 2009-03-12 11:03:24 EDT
Beauty, I've tagged this for M7...
Comment 4 Eric Moffatt CLA 2009-04-22 11:04:26 EDT
Created attachment 132786 [details]
Patch to tweak the dialog


Markus, this patch changes the dialog's title and removes the Yes/No prompt, reverting to a simple explanation and an OK button.

Since the prompt message is gone so is the concatenation issue...
Comment 5 Eric Moffatt CLA 2009-04-22 11:05:26 EDT
Committed in >20090422. Applied the patch.
Comment 6 Eric Moffatt CLA 2009-04-28 11:46:33 EDT
Verified in I20090428-0100.