Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 378302 - Show build console only when the build was started, but not every time output changes
Summary: Show build console only when the build was started, but not every time output...
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: Next   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 9.4.0   Edit
Assignee: Christian Walther CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-02 16:25 EDT by Anton G. CLA
Modified: 2017-11-09 10:15 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton G. CLA 2012-05-02 16:25:24 EDT
Build Identifier: 

There are a few preferences in CDT:
  C/C++ --> Build --> Console --> Open console when building
  C/C++ --> Build --> Console --> Bring console to top when building (if present)

They are open/bring to top the Console when the build was started and every time output changes. It is a bit annoying and it may block the interaction with the other views that are located on the same tab panel with the Console. The things get worse if build is started from view or editor that is maximized.

So I propose to open/bring to top the Console only when the build was started.

Reproducible: Always

Steps to Reproduce:
1. Open the project that is building significant time.
2. Check the two preferences mentioned above.
3. Open the file in the editor and maximize it.
3. Run build.
4. Try to interact with editor (e.g. to write some code).
Comment 1 Anton G. CLA 2012-05-02 16:37:30 EDT
I have pushed one line fix to gerrit: https://git.eclipse.org/r/5783
Comment 2 Eclipse Genie CLA 2017-10-12 08:16:48 EDT
New Gerrit change created: https://git.eclipse.org/r/109909
Comment 3 Christian Walther CLA 2017-10-12 08:39:27 EDT
Bug 447703 enabled the "Bring console to top when building (if present)" option by default, causing us to run into this problem. In particular, because the build console would constantly push itself to the front during a busy build, it became virtually impossible to reach the Progress view in order to stop the build (eliciting negative response from 3 of 4 beta testers).

https://git.eclipse.org/r/109909 (developed before I saw this bug and Anton’s minimal fix) provides a fix that still brings the console to the front on error/warning/info output, but not on regular output (in addition to at the start of the build).
Comment 5 Jonah Graham CLA 2017-11-09 10:03:53 EST
Hi Christian,

Thanks for the fix!

Jonah
Comment 6 Christian Walther CLA 2017-11-09 10:15:46 EST
Thanks for the review!