Univention Bugzilla – Bug 33148
It takes not long enough to open a user
Last modified: 2017-11-08 16:04:08 CET
Now the form is presented to the user before static values are set. E.g. printers: Open an existing printer (CUPS installed so it takes a bit longer to finish loading) and you will notice that the value for "Samba name" is not set when the form is already accessible. You may set a value in this widget but after a short time this value is overwritten again by the value fetched from the server. Please standbyDuring() this phase where the static values are not yet set. +++ This bug was initially created as a clone of Bug #32978 +++ As discussed, the time for opening a user or a computer in UMC takes to much time. I think the progress bar suggests a long wait.
Probably, each value needs to be set separately according to the widget's "ready" state.
The detailpage should not be visible (or at least covered by standby / progressbar) before all values are collected from server and set into the widgets.
(In reply to Florian Best from comment #2) > The detailpage should not be visible (or at least covered by standby / > progressbar) before all values are collected from server and set into the > widgets. But this is intentionally not done so strictly due to Bug #32978. We were just too greedy here.
Is it only a problem for the printer module? Maybe we could decide in the UDM module whether it should be wait for all values and show an animation / progress.
(In reply to Stefan Gohmann from comment #4) > Is it only a problem for the printer module? → No, it applies to every module.
From Bug 32978, comment 1: > [...] > * The form is shown as soon as it is rendered. Until all dynamic values > (i.e., combo boxes) have been loaded, the submit button is disabled. This should explain the behaviour. It was a decision taken at Bug 32978... I do not remember to which extent it was discussed, though :) .
Would it be possible to disable a widget (hinting "loading...") until it has loaded its value?
*** This bug has been marked as a duplicate of bug 45574 ***