Bug 33590 - Progressbar is jumping when "info" changes
Progressbar is jumping when "info" changes
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.4-2-errata
Assigned To: Johannes Keiser
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-27 12:06 CET by Dirk Wiesenthal
Modified: 2019-10-16 14:11 CEST (History)
4 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 4: Will affect most installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.046
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Design, Usability
Max CVSS v3 score:
keiser: Patch_Available+


Attachments
patch (1.76 KB, patch)
2017-07-21 18:26 CEST, Johannes Keiser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2013-11-27 12:06:18 CET
The line just below the progressbar (e.g. dpkg output) may change significantly in length. If the line would require more space than the width of the progressbar the line breaks into multiple (normal behaviour of browser).

As the progressbar is always in the center of the screen and more lines increase the height of the whole widget, the progressbar jumps.

Can be seen during installation of an application.
Comment 1 Philipp Hahn univentionstaff 2014-07-09 14:23:06 CEST
grep -n 400px univention-management-console-frontend/umc/widgets/ProgressBar.js 
46:             style: 'width: 400px',

Incrementing that to 500px helps.

Maybe adding "white-space: nowrap;" in
 63 »···»···»···this._message = new Text({ content : ' ', style : 'width: 100%' });
also helps.
Comment 2 Florian Best univentionstaff 2016-10-13 14:53:01 CEST
@Dirk: you told that this is still an issue with UCS 4.1.
Comment 3 Johannes Keiser univentionstaff 2017-07-21 18:26:20 CEST
Created attachment 9049 [details]
patch
Comment 4 Johannes Keiser univentionstaff 2017-07-21 18:29:39 CEST
(In reply to Johannes Keiser from comment #3)
> Created attachment 9049 [details]
> patch

This patch sets a fixed height for the line above and below the progressbar.
If the lines exceed the fixed height they are still shown but do not increase the height of the progressbar.
Comment 5 Stefan Gohmann univentionstaff 2019-01-03 07:20:29 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.
Comment 6 Johannes Keiser univentionstaff 2019-10-10 17:49:09 CEST
54b1ffb98e Bug #33590: yaml - version and typo
74296bb969 Bug #33590: yaml
9be5b092c5 Bug #33590: debian changelog
4fd98fdbb7 Bug #33590: prevent ProgressBar from jumping when text length changes

Successful build
Package: univention-web
Version: 3.0.5-30A~4.4.0.201910101738
Comment 7 Florian Best univentionstaff 2019-10-10 17:53:55 CEST
Very nice, the progress bar is not jumping anymore.
OK: YAML
Comment 8 Arvid Requate univentionstaff 2019-10-16 14:11:00 CEST
<http://errata.software-univention.de/ucs/4.4/309.html>