Windows Explorer - interface not supported - should open in Paint 3D - windows

I recently upgraded to Windows 11 and now have an annoying bug:
When I am in my file explorer and double click an image file to open it with Paint 3D (my default) I get the warning "interface not supported" and the file won't open.
When I right click the file, select "open with" and select e.g. "Paint" or Gimp, the file opens normally. If I right click and select Paint 3D however, I get the same error: "interface not supported"
If I right click, select "choose a different app" (where one would normally set the default program to open a file) and select there Paint 3D and click either "once" or "always", the file opens normally in Paint 3D...
Open Paint 3D and open file also works fine
I tried uninstalling Paint 3D and rebooting my PC (and both), but that doesn't do anything. I've searched for this issue but can't find it on SO. Does anyone have a clue how to solve this?

Related

Is there a Windows API for getting the positions of the icons on the Desktop?

Is there an API or a database/settings file/registry for getting the positions of icons on the Desktop?
If you wonder why I want that, basically I want to create a replica of Desktop in my app for my personal use, so that I could access those icons, when multiple windows are open, without using the "Show Desktop" feature which minimises all windows. The problem of Window's "Show Desktop" is that if I opened a new window by clicking an icon on the desktop, performing "Show Desktop" again does not restore all minimised windows at once.
On macOS, I did not have this problem, because pinching-out with 4 fingers showed the desktop without minimising opened windows. It just temporarily moved them out of the screen, and pinching-in restored windows to their original states, even if I had opened a new window by clicking an icon on the desktop.
There are other ways to access those icons, without using "Show Desktop", like opening the Desktop location in File Explore, but then the icon locations are not the same as the Desktop, so it is difficult to find the item I want. Enabling multiple virtual Desktops, and switching to an empty Desktop to click the item is one way, but then it gets opened on that Desktop and I would have to move it to the other Desktop.

On MacOS Catalina, how can I turn off yellow highlighting and popup "Look up" windows when I e.g. try to select code from Terminal?

At present, I am using a Linux VM on my Mac for certain purposes, because it is now very difficult to select and copy a segment of code from a Terminal window without some token being highlighted in yellow and a popup window with a definition etc. pops up, disrupting my effort to highlight code.
Under System Preferences, "look up" highlights Spotlight and Trackpad. Turning off Spotlight does not seem to have mitigated this behavior.
How can I copy and paste code from a Terminal window? I have a workaround for some of the issue in that I can View Page Source from Brave and select it there, but it would be really nice to have the ability to select and copy code from a Terminal window normally.
I found it here:
System Preferences > Trackpad > Turn off "Look up & data detectors"

unable to retrieve overlayicons for dialog box window in my visual studio application

I'm trying to display overlay icons on specific set of files in explorer window.
I have written shellextensionhandler class which has ismemberof(),getoverlayinfo() and getpriority() functions and it works fine if I open a new window in explorer, all these APIs are getting hit and overlay icons are getting displayed.
However, if I try to open a dialog box from any application, none of these APIs are getting hit and hence overlay icons are not getting set for files inside dialog box. And also I have observed that if I open dialog box it is not showing under explorer app (probably because of that reason since it is not treated as explorer window, for dialog box these APIs are not getting hit). Could anyone please provide solution on how to implement this?
The problem is with our code, where we are ignoring dialog boxes. Thanks Denis for helping. As Denis mentioned handler works correctly in Explorer if it is installed properly.

Xcode 6 open Assistant Editor in New Window

I feel like I have read every link on Google pertaining to this question, but none that I have read have helped.
All I want to do is view my Storyboard layout on the left monitor, and on my right monitor, in a new window, have the Assistant Editor open to "Preview" for my Storyboard so that I can preview the different devices sizes (clicking different storyboard views on the left screen should update the assistant editor preview on the right). This seems so simple, but has not proved to be.
Please tell me this is possible.
EDIT: This guy seems to have it working but following the steps didn't work for me.
It's possible.. and it's awesome:
I do have this working after following the instructions linked in the OP. I think the author left out that you need to click on the view controller that you're editing in BOTH instances of the story board window to see the changes update. Then as you're editing on your main window the changes will update to the open storyboard and thus the preview will update as well. I was able to test this and achieved a somewhat desired result.
In case the link goes dead here are the instructions lined out
Here’s how you can set this up…
In the Project Navigator pane, single-click a storyboard/XIB file to open it in the main Xcode window.
Now double-click that same file to open it in a new window.
Move the new window to another monitor and maximize it
(So now you have the story board on 2 windows)
Click on the new window to make sure it has input focus, then type Option+Command+Enter to open an assistant editor in that window.
In the assistant editor’s jump bar click on ‘Automatic‘ to open the drop-down menu (see the screenshot below if you don’t know what this means).
Click on the ‘Preview‘ menu item to open the preview editor.
Click and hold next to the assistant editor’s jump bar, then drag up or left (depending on which editor layout you prefer; vertical or horizontal), to maximize the preview’s screen real estate.
Lastly... the part the author left out is that you need to select the view controller you want to edit in BOTH story board windows and then just drag the preview window to cover more of the screen.
It's not pretty but it's effective.
Edit: wording and grammar :)
This is not currently possible (Xcode 6.3.1 at the time of writing). The best you can do is open your storyboard in one window, open it again in a new window, open the preview, and slide the assistant editor as far left as possible. The preview won't take up the entire window, but it'll be pretty close.

How can I add back server explorer and data sources and toolbox (especially toolbox) to the far left menu, in Visual Studio?

I am having difficulty docking toolbox with server explorer and data sources, in visual studio
If I do window..reset window layout, I get the toolbox where I want it. The reset position. With server explorer and data sources
But when I click toolbox on the far left, and it appears, and I drag it a bit, the toolbox option disappears from the far left and I can't get it back without doing window..reset
And I have the same problem with server explorer and data sources.
If I click them and drag the window, I can't the option back, and in fact I completely lose the menu on the far left
I have tried dragging toolbox around and different places appear for it to rest, but I can't make it go somewhere such that an option appears in the far left again, without having to do window..reset window layout.
To elaborate..
I can drag the toolbox and so that the far left arrow gets highlighted, and then release, but then it still doesn't appear as text in the far left
^^ See in the above pictures I don't get
toolbox appearing
or to show a fuller view
Drag that window to the left or right side you will get the mark where you want to place it. than leave that window your window will be docked there.
EDITED:
Windows should be Dockable and after placing the window at your position you can unpin that window so, it can be collapsed when the mouse leave.

Resources