- This topic has 9 replies, 2 voices, and was last updated 19 years, 10 months ago by
Scott Anderson.
-
AuthorPosts
-
boskovukMemberI have a local Tomcat installation (used for testing of our web application).
MyEclipse Application Server functionality was enabled – therefore, I am able to start/stop Tomcat from within Eclipse.
This is great, I am finally able to see all those Tomcat and apps logs in a decent window and not within the DOS window.
However, we are in the dev mode and logging level is set to DEBUG. This means that lots of logs are being output.
If I have some other ‘View’ open, like ‘Search’, the focus get shifted to ‘Console’ whenever a log is output (from Tomcat or application). If lots of logs are coming out, as they are currently (debugg level), I am not able to use the ‘Search’ view at all.
How can this behaviour be changed?
September 1, 2005 at 10:26 am #236373
Scott AndersonParticipantHow can this behaviour be changed?
This is a basic Eclipse behavior, not something that we actually control. However, as a workaround I’d suggest either minimizing or closing the Console view while you’re trying to search, or changing to a perspective where the console view is closed. For example, the Debug perspective has the Console view open by default, but the MyEclipse perspective does not.
September 1, 2005 at 10:32 am #236376
boskovukMemberQuick reply – thanks.
I have tried both suggestion, without success.
Within ‘Java’ perspective, the Console ‘View’ was closed – it poped up as soon as some log was output.
Same thing happened when I switched perspective to MyEclipse and closed the ‘View’. It came back as soon as some logs were created.
September 1, 2005 at 10:36 am #236380
Scott AndersonParticipantAnd you’re saying that when it opens, every time something is written to it it steals the focus from what you’re currently doing? I honestly have never noticed that myself.
September 1, 2005 at 10:44 am #236384
boskovukMemberIt definitely does (steal the focus) – from within a set of ‘Views’.
Just to clarify, if I’m editing a java file, the focus stays within that window (and edit action).
However, in the subsection, where bunch of ‘Views’ are open, the Console ‘View’ steals the focus as soon as log is output.
September 1, 2005 at 10:46 am #236385
Scott AndersonParticipantCan you anchor the search view in another area of the window so it’s not in the same tab set as the Console view? Perhaps that’s why I don’t notice it; I have the Console view at the bottom and the Search view anchored on the righthand side of my perspective.
September 1, 2005 at 10:50 am #236387
boskovukMemberBingo! That solved the problem.
However, I think that current Console ‘View’ behaviour (stealing the focus) is faulty. Can we somehow/somewhere, request that to be enhanced/fixed?
September 1, 2005 at 10:59 am #236392
Scott AndersonParticipantYou can request anything you like. Since it’s a basic Eclipse behavior you’ll need to make your request at http://www.eclipse.org, however. But, this bug was entered and marked as INVALID some time ago in this bugzilla entry at Eclipse: https://bugs.eclipse.org/bugs/show_bug.cgi?id=38754. The closing comments were:
Dunno how to make this a feature.
Was able to overcome this problem by unchecking Window->preferences->debug->console
Would like this to be a feature in the view itself a toggle action button.Now that that’s all cleared up and you’re in a good mood, can you head over to the JDJ website and vote for us in the Reader’s Choice Awards? We’d really appreciate it! 🙂
September 1, 2005 at 11:35 am #236399
boskovukMemberWow – everything is fast this morning.
I have opened a new bug and Eclipse team has already responded. This is not an issue (can be configured not to steal the focus):
https://bugs.eclipse.org/bugs/show_bug.cgi?id=108597Scott, thanks for the support. I’ve just voted (as suggested ;)).
September 1, 2005 at 12:04 pm #236401
Scott AndersonParticipantExcellent! And I learned something as well since I didn’t know that Console preference existed either. 🙂
-
AuthorPosts