Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1744114

Summary: UI: All ui-extensions dialogs, including the Migrate VM(s) one, could not be moved on the screen like others windows
Product: [oVirt] ovirt-engine Reporter: Polina <pagranat>
Component: Frontend.WebAdminAssignee: Hilda Stastna <hstastna>
Status: CLOSED CANTFIX QA Contact: Lukas Svaty <lsvaty>
Severity: low Docs Contact:
Priority: low    
Version: 4.3.6.3CC: bugs, michal.skrivanek, sgratch
Target Milestone: ---Flags: pm-rhel: ovirt-4.4?
sgratch: planning_ack?
sgratch: devel_ack+
sgratch: testing_ack?
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-25 19:26:55 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
screenshot
none
Example of not movable dialog
none
Example of a movable dialog
none
Example of an unmovable dialog none

Description Polina 2019-08-21 11:48:17 UTC
Created attachment 1606461 [details]
screenshot

Description of problem: just not user-friendly. The opened dialog covers the main window with the VMs and the user could not move it  

Version-Release number of selected component (if applicable):4.3.6

How reproducible:100%

Steps to Reproduce:
1. In Compute/Virtual machines window select a running VM
2. Click Migration 

Actual results:
Opened migration dialog could not move on the screen like other windows which make impossible to see the selected VM in the main window

Expected results: 
the open dialog must move like other windows.


Additional info:

Comment 1 Sharon Gratch 2020-06-11 15:36:36 UTC
Postponed for 4.5 for further prioritization.

Comment 2 Hilda Stastna 2020-11-11 23:13:05 UTC
Created attachment 1728545 [details]
Example of not movable dialog

oVirt version 4.4.3

Comment 3 Hilda Stastna 2020-11-11 23:14:09 UTC
Created attachment 1728546 [details]
Example of a movable dialog

oVirt version 4.4.3

Comment 4 Hilda Stastna 2020-11-11 23:18:36 UTC
Comment on attachment 1728545 [details]
Example of not movable dialog

wrong screenshot

Comment 5 Hilda Stastna 2020-11-11 23:21:04 UTC
Created attachment 1728547 [details]
Example of an unmovable dialog

oVirt version 4.4.3

Comment 6 Hilda Stastna 2020-11-24 12:34:42 UTC
The problem is more complex and Patternfly team will consider adding draggable ability to Modal component:
https://github.com/patternfly/patternfly-design/issues/960

Polina, could you, please, explain why we need to see the list of VMs under the dialog, if all the info needed is usually already displayed in the appropriate dialog? Thanks.

Comment 7 Polina 2020-11-24 15:51:59 UTC
The opened dialog shows the name of the selected VM and hosts available for its migration. What if the user wants to see the whole picture at this moment (on which hosts other VMs run, including the HE VM) to decide where to migrate, he must close the dialog for it. While playing a lot with the migrations I've found it inconvenient.

Comment 8 Hilda Stastna 2020-11-24 17:12:36 UTC
Thanks, Polina, and do we have some more information from users that they need to see "the whole picture at this moment (on which hosts other VMs run, including the HE VM) to decide where to migrate" (if we talk about the VM Migrate dialog, for example)? 

Btw, the list of all available hosts is already displayed in the VM Migrate dialog so we don't need to move the dialog to see the hosts of the VMs.

Comment 9 Polina 2020-11-24 21:52:09 UTC
I don't know about more info from users. I just reported since it looked to be inconvenient. I know that the list of available hosts is displayed in the dialog . I tried to see where other VMs placed and found that I can't move the dialog

Comment 10 Sharon Gratch 2020-11-25 19:26:55 UTC
Since current ui-extensions dialogs are based on Patternfly 4 which currently doesn't support bootstrap anymore then we can't use the same approach as done for making the GWT Bootstrap dialogs draggable as well: https://gerrit.ovirt.org/74616

We will need to wait till Patternfly 4 will support draggable modals: https://github.com/patternfly/patternfly-design/issues/960

Therefore I'm closing this issue as CANTFIX and once it will be supported then we'll open a new issue for that.