Issues with "XnView" and "paint.net".

Quartzite Posted messages 79 Registration date   Status Membre Last intervention   -  
brucine Posted messages 24411 Registration date   Status Membre Last intervention   -

Hello everyone.
I'm back on this forum to ask for your help in resolving the following issues:

1) Problems:
 - To view my jpg images, I use the XnView viewer. To edit my jpg images, I use the "paint.net" application.
For that, I made the following settings:
 - Start / Settings / Apps / Default apps / Photo viewer = XnView Classic for Windows.
 - Start / Settings / Apps / Default apps / Option: Choose default apps by file type. ".jpg" is associated with "XnView Classic for Windows".
 - Start / Settings / Apps / Default apps / Option: Set defaults by app: Click on "Paint.net" then click "Manage" takes me back to the .jpg association - XnView Classic for Windows.

If I assign .jpg to the paint.net application, every time I want to view a jpg image, it will open in paint.net...

--> Currently, in File Explorer, a right-click on a jpg image and choosing "Open with" offers me XnView, which I don’t need, but doesn’t offer me "paint.net", which I do need...

--> Currently, when I open a jpg image and then I want to go back to File Explorer, when I click ESC, I end up in XnView instead of going directly back to File Explorer...

2) Questions:
 - What settings should I make to see "paint.net" appear in the application suggestions for processing jpg images?
 - What settings should I make to return directly to File Explorer instead of XnView when I click ESC in XnView?

Thank you for your replies.

3) Hardware:
Desktop computer, "tower", based on x64, running Microsoft Windows 10 Home;
Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz, 3193 MHz, 2 core(s), 4 logical processor(s);
Motherboard: Intel Desktop Board inside DH55TC Media Series;
Installed physical memory (RAM) 4.00 GB.

7 réponses

brucine Posted messages 24411 Registration date   Status Membre Last intervention   4 105
 

Hello,

There is no clever DIY.

The default jpg application should be XnView, we don't touch anything else.

When I want to edit a file with Paint.Net, I right-click on the jpg file, open with, choose another application, I navigate to Paint.Net and I definitely don't check "always".

Every new jpg I want to edit, the right-click open with will now systematically offer Paint.Net at the top.

1
Quartzite Posted messages 79 Registration date   Status Membre Last intervention   1
 

Thank you, Brucine, for your quick response.

Problem: I followed the steps you suggested, and despite that, I still don't have paint.net in the image processing application suggestions (the only ones I see are: Snip & Sketch / Firefox / Paint / Paint 3D / Photos and XnView Classic for Windows).

Perhaps I should choose paint.net and click on "always," then go back to another image, select XnView, and click on "always." Maybe that way, the system would offer me paint.net in the choices...

I would really like your opinion on this...

Thank you.

0
brucine Posted messages 24411 Registration date   Status Membre Last intervention   4 105
 

Hello,

For my part, I open jpg files by default with my default browser (Firefox): doing it through a third-party software (XnView or FastStone Image Viewer, much simpler for the same effect) is only interesting for displaying "thumbnails" of different images in a folder before making a choice in a way different from what the explorer does, but everyone does as they wish.

To get back to the point, if I right-click on a jpg, open with, I will be presented in the top menu with all the applications that have already been used on my PC to open jpg files, and in the bottom one "Search in the Microsoft Store" or "Choose another application".

I make the latter choice, the window tells me "Continue using this application" (the one currently set as default) or "more options".

If what I want (XnView) is already in this second choice, I click on it, check at the bottom "always use this app", and confirm by OK.

If XnView is not already there, I have to click on "More apps" which, even if it requires using the scrollbar on the right, may suggest more options but may still not include the right one; if it is there, of course, I click on it, check and confirm as previously.

If that is not the case, I add another layer: by bringing the scrollbar all the way down, I click on "Look for an app on this PC"; the machine, being well-mannered, defaults to searching in the Programs folder, which is the default folder for 64-bit programs: I look for the XnView folder, click on the corresponding exe, again "always use" and OK.

