Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: diamondgeezer on July 18, 2003, 12:52:04 pm

Title: That lack of minimization bug thing
Post by: diamondgeezer on July 18, 2003, 12:52:04 pm
OK, you know how you can't alt-tab out of FS open? I really, really would like to see this fixed as it makes FREDing a bloody nightmare if you have to exit the game to make even the tiniest of changes... and I'm saying that with a fast system. For people who have to wait thirty seconds for the game to load it'd drive a FREDder nuts.

Please concoct a fix0r to this as soon as possible, code guys. IT'S IMPORTANT :nod::YES:
Title: That lack of minimization bug thing
Post by: Goober5000 on July 18, 2003, 01:47:51 pm
I'm not sure how to fix it - it was added with the movie player option.  The movie player opens, then closes - then FS automatically re-maximizes itself.  So whoever implemented this needs to come up with a better method.

On the other hand, if you click on something during the brief time that FS is minimized, it stays minimized.  So have some notepad file ready to double-click on, and you can get around it.
Title: That lack of minimization bug thing
Post by: diamondgeezer on July 18, 2003, 02:25:47 pm
No it doesn't - if I click on something when FS minimizes then it maximises, minimizes again and then finally maximzes again. Believe me, my first instinct was to try a bit of clicking, but it makes absolutely no difference.
Title: That lack of minimization bug thing
Post by: Goober5000 on July 18, 2003, 08:16:43 pm
You have to fiddle with it.  Sometimes it works for me, sometimes it doesn't.  Usually I keep double-clicking until it stays minimized and I have about five Notepad windows open. :)

But this doesn't solve the underlying problem.  Anyone remember who came up with the movie player code?
Title: That lack of minimization bug thing
Post by: WMCoolmon on July 18, 2003, 09:10:41 pm
I think it was RT.
Title: That lack of minimization bug thing
Post by: Inquisitor on July 18, 2003, 09:13:40 pm
It was RT.
Title: That lack of minimization bug thing
Post by: IceFire on July 18, 2003, 09:56:35 pm
Quote
Originally posted by Goober5000
You have to fiddle with it.  Sometimes it works for me, sometimes it doesn't.  Usually I keep double-clicking until it stays minimized and I have about five Notepad windows open. :)

But this doesn't solve the underlying problem.  Anyone remember who came up with the movie player code?

You are lucky, I can't get it to do that.

I think (in my limited code knowledge) that if it indeed is the movie player that the code to maximize and minimize is always present when you Alt-Tab out...so it thinks that the movie has started and then ended when you try tab out.
Title: That lack of minimization bug thing
Post by: Fr3z3r on July 19, 2003, 04:51:30 am
The Ctrl + Esc combination seems to work for me.
Title: That lack of minimization bug thing
Post by: diamondgeezer on July 19, 2003, 07:37:17 am
Quote
Originally posted by Fr3z3r
The Ctrl + Esc combination seems to work for me.

Doesn't for me :(
Title: That lack of minimization bug thing
Post by: Inquisitor on July 19, 2003, 10:29:52 am
Have to look at it again, maybe we can make a fred friendly build...
Title: That lack of minimization bug thing
Post by: Goober5000 on July 20, 2003, 12:23:50 am
All RT needs to do is add a check for whether a movie is playing.  If no movie is playing, the auto-maximization feature shouldn't run.

I PMmed him; hopefully he'll have a look at this thread soon.
Title: That lack of minimization bug thing
Post by: RandomTiger on July 20, 2003, 06:27:16 am
I turned off switching because it crashes the game.
The code still makes D3D calls when the main D3D pointer is unusable because the window is not focused.

The solution is fairly simple but Im afraid I am very, very, very busy at the moment and might not find the time to deal with it for a while.
Title: That lack of minimization bug thing
Post by: Taristin on July 20, 2003, 08:28:05 am
Sheesh! There's too many people who's initials are RT... :p

Or I'm paranoid..