Author Topic: Mousepointer missing in Fred-Debug builds  (Read 1774 times)

0 Members and 1 Guest are viewing this topic.

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Mousepointer missing in Fred-Debug builds
Hey,

I have a strange problem with the fred debug builds, I'm not sure when it started, but it's been there for quite some time (and can't be related by a bad OS, I have a rather new install and it still happens just like in my old one).

When I launch a debug build, everything works fine, except that I can't see my mousepointer anymore. It's still there in windows, when I move it on the taskbar it's there again, just missing in fred.

Anyone familiar with that and can give me a hand ?

I start Fred with the "-fredhtl" enabled

Thanks :)
« Last Edit: August 29, 2006, 12:44:20 pm by Starman01 »
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Mousepointer missing in Fred-Debug builds
That one is already in Mantis.


And is bloody annoying.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Re: Mousepointer missing in Fred-Debug builds
And is bloody annoying.

Indeed :) But now I know what's going on, thanks for the info
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Mousepointer missing in Fred-Debug builds
I've looked at the problem but didn't make much headway with it.  Not being a Windows user, hacking on FRED is a rather annoying, time consuming and painful experience for me.  Unless I can find/fix a FRED issue pretty quickly I tend to just give up.  I do plan on taking another look at this at some point during the week though, there is still one thing that I haven't tried yet.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Mousepointer missing in Fred-Debug builds
Give me a shout if you can't find it Taylor. It will take me longer to figure it out no doubt but I have more of a vested interest in solving it.

IIRC it only seems to disappear if an error or warning pops up though. So that's just one more reason to fix all those errors and warnings in the first place.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Mousepointer missing in Fred-Debug builds
My thought was that it's a SetCursor() related issue, perhaps FRED specific (something MFC related) or maybe some regular OpenGL cursor setting bug.  I'm not sure of when this started though so it's a bit hard for me to guess if it's a general OpenGL code thing or not.  If so then it would have to have been an issue for most of this year, but not last year (sicne my changes are newer than that).

If SetCursor() has a NULL value passed to it then the cursor will disappear, and it's possible that it just isn't getting turned back on.  I think that there is an OnSetCursor MFC call in fredview.cpp somewhere (there should be anyway) so a trace through that, and maybe a little playing around for the sake of testing, may turn something up.  It may just rule something out, but it's worth a look anyway.  That's where I was going to start back in my search for this problem.

  

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Re: Mousepointer missing in Fred-Debug builds
This has been around for a long time. I think it dates back to when HTL was added into FRED2, or possibly the OGL renderer itself.