Game Development Community

BUG: Viewport offset breaks toolbar position and mouse coordinates when resizing TGB 1.7.5 Main Window Win 7 [FOUND WORK AROUND]

by Verganas · in Torque Game Builder · 05/04/2010 (9:32 am) · 4 replies

Hello all,

i know this issue seems like the other mouse problem but i think the resizing part hasn't been mentioned.

When resizing the TGB application it seems like all coordinates on viewport get a -Y offset by like 25 pixels so the toolbar gets lost upward, there's a black bar on bottom of the windows client area and seems the same happens with mouse cursor so for example the button you try to click is really more "down" than where it gets drawn.

Could we have a response on this ? It's a really breaking effect. I like to resize my TGB window :)

Edit: Some more info that may help. Running in OpenGL mode (Direct3D is really unusable for me atm), NVidia 8800 GT, Windows 7 32-bit.

Regards

About the author

Recent Threads

  • Texturing question

  • #1
    05/04/2010 (9:58 am)
    This was a bug that was fixed in 1.7.5. However, if AppData from a previous version of TGB exists then the bug will remain.

    Go to Users/username/AppData/Roaming, delete GarageGames. AppData is hidden so if you don't have view hidden files/folders enabled then you'll need to do that. Just type view hidden in the start menu search bar and it'll bring up the right dialog.
    #2
    05/04/2010 (10:54 am)
    Hello,

    forgot to mention that i have done the procedure you describe multiple times already with no result.

    Regards

    ps I didn't have older version installed.
    #3
    05/04/2010 (11:11 am)
    Update: Got my issue fixed by ticking the checkbox Disable Desktop Composition at compatibility settings (as i said earlier using Windows 7).
    #4
    05/04/2010 (2:45 pm)
    That was a way to get it working in previous editions - it's something to do with OpenGL rendering and how Aero handles menus.

    It used to be that this was the issue all the time, but now it seems to have had an opposing effect - the toolbar will be positioned properly when I initially create/load a project, but reverts to the earlier offset when I attempt to resize afterwards. I'll poke around the source when I get back and see if maybe I can get anything going.