Bug 191684 - [StatusHandling] Status Dialog needs enhancements
Summary: [StatusHandling] Status Dialog needs enhancements
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.4 M6   Edit
Assignee: Krzysztof Daniel CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks: 210750
  Show dependency tree
 
Reported: 2007-06-08 07:58 EDT by Krzysztof Daniel CLA
Modified: 2008-03-28 07:13 EDT (History)
5 users (show)

See Also:
Szymon.Brandys: review+


Attachments
A Patch introducing new status dialog (109.86 KB, patch)
2007-11-14 10:18 EST, Krzysztof Daniel CLA
no flags Details | Diff
Show support icon (159 bytes, image/gif)
2007-11-15 05:04 EST, Krzysztof Daniel CLA
no flags Details
Patch (110.02 KB, patch)
2007-11-21 11:09 EST, Krzysztof Daniel CLA
no flags Details | Diff
Patch (110.13 KB, patch)
2007-11-22 03:16 EST, Krzysztof Daniel CLA
no flags Details | Diff
the picture (31.36 KB, image/jpeg)
2007-11-23 06:07 EST, Szymon Brandys CLA
no flags Details
Patch (110.97 KB, patch)
2007-12-12 06:50 EST, Krzysztof Daniel CLA
no flags Details | Diff
Patch (112.95 KB, patch)
2007-12-19 04:56 EST, Krzysztof Daniel CLA
no flags Details | Diff
Patch (113.90 KB, patch)
2008-01-08 12:26 EST, Krzysztof Daniel CLA
no flags Details | Diff
Patch - dialog based on TrayDialog (not on TitleAreaDialog) (113.91 KB, patch)
2008-01-10 07:55 EST, Krzysztof Daniel CLA
no flags Details | Diff
mylyn/context/zip (69.43 KB, application/octet-stream)
2008-01-10 07:55 EST, Krzysztof Daniel CLA
no flags Details
Some issues addressed (114.19 KB, patch)
2008-01-14 06:29 EST, Krzysztof Daniel CLA
no flags Details | Diff
Patch (114.32 KB, patch)
2008-02-01 06:43 EST, Krzysztof Daniel CLA
no flags Details | Diff
Patch (112.12 KB, patch)
2008-02-14 05:12 EST, Krzysztof Daniel CLA
no flags Details | Diff
Fixed positioning (112.12 KB, patch)
2008-02-21 11:30 EST, Krzysztof Daniel CLA
no flags Details | Diff
Small changes (113.61 KB, patch)
2008-02-22 07:45 EST, Krzysztof Daniel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Daniel CLA 2007-06-08 07:58:07 EDT
Status Dialog it lacks some functionality:
* selection change is not propagated to ErrorSupportProvider
* there is no possibility of adding actions that should execute after closing the dialog - I would like to be able to launch Troubleshoot wizard or something like that. Or even simple workspace synchronization.

Status Dialog is ugly. I think it would be nice, if the details were displayed as sections (like in compiler->errors/warnings preference page).
Comment 1 Szymon Brandys CLA 2007-06-08 21:02:32 EDT
We need more feedback from users for these issues. The idea was that the Platform provides rather simple solution
that can be extended in particular products. But I think we can add some useful features like actions at closing etc.

Sections in this default dialog are not good in my opinion. We should use similar approach as in the error log view.
In the dialog we should use a list sorted by the occurrence date.

Anyway new ideas and patches are welcome Krzysztof ;-)
Comment 2 Krzysztof Daniel CLA 2007-11-14 10:18:39 EST
Created attachment 82884 [details]
A Patch introducing new status dialog
Comment 3 Szymon Brandys CLA 2007-11-15 05:00:36 EST
Krzysiek, please attach the icons.
Comment 4 Krzysztof Daniel CLA 2007-11-15 05:04:42 EST
Created attachment 82952 [details]
Show support icon

Should be placed there

