Community
Participate
Working Groups
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
(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.
> 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.
(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.
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.
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.
(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.
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.