Bug 45336 - [Problems View] Remove the show on new problems option from the pref page
Summary: [Problems View] Remove the show on new problems option from the pref page
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC All
: P2 major (vote)
Target Milestone: ---   Edit
Assignee: Stefan Xenos CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2003-10-21 17:07 EDT by Eric Nickell CLA
Modified: 2004-04-09 01:58 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Nickell CLA 2003-10-21 17:07:09 EDT
Just upgraded from R2.1 to R3.0M4.

I don't mind the fast view Problems windows so much.  Eventually, I'll figure
out how to turn it off so it doesn't hide information I want to see.

But it should never, I REPEAT *****NEVER****, steal my focus from when I'm
typing in the editor.   *****EVER*****.  Extremely rude and irritating behavior.

I am the human.  *I* get to decide where I want to type.

This behavior seems to occur (not sure) when I have changed some code which
causes a problem to be removed from the problem list.
Comment 1 Debbie Wilson CLA 2003-10-23 10:22:31 EDT
Happens on WinXP too (the Problem View must be a fast view)
Comment 2 Nick Edgar CLA 2003-10-23 10:30:31 EDT
This can be disabled in the Workbench pref page ("Show Problems view when 
build has errors or warnings").

But I agree it's a usability problem.
Comment 3 Eric Nickell CLA 2003-10-23 12:24:18 EDT
Thanks for tip on disabling it. I assumed there would be such.  In the meantime,
I had been telling people to *not* upgrade to 3.0, because of the usability pain.
Comment 4 Nick Edgar CLA 2003-10-23 12:37:12 EDT
I'm open to suggestions for a better way to give the user contextual awareness 
that they have new compilation errors or warnings, without disrupting their 
focus.
Comment 5 Eric Nickell CLA 2003-10-23 12:42:42 EDT
I'm not strongly objecting to bringing the pane forward.

I *am* strongly objecting to typing in an editor, and then finding that the
characters I type on the keyboard are not going into the editor.  This is very
different from giving the user contextual awareness.  Law of least surprise says
I should not have to guess why I can't type the next line of my program.
Comment 6 Nick Edgar CLA 2003-10-23 12:57:49 EDT
And I absolutely agree.  The user owns the focus.  The current behaviour is a 
usability bug.  But there still might be better ways of giving contextual 
awareness without bringing a whole heavyweight view to front.
Comment 7 John Arthorne CLA 2004-04-02 17:10:44 EST
If the problem view is already open, could it use IWorkbenchpage.bringToTop to
make it visible without stealing focus?
Comment 8 Nick Edgar CLA 2004-04-05 09:49:26 EDT
Bringing the view to top will still steal focus if another view in the same
stack had it.

We now have support for the part's progress service to indicate that the view
has new information.

Tod, I forget what the plan was here for the marker views.  Can you clarify?
Comment 9 Tod Creasey CLA 2004-04-05 10:15:29 EDT
The plan is not to do this at all. We are going to indicate changes by bolding 
the tab but we do not intend to take focus.

We currently have the "open on new problems" option and I think this will 
remain. It is off by default now however so this problem is resolved.
Comment 10 Nick Edgar CLA 2004-04-05 10:21:36 EDT
I think the option should be removed then, since the bold indication is adequate.
Comment 11 Tod Creasey CLA 2004-04-05 10:26:09 EDT
Renaming the PR to indicate the change.
Comment 12 Stefan Xenos CLA 2004-04-05 15:55:12 EDT
I agree that the "show on new problems" option, as it is now, is not useful.
However, the new bolding of the view tab is not a sufficient replacement. 

The only reason I ever enable "show on new problems" is when I want to be
certain that I don't launch or check in any code that contains compile errors. I
want to know this no matter what perspective I'm in. The bold tab only tells me
that markers have changed, and only if the problems view is visible in my
perspective.

Since "show on new problems" isn't useful in its current state (it shouldn't
grab focus and shouldn't open for marker removals), I will remove it... however,
I feel that we should replace it with a new way to notify users that their
workspace contains errors (possibly using an icon in the status line).

Comment 13 Stefan Xenos CLA 2004-04-09 01:58:47 EDT
Fixed in head.