Univention Bugzilla – Bug 40492
Login dialog after session time out is shown on the top of the page
Last modified: 2016-12-02 14:03:26 CET
Created attachment 7428 [details] Screenshot with login screen in the upper part of the display ... cf. screenshot attached. This may be especially tricky on mobile devices when one has scrolled down: Then the background is only greyed out. It would be helpful (in very easy) to scroll the login dialogue in view.
Created attachment 8250 [details] proposed patch This patch sets the login dialog fix to the middle of the screen and disables scrolling for the page underneath.
Created attachment 8252 [details] proposed patch Added safari workaround
r74796: Hide overflow on session timeout Package: univention-management-console-frontend Version: 5.0.63-53.1247.201611291635 Branch: ucs_4.1-0 Scope: errata4.1-4 r74798: Show session timeout dialog centered on the viewport Package: univention-management-console-frontend-theme Version: 1.0.4-8.118.201611291639 Branch: ucs_4.1-0 Scope: errata4.1-4 r74803: YAML
In FF (mobile view), I could provoke scrolling to the top after relogin. As discussed, please adjust the code to scroll to the top when the login dialog is shown and to scroll back after relogin.
For the time being we just scroll to the top of the page and scroll back to the old position after relogin. r74886: Scroll to the top of the page on a session timeout Package: univention-management-console-frontend Version: 5.0.63-56.1250.201612011249 Branch: ucs_4.1-0 Scope: errata4.1-4
As discussed, please revert the changes in the umc-frontend-theme package :) .
r74899: revert display fixed because IOs doesn't like it Package: univention-management-console-frontend-theme Version: 1.0.4-11.121.201612011446 Branch: ucs_4.1-0 Scope: errata4.1-4
Testing results: Edge 12/13: OK IE 11: does not scroll back after login Safari 10: OK iPad 4: OK Changes: OK, overall this is an improvement to the current situation YAML file: OK, removed entry from umc-frontend-theme package [r74907] Merge to 4.2-0: Latest changes have not been merged → created Bug 43091 for that → VERIFIED
(In reply to Alexander Kläser from comment #8) > Testing results: > Edge 12/13: OK > IE 11: does not scroll back after login > Safari 10: OK > iPad 4: OK FF: OK
<http://errata.software-univention.de/ucs/4.1/349.html>
IE needs window.pageYOffset instead of window.scrollY... Sorry, I will open a new bug for that.