facebook

Console – how to change current behaviour [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #236369 Reply

    boskovuk
    Member

    I 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?

    #236373

    Scott Anderson
    Participant

    How 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.

    #236376

    boskovuk
    Member

    Quick 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.

    #236380

    Scott Anderson
    Participant

    And 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.

    #236384

    boskovuk
    Member

    It 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.

    #236385

    Scott Anderson
    Participant

    Can 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.

    #236387

    boskovuk
    Member

    Bingo! 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?

    #236392

    Scott Anderson
    Participant

    You 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! 🙂

    #236399

    boskovuk
    Member

    Wow – 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=108597

    Scott, thanks for the support. I’ve just voted (as suggested ;)).

    #236401

    Scott Anderson
    Participant

    Excellent! And I learned something as well since I didn’t know that Console preference existed either. 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Console – how to change current behaviour [Closed]

You must be logged in to post in the forum log in