\org.eclipse.ui\icons\full\dtool16\show_support.gif
Comment 5 Szymon Brandys CLA 2007-11-20 05:39:48 EST
Some comments.
1. I can't extend the details area vertically.
2. When there is only one error (no list), the left and top margins for its description (below the header) are too small. I think that the description should be in the same place as the first element on the list when more errors occurred.
3. Maybe this is a matter of the test tool, but there is no title in the header for warnings (sometimes).
4. When more errors occur, it would be useful to see the issue type icon next to the element in the list (it can be a new bug).
Comment 6 Krzysztof Daniel CLA 2007-11-21 11:09:39 EST
Created attachment 83437 [details]
Patch

Issues 2 and 3 fixed.

I would like consider 4 as RFE when this patch will be applied.

Point one (resizing) - I like this idea but this seems to be quite difficult, since I need to create a dialog with two trays. Or maybe you have idea how to solve that using simpler approach?
Comment 7 Krzysztof Daniel CLA 2007-11-22 03:16:04 EST
Created attachment 83503 [details]
Patch

I have made the details area to resize proportionally when the dialog is resized. Is that acceptable?
Comment 8 Szymon Brandys CLA 2007-11-23 06:06:28 EST
It is. However I have still some comments.

1) Open the dialog with more than one error. When the details area is opened, the dialog increases its size and when the details are closed, the dialog returns to the initial size. When you resize the dialog, something strange happens with its size when the details are opened and closed.

2) I would organize the layout trying to avoid situations like the one on the attached picture.

3) I think that the previous way was better anyway. The details part height is constant (more like the tray). I think that we can a similar divider between the list and the details, so we could change the ratio if necessary.

I think that issue 3 could be a separate bug.
Comment 9 Szymon Brandys CLA 2007-11-23 06:07:56 EST
Created attachment 83618 [details]
the picture
Comment 10 Krzysztof Daniel CLA 2007-12-12 06:50:49 EST
Created attachment 85054 [details]
Patch

I think I have addressed Tod remarks... Szymon, could you review?
Comment 11 Krzysztof Daniel CLA 2007-12-19 04:56:28 EST
Created attachment 85543 [details]
Patch

I have extracted interface from WorkbenchStatusDialog to remove implementation details from public packages and make eventuall changest required to testing easier.
Comment 12 Krzysztof Daniel CLA 2008-01-08 12:26:47 EST
Created attachment 86407 [details]
Patch

Slightly modified previous. Testing made possible.
Comment 13 Krzysztof Daniel CLA 2008-01-10 07:55:12 EST
Created attachment 86552 [details]
Patch - dialog based on TrayDialog (not on TitleAreaDialog)
Comment 14 Krzysztof Daniel CLA 2008-01-10 07:55:16 EST
Created attachment 86553 [details]
mylyn/context/zip
Comment 15 Krzysztof Daniel CLA 2008-01-14 06:29:00 EST
Created attachment 86808 [details]
Some issues addressed
Comment 16 Krzysztof Daniel CLA 2008-02-01 06:43:03 EST
Created attachment 88534 [details]
Patch

everything placed in internal packages
Comment 17 Krzysztof Daniel CLA 2008-02-14 05:12:08 EST
Created attachment 89717 [details]
Patch

Again in the public packages
Comment 18 Szymon Brandys CLA 2008-02-21 05:47:17 EST
(In reply to comment #17)
> Created an attachment (id=89717) [details]
> Patch
> 
> Again in the public packages
> 

It doesn't contain classes from the internal packages.

Comment 19 Krzysztof Daniel CLA 2008-02-21 11:30:26 EST
Created attachment 90368 [details]
Fixed positioning
Comment 20 Krzysztof Daniel CLA 2008-02-22 07:45:56 EST
Created attachment 90461 [details]
Small changes
Comment 21 Szymon Brandys CLA 2008-02-25 08:47:48 EST
I made some changes in the latest patch. Javadocs were not sufficient, but I updated them. 

New issues arising from that fix will be handled in separate bugs.
Comment 22 Krzysztof Daniel CLA 2008-03-28 07:13:02 EDT
28-03-2008 verified using status generator from org.eclipse.ui.examples.statushandlers.testtool.