Bug 245637

Summary: KMimeTypeChooserDialog needs filter search bar
Product: [Frameworks and Libraries] frameworks-kwidgetsaddons Reporter: Alan Prescott <alanjprescott>
Component: generalAssignee: Christoph Feck <cfeck>
Status: RESOLVED FIXED    
Severity: wishlist CC: a.samirh78, anderslund, kdelibs-bugs-null, nate
Priority: NOR Keywords: usability
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.70
Sentry Crash Report:

Description Alan Prescott 2010-07-24 14:09:48 UTC
Version:           0.2
OS:                Linux

Going into Settings | Editor components | Open Save, selecting the Modes and Filetypes tab and clicking on the browse button for MIME types produces a fairly simple window to select from.

This urgently needs a search function - see the File Associations window in the System Settings application.


Reproducible: Didn't try




OS: Linux (i686) release 2.6.31.12-0.2-desktop
Compiler: gcc
Comment 1 Dominik Haumann 2010-07-24 14:41:47 UTC
Kate is using KMimeTypeChooserDialog, which is in kio. Add author to CC.
Comment 2 Ahmad Samir 2020-04-11 16:08:02 UTC
Git commit 75298895a5e3ceb1e6fc3d4e5ebc9dcbb039576f by Ahmad Samir.
Committed on 11/04/2020 at 16:07.
Pushed by ahmadsamir into branch 'master'.

[KMimeTypeChooser] Add the ability to filter the treeview with a QSFPM

Summary:
- Add each mimetype comment as a tooltip instead of an optional column;
  adjust the docs accordingly
- Add an updated screenshot with current KDE Breeze style
- Add a sizeHint() override, which uses QFontMetric::averageCharWidth()
  to get a "sensibly"-sized dialog
FIXED-IN: 5.70

Test Plan: The kmimetypechoosertest app still works

Reviewers: #frameworks, cfeck, dfaure

Reviewed By: dfaure

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D28675

M  +-    --    docs/pics/kmimetypechooserdialog.png
M  +131  -74   src/kmimetypechooser.cpp
M  +59   -46   src/kmimetypechooser.h
M  +4    -3    tests/kmimetypechoosertest.cpp

https://commits.kde.org/kwidgetsaddons/75298895a5e3ceb1e6fc3d4e5ebc9dcbb039576f