Univention Bugzilla – Bug 43105
Improve login dialog position after session timeout
Last modified: 2019-01-03 07:18:33 CET
As discussed in bug 40492 I would like some further changes for the session timeout dialog. Current Situation: The dialog is rendered at the top of the page. window.scrollTo is used to scroll it into view. After a successful relogin, window.scrollTo is used to scroll back to the previous position on the page. Problem: The automatic scrolling can be unexpected and irritating as a result. It is also possible to scroll the dialog out of view and the user needs to remember that the dialog is at the top of the page. Goal: The login dialog should be fixed in the middle of the viewport. The page in the background should not change its scroll position. The user should not be able to scroll the page in the background. On small screens it should be possible to scroll the login dialog. Notes: In bug 40492 I tried using "position: fixed" on the body to prevent the background page from scrolling. That didn't work on IOs. There is a weird bug in the firefox mobile simulator (ctrl-shift-m). On the submission of the login iframe ("iform.submit.click()") the page jumps to the top. I couldn't reproduce that behavior on a physical device?
Created attachment 8284 [details] proposed patch The proposed patch is css only, but introduces a major style change: the page overflow is not handled on the body but instead in the umcTopContainer. That change breaks at least two things: 1) small modules don't fill the full page (e.g. during the load of the app center) 2) the module header doesn't work anymore (see also bug 42719)
@Jürn: Do we have this problem still in UCS 4.2?
(In reply to Florian Best from comment #2) > @Jürn: Do we have this problem still in UCS 4.2? It's mostly fixed. The page does not scroll to the top automatically anymore. I would like something like "position: fixed" as well (disable scrolling). But as discussed in comment 1 that doesn't work reliable. I think due to the high session timeout in 4.2 we can ignore this.
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.