View Issue Details

IDProjectCategoryView StatusLast Update
0010108MMW v4Otherpublic2013-02-25 01:52
Reporterlowlander Assigned To 
PriorityimmediateSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version4.0.7 
Target Version4.1Fixed in Version4.1 
Summary0010108: MediaMonkey doesn't show as Default Program for supported file types on Windows 8
DescriptionMediaMonkey is not listed as Default Program on Windows 8 and manual selecting is lost. OS Integration options fail to be maintained.
Additional InformationEAX-571064
IXS-938217

http://msdn.microsoft.com/en-us/library/windows/desktop/hh848047(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/cc144154(v=vs.85).aspx#registration
TagsNo tags attached.
Attached Files
Assoc.jpg (152,589 bytes)   
Assoc.jpg (152,589 bytes)   
rs1_mm_settings.jpg (931,844 bytes)
rs2_auto_play.jpg (225,217 bytes)   
rs2_auto_play.jpg (225,217 bytes)   
rs3_default_programs.jpg (351,570 bytes)
rs4_set_associations.jpg (383,884 bytes)
rs5_context_menu.jpg (194,460 bytes)   
rs5_context_menu.jpg (194,460 bytes)   
WIN8X64TEST1.LOG (403,264 bytes)
WIN8X64TEST2.LOG (317,316 bytes)
WIN8X64TEST3.LOG (358,848 bytes)
Fixed in build1623

Relationships

duplicate of 0010071 closedLudek File Associations don't function as expected in Windows 8 
related to 0009453 closedpetr Windows 8 compatibility 
related to 0010436 closedLudek Repeated / unnecessary elevation prompts 

Activities

rusty

2012-12-02 21:55

administrator   ~0033554

Resolved as dup of 0010071 .

rusty

2012-12-03 22:25

administrator   ~0033588

Last edited: 2012-12-03 22:28

Re-opening. It turns out that although on the fly-file associations can be set for MediaMonkey as described at 0010071, the Default Programs configuration (Control Panel\Programs\Default Programs\Set Default Programs) doesn't list MediaMonkey as an application that can be configured as the default app for certain file types.

Ludek

2013-01-16 20:40

developer   ~0034494

I see them there, see attached screenshot.

rusty

2013-01-16 23:26

administrator   ~0034496

Last edited: 2013-01-16 23:28

