Bug 43509 - dijitHidden changed and is now using visibility: hidden instead of display: none
dijitHidden changed and is now using visibility: hidden instead of display: none
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Florian Best
Jürn Brodersen
: interim-3
Depends on:
Blocks: 32027
  Show dependency treegraph
 
Reported: 2017-02-07 12:35 CET by Jürn Brodersen
Modified: 2017-04-04 18:29 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Development Internal
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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jürn Brodersen univentionstaff 2017-02-07 12:35:43 CET
Our code uses the dijitHidden class but that class changed and should only be used by dijit.
We need to change everything that uses dijitHidden to use something that is setting display: none instead.
Comment 1 Florian Best univentionstaff 2017-02-07 12:55:19 CET
There is a new class dijitDisplayNone which can be used!
Comment 2 Alexander Kläser univentionstaff 2017-02-08 10:22:37 CET
(In reply to Florian Best from comment #1)
> There is a new class dijitDisplayNone which can be used!

*lol* new... 10 years old ;) ...
https://github.com/dojo/dijit/blame/master/themes/dijit.css#L162

From Bug 32037, comment 24:
> The height of the body? does not change after changing a module.
> After scrolling through a long list and clicking on the home button, the
> page is still as long as the list.
Comment 3 Alexander Kläser univentionstaff 2017-03-06 14:24:25 CET
Just observed the following behaviour which also has to do something with this:
* Open the "App Center" module
* Open the "Computer" module
  → the scrollbar from the "App Center" module persists
* Add a new computer
* When clicking on "Next", the scrollbar jumps down and I have to click a 2nd
  time on "Next".
Comment 4 Florian Best univentionstaff 2017-03-09 15:09:19 CET
univention-web (1.0.32-1):
r77520 | Bug #43509: dijitHidden → dijitDisplayNone

univention-updater (12.0.4-1):
r77514 | Bug #43509: dijitHidden → dijitDisplayNone

univention-management-console-module-udm (7.0.8-1):
r77518 | Bug #43509: dijitHidden → dijitDisplayNone

univention-management-console (9.0.54-1):
r77522 | Bug #43509: dijitHidden → dijitDisplayNone

univention-app-appliance (1.0.2-1):
r77511 | Bug #43509: dijitHidden → dijitDisplayNone

univention-system-setup (10.0.8-1):
r77513 | Bug #43509: dijitHidden → dijitDisplayNone

univention-self-service (2.0.9-2):
r77523 | Bug #43509: dijitDisplayNone → dijitDisplayNone

univention-cloud-init (4.0.2-1):
r77521 | Bug #43509: dijitHidden → dijitDisplayNone

univention-printserver (10.0.1-1):
r77517 | Bug #43509: dijitHidden → dijitDisplayNone

univention-pkgdb (10.0.1-1):
r77516 | Bug #43509: dijitHidden → dijitDisplayNone

univention-appcenter (6.0.2-1):
r77515 | Bug #43509: dijitHidden → dijitDisplayNone

univention-portal (1.0.8-1):
r77524 | Bug #43509: dijitHidden → dijitDisplayNone

univention-system-activation (2.0.2-1):
r77512 | Bug #43509: dijitHidden → dijitDisplayNone
Comment 5 Alexander Kläser univentionstaff 2017-03-09 22:02:05 CET
Please revert these changes. We should just add "display: none !important;" in, e.g., document.styl to .dijitHidden instead of changing our code. ATM, a dialog with a StackContainer (e.g., the StatupDialog) is broken from the second page on (ucr set umc/web/startupdialog=true).
Comment 6 Alexander Kläser univentionstaff 2017-03-09 22:10:38 CET
For now it seems that re-using dijitHidden in umc/widgets/Wizard::_getMaxHeight() fixes this bug.

univention-web (1.0.33-3):
r77545 | Bug #43509: Use dijitHidden instead of dijitDisplayNone in Wizard
Comment 7 Jürn Brodersen univentionstaff 2017-03-28 18:38:52 CEST
What I tested so far:
I used the umc and didn't see any related errors.
Checked a wizard.
No scrollbar persist.
Comment 8 Alexander Kläser univentionstaff 2017-03-30 22:12:47 CEST
I think we can set this bug to VERIFIED. If there are problems, these will be revealed during the product tests.
Comment 9 Stefan Gohmann univentionstaff 2017-04-04 18:29:27 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

If this error occurs again, please use "Clone This Bug".