I've long been plagued by this problem, but I've finally figured out a simple way to reproduce.
When I'm running MM with a Python script that hooks in to the events of the SDBApplication object, and then I minimize MM, it does not respond to the clicks on the Windows taskbar. I can force the window to appear by double-clicking, twice, on the tray icon.
I'm seeing this on MMW 1627, altho it's been happening for a long time. Either of the scripts I posted
here will reproduce the problem. I'm running in 64-bit Windows 7. I am using the Pulse skin.
Steps to reproduce:
0) On the test system, have an installed version of (32-bit) Python and the pywin32 extension that matches it. I'm using python 2.7.
1) Run MM 4.1.xx; just have the window open, no other action needed.
2) In a command-line window, run the script.
3) Minimize MM window.
4) Try to restore window by clicking MM button in taskbar - program window does not restore, no matter how many clicks or double-clicks are made on the button. Each attempt yields a system beep.
5) Double-click MM tray icon - taskbar button disappears, but tray icon persists.
6) Double-click MM tray icon again - MM window appears, along with taskbar button.
(Script will automatically stop when MM exits.)
Subsequent minimizations of the same session don't result in the same symptom.
Minimizing before running the script does result in the same symptom.
EDIT:
Grayed-out text: that is not true (or, is no longer true, with 4.1.0.1656 and for some time): subsequent minimizations do result in the same symptom. Occasionally, the first or later minimizations will restore after one or two single-clicks on the taskbar button, but usually not.
Also, I have determined that the problem only exists when the script instantiates an event object. A regular COM interface object (Dispatch(), instead of DispatchWithEvents()) does not cause the problem.
And, the problem occurs when running unskinned as well.
I've long been plagued by this problem, but I've finally figured out a simple way to reproduce.
When I'm running MM with a Python script that hooks in to the events of the SDBApplication object, and then I minimize MM, it does not respond to the clicks on the Windows taskbar. I can force the window to appear by double-clicking, twice, on the tray icon.
I'm seeing this on MMW 1627, altho it's been happening for a long time. Either of the scripts I posted [url=http://www.mediamonkey.com/forum/viewtopic.php?f=19&t=69400#p360513]here[/url] will reproduce the problem. I'm running in 64-bit Windows 7. I am using the Pulse skin.
Steps to reproduce:
0) On the test system, have an installed version of (32-bit) Python and the pywin32 extension that matches it. I'm using python 2.7.
1) Run MM 4.1.xx; just have the window open, no other action needed.
2) In a command-line window, run the script.
3) Minimize MM window.
4) Try to restore window by clicking MM button in taskbar - program window does not restore, no matter how many clicks or double-clicks are made on the button. Each attempt yields a system beep.
5) Double-click MM tray icon - taskbar button disappears, but tray icon persists.
6) Double-click MM tray icon again - MM window appears, along with taskbar button.
(Script will automatically stop when MM exits.)
[color=#AAAAAA]Subsequent minimizations of the same session don't result in the same symptom.[/color]
Minimizing before running the script does result in the same symptom.
EDIT:
Grayed-out text: that is not true (or, is no longer true, with 4.1.0.1656 and for some time): subsequent minimizations do result in the same symptom. Occasionally, the first or later minimizations will restore after one or two single-clicks on the taskbar button, but usually not.
Also, I have determined that the problem only exists when the script instantiates an event object. A regular COM interface object (Dispatch(), instead of DispatchWithEvents()) does not cause the problem.
And, the problem occurs when running unskinned as well.