Bug 1289438

Summary: Cant see selected language when only using keyboard down arrow to select language during the anaconda installation
Product: Red Hat Enterprise Linux 7 Reporter: fine.fan <fine.fan>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team-automation>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.2CC: dshea, fine.fan, jstodola, mclasen
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-08 15:15:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
blue_highlight_bar_out_of_the_box
none
RHEL7.2_LanguageSelectionList_TopToBottom none

Description fine.fan 2015-12-08 06:39:17 UTC
Created attachment 1103465 [details]
blue_highlight_bar_out_of_the_box

Description of problem:

During the anaconda GUI installation,when the install program starting showing welcome and let you select the language.Only use keyboard down arrow to select the language in the left middle box, there is a part of the list which I could not see the language is selected  in the left middle box (actually the blue highlight bar is out of the box ),but I got the language changing on the GUI when I still press down arrow.

Version-Release number of selected component (if applicable):
anaconda 21.48.22.56-1

How reproducible:
Every time

Steps to Reproduce:
1.Insert the install media into a bare machine
2.Only use keyboard down arrow or up arrow to select the language,when the welcome screen appear, and let you select the language.
3.Go through the language list

Actual results:
The blue highlight bar should always in the left middle box,and put the list going down as I press the down arrow.

Expected results:
The blue highlight bar go out of the box

Additional info:

Comment 1 David Shea 2015-12-09 12:54:27 UTC
Reassigning to gtk3, since as far as I can tell anaconda is doing everything that it needs to. The left column is a GtkTreeView added directly to a GtkScrolledWindow (via glade), so there should be no need for manual focus vadjustment changes.

Comment 2 Matthias Clasen 2016-01-18 17:23:52 UTC
If you use arrow keys to move the selection further down, does it disappear from view completely, or do the next rows get scrolled up far enough to show up partially ?

Comment 3 fine.fan 2016-01-19 02:35:09 UTC
Created attachment 1116019 [details]
RHEL7.2_LanguageSelectionList_TopToBottom

VirtualBox Video Capture file , could be opend with firefox.

Comment 4 fine.fan 2016-01-19 02:37:02 UTC
(In reply to Matthias Clasen from comment #2)
> If you use arrow keys to move the selection further down, does it disappear
> from view completely, or do the next rows get scrolled up far enough to show
> up partially ?

If I use arrow keys to move the selection further down, it does disappear from view completely.But when I go through the language list with an arrow button it will show up at some language and then disappear from view again.For more detial please refer to the " RHEL7.2_LanguageSelectionList_TopToBottom" attachment

Comment 5 Matthias Clasen 2016-01-19 15:09:18 UTC
gtk3-demo as shipped in gtk3-3.14.13-16.el7 has a treeview in a scrolledwindow (the sidebar) that works as expected.

I think this needs to be debugged on the anaconda side a little further before concluding that "this is a gtk problem".

Comment 6 David Shea 2016-01-21 21:53:11 UTC
Could this be caused the language changing as the selection changes? What else could cause an issue with the scroll adjustment?

Comment 7 Matthias Clasen 2016-01-22 15:34:36 UTC
(In reply to David Shea from comment #6)
> Could this be caused the language changing as the selection changes? What
> else could cause an issue with the scroll adjustment?

I don't know what you do when the language changes (reconstruct the entire ui ?), but that sounds plausible.

I had occasion to play a bit with anaconda ui yesterday, and I noticed that the list scrolls a *little* when changing the selection, even after arrowing out of the visible range - it is just not enough to bring the selected row into visible range.

Comment 8 David Shea 2016-01-22 15:42:38 UTC
(In reply to Matthias Clasen from comment #7)
> (In reply to David Shea from comment #6)
> > Could this be caused the language changing as the selection changes? What
> > else could cause an issue with the scroll adjustment?
> 
> I don't know what you do when the language changes (reconstruct the entire
> ui ?), but that sounds plausible.

When the language changes anaconda will repopulate the locale list, retranslate a handful of widgets (the "Welcome to..." "What language...", and beta warning GtkLabels, the labels on the quit and continue buttons, and the placeholder text in the "Type here to search" GtkEntry), and possibly change the UI direction.

One thing I notice is that if the language changes the height of the labels (for example, the switch from Assamese to Asturian), the height of the GtkGrid containing the two TreeViews will change.

Comment 9 Matthias Clasen 2016-01-22 17:20:34 UTC
(In reply to David Shea from comment #8)
> (In reply to Matthias Clasen from comment #7)
> > (In reply to David Shea from comment #6)
> > > Could this be caused the language changing as the selection changes? What
> > > else could cause an issue with the scroll adjustment?
> > 
> > I don't know what you do when the language changes (reconstruct the entire
> > ui ?), but that sounds plausible.
> 
> When the language changes anaconda will repopulate the locale list,
> retranslate a handful of widgets (the "Welcome to..." "What language...",
> and beta warning GtkLabels, the labels on the quit and continue buttons, and
> the placeholder text in the "Type here to search" GtkEntry), and possibly
> change the UI direction.
> 

If you repopulate the locale list, that sounds like it is very likely to affect the selection - do you re-select the current locale after repopulating ? If so, I would recommend to explicitly scroll that row into view at the same time

Comment 10 David Shea 2016-01-22 17:46:02 UTC
By locale list I mean the tree on the right side of the window. Changing the selection on the left tree does not change the data in the left tree. And we do select and scroll_to_cell the first item on the right side.

Comment 11 RHEL Program Management 2016-02-08 15:15:57 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.