JaneaSystems / PowerToys-DevProjects

0 stars 0 forks source link

Projects can't get title for HTML Help #49

Open Aaron-Junker opened 3 months ago

Aaron-Junker commented 3 months ago

When having HTML Help open and create a new project, the title for the HTML Help app is just blank.

image

image

plante-msft commented 2 months ago

@SeraphimaZykova @donlaci do we know the root cause of this? If it is not significant, we can bump to P1.

hamza-usmani commented 2 months ago

If this is an isolated issue to this one type of app, let's bump down to P1

SeraphimaZykova commented 2 months ago

I've looked into this issue and found out that it is not only in the title, we cannot launch it too. Compiled help files (.chm) are opened inside the Help Viewer by the HTML Help executable program (hh.exe). So when we're trying to get the process path of the help window, we get "C:\Windows\hh.exe" every time, and I'm not sure we can find the associated .chm file by the window handler to open it in Launcher. I experimented a bit and tried to find the .chm file relying on the opened window title, but this doesn't guarantee the correct result since it could be named just "Help," so it could be almost any .chm file. I guess the best we can do is to exclude helper windows from adding to the project.

plante-msft commented 2 months ago

I think excluding helper windows is a good solution for now. If we find we're seeing a lot of requests for helper windows (which would be surprising) we can consider investing more time.