Bug 393812

Summary: Allow selection of a default text editor
Product: [Applications] systemsettings Reporter: Richard Bowen <rgb.ide>
Component: kcm_componentchooserAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: katyaberezyaka, kde, nate, nicolas.fella
Priority: NOR    
Version: 5.12.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=254560
Latest Commit: Version Fixed In: 6.0
Sentry Crash Report:

Description Richard Bowen 2018-05-03 17:07:20 UTC
This would be useful for changing the default text editor.
Comment 1 Richard Bowen 2018-05-03 17:09:03 UTC
..with ease and not having to set the editor as default for each filetype.
Comment 2 soredake 2021-01-07 17:56:33 UTC
Any progress on this?
Comment 3 Nicolas Fella 2022-01-23 23:16:22 UTC
"Default Text Editor" is a bit of a fuzzy concept, there are lots of different types of text files and it's not clear to which this should apply and which not. That said just changing the default for text/plain might be enough?
Comment 4 Bug Janitor Service 2022-10-15 16:27:03 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1207
Comment 5 Méven Car 2023-02-02 10:05:16 UTC
Git commit 9a86591ae66a4fc6587bf5ebfa2c9da1db7e8225 by Méven Car.
Committed on 02/02/2023 at 10:05.
Pushed by meven into branch 'master'.

ComponentChooser: Add more default applications and categories

co-author Thiago Macieira.
Related: bug 454759, bug 232545
FIXED-IN: 6.0

M  +13   -7    kcms/componentchooser/CMakeLists.txt
A  +233  -0    kcms/componentchooser/applicationmodel.cpp     [License: GPL(v2.0+)]
A  +65   -0    kcms/componentchooser/applicationmodel.h     [License: GPL(v2.0+)]
M  +179  -87   kcms/componentchooser/componentchooser.cpp
M  +58   -12   kcms/componentchooser/componentchooser.h
D  +0    -32   kcms/componentchooser/componentchooserbrowser.cpp
D  +0    -98   kcms/componentchooser/componentchooserdata.cpp
D  +0    -42   kcms/componentchooser/componentchooserdata.h
D  +0    -102  kcms/componentchooser/componentchooserterminal.cpp
A  +56   -0    kcms/componentchooser/components/componentchooserarchivemanager.cpp     [License: GPL(v2.0+)]
A  +21   -0    kcms/componentchooser/components/componentchooserarchivemanager.h     [License: GPL(v2.0+)]
A  +35   -0    kcms/componentchooser/components/componentchooserbrowser.cpp     [License: GPL(v2.0+)]
R  +3    -0    kcms/componentchooser/components/componentchooserbrowser.h [from: kcms/componentchooser/componentchooserbrowser.h - 074% similarity]
R  +11   -4    kcms/componentchooser/components/componentchooseremail.cpp [from: kcms/componentchooser/componentchooseremail.cpp - 081% similarity]
R  +2    -0    kcms/componentchooser/components/componentchooseremail.h [from: kcms/componentchooser/componentchooseremail.h - 074% similarity]
R  +5    -2    kcms/componentchooser/components/componentchooserfilemanager.cpp [from: kcms/componentchooser/componentchooserfilemanager.cpp - 070% similarity]
R  +1    -1    kcms/componentchooser/components/componentchooserfilemanager.h [from: kcms/componentchooser/componentchooserfilemanager.h - 086% similarity]
R  +6    -8    kcms/componentchooser/components/componentchoosergeo.cpp [from: kcms/componentchooser/componentchoosergeo.cpp - 052% similarity]
R  +4    -1    kcms/componentchooser/components/componentchoosergeo.h [from: kcms/componentchooser/componentchoosergeo.h - 072% similarity]
A  +24   -0    kcms/componentchooser/components/componentchooserimageviewer.cpp     [License: GPL(v2.0+)]
A  +21   -0    kcms/componentchooser/components/componentchooserimageviewer.h     [License: GPL(v2.0+)]
A  +42   -0    kcms/componentchooser/components/componentchoosermusicplayer.cpp     [License: GPL(v2.0+)]
A  +21   -0    kcms/componentchooser/components/componentchoosermusicplayer.h     [License: GPL(v2.0+)]
A  +20   -0    kcms/componentchooser/components/componentchooserpdfviewer.cpp     [License: GPL(v2.0+)]
A  +21   -0    kcms/componentchooser/components/componentchooserpdfviewer.h     [License: GPL(v2.0+)]
R  +7    -9    kcms/componentchooser/components/componentchoosertel.cpp [from: kcms/componentchooser/componentchoosertel.cpp - 055% similarity]
R  +2    -1    kcms/componentchooser/components/componentchoosertel.h [from: kcms/componentchooser/componentchoosertel.h - 086% similarity]
A  +56   -0    kcms/componentchooser/components/componentchooserterminal.cpp     [License: GPL(v2.0+)]
R  +2    -1    kcms/componentchooser/components/componentchooserterminal.h [from: kcms/componentchooser/componentchooserterminal.h - 084% similarity]
A  +29   -0    kcms/componentchooser/components/componentchoosertexteditor.cpp     [License: GPL(v2.0+)]
A  +21   -0    kcms/componentchooser/components/componentchoosertexteditor.h     [License: GPL(v2.0+)]
A  +39   -0    kcms/componentchooser/components/componentchooservideoplayer.cpp     [License: GPL(v2.0+)]
A  +21   -0    kcms/componentchooser/components/componentchooservideoplayer.h     [License: GPL(v2.0+)]
M  +145  -20   kcms/componentchooser/kcm_componentchooser.cpp
M  +25   -1    kcms/componentchooser/kcm_componentchooser.h
M  +22   -10   kcms/componentchooser/package/contents/ui/ComponentComboBox.qml
A  +83   -0    kcms/componentchooser/package/contents/ui/ComponentOverlay.qml     [License: GPL(v2.0+)]
M  +268  -43   kcms/componentchooser/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/commit/9a86591ae66a4fc6587bf5ebfa2c9da1db7e8225