Bug 245637 - KMimeTypeChooserDialog needs filter search bar
Summary: KMimeTypeChooserDialog needs filter search bar
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kwidgetsaddons
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: Christoph Feck
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2010-07-24 14:09 UTC by Alan Prescott
Modified: 2020-04-11 16:08 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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