SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Install another browser, I installed Waterfox and Brave for some reason 2. Remove Firefox 3. Set application defaults to the other browser, I used Brave 4. Open Dolphin and navigate to an HTML file 5. Click or double click on the html file to view it 6. Get Error: Error - Dolphin Unknown error code 100 Could not find the program '/opt/firefox/firefox-bin' Please send a full bug report at https://bugs.kde.org [OK] The upshot is that Dolphin is not honoring the Applications Default setting, which in my case is currently Brave. OBSERVED RESULT Error Dialog Error - Dolphin Unknown error code 100 Could not find the program '/opt/firefox/firefox-bin' Please send a full bug report at https://bugs.kde.org [OK] EXPECTED RESULT Open HTML file in browser specified in the Applications Default SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 5.20.5 (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION Operating System: Debian GNU/Linux 11 KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 Kernel Version: 5.10.0-10-amd64 OS Type: 64-bit Processors: 4 × AMD A8-7410 APU with AMD Radeon R5 Graphics Memory: 6.7 GiB of RAM Graphics Processor: AMD KABINI
Is the HTML file a local file or some kind of network share (e.g. FTP)? What's the output of xdg-mime query default text/html ?
--- Comment #1 from Nicolas Fella <nicolas.fella@gmx.de> --- Is the HTML file a local file or some kind of network share (e.g. FTP)? What's the output of xdg-mime query default text/html ? -- The file was local, in /usr/share/doc/bash-config/help/bash-config.html The results of xdg-mime query filetype bash-config.html is: application/xhtml+xml
Thanks. That's not quite the command I asked for, but it's still kinda helpful. Basically "Default Browser" and "Default Application for HTML files" are different things. For example you might want to open HTML files in a text editor instead of a browser by default. You can change the default application for (X)HTML files in the "File associations" settings. Now an interesting question would be why it's still trying to open Firefox. This sounds like an incomplete uninstallation
Created attachment 144949 [details] File Associations for this bug report
> That's not quite the command I asked for, but it's still kinda helpful. > Basically "Default Browser" and "Default Application for HTML files" are different things. For example you might want to open HTML files in a text editor instead of a browser by default. Please see the attached screen shot. The file association is Kwrite, then other editors. >> You can change the default application for (X)HTML files in the "File associations" settings. The association is Kwrite, so this is still probably a bug? I believe I used apt to uninstall Firefox. Now an interesting question would be why it's still trying to open Firefox. This sounds like an incomplete uninstallation
In your screenshot the first item in the list is Firefox, it looks a bit weird since it has no icon
(In reply to Nicolas Fella from comment #6) > In your screenshot the first item in the list is Firefox, it looks a bit > weird since it has no icon Yes I missed that. Good eye!