Bug 31581 - Installation Process Layer does not cover button, which can lead to corrupted installation if clicked
Installation Process Layer does not cover button, which can lead to corrupted...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.1
Other Linux
: P5 normal (vote)
: UCS 3.1-1-errata
Assigned To: Alexander Kläser
Dirk Wiesenthal
https://bugs.dojotoolkit.org/ticket/1...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-30 12:28 CEST by Erik Damrose
Modified: 2013-07-10 14:18 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Design, Usability
Max CVSS v3 score:


Attachments
Visible button in the lower right corner (40.14 KB, image/png)
2013-05-30 12:28 CEST, Erik Damrose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Damrose univentionstaff 2013-05-30 12:28:44 CEST
Created attachment 5255 [details]
Visible button in the lower right corner

After finishing the UCS@school-r2 installer the installation/configuration of
additional packages starts. The white layer on which the status is displayed
does not cover the whole wizard page below it, leaving part of the 'Weiter'
Button visible and click-able. If one clicks on the Button, a dialog asks if
the installation should be started or cancelled to review the entered
information.

If one clicks 'Abbrechen' the process layer disappears and the installation
wizard is shown again. The installation does however proceed in the background,
invisible to the user.

If one clicks 'Weiter' the Wizard tries to start the installation a second
time, failing after a few seconds. Clicking on 'Wiederholen' can result in 2
states: 
- if packages were downloaded/extracted the installation process simply
restarts
- if the configuration of packages had started a page is displayed that informs
about the successful installation, marking the wizard as finished. Thus one is
unable to restart/finish the installation.

The Button is visible in Firefox, not in Chromium.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2013-05-30 12:32:34 CEST
I noticed this on other occasions. Spinner and overlay seem not to be wide enough to cover the whole button and main content.
I think, this is a generic UCS/Dojo bug.
Comment 2 Alexander Kläser univentionstaff 2013-05-31 09:28:33 CEST
I would guess that this is a bug in dojox/widget/Standby which is used for that. It seems that in some cases the calculation of the size for the overlay element does not work correctly.
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2013-05-31 09:59:00 CEST
I don't think this bug is of "minor" but "normal" severity.
Comment 4 Alexander Kläser univentionstaff 2013-07-01 17:42:25 CEST
Strange, I cannot reproduce this error with an update 3.1-1 system, yet I remember seeing the same problem in other UMC modules, as well. I think even in the App center's initial page.
Comment 5 Erik Damrose univentionstaff 2013-07-02 08:59:28 CEST
I was just able to reproduce it on a new developer vm, updated to the current errata (135).

Chromium: Version 28.0.1500.52 Ubuntu 12.04 (28.0.1500.52-0ubuntu1.12.04.2)
Firefox: 22.0
Comment 6 Alexander Kläser univentionstaff 2013-07-02 15:12:17 CEST
The problem seems to occur as the Standby widget is not considering the CSS property overflow correctly. As soon as the child element is larger than its parent, an offset for the overlay is added to allow scrollbars to be visible.

In the case of the school installer (only reproducible for single server installation!), the child element was 1px higher than its parent, however, the parent's overflow was set to visible.

I opened a Dojo bug:

https://bugs.dojotoolkit.org/ticket/17296

I patched univention-dojo (3.1-1 errata + 3.2) and rebuilt UMC frontend.

YAML files:

  2013-07-01-univention-management-console-frontend.yaml
  2013-07-01-univention-dojo.yaml


 univention-dojo (7.0.1-1) unstable; urgency=low
 .
   * Bug #31581: added patch for dojox/widget/Standby
Comment 7 Dirk Wiesenthal univentionstaff 2013-07-03 17:58:58 CEST
I can confirm that this is fixed in Chrome. But Firefox and IE 8 still have that problem (IE 9 not yet tested).
Comment 8 Alexander Kläser univentionstaff 2013-07-04 10:36:31 CEST
(In reply to Dirk Wiesenthal from comment #7)
> I can confirm that this is fixed in Chrome. But Firefox and IE 8 still have
> that problem (IE 9 not yet tested).

Good point! The problem was that overflow-x and overflow-y was not set automatically. The workaround for this is requesting overflow-x or overflow:

  domStyle.get(pn, 'overflow-x') || domStyle.get(pn, 'overflow')

Then it seems to work fine. Packages are building.


 univention-dojo (6.0.15-3) unstable; urgency=low
 .
   * Bug #31581: adjusted patch for dojox/widget/Standby

 univention-dojo (7.0.2-1) unstable; urgency=low
 .
   * Bug #31581: adjusted patch for dojox/widget/Standby
Comment 9 Dirk Wiesenthal univentionstaff 2013-07-04 16:25:30 CEST
Now works with other browsers as well
Comment 10 Moritz Muehlenhoff univentionstaff 2013-07-10 14:17:45 CEST
http://errata.univention.de/ucs/3.1/144.html
Comment 11 Moritz Muehlenhoff univentionstaff 2013-07-10 14:18:07 CEST
http://errata.univention.de/ucs/3.1/145.html