If for some obscure reason the program was installed in 32-bit, it will be in Programs (x86), I have to click on the small arrow up at the top in the previous search menu and make that choice (the same if for another reason XnView installation was customized on another partition; in doubt, I right-click on the shortcut used to launch it, properties, which gives me the target).

1
Quartzite Posted messages 79 Registration date   Status Membre Last intervention   1
 

Thank you very much for all your explanations.

Based on what you told me, I uninstalled XnView, which was in "Program Files (x86)", and I reinstalled it in "Program Files".

Note: I initially installed it in "Program Files (x86)" because that was the destination offered at the time of installation.

Then, I restarted the computer. Despite this, and all the changes I made, I have never been able to get "paint.net" to appear in "Open with / Choose another app".

In the absence of a simpler solution to this problem, I wonder if the best thing to do is to leave it as it is: my images open with XnView, and when I want to edit them, I first open paint.net and then request to open the image I want to modify.

After using this method, I find that I have never been able to get "paint.net" to appear in "Open with / Choose another app".

0
brucine Posted messages 24411 Registration date   Status Membre Last intervention   4 105
 

It was pointless to change the installation folder; when a program is written in 32 bits, it is theoretically installed in Program Files (x86), and in 64 bits in Program Files: it only changes where you have to look for Xnview.exe.

To add another layer, some software has an option in their settings that allows them to be associated with a specific file type: this is not the case with Paint.net, I just checked; I don’t know about Xnview, I no longer use it.

There is another way to proceed that I haven’t mentioned because, in the new versions of Windows, we are forced to search in the Microsoft Store and not on the disk, but you never know; Settings-Apps-Default, scroll down to the bottom to By file type: for each desired type (bmp, jpg...), click on the item to the right (which should say Paint.net), check if Xnview is offered in the list (then click on it) or if under Search in Microsoft Store there’s an option to Search for another app.

We then return to the initial situation: if you right-click, open with, on, let’s say, a jpg file, you do get the path Choose another app, More apps, then all the way down, Search for another app on this PC?

It will then be, if I understand correctly, a direct opening by Xnview and, to edit, right-click, open with, Paint.net, obviously do not check "Always".

You can also, plan C, enforce this through the registry, but it should be avoided initially, not very user-friendly...

0
Quartzite Posted messages 79 Registration date   Status Membre Last intervention   1
 

You tell me:

There is another way to proceed that I haven't mentioned because, in the new versions of Windows, you are forced to search in the Microsoft Store and not on the disk, but you never know; Settings-Apps-Default, scroll all the way down to By file type: for each desired type (bmp, jpg...) you click on the item on the right (which should say Paint.net), check if Xnview is offered in the list (then click on it)

yes, I did that.

We then return to the initial situation: if you right-click, open with, on, let's say, a jpg file, you have the path Choose another app, More apps, then all the way down, Look for another app (without specifying on this PC).

It will then be, if I understand correctly, a direct opening by Xnview and, to edit, right click, open with, Paint.net, of course do not select "Always"

yes, that's exactly what I wanted to achieve...

Well no, I've tried everything again: Paint.net never appears in the list of image editing applications.

I'm sorry to make you work to go even further, I myself am at the end of my possibilities (a small detail: I am 77 years old! ...).
 

0
brucine Posted messages 24411 Registration date   Status Membre Last intervention   4 105
 

It’s still not clear.

In the menu that appears when you open with, do you have neither Xnview nor Paint.net?

You need to do things in two steps; for now, when you left-click, it's Xnview that opens? If not, and it's in the list, select it, check "always" at the bottom, OK.

I understand that Paint.net doesn’t appear in the list in question. To make it appear, you need to do as I specified: Open with, Choose another app, More apps, scroll down with the scrollbar on the right to the bottom, Find another app on this PC.

The window automatically opens in the Programs folder: go to the paint.net folder, open it, click on PaintDotNet.exe, DO NOT confirm with "always" and OK: the very fact that you have chosen this program once to open with will make it appear for future instances in the Open with icons.

0
Quartzite Posted messages 79 Registration date   Status Membre Last intervention   1
 

