[virt-tools-list] [virt-manager PATCH 2/4] create: refactor combobox with distros

Pino Toscano ptoscano at redhat.com
Mon Apr 24 14:01:41 UTC 2017


On Monday, 24 April 2017 13:18:54 CEST Giuseppe Scrivano wrote:
> Hi Pino,
> 
> Pino Toscano <ptoscano at redhat.com> writes:
> 
> > When showing all the OSes, the list of distributions for some types of
> > OSes (Linux, UNIX) will get insanely long, and thus very hard to scroll.
> > As solution, introduce groups for some of the OS families, leaving the
> > ones without a defined group into a "Others" group.
> >
> > There are a number of changes related to this:
> > - the model for the OS comboboxes is now a TreeStore, and the iterations
> >   on the OS variant keep that into account
> 
> will this break the autocomplete when typing the OS name?

Ah indeed it does :-/ It looks like EntryCompletion does not search
below the first level.

> IMO, the new behavior is better when using the mouse but it makes
> slightly more difficult to find the desired OS when using the keyboard.

Got a solution for this too, I'm going to send a v2 of the series soon.

Thanks,
-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20170424/f1e7e1d8/attachment.sig>


More information about the virt-tools-list mailing list