Open Mikle-Bond opened 6 months ago
i simply use gtk_show_uri_on_window
. GSmartControl seems to carve out an exception for win32 that calls ShellExecute. i could do the same but having it open word is bizarre.
i believe gtk (gio) gets it from HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice
(and http\UserChoice
) in the registry. maybe check that? or also in control panel, "Associate a file type or protocol with a program"
Control panel was first thing I looked at, nothing too extraordinary there. The handler for .url
files was set to "Browser
by Microsoft Corporation" (not even to Internet Explorer, idk what that even is). I changed it to Chrome - that didn't do anything.
The registry keys Progid
are both set to ChromeHTML
as they should. I noticed that the ChromeHTML
class was under HKLM\software\classes
and not under corresponding HKCU
(as the browser is installed for all users), so I tried copying that subtree into HKCU\Software\classes\ChromeHTML
. That didn't do anything.
sorry missed ur reply. is this still an issue? i can probably just carve out an exception for win32 to pass off urls to shellexecute or whatever which should fix it
@ouwou Ye, it does still open pictures and URLs in Word. But alas, I'm not as active on Discord anymore, so if you don't want to mess with rare edge-case exceptions, you can skip it)
Basically any link when clicked in Abaddon is opened via MS Word. Other apps on my PC don't fail to launch default browser, Chrome in my case.
Setup: Windows 7 (version 6.1, 7601), MS Office 2010, Abaddon 0.2.1 via Scoop.
Where does it get MIME/protocol handlers list on Windows machines? I don't see the
share/mime/
in the installation directory, so is it different from XDG mime spec? Can I populate it myself somehow? The only other GTK-based app I have is GSmartControl v1.1.4, which has a home webpage link in the "about" section. It correctly opens Chrome.