Bug 454759 - Allow setting program as default for file types supported by it
Summary: Allow setting program as default for file types supported by it
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_filetypes (show other bugs)
Version: 5.24.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-02 17:03 UTC by soredake
Modified: 2023-02-02 10:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0
Sentry Crash Report:


Attachments
Option from windows 7 (63.47 KB, image/png)
2022-06-02 17:03 UTC, soredake
Details

Note You need to log in before you can comment on or make changes to this bug.
Description soredake 2022-06-02 17:03:55 UTC
Created attachment 149409 [details]
Option from windows 7

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
***
Windows 7 have nice option to "Set this program as default" for file types supported by it, it's very useful for video/audioplayers and archive viewer apps.

STEPS TO REPRODUCE
1. Go to settings -> applications -> File Associations
2. There's no way to set program as default for file types supported by it.
3. Sad

OBSERVED RESULT
No way to do this.

EXPECTED RESULT
Have a way to do this.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora Linux KDE 36
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-06-03 17:33:16 UTC
In progress with https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/770.
Comment 2 Bug Janitor Service 2022-10-15 16:27:01 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1207
Comment 3 Méven Car 2023-02-02 10:05:24 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 393812, 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