Bug 1464306 - RFE: look into GTKPopover for OS list UI
Summary: RFE: look into GTKPopover for OS list UI
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-manager
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Cole Robinson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-23 03:39 UTC by richard kim
Modified: 2018-09-05 19:17 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-05 19:17:51 UTC
Embargoed:


Attachments (Terms of Use)

Description richard kim 2017-06-23 03:39:43 UTC
Description of problem:
when creating a new VM, there is a choice of operating systems and versions.  If choosing Linux, the list of options is huge and it takes a long time to scroll.   

Version-Release number of selected component (if applicable):
up to and including virt-manager 1.4.1

Steps to Reproduce:
1.  Click "create virtual machine"
2.  Select "Local install Media", and click "Forward"
3.  Drop down menu "Linux", scroll down large list of options

Actual results:
Lots of scrolling

Expected results:
Please add a scroll bar on the right side of the drop down list.  The purpose is to left click the scroll bar, and drag down to the desired distro rapidly without needing to scroll a lot.

Additional info:
This is the same behavior as expected on a very long web page.
Similar to Bug 1444458

Comment 1 Cole Robinson 2017-06-23 11:58:19 UTC
GTK doesn't support scrollbars in combo boxes so short of implementing a new widget there isn't much we can do to address this specifically.

However try out upstream code, there's some changes to make the list multi nested and it should flow better for most cases

git clone git://github.com/virt-manager/virt-manager
cd virt-manager
./virt-manager --debug

Comment 2 Daniel Berrangé 2017-06-23 12:03:21 UTC
@cole: I think the UI would be improved by using the GtkPopover widget to create a UI like this:

https://blogs.gnome.org/mclasen/2014/01/22/and-now-popovers/

In that screen shot we see a text field where users can type in a few characters to filter the list of OS names, and also see a scrolled list of matches to select from. With that kind of UI approach, we could just get rid of the first "OS type" drop down list, and have just the full list of all variants, dynamically filtering.

Comment 3 Cole Robinson 2017-06-23 12:06:10 UTC
Good idea, that's something to look into

Comment 4 Cole Robinson 2018-09-05 19:17:51 UTC
The UI list is different upstream now, which more or less fixes this


Note You need to log in before you can comment on or make changes to this bug.