Bug 1518724 - [UI] UI plugins can no longer add buttons / context menu items
Summary: [UI] UI plugins can no longer add buttons / context menu items
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.2.0
: ---
Assignee: Alexander Wels
QA Contact: Pavel Novotny
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-29 14:05 UTC by Greg Sheremeta
Modified: 2017-12-22 06:50 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-22 06:50:29 UTC
oVirt Team: UX
Embargoed:
rule-engine: ovirt-4.2+
pnovotny: testing_plan_complete-


Attachments (Terms of Use)
Screenshot-of-added-buttons-overflowing-line (54.24 KB, image/png)
2017-11-30 15:42 UTC, Martin Sivák
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 84901 0 master MERGED webadmin: UI plugin main action panel button 2017-11-29 16:40:52 UTC

Description Greg Sheremeta 2017-11-29 14:05:27 UTC
Description of problem:
UI plugins can no longer add buttons / context menu items
Reported by Martin Sivak here: http://lists.ovirt.org/pipermail/devel/2017-November/032077.html

Version-Release number of selected component (if applicable):
4.2 master 13908b5

How reproducible:
always

Steps to Reproduce:
1. install a UI plugin that adds menu options, example ovirt optimized

Actual results:
Menu options / context menu options are missing

Expected results:
Menu options / context menu options should exist

Comment 1 Martin Sivák 2017-11-30 15:42:31 UTC
Created attachment 1360979 [details]
Screenshot-of-added-buttons-overflowing-line

The latest version seems to have the buttons, but they are not grouped under the three dots and make the whole button line overflow.

Comment 2 Pavel Novotny 2017-12-20 22:05:11 UTC
Verified in
ovirt-engine-4.2.0.2-0.1.el7.noarch
ovirt-engine-webadmin-portal-4.2.0.2-0.1.el7.noarch

Buttons defined by a UI plugin in the action menu or context menu are back.

I have installed the ovirt-optimizer UI plugin [1] for verification and buttons Optimize Start and Cancel Optimization are present in the menu bar and in the context menu (Virtual Machines view).

[1] https://www.ovirt.org/develop/release-management/features/sla/optaplanner/#installing-the-ovirt-optimizer-machine


Additional note:
(In reply to Martin Sivák from comment #1)
> Created attachment 1360979 [details]
> Screenshot-of-added-buttons-overflowing-line
> 
> The latest version seems to have the buttons, but they are not grouped under
> the three dots and make the whole button line overflow.

Martin, the overflowing action buttons is common behavior.
Depending on the browser window width, the buttons are not hidden under the kebab menu (the three dots) but they wrap to the next line.

Comment 3 Sandro Bonazzola 2017-12-22 06:50:29 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

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


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