A Hex on your Desktop
-
I was very pleased with myself today as I've been modifying my image viewer with single instance behaviour. Image filenames selected in Windows10 Explorer are forwarded to the first viewer process when the Enter key is pressed. It worked very well until one test when an image somehow got displayed as the desktop background. There is nothing in my code that could have done that and was surprised to discover some bizarre 'why oh why oh why' windows magic. When 1 to 15 image files are selected the action of the enter key is to open each file with the associated program (my viewer). If you dare to select 16 or more Microsoft have decided that what you want is a desktop image slide show. And to make sure you get the message they remove the 'Open' option from the context menu. Aaaaargh!
-
I was very pleased with myself today as I've been modifying my image viewer with single instance behaviour. Image filenames selected in Windows10 Explorer are forwarded to the first viewer process when the Enter key is pressed. It worked very well until one test when an image somehow got displayed as the desktop background. There is nothing in my code that could have done that and was surprised to discover some bizarre 'why oh why oh why' windows magic. When 1 to 15 image files are selected the action of the enter key is to open each file with the associated program (my viewer). If you dare to select 16 or more Microsoft have decided that what you want is a desktop image slide show. And to make sure you get the message they remove the 'Open' option from the context menu. Aaaaargh!
was it not clear for you yet? The do know what you want better than you :rolleyes: :laugh:
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
-
I was very pleased with myself today as I've been modifying my image viewer with single instance behaviour. Image filenames selected in Windows10 Explorer are forwarded to the first viewer process when the Enter key is pressed. It worked very well until one test when an image somehow got displayed as the desktop background. There is nothing in my code that could have done that and was surprised to discover some bizarre 'why oh why oh why' windows magic. When 1 to 15 image files are selected the action of the enter key is to open each file with the associated program (my viewer). If you dare to select 16 or more Microsoft have decided that what you want is a desktop image slide show. And to make sure you get the message they remove the 'Open' option from the context menu. Aaaaargh!
Alan N wrote:
When 1 to 15 image files are selected the action of the enter key is to open each file with the associated program (my viewer). If you dare to select 16 or more Microsoft have decided that what you want is a desktop image slide show. And to make sure you get the message they remove the 'Open' option from the context menu.
Just tested this and it doesn't happen for me. I selected 21 JPG files and the Open item on the context menu remained available. Clicking it opened the images in my default viewer. My desktop background was unchanged. Are you sure you didn't hit 'Set as desktop background' by accident? ;-)
-
Alan N wrote:
When 1 to 15 image files are selected the action of the enter key is to open each file with the associated program (my viewer). If you dare to select 16 or more Microsoft have decided that what you want is a desktop image slide show. And to make sure you get the message they remove the 'Open' option from the context menu.
Just tested this and it doesn't happen for me. I selected 21 JPG files and the Open item on the context menu remained available. Clicking it opened the images in my default viewer. My desktop background was unchanged. Are you sure you didn't hit 'Set as desktop background' by accident? ;-)
Thanks for the reply. I went away and reset the default app for the Photo viewer category to the MS recommended Photos app and the 15 file limit went away. Is that what you are using? Also Windows 10 Home may not be helping. On switching back to my own viewer the problem reappears as it does if I select MS Paint, Paint.NET, VLC Media Player, Firefox or Visual Studio 2017 as the viewer. All of which leaves me the Aaaargh state. So much so I may need to adulterate my afternoon coffee with whisky.