Bug 110836 - [logview] filter InvocationTargetException
Summary: [logview] filter InvocationTargetException
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 3.4 M5   Edit
Assignee: Jacek Pospychala CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, contributed
Depends on:
Blocks:
 
Reported: 2005-09-27 13:14 EDT by Adam Kiezun CLA
Modified: 2008-01-07 23:02 EST (History)
2 users (show)

See Also:


Attachments
mylyn/context/zip (713 bytes, application/octet-stream)
2007-11-02 16:17 EDT, Chris Aniszczyk CLA
no flags Details
patch (15.12 KB, patch)
2008-01-05 18:32 EST, Jacek Pospychala CLA
no flags Details | Diff
mylyn/context/zip (5.06 KB, application/octet-stream)
2008-01-05 18:33 EST, Jacek Pospychala CLA
no flags Details
screenshot (36.13 KB, image/png)
2008-01-05 18:40 EST, Jacek Pospychala CLA
no flags Details
org.eclipse.ui.views.log.patch (15.85 KB, patch)
2008-01-07 11:17 EST, Chris Aniszczyk CLA
no flags Details | Diff
mylyn/context/zip (1.48 KB, application/octet-stream)
2008-01-07 11:17 EST, Chris Aniszczyk CLA
no flags Details
patch (25.06 KB, patch)
2008-01-07 19:13 EST, Jacek Pospychala CLA
no flags Details | Diff
mylyn/context/zip (8.59 KB, application/octet-stream)
2008-01-07 19:13 EST, Jacek Pospychala CLA
no flags Details
patch (27.29 KB, patch)
2008-01-07 19:48 EST, Jacek Pospychala CLA
no flags Details | Diff
mylyn/context/zip (10.44 KB, application/octet-stream)
2008-01-07 19:48 EST, Jacek Pospychala CLA
no flags Details
patch (27.48 KB, patch)
2008-01-07 19:52 EST, Jacek Pospychala CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2005-09-27 13:14:27 EDT
3.1
Whenever I have an InvocationTargetException in the log view, I have to scroll
down to see the really interesing part, which is the wrapped exception (i.e. the
'Caused by' part)

An UI option should be provided to save people this useless scrolling (similarly
to what JUnit view does for stack trace filtering)
Comment 1 Chris Aniszczyk CLA 2007-10-24 10:44:31 EDT
updating title
Comment 2 Chris Aniszczyk CLA 2007-10-24 10:45:39 EDT
Jacek, up your alley :)?
Comment 3 Chris Aniszczyk CLA 2007-11-02 16:16:49 EDT
adding context
Comment 4 Chris Aniszczyk CLA 2007-11-02 16:17:26 EDT
Created attachment 82000 [details]
mylyn/context/zip
Comment 5 Jacek Pospychala CLA 2008-01-05 18:32:58 EST
Created attachment 86269 [details]
patch

patch adds filtering to event details dialog.
Have a look Chris.
Comment 6 Jacek Pospychala CLA 2008-01-05 18:33:06 EST
Created attachment 86270 [details]
mylyn/context/zip
Comment 7 Jacek Pospychala CLA 2008-01-05 18:40:19 EST
Created attachment 86271 [details]
screenshot

enjoy :)

btw, JUnit preferences is great idea, however I kept filter options inside Event Dialog, to avoid cluttering preferences e.g. in RCP using our wonderful log view.
Comment 8 Chris Aniszczyk CLA 2008-01-07 10:51:44 EST
taking a look at this now.... thanks Jacek!
Comment 9 Chris Aniszczyk CLA 2008-01-07 11:17:36 EST
Created attachment 86320 [details]
org.eclipse.ui.views.log.patch

I updated the patch to include better wording. The functionality is perfect.

Before we put this in however, I think we should be able to configure the stack trace filters within the actual filters dialog. There should be a new Group (ie., Stack Trace) with what is currently contained within EventDetailsStackFilterDialog. This would be more consistent with how we currently do things within the log view.

The ability to Configure Filters from there is a good idea. However, I think this should be done with a button, similar to how we do it with the Up/Down/Copy buttons. I think adding one with the filter icon should be good.

Let me know if you have any other ideas :)
Comment 10 Chris Aniszczyk CLA 2008-01-07 11:17:45 EST
Created attachment 86321 [details]
mylyn/context/zip
Comment 11 Jacek Pospychala CLA 2008-01-07 19:13:45 EST
Created attachment 86365 [details]
patch

- moved filter options to filter dialog
- created button instead of Link in Event Details dialog

So now all filters are back in Filter Dialog. I only used composite instead of Group, because that looked better.
For me yet another button in Event Details dialog doesn't look good, but see yourself. Link was more intuitive and subtle :)
I'd remove that button.
Comment 12 Jacek Pospychala CLA 2008-01-07 19:13:49 EST
Created attachment 86366 [details]
mylyn/context/zip
Comment 13 Chris Aniszczyk CLA 2008-01-07 19:23:11 EST
Great work Jacek, I'm actually sitting next to Wassim and we're reviewing the patch.

You're right, the button doesn't look right now, BUT, how about we change the order so there's a 2x2 box of buttons.

In the first column, you have the Up/Down keys, in the next column, you have the Copy Details and Filter button. This should look better than what is available. What do you think?

Oh also, can you ident the listviewer a bit so that it's easy to see that the checkbox affects the listviewer? Sort of how we ident right above it with the "Show events logged..."

Good stuff Jacek, after this change I will commit if it looks good. This is a very neat feature!
Comment 14 Jacek Pospychala CLA 2008-01-07 19:48:57 EST
Created attachment 86368 [details]
patch

Aaa, Wassim help! is he always like that? 

;)
Comment 15 Jacek Pospychala CLA 2008-01-07 19:48:59 EST
Created attachment 86369 [details]
mylyn/context/zip
Comment 16 Jacek Pospychala CLA 2008-01-07 19:52:37 EST
Created attachment 86371 [details]
patch

the same, but with ToolTip for Filter button
Comment 17 Chris Aniszczyk CLA 2008-01-07 23:02:59 EST
beautiful work Jacek. In the future, we can try to replicate more of the functionality of the JUnit stack trace filters. For now, this allows you to use stack trace filters in a minimally invasive and useful way :)

Thanks!