Thank you again for all the trouble you go through for me!

Current situation:

1-I go to a jpg image file. A left double-click opens the image in XnView. Ctrl + Q directly brings me back to the File Explorer. All this is OK.

2-I go to the same jpg image file. A right-click opens a list where I click on "Open with", which gives me the following list: "Snip & Sketch / Firefox / Paint / Paint 3D / Photos and XnView Classic for Windows". I left-click on "Choose another app". In "More options", I find "paint.net". Left-click on it. I do not check "Always use this app to open jpg files". Click "OK". The image opens in "paint.net". I close paint.net.

3-I go to the image that I just opened in paint.net. Right-click. Open with. And paint.net does not appear in the list of suggested applications...

4-Then I tried this: I first open paint.net. I request to open a jpg file. The file opens. I close paint.net. Then, I go to the File Explorer. Right-click on the file I just opened in paint.net. I go to Open with. And paint.net still does not appear in the list of suggested applications...

0
brucine Posted messages 24411 Registration date   Status Membre Last intervention   4 105
 

Hello,

it works for me, I just tested it; the hypotheses are:

-Paint.net version not up to date (but well, I'm using 4.2.15 which I've never updated and it doesn't have this problem)

-Windows 10 version not up to date.
If that's the case, do both updates and try again.

More insidiously, Paint.net might have also been installed as an app from the Microsoft Store, meaning there would be a copy called from the WindowsApps folder in Programs, making our tweaks to the Paint.net folder itself in Programs ineffective: go to Settings, Apps and Features, search for Paint.net, if found, click on it and uninstall.

We can try to enforce the functionality through the registry; open a new text file on your desktop, copy the following:

 Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\Open with Paint.net] "Icon"="C:\\Program Files\\paint.net\\paintdotnet.exe" [HKEY_CLASSES_ROOT\*\shell\Open with Paint.net\Command] @="C:\\Program Files\\paint.net\\paintdotnet.exe \"%1\""

Save, close, right-click on it, rename, whatever I want as long as it ends with .reg, for example paint.reg, confirm by yes.

Right-click on this new reg file, choose Merge.



0
Quartzite Posted messages 79 Registration date   Status Membre Last intervention   1
 

Paint.net: version 5.0.3. § "Updates": the system says "No updates are currently available" (plus, it's set to: automatic updates).

Windows 10 Home 22H2 installed on 04/04/2023: I did the optional update "2023-04 Preview of the Cumulative Update for Windows 10 Version 22H2 for x64 systems (KB5025297)".

You tell me that Paint.net might have also been installed as an app from the Microsoft Store: no, I have never used the Microsoft Store. I download applications from sites like "01.net" or "Clubic", and then I install them on the PC.

Now, I want to go to "Unresponsive Programs" to go to Settings, apps and features to search for paint.net, but... I cannot find a section "Unresponsive Settings", neither in the "Windows 10" Control Panel nor in the "Windows 07" Control Panel. Help ! ...

0
brucine Posted messages 24411 Registration date   Status Membre Last intervention   4 105
 

These tweaks would be ineffective: the way to uninstall the application should be followed, but if you say you have only downloaded the program, it is useless.

So the only thing left to do is to see if it works with the registry modification script I mentioned, and if not, try uninstalling and then reinstalling Paint.net to see what happens.

0
Quartzite Posted messages 79 Registration date   Status Membre Last intervention   1
 

I uninstalled and then reinstalled paint.net: no results, I’m still at the same point.

I created a "paint.reg" file from the registry modification script you gave me. Right-click, merge. The system told me that the merge was successful. And the result: nothing. Paint.net still doesn't appear in "Open with"...

Well, I think it’s time to leave it at that, you’ve done so much for me, I really appreciate it. I will stick to the method of first opening paint.net, then opening the image I want to modify. In the end, I have access to paint.net to open the images to modify, and to XnView to view them: that’s enough for me... Thanks again.

0
brucine Posted messages 24411 Registration date   Status Membre Last intervention   4 105
 

I have no other solution but to acknowledge that it works for me...

0