Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-06

Message Windows grabs focus after compile

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

Was the following by design or a bug that slipped in. I run Ubuntu with Gnome desktop. I click compile (or Ctrl+F9) and while it's compiling, I switch focus to a console window, so that when the compiling is done, I can run my application. I always run my apps from a console, not directly from the IDE.

When the compile is complete, the IDE Messages window grabs focus again, so I again have to click on the console window to run my app. A week ago, Lazarus didn't do this! I got an update earlier this week, and since that this behaviour has been driving me nuts.

I'm using Lazarus v0.9.25 r15369M i386-linux-gtk

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Vincent Snijders
to Graeme Geldenhuys
Graeme Geldenhuys wrote 12 lines
Hi, Was the following by design or a bug that slipped in. I run Ubuntu with Gnome desktop. I click compile (or Ctrl+F9) and while it's compiling, I switch focus to a console window, so that when the compiling is done, I can run my application. I always run my apps from a console, not directly from the IDE. When the compile is complete, the IDE Messages window grabs focus again, so I again have to click on the console window to run my app. A week ago, Lazarus didn't do this! I got an update earlier this week, and since that this behaviour has been driving me nuts.

Yes, this was a feature request: http://bugs.freepascal.org/view.php?id=9045 On windows (win32 widget set) it doesn't change the focus back to the lazarus, the lazarus button in the taskbar merely highlights. It seems that gtk1 doesn't handle this situation as graciously.

Maybe an option should be added to make this configurable.

Vincent

Reply by email

Michael Van Canneyt
to Vincent Snijders
Vincent Snijders wrote 20 lines
Graeme Geldenhuys schreef: > Hi, > > Was the following by design or a bug that slipped in. I run Ubuntu > with Gnome desktop. I click compile (or Ctrl+F9) and while it's > compiling, I switch focus to a console window, so that when the > compiling is done, I can run my application. I always run my apps from > a console, not directly from the IDE. > > When the compile is complete, the IDE Messages window grabs focus > again, so I again have to click on the console window to run my app. A > week ago, Lazarus didn't do this! I got an update earlier this week, > and since that this behaviour has been driving me nuts. Yes, this was a feature request: http://bugs.freepascal.org/view.php?id=9045 On windows (win32 widget set) it doesn't change the focus back to the lazarus, the lazarus button in the taskbar merely highlights. It seems that gtk1 doesn't handle this situation as graciously. Maybe an option should be added to make this configurable.

I vote for this option...

Michael.

Reply by email

Graeme Geldenhuys
to Vincent Snijders: Yes, this was a feature request: http://bugs.freepascal.org/view.php?id=9045 On windows…
Vincent Snijders wrote 5 lines
Yes, this was a feature request: http://bugs.freepascal.org/view.php?id=9045 On windows (win32 widget set) it doesn't change the focus back to the lazarus, the lazarus button in the taskbar merely highlights. It seems that gtk1 doesn't handle this situation as graciously.

Guess not. :) Thanks for clarifying this.

Maybe an option should be added to make this configurable.

That would be much appreciated. First thing I did was look in the Environment Options for a toggle switch like that, but couldn't find anything.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email