[konsole] [Bug 431496] Konsole commit 5cb2121751569d8fb1e478b10e5980be4abeaa9b: all files open in defined text editor
Ahmad Samir
bugzilla_noreply at kde.org
Wed Jan 13 01:53:08 GMT 2021
https://bugs.kde.org/show_bug.cgi?id=431496
Ahmad Samir <a.samirh78 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Latest Commit| |https://invent.kde.org/util
| |ities/konsole/commit/43c14e
| |980141d66b5c21b6bdee12c67d3
| |c4bf3f3
Resolution|--- |FIXED
--- Comment #4 from Ahmad Samir <a.samirh78 at gmail.com> ---
Git commit 43c14e980141d66b5c21b6bdee12c67d3c4bf3f3 by Ahmad Samir.
Committed on 12/01/2021 at 16:27.
Pushed by hindenburg into branch 'master'.
FileFilterHotspot: check the mime type before opening with text editor
When activating a file filter hot spot, everything got opened with the text
editor specified in the profile settings, which is wrong e.g. with pdf or
png files. Check the mime type of the file path, based only on the extension
so as to keep things fast.
Also rename openWithSysDefaultEditor() to openWithSysDefaultApp(), which is
more accurate.
M +12 -4 src/filterHotSpots/FileFilterHotspot.cpp
M +1 -1 src/filterHotSpots/FileFilterHotspot.h
https://invent.kde.org/utilities/konsole/commit/43c14e980141d66b5c21b6bdee12c67d3c4bf3f3
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list