|
|
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » IDE still goes into the foreground
IDE still goes into the foreground [message #30872] |
Thu, 27 January 2011 10:27  |
coolman
Messages: 119 Registered: April 2006 Location: Czech Republic
|
Experienced Member |
|
|
Hi,
I have a problem with the IDE, which still goes into the forefront when I start compiling the program and minimize the IDE or run another program. This includes the debugging of programs under development.
IDE version 3084, Fedora 14, i686
This problem does not appear in the version 2929.
Radek
|
|
|
Re: IDE still goes into the foreground [message #30878 is a reply to message #30872] |
Thu, 27 January 2011 14:49   |
|
coolman wrote on Thu, 27 January 2011 10:27 | Hi,
I have a problem with the IDE, which still goes into the forefront when I start compiling the program and minimize the IDE or run another program. This includes the debugging of programs under development.
IDE version 3084, Fedora 14, i686
This problem does not appear in the version 2929.
Radek
|
Hi Radek,
I'm not sure if it is a new problem, as I experience this (or similar) annoying behavior for quite a long time (I'm quite certain that it is longer than from 2929). Maybe some change occurred recently in your desktop environment settings, that just made it visible?
For me the problem is that theide "pops up" when compilation is finished and when breakpoint is hit during the debugging. The most disturbing part is that if I happen to work on different virtual desktop then theide runs at, I am abruptly taken back to the desktop where theide is.
I think this behavior should be changed or made configurable... Good compromise would be probably just to notify the user by blinking taskbar item (as many IM apps do when message is received; it should be possible both on Linux and win), what do you think?
Best regards,
Honza
|
|
|
Re: IDE still goes into the foreground [message #30905 is a reply to message #30878] |
Fri, 28 January 2011 09:21   |
coolman
Messages: 119 Registered: April 2006 Location: Czech Republic
|
Experienced Member |
|
|
dolik.rce wrote on Thu, 27 January 2011 14:49 |
coolman wrote on Thu, 27 January 2011 10:27 | Hi,
I have a problem with the IDE, which still goes into the forefront when I start compiling the program and minimize the IDE or run another program. This includes the debugging of programs under development.
IDE version 3084, Fedora 14, i686
This problem does not appear in the version 2929.
Radek
|
Hi Radek,
I'm not sure if it is a new problem, as I experience this (or similar) annoying behavior for quite a long time (I'm quite certain that it is longer than from 2929). Maybe some change occurred recently in your desktop environment settings, that just made it visible?
For me the problem is that theide "pops up" when compilation is finished and when breakpoint is hit during the debugging. The most disturbing part is that if I happen to work on different virtual desktop then theide runs at, I am abruptly taken back to the desktop where theide is.
I think this behavior should be changed or made configurable... Good compromise would be probably just to notify the user by blinking taskbar item (as many IM apps do when message is received; it should be possible both on Linux and win), what do you think?
Best regards,
Honza
|
Hi,
Thanks for answer. I have both IDE version (2929 and 3084) on the same desktop without new enviroment settings.
Radek
[Updated on: Fri, 28 January 2011 09:22] Report message to a moderator
|
|
|
Re: IDE still goes into the foreground [message #30908 is a reply to message #30905] |
Fri, 28 January 2011 10:22   |
|
coolman wrote on Fri, 28 January 2011 09:21 | Hi,
Thanks for answer. I have both IDE version (2929 and 3084) on the same desktop without new enviroment settings.
Radek
|
Ok, than it is really something new and maybe not related to my problem... Anyway I will try to find out where is the problem and fix it.
Honza
|
|
|
|
Re: IDE still goes into the foreground [message #30930 is a reply to message #30929] |
Fri, 28 January 2011 16:47   |
|
fudadmin wrote on Fri, 28 January 2011 14:29 | Could be this related to this bug?
|
Wow. At first, I was thinking this can't be related at all. But... After some debugging and trying to find out whats going on I found out that theide is actually brought to foreground by SetFocus(), by exactly the same line you spotted and commented out in your macosx patch. So I tried to comment it out just as you did and voilą, it works Single line commented out and theide works as one would expect...
Still it doesn't fully explain why it would start between 2929 and 3084, since the line in question was sitting in the code for 4 years or so. It might be some side effect of latest changes in minimize/maximize handling and/or some other changes in CtrlCore that happened lately.
I am really curious about what Mirek will say about removing this line. He's probably the only one who can remember why he put it there It was even before SVN, so there is no log for us to read
Honza
|
|
|
|
|
Re: IDE still goes into the foreground [message #30983 is a reply to message #30980] |
Mon, 31 January 2011 10:20   |
|
coolman wrote on Mon, 31 January 2011 09:16 |
fudadmin wrote on Fri, 28 January 2011 14:29 | Could be this related to this bug?
|
Hi,
Thanks for the tip but it didn't help me. I commented the line and it had no effect.
Radek
|
Hi,
Interesting, so your problem is really different than what I experienced. But since I can't/don't know how to reproduce it, it'll be kind of difficult to help...
It might help a lot if we narrow down the range of versions where this problem appeared. Could you try to test few other versions? The best ones to start with are probably 2938, 2941, 2972 and maybe 2955, which brought changes in CtrlCore and ide big enough to cause this.
Honza
|
|
|
|
|
Re: IDE still goes into the foreground [message #30996 is a reply to message #30993] |
Mon, 31 January 2011 15:38   |
|
Good, so it was most probably something in 2938. There were some changes to max/minimization code, but for now I can't see anything that could cause your problems...
Also, there was some confusion in the other thread, with some messed up identifiers. Can you please confirm once more that puttingif(activate) topwindow->SetWndForeground(); in Ctrl::SetFocus(bool activate) doesn't help?
Honza
|
|
|
|
|
Re: IDE still goes into the foreground [message #31060 is a reply to message #31058] |
Thu, 03 February 2011 09:59   |
|
That's bad news, I was still hoping that it would solve it for you too 
Well, I guess we'll have to look deeper into the changes in 2938. I'll try prepare some test and contact you via PM (no need for so much details here on the forum, especially as you are the only one experiencing the problem).
Honza
PS: Just to make sure, is 2929 the last working or 2038 the first broken?
|
|
|
|
|
Goto Forum:
Current Time: Tue Apr 29 08:22:24 CEST 2025
Total time taken to generate the page: 0.05600 seconds
|
|
|