Bug 1654 - USABILITY - Can't look at client server output in one perspective (1GFX2ZU)
Summary: USABILITY - Can't look at client server output in one perspective (1GFX2ZU)
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P3 enhancement (vote)
Target Milestone: 3.1 M4   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 64126 74524 (view as bug list)
Depends on:
Blocks: 196458
  Show dependency tree
 
Reported: 2001-10-10 22:17 EDT by Dani Megert CLA
Modified: 2004-12-10 14:34 EST (History)
7 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 2001-10-10 22:17:00 EDT
I had to debug a client-server app and found some problems:
	- when running, I don't see which program/process currently writes to the console
		(if I don't use the Debug view)
	- even when running in the Debug view, I have to manually switch the console to
	  see what happens (e.g. looking at simple sample as ping-pong)

	Workaround: I used (detached) the consoles from two different Debug perspectives.


NOTES:

DW (7/16/01 8:33:37 AM)
	Can we change the title of the console view to show the process name?
Comment 1 DJ Houghton CLA 2001-10-24 06:37:28 EDT
PRODUCT VERSION:
	0.9


Comment 2 Darin Wright CLA 2002-02-26 14:49:03 EST
See bug# 10300
Comment 3 Darin Wright CLA 2002-02-26 14:49:13 EST
Wrong status
Comment 4 Darin Wright CLA 2002-02-26 14:49:21 EST
Deferred
Comment 5 Jared Burns CLA 2002-06-25 15:18:48 EDT
In 2.0 we display the process title in the console view.

This issue is otherwise addressed in Bug 7715
Comment 6 Jared Burns CLA 2002-06-25 15:18:56 EDT

*** This bug has been marked as a duplicate of 7715 ***
Comment 7 Dani Megert CLA 2002-08-13 04:32:35 EDT
I noticed that this has been marked as duplicate of bug 7715.

7715 only says switching should be possible but I don't simply want to SWITCH
between processes I want to see them (e.g. client process and server process
output) side a side (e.g. in two consoles).

Comments in 7715 don't seem to go for such a solution.
Comment 8 Darin Wright CLA 2002-08-13 08:39:05 EDT
Unfortunately, the workbench framework does not allow more than one instance of 
a view open in one window. You could acheive this by opening two windows, and 
selecting different processes in each window (to see the client/server output 
in two consoles).
Comment 9 Dani Megert CLA 2002-08-13 09:18:06 EDT
I know the workbench constraint and also the workaround. Nevertheless I'd like
to work in one window (forcing me to open a second workbench window is not
optimal especially since detaching is no longer supported).

Possible solutions could be
a) tile the console where each part shows the output of a chosen process
b) present the chosen processes in the same console (with different fonts and/or
colors)

a) probably complicated to implement while b) is relative close to what you
suggest in 7715: if the process list would allow multiple selection.
Comment 10 Darin Wright CLA 2002-08-13 09:53:33 EDT
marking as later (until 2.1 feature set is determined).
Comment 11 Darin Wright CLA 2003-05-12 14:31:45 EDT
To consider with console consolidation in 3.0. If we have a tabbed pane of 
consoles, we should consider the ability to layout the tabs, as in the editor 
pane.
Comment 12 Darin Wright CLA 2004-01-07 13:41:29 EST
Deferred. The console is a page book view. Currently the workbench does not 
support a tabbed presentation of page books.
Comment 13 Darin Wright CLA 2004-08-26 14:19:43 EDT
*** Bug 64126 has been marked as a duplicate of this bug. ***
Comment 14 Darin Wright CLA 2004-11-09 13:05:36 EST
Re-open for 3.1. Consider use of workbench feature to open more that one view 
of the same type in a perspective.
Comment 15 Darin Wright CLA 2004-11-09 13:06:14 EST
*** Bug 74524 has been marked as a duplicate of this bug. ***
Comment 16 Darin Wright CLA 2004-11-11 14:45:29 EST
Need to investigate ways we can present multiple consoles at once.
Comment 17 Kevin Barnes CLA 2004-12-06 15:53:01 EST
We can open a second console view in the same perspective using the IWorkbenchPage.showView(String 
viewId, String secondaryId, int mode), however this is not the method called by default when a user 
chooses console view from the Window/Show View method. 
Doug is there any way to make that menu item create a new view every time instead of activating an 
existing view?
Comment 18 Douglas Pollock CLA 2004-12-06 16:53:04 EST
We could, but I don't believe this is the behaviour we want by default.  I'm 
not sure how we would could about doing this without (a) cluttering the user 
interface; or (b) confusing the user. 
 
Comment 19 Kevin Barnes CLA 2004-12-06 17:41:33 EST
Which part do you think would be confusing/undesirable? Having more than one console view, or using 
the Show View action to open them? How else can we display more than one console at once?
Comment 20 Douglas Pollock CLA 2004-12-06 19:17:05 EST
It might work to add a tool bar item to your console view (or context menu, or 
view menu). 
 
In the purely naive case, you have two items for each view or two menus: "show 
view", "show view again".  What do you propose? 
 
From my perspective (perhaps naive), this seems like something that is a 
specific problem for the console view.  Do you feel it's a more general 
problem? 
Comment 21 Dani Megert CLA 2004-12-07 03:37:09 EST
I agree with Doug's comment 18: the default should be as is. Maybe we could
specify this in the launch configuration, something like "Open in new console".
Comment 22 Darin Wright CLA 2004-12-07 09:23:09 EST
I think the user needs to be able to do this from the console view itself. For 
example, the user may want to see the CVS console seperately from process 
consoles. In this case, there is no launch configuration.
Comment 23 Kevin Barnes CLA 2004-12-09 14:08:49 EST
Fixed in console plugin. Used a console factory to create new Console views.
All views contain all consoles. Users can use the "Pin Console" independently in each console view
to view different consoles in each view.

Changes:
* IConsoleConstants - removed P_AUTO_SCROLL
* IConsoleView - added setScrollLock() and getScrollLock()
* TextConsole - removed fAutoScroll, getAutoScroll(), deprecated setAutoScroll(...) so as not to cause 
compile errors in CVS Console. Method is a no-op now, but Scroll lock is off by default so behavior 
doesn't change for CVS Console.
* ConsoleViewConsoleFactory - new class
* ConsoleManager - changed showConsoleView(IConsole) to show the console in all console views.
* ConsoleMessages.properties
* ConsoleView - implemented new methods in IConsoleView. showPageRec(..) updates the state of 
scroll lock action on Console Pages.
* IInternalConsoleConstants - removed PREF_CONSOLE_SCROLL_LOCK
* IOConsolePage - no longer listens for PREF_CONSOLE_SCROLL_LOCK changes.
* PinConsoleAction - updated 
* ScrollLockAction - updated
* plugin.properties
* plugin.xml - added new ConsoleFactory extension
Comment 24 Kevin Barnes CLA 2004-12-09 14:09:47 EST
Darin W, please verify
Comment 25 Darin Wright CLA 2004-12-10 14:34:40 EST
Verified. Filed bug 80719 and bug 80720.