Bug 43105 - Improve login dialog position after session timeout
Improve login dialog position after session timeout
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-12-02 13:54 CET by Jürn Brodersen
Modified: 2019-01-03 07:18 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.017
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Usability
Max CVSS v3 score:


Attachments
proposed patch (2.22 KB, patch)
2016-12-02 14:02 CET, Jürn Brodersen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jürn Brodersen univentionstaff 2016-12-02 13:54:17 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?
Comment 1 Jürn Brodersen univentionstaff 2016-12-02 14:02:54 CET
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)
Comment 2 Florian Best univentionstaff 2017-06-28 14:04:15 CEST
@Jürn: Do we have this problem still in UCS 4.2?
Comment 3 Jürn Brodersen univentionstaff 2017-06-28 14:33:23 CEST
(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.
Comment 4 Stefan Gohmann univentionstaff 2019-01-03 07:18:33 CET
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.