Sometimes, my explorer crashes while developing shell extensions.
Or I have to kill the task.
Explorer starts again but the tray icon from CN is missing.
Can you react to WM_TASKBARCREATED and add the icon again?
Icon gone after Explorer crashes
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
Re: Icon gone after Explorer crashes
Greetings to a fellow developer
here is an excerpt from the CN code:
So the code is there. And it's working on my PC. Could you please elaborate on your configuration? Thanks
here is an excerpt from the CN code:
Code: Select all
bool MainFrame::handleMessage(const MSG& msg, LRESULT& result)
{
static const UINT WM_MYTASKBARCREATED = ::RegisterWindowMessage(_T("TaskbarCreated"));
if (msg.message == WM_MYTASKBARCREATED)
{
// program manager has been restarted and the taskbar has been recreated,
// if tray icon was present, we need to add it again now
if (notifyIcon->isAdded()) notifyIcon->add();
return true;
}
...
}
So the code is there. And it's working on my PC. Could you please elaborate on your configuration? Thanks
Alex
Re: Icon gone after Explorer crashes
I've tested it again.
It doesn't work.
Start Windows, start CN, start TaskManager and kill explorer.exe, start explorer.exe, CN icon is gone.
I'm using Windows 7 x64.
I haven't tested it yet with other computers.
It doesn't work.
Start Windows, start CN, start TaskManager and kill explorer.exe, start explorer.exe, CN icon is gone.
I'm using Windows 7 x64.
I haven't tested it yet with other computers.
-
- Moderator
- Posts: 229
- Joined: Wed Feb 11, 2009 3:10 pm
- Contact:
Re: Icon gone after Explorer crashes
Hi again alex Unable to replicate in Win 7 32 bit..... Seems like it may be a 64Bit problem
No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced.
Re: Icon gone after Explorer crashes
I've tested it now on several computers. On Windows x32 it's working, on x64 it's not working.
If you need help to figure out what's going on, I'm glad to help you.
If you need help to figure out what's going on, I'm glad to help you.
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
Re: Icon gone after Explorer crashes
Sorry for the delay!
Yes, this problem manifests only on x64. I've added it to my issue tracker. Thanks for the report!
Yes, this problem manifests only on x64. I've added it to my issue tracker. Thanks for the report!
Alex
Re: Icon gone after Explorer crashes
In the last days, my explorer crashed often and I can see that this bug isn't fixed in 1.3.
Are you able to reproduce it now?
Are you able to reproduce it now?
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
Re: Icon gone after Explorer crashes
I'm not since I am yet to get myself a Win7 x64 (on x86 the bug is not there).
But I noticed that this bug is not on the roadmap, this is wrong because it doesn't participate in the voting. Added it to the roadmap, please vote: http://roadmap.cintanotes.com/feedback/ ... win-7-x64/
But I noticed that this bug is not on the roadmap, this is wrong because it doesn't participate in the voting. Added it to the roadmap, please vote: http://roadmap.cintanotes.com/feedback/ ... win-7-x64/
Alex