Bug 313108 - [Wizards] New tool tip in TitleAreaDialog is too small
Summary: [Wizards] New tool tip in TitleAreaDialog is too small
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact: Prakash Rangaraj CLA
URL:
Whiteboard:
Keywords:
Depends on: 16552
Blocks:
  Show dependency tree
 
Reported: 2010-05-17 06:47 EDT by Dani Megert CLA
Modified: 2010-05-18 12:39 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2010-05-17 06:47:06 EDT
N20100516-2000.

The new tool tip on TitleAreaDialog doesn't have a useful size.

1. start new workspace
2. File > New > Java Project
3. enter a name
4. shrink the wizard to its minimal width
5. hover over the description
==> the tool tip's width is very small
Comment 1 Prakash Rangaraj CLA 2010-05-18 01:05:49 EDT
(In reply to comment #0)
> The new tool tip on TitleAreaDialog doesn't have a useful size.

    In the described scenario, the wizard itself doesn't have a useful size :-)

    The width hint of the tooltip is set to the width of the message. That means, its only a few pixels short of the window's size. (paddings + wizard image + message = window width) Are you asking the tool tip to be nearly as big as the window itself? I don't think its a good UI practice.

    Looking at the scenario, the issue happens when

(*) The dialog size is so small
(*) The message in the title area is big, so only way to show entire message is by displaying a tool tip
(*) Still *all* the other controls in the dialog area are big enough to use

   Doesn't seems to be a practical case.
Comment 2 Dani Megert CLA 2010-05-18 01:34:03 EDT
> In the described scenario, the wizard itself doesn't have a useful size :-)
Exactly and that was the reason to add the tool tip during RC1: so that the text still can be read. If you argue that making the dialog small is not useful/does not happen, then please remove the tool tip feature again.
Comment 3 Prakash Rangaraj CLA 2010-05-18 02:16:18 EDT
(In reply to comment #2)
> > In the described scenario, the wizard itself doesn't have a useful size :-)
> Exactly and that was the reason to add the tool tip during RC1: so that the
> text still can be read. If you argue that making the dialog small is not
> useful/does not happen, then please remove the tool tip feature again.

    The tooltip was added to address the issue of messages being longer - not the issue of dialog being smaller. 

    I understand that the tooltip looks odd when the dialog is very small, but as I said in my previous comment, I don't think its a practical case. Also, I'm not agreeing to make the tooltip any bigger. The width would be then as big as the dialog itself. Please reopen when you find that small dialog which has all the controls usable except that tooltip.
Comment 4 Dani Megert CLA 2010-05-18 02:18:25 EDT
We can be smarter here than just using the small width. After all it's really to make it easy for me to see the cut off text.
Comment 5 Dani Megert CLA 2010-05-18 03:22:34 EDT
Just for your education: if you make a tree or table (try e.g. the Navigator) unusably small, then you can still hover over the elements and you do get a useful/big tool tip and not just one that is as small as the small tree. Now, obviously the newly introduced tool tip tries to mimic that platform behavior, hence it should also behave similarly.
Comment 6 Prakash Rangaraj CLA 2010-05-18 03:40:14 EDT
(In reply to comment #5)
> Just for your education: if you make a tree or table (try e.g. the Navigator)
> unusably small, then you can still hover over the elements and you do get a
> useful/big tool tip and not just one that is as small as the small tree. Now,
> obviously the newly introduced tool tip tries to mimic that platform behavior,
> hence it should also behave similarly.

    Thanks for the education.
Comment 7 Boris Bokowski CLA 2010-05-18 12:39:14 EDT
Typical TitleAreaDialogs such as Import/Export or New wizards are not usable in other ways when resized to a small width. For example, the button row gets clipped and there is no scroll bar. Therefore, I don't think it's worth fixing this. Yes, we could be smarter and add a Math.min(messageLabel.getSize().x, minimumWidth) but we should be spending our time on more important things.