After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 692931 - The list of printers should be searchable/sortable
The list of printers should be searchable/sortable
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Printing
3.6.x
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-01-31 11:42 UTC by Sebastien Bacher
Modified: 2014-01-27 15:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Quick fix that enables type-ahead search for printer locations (3.74 KB, patch)
2013-02-13 20:22 UTC, fakey
none Details | Review
Enable search through locations in printers list (5.28 KB, patch)
2013-12-19 14:15 UTC, Marek Kašík
committed Details | Review

Description Sebastien Bacher 2013-01-31 11:42:45 UTC
With the current GTK dialog (as in 3.6.4).

Users, working on a lan with many printers, report that it's difficult for them to find the printer they want to use because GTK provide no way to search/filter/sort the list of printers.

Typeahead is working, but it's not really obvious (so some users don't know about it) and only works on the printer names, not on their location.

Some possible improvements:
- providing a way to search/filter in the list, taking into account names and locations
- make the columns sortable, that would allow users to, at least, sort by location
- sort the most used printers always first
Comment 1 fakey 2013-02-13 20:22:10 UTC
Created attachment 235950 [details] [review]
Quick fix that enables type-ahead search for printer locations

We enable type-ahead search for printers by location since this is an easy fix until a better solution is found.

For example, if a user is searching for a printer named "Brother 123" at location "Room 456", the printer could be selected by type-ahead searching for "123 456", or something similar.
Comment 2 Marek Kašík 2013-12-19 14:15:51 UTC
Created attachment 264548 [details] [review]
Enable search through locations in printers list

Hi,

I agree with the extending of searching to location column. I've modified the William's patch to have it little more simple. I used space and tabulator as delimiters.

Regards

Marek
Comment 3 Lars Karlitski 2014-01-27 14:33:56 UTC
This patch looks good to me. Is there any reason it hasn't been committed yet?
Comment 4 Matthias Clasen 2014-01-27 15:25:23 UTC
Review of attachment 264548 [details] [review]:

Looks fine to me too
Comment 5 Marek Kašík 2014-01-27 15:42:31 UTC
Comment on attachment 264548 [details] [review]
Enable search through locations in printers list

(In reply to comment #4)
> Review of attachment 264548 [details] [review]:
> 
> Looks fine to me too

Thank you for the review. I've pushed the patch to master.