See the attached screenshots.
rs1: MM settings
rs2: autoPlay settings (seem to work, as you pointed out)
rs3: default programs --MM is missing!!
rs4: file associations -- some config entries shown in rs1 don't work
rs5: context menu -- doesn't display for file formats that don't get associated (e.g. it doesn't work for MP3, but does work for flac)

Note: the issue has been reproduced by at least 3 people.

Ludek

2013-01-17 18:23

developer   ~0034513

Last edited: 2013-01-17 18:27

Yes, I can repro that in the list of the programs is only MM8, but the issue seems to be that both MMW and MM8 have the same app name "MediaMonkey"

Do this test:
- run Regedit and edit
HKLM/Software/Clients/Media/MediaMonkey/Capabilities/ApplicationName
change it from "MediaMonkey" to "Media Monkey"

Go back to Control Panel -> Programs -> Default programs -> Set default programs
and voila!

Now both "MediaMonkey" (MM8) and "Media Monkey" (MMW) are there !!

So it looks that Windows 8 don't list two same called apps there.

rusty

2013-01-17 20:00

administrator   ~0034515

I've done a different test. Uninstall MM8, and uninstall MMW. Delete the registry entries for both (i.e. HKLM/Software/Clients/Media/MediaMonkey and HKCU/Software/MediaMonkey). Delete mm data from AppData.

Then install MMW.

--> same problems as described in my last comment (i.e. it doesn't seem to be related to the fact that 2 instances of the same app name exist).

Ludek

2013-01-18 09:12

developer   ~0034526

Last edited: 2013-01-18 09:13

This sounds to me rather that MM8 has not been properly uninstalled or Windows somehow still remember it.

Can someone who has never installed MM8 try if MMW is visible in Set default programs ?

Nevertheless as workaround we could rename the ApplicationName to "MediaMonkey " or "MediaMonkey 4.1". Both works to list MMW there, but "MediaMonkey" or deleting the ApplicationName doesn't list MMW. Note that the modified name would appear in the "Set default programs" list only, otherwise "MediaMonkey" is used elsewhere for both MM8 nad MMW.

Ludek

2013-01-18 09:38

developer   ~0034527

Fixed in 1620.

Chnaged HKLM/Software/Clients/Media/MediaMonkey/Capabilities/ApplicationName
from "MediaMonkey" to "MediaMonkey 4.1.0.1620" so that MMW appears in
Control Panel -> Programs -> Default programs -> Set default programs
together with MM8 and thus solves the conflict with MM8

Ludek

2013-01-18 10:10

developer   ~0034528

Re-opened, because this fix doesn't work on Petr's machine.

Ludek

2013-01-18 13:54

developer   ~0034529

Last edited: 2013-01-18 15:20

Note that for Petr and Jiri there was another problem (I couldn't repro on my machine) that HKLM/Software/Clients/Media/MediaMonkey/Capabilities/FileAssociations
cannot contain extensions that are not presented in HKCR/MediaMonkey.*

Both is fixed in 1620.


Re the app name, we could change it just to "MediaMonkey " to be different, but I think that the version info is good there for users to distinguish between MMW and MM8

Ludek

2013-01-18 16:01

developer   ~0034531

Per IM discussion changed name from "MediaMonkey 4.1.0.1620" to "MediaMonkey 4"

rusty

2013-01-20 06:52

administrator   ~0034541

Tested 1620 and the issue still remains to a degree i.e.:
MMW is still not listed in the list of default programs (as in image rs3)
MP3 is still not associated with MMW as the default program (as in image rs4)
note: with this build MMW does appear in the context menu

If this isn't occurring on your system, then I'll create a new image and retest.

Ludek

2013-01-20 19:39

developer   ~0034544

Last edited: 2013-01-20 19:48

Fixed in 1621.

There was a bug in Windows 8 detection.
Merged into Mambo branch too.

rusty

2013-01-21 14:15

administrator   ~0034552

Tested build 1621 on Win 8, and the 'Set Default Programs' config panel (Control Panel > Set Default Programs in Win8) is still missing MediaMonkey as an option! (even though it does appear as an option in the context menu (Open with... > Choose default program...).

Ludek

2013-01-21 14:21

developer   ~0034553

Last edited: 2013-01-21 14:46

I would need to see export of your registry entries:
HKEY_LOCAL_MACHINE/Software/Clients/Media/MediaMonkey/Capabilities
HKEY_CLASSES_ROOT/

But actually I can repro with 1621 only until I first run MM, once I run MM then it is visible in Set Default Programs. Are you experiencing tha same?

Ludek

2013-01-21 14:53

developer   ~0034554

Last edited: 2013-01-21 16:29

Actually I reproduced it, if I delete the HKEY_LOCAL_MACHINE/Software/Clients/Media/MediaMonkey/Capabilities and re-install 1621 then MM is missing from Set Default Programs list!

Because HKEY_LOCAL_MACHINE/Software/Clients/Media/MediaMonkey/Capabilities/FileAssociations/ key is missing entirely (confirmed by Rusty)

=> Fixed in 1622 (confirmed by Rusty)

Ludek

2013-01-21 17:02

developer   ~0034558

Re-opened, there is another regression, association from installer no loger works. It started when Petr introduced the elevated process. It throws AV on line
Reg := TElevatedRegistry.Create;
in TFileAssocHandler.Create;

Can be tested by using this command line:
"C:\MediaMonkey\MediaMonkey.exe" /elevate /prepareassoc /associateunassoc /regcomserver'

petr

2013-01-21 20:50

developer   ~0034560

Fixed in 1622

rusty

2013-01-21 23:02

administrator   ~0034562

Tested build 1622, and although MM now appears in Control Panel -> Programs -> Default programs -> Set default programs , if the user changes the configuration of a filetype i.e. either:
1) Sets MP3 to be opened by MediaMonkey via Control Panel -> Programs -> Default programs -> Set default programs > Select MediaMonkey > Choose defaults for this program
2) Sets MP3 to be opened by MediaMonkey via the 'Open with...' dialog in Windows Explorer

--> The icon for the MP3 briefly changes to a MediaMonkey MP3 icon, but as soon as MediaMonkey is run, the icon reverts to the Windows default mp3 icon, and MediaMonkey is no longer the default app for that filetype.

Ludek

2013-01-22 10:53

developer   ~0034569

Last edited: 2013-01-22 10:55

Rusty,
Re 1)
You probably just forgot to click "Set this program as default", see this screenshot:
http://www.c-sharpcorner.com/UploadFile/6cde20/set-default-programs-in-windows-8/Images/set-default-program3-in-windows8.gif

Re 2) You cannot use just "Open with...", but you need to choose "Choose default program...", see this screenshot: http://www.c-sharpcorner.com/UploadFile/6cde20/set-default-programs-in-windows-8/Images/choose-default-program-in-windows8.gif

Both works fine in my case by using these steps.

rusty

2013-01-22 14:16

administrator   ~0034576

Re. 1)
'Set this program as default' should not be required--it's the same as using 'Choose defaults for this program' (on the same dialog) and then selecting all available filetypes.

Regardless, I tested out 'Set this program as default' and the results were the same. After the modification was made, the icon switched to an MM icon for MP3 (as exected), and when double-clicking the file, MM ran (as expected), but then after closing MM, the file reverted to its original icon and non-MM association. i.e. the act of running MM is what is triggering the default to be lost.

2) The 'Open with...' dialog has a 'Set as default' option for filetypes that don't have a default application set. As with case 1, I expect that what is happening is that as soon as MM is run, it reverts the change that was made by the 'Open with... / set as default' system dialog.

Ludek

2013-01-22 15:06

developer   ~0034578

Last edited: 2013-01-22 15:21

OK, I think that it could be a consequence of
0010436 that occurs on your machine, to find more...

Please attach debug log when MM is starting and lose the icon, I guess that MM asks for elevation in that case and writes something to registry, it should be visible in that log.

rusty

2013-01-22 15:52

administrator   ~0034581

It might be related to 0010436, but I don't think it's a consequence of it, because this bug occurs _even when MM doesn't prompt for elevation_ (though it also occurs when MM does prompt for elevation)!

Here are debug logs of this issue:
1) when MM doesn't elevate
2) when MM does elevate

rusty

2013-01-22 17:57

administrator   ~0034594

And here is a new debug log (of when MM doesn't elevate but changes the file icons/associations) using the build from Petr that fixed 0010436

Ludek

2013-01-22 18:40

developer   ~0034603

Last edited: 2013-01-22 19:56

Fixed in 1623.

Some others Win8 assoc issues are being solved as 0010071

stephen_platt

2013-02-25 01:52

developer   ~0035095

verified 1625