Home | webLog | Gallery | Projects | Articles | Downloads | Contact | Useful | Forum | Donate | miniMIZE
  
 
 
Welcome to Aquaria.za.net

Come in, look around. Hope you find something of interest here. Feel free to send me any constructive comments and suggestions.

- illumination

Releases

 Project  Version
 miniMIZE 1.0.37 
 ShellS 1.0.0 

Support Aquaria.za.net

Archive
Login Form





Lost Password?
No account yet? Register
Syndicate
 
Aquaria.za.net Forum  


Possible 98% CPU Usage Insight - 2006/10/18 12:19 Hi everyone,

I possibly have an idea as to what may be causing miniMIZE to go into its high CPU usage cycle state.

I think part of it may be due to certain applications that minimize themselves to the task tray instead of the normal minimize to taskbar functionality.

For example, I've noticed that the CPU problem will only happen (on my system) when I have applications such as Microsoft Outlook or MSN Messenger open. I have both of these applications minimize to the task tray, which each of these programs give you the option to do. During the course of the work day, I open them up and minimize them again quite often, and it's usually after one of these actions (not every time) does miniMIZE seem to enter the 98% CPU cycle.

Now, while minimizing one of these windows, is it possible that miniMIZE is getting the window handle, but then the app itself (Outlook, for example) either hides itself or destroys its own window. miniMIZE could also be trying to do a FindWindow() loop or something, but can't find the window anymore.

I hope I'm making sense. It's clear in my head, I just hope I'm conveying the idea properly.

Just thought I'd share...

~Brad
  | | The administrator has disabled public write access.
Re:Possible 98% CPU Usage Insight - 2006/10/24 16:27 Hi Brad,

many thanks for spending the time to think about this bug and a possible cause for it. Also thanks for taking the time to post your thoughts, I really appreciate that.

I have spent a little time looking into this and what I have managed to find out is that it seems to occur when a miniMIZEd thumbnail is very close to the taskbar and then a tooltip from an icon, either in the quicklaunch area or the tray pop's up over the thumbnail. I have also tracked the cpu usage into GDI+, but that is about as far as I have managed to track it. I am currently at a bit of a loss, but still thinking. I will fiddle around with what you said and see if it sheds any extra light.

thanks again

illumination
miniMIZE developer ~ Donate to miniMIZE
  | | The administrator has disabled public write access.
Re:Possible 98% CPU Usage Insight - 2006/10/30 12:21 Hi again,

You are very welcome. I've been a developer for many years and I certainly can appreciate your position. Some issues seem almost impossible to debug sometimes.

As for the tooltip/GDI+ issue, when I have time this week, I'm going to try to do some unit testing with regards to what you mention and see if I can reproduce the problem that way.

In the end though, I'm more than happy to help. Your product is definately worth the effort.

I'll get back to you with the results of my testing when I have a chance. You can also email me directly at burns.brad@gmail.com if you want to discuss the issue further.

~Brad
  | | The administrator has disabled public write access.
Re:Possible 98% CPU Usage Insight - 2006/11/09 03:05 Hello! When miniMIZE work with high cpu cycle (98%) for resolve the problem using the function "Cycle Thumbnail Levels" in the tab Hotkeys (windows miniMIZE Setting). When using this (hotkey for up level and bottom level of "miniwindows") the cpu work normal!
  | | The administrator has disabled public write access.
Re:Possible 98% CPU Usage Insight - 2007/03/19 16:30 Thanks everyone for the help on this one. I managed to figure out what was wrong here. It wasn't anything to do with GDI+, but it had to do with the different way that I draw the thumbnails.

It is now fixed and will be in the next release.
miniMIZE developer ~ Donate to miniMIZE
  | | The administrator has disabled public write access.