Tweaking.com Support Forums

Main Forum => Tweaking.com Support & Help => Topic started by: Tomas_Sweden on October 14, 2013, 11:07:22 pm

Title: Windows is invisible in Windows Repair (All In One)
Post by: Tomas_Sweden on October 14, 2013, 11:07:22 pm


Since version 2.0.0 in Windows Repair (All In One) the main window becomes invisible,
 then I have ticked "Always on top" in "start repairs" if I open and then close it again


I attach pictures so you understand! The main windows should look like tweak3.jpg.


Tomas
Title: Re: Windows is invisible in Windows Repair (All In One)
Post by: Willy2 on October 15, 2013, 12:31:32 am
I have no problem on my Win 7 64 bit system. What's your OS ?
Title: Re: Windows is invisible in Windows Repair (All In One)
Post by: Tomas_Sweden on October 15, 2013, 01:36:47 am
I have the same as you: Win7 64bit.

Tomas
Title: Re: Windows is invisible in Windows Repair (All In One)
Post by: Shane on October 15, 2013, 09:12:18 am
Odd, I am also on Windows 7 64bit and it doesn't do it to me.

Yet I can see the start button on your screen shot in the program. When it happens see if you can click where the titlebar is and try to move it and see if it shows back up.

Shane
Title: Re: Windows is invisible in Windows Repair (All In One)
Post by: Tomas_Sweden on October 15, 2013, 11:19:13 am
If I click on the titlebar and move, nothing happens.


But if I click in the middle of the program it look like this.


Maybe I should try to uninstall and reinstall the program?


Tomas
Title: Re: Windows is invisible in Windows Repair (All In One)
Post by: Shane on October 15, 2013, 02:18:14 pm
Uninstalling wont help as the program isnt using any extra files or anything to draw the form.

In fact the window is still the same window I just told it to be borderless and I changed the background color.

I am calling an api to make the form round however, I wonder if there is something with that API on your system?

The 2 APIs to make the form have round corners is SetWindowRgn and CreateRoundRectRgn

I could build a test exe where I dont use those and dont make the form round and see if you still have the problem.

Shane
Title: Re: Windows is invisible in Windows Repair (All In One)
Post by: chris635 on October 15, 2013, 04:16:15 pm
I am on windows 7 64 bit. All is well here :tongue:

Chris
Title: Re: Windows is invisible in Windows Repair (All In One)
Post by: Tomas_Sweden on October 15, 2013, 09:29:05 pm
I can live with this problem if it is just me who has it!


Tomas
Title: Re: Windows is invisible in Windows Repair (All In One)
Post by: Shane on October 16, 2013, 08:18:09 am
True, but I would rather find out why you have it to begin with :-)

It is obviously something out of the norm, but still would like to find an answer.

Let me make a new test exe where I skip the api calls to round the form (Possible graphic problem on your system)

If it works then I can just add a simple setting on whether or not to round the form with a check box and a simple if then statement :-)

Shane
Title: Re: Windows is invisible in Windows Repair (All In One)
Post by: Shane on October 16, 2013, 08:59:48 am
Open this program
http://www.tweaking.com/content/page/repair_wmi.html

Does it do the same thing?

Also does it do it to the repair window in the program or only the main Window?

I still cant get it to happen on mine, but I am still trying to trace down what is happening on yours.

When it happens again open another program over it, like another window or anything then go back to the program, does it show back up?

Reason for that test is to see if it has something to do with the redrawing in Windows.

Shane
Title: Re: Windows is invisible in Windows Repair (All In One)
Post by: Tomas_Sweden on October 16, 2013, 11:11:00 am
Repair WMI works!

I recorded a video how it looks for me: http://www.youtube.com/watch?v=pQVoPuW7CaQ (http://www.youtube.com/watch?v=pQVoPuW7CaQ)

Tomas
Title: Re: Windows is invisible in Windows Repair (All In One)
Post by: Shane on October 16, 2013, 11:42:13 am
That is truly odd. I did the same exact thing and it doesn't happen on mine.

This time when it happens, minimize the main window or just open another window on top of it. When you do that and then go back to it Windows updates and redrawns the forms. I noticed when you mouse over it they come back as they are drawing themselves.

I am at a loss to why the settopmost api is doing that in the program.

I can fix any bug, as long as I can replicate it, so far I cant.

Shane
Title: Re: Windows is invisible in Windows Repair (All In One)
Post by: Tomas_Sweden on October 16, 2013, 11:53:07 am
If I minimize the the main window and open it again, it redraw the window, but if I open another window on top of it, it's still invisible.


Tomas
Title: Re: Windows is invisible in Windows Repair (All In One)
Post by: Shane on October 16, 2013, 11:55:07 am
OK so minimizing it and opening it backup is making Windows redraw it. Good.

But I am curious to why it is happening in the first place. But nothing I can do if I can't replicate it, sorry bud.

Shane
Title: Re: Windows is invisible in Windows Repair (All In One)
Post by: Tomas_Sweden on October 16, 2013, 12:02:27 pm
Ok thanks anyway!  :)


Tomas
Title: Re: Windows is invisible in Windows Repair (All In One)
Post by: Willy2 on October 16, 2013, 11:39:09 pm
Isn't this a language related problem ?
Title: Re: Windows is invisible in Windows Repair (All In One)
Post by: Shane on October 17, 2013, 02:02:40 pm
Nope, it has to do with his system not redrawing the window for some reason. Normally a graphic problem, but at the same time I can reproduce it so I can trace it down.

But he knows how to get it working now :-)

Shane