Bug 1679935

Summary: Administration Configure user role does not shows scrollbar
Product: [oVirt] ovirt-engine Reporter: Pravin Satpute <psatpute>
Component: Frontend.WebAdminAssignee: rszwajko
Status: CLOSED CURRENTRELEASE QA Contact: Ivana Saranova <isaranov>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: bbarve, bugs, gdeolive, mavital, mperina, qe-i18n-bugs, sbonazzo, sgratch
Target Milestone: ovirt-4.5.0Flags: pm-rhel: ovirt-4.5?
sgratch: planning_ack?
pm-rhel: devel_ack+
gdeolive: testing_ack+
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.5.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-20 06:33:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Image describing issue. At right hand side, its English locale on right hand side it is es_ES none

Description Pravin Satpute 2019-02-22 09:35:46 UTC
Created attachment 1537423 [details]
Image describing issue. At right hand side, its English locale on right hand side it is es_ES

Description of problem:
In Spanish (es_ES) locale, In [Admin Portal] Administration - Configure - Roles -> All ROles|Adminstrator Role|User Role (any checkbox)

Second/Bottom table in this view does not show scrollbar. User can not see all the items in the list.


Version-Release number of selected component (if applicable):
rhev-4.3.0.4-0.1.el7
Firefox 65.0 (64-bit)
Fedora 29

How reproducible:
Everytime

Steps to Reproduce:
1. Change locale to es_ES
2. Click on Administration - Configure and check following sections- Roles
3. Select any item in first table having multiple entries at bottom table.

Actual results:
Scroll bar not present.

Expected results:
Scroll Bar must be there, so user can view all the items.

Additional info:
Its available in en_US locale.

Comment 2 Sandro Bonazzola 2020-11-26 10:40:51 UTC
Martin, can you please have a look?

Comment 3 Martin Perina 2020-11-26 10:54:41 UTC
Sharon, could someone from UX team please take a look? This is way above all infra team UX knowledge ...

Comment 4 Sharon Gratch 2021-01-11 10:50:17 UTC
This seems to me as a general issue since always reproduced and not only for a specific locale.
The problem is that scrolling is still supported, but no vertical scroll bar appears.

Comment 5 Michal Skrivanek 2021-08-20 08:27:35 UTC
This bug/RFE is more than 2 years old and it didn't get enough attention so far, and is now flagged as pending close. 
Please review if it is still relevant and provide additional details/justification/patches if you believe it should get more attention for the next oVirt release.

Comment 6 rszwajko 2021-09-16 12:08:32 UTC
Created attachment 1823555 [details]
Roles View - initial look on Firefox ESR 78

Comment 7 rszwajko 2021-09-16 12:09:22 UTC
Created attachment 1823556 [details]
Roles View - after SplitPanel resize on Firefox ESR 78

Comment 8 rszwajko 2021-09-16 12:21:14 UTC
The screen seems to be displayed correctly on Firefox ESR 78 and oVirt 4.4.x -see [1]. Differently then on the older version there is no horizontal scrollbar and the table can be scrolled correctly.
Note also that user can always increase the size of the bottom panel [2] - this resize feature is build into SplitPanel widget which is used here.

[1] https://bugzilla.redhat.com/attachment.cgi?id=1823555
[2] https://bugzilla.redhat.com/attachment.cgi?id=1823556

Comment 9 Sharon Gratch 2021-10-05 15:34:26 UTC
(In reply to rszwajko from comment #8)
> The screen seems to be displayed correctly on Firefox ESR 78 and oVirt 4.4.x
> -see [1]. Differently then on the older version there is no horizontal
> scrollbar and the table can be scrolled correctly.
> Note also that user can always increase the size of the bottom panel [2] -
> this resize feature is build into SplitPanel widget which is used here.

The issue here is that the bottom table (for showing details per role) has a default height which indludes one row only and therefore no vertical scroll bar appears and the user doesn't have a clue that it's actually scrollable and there are more rows to see.
The fix should be to change default table height to include at least two rows so that vertical scroll bar appears.

Comment 10 rszwajko 2021-10-11 13:46:43 UTC
Created attachment 1831889 [details]
Roles View - initial look with the fix on Firefox ESR 78

Comment 11 rszwajko 2021-10-11 13:51:19 UTC
> The fix should be to change default table height to include at least two rows so that vertical scroll bar appears.

The default size of the permission table has been slightly increased: compare screenshots in comment 6 (before) and comment 10 (after).

Comment 12 Ivana Saranova 2022-03-22 12:50:14 UTC
Steps:
1) Set locale to español - España
2) Log in to webadmin
3) Go to Administration -> Configuration -> Roles
4) Click on any role
5) Check that the table is aligned correctly and has a scrollbar

Results:
The table is aligned correctly and has a scrollbar.

Verified in:
ovirt-engine-webadmin-portal-4.5.0.1-601.f26e9ea8cac5.3.el8ev.noarch
ovirt-engine-4.5.0.1-601.f26e9ea8cac5.3.el8ev.noarch
firefox-94.0-1.fc33.x86_64

Comment 13 Sandro Bonazzola 2022-04-20 06:33:59 UTC
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022.

Since the problem described in this bug report should be resolved in oVirt 4.5.0 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.