Bug 38918 - System activation service - loading animation not visible in Firefox
System activation service - loading animation not visible in Firefox
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-2-errata
Assigned To: Alexander Kramer
Alexander Kläser
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-14 15:49 CEST by Alexander Kläser
Modified: 2015-08-06 17:52 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Browser compatibility, Design
Max CVSS v3 score:


Attachments
Patch: loading animation not visible in firefox (539 bytes, patch)
2015-07-28 13:43 CEST, Alexander Kramer
Details | Diff
Animated gif: loading bubbles (3.74 KB, image/gif)
2015-07-28 13:44 CEST, Alexander Kramer
Details
Animated gif: loading bubbles (4.21 KB, image/gif)
2015-07-28 16:28 CEST, Alexander Kläser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2015-07-14 15:49:22 CEST
The loading animation in univention-system-activation (SVG with animated dots below the step bubbles) is not shown in Firefox.

Strange enough, after an activation and reactivating the service, the dots were visible. I imported an unactivated license, reactivated the service and reloaded the page by clicking on the reload icon while pressing the shift button. Then the dots disappeared again. When reloading the page by only clicking the reload icon (without shift), the dots are visible. Maybe a problem with the background CSS definition? Not sure, but I removed "transparent" from the background rule and it seemed to work (on a live system).
Comment 1 Alexander Kläser univentionstaff 2015-07-24 10:30:48 CEST
@Alex: Could you please have a look and attach a patch for this bug?
Comment 2 Alexander Kramer univentionstaff 2015-07-28 13:43:58 CEST
Created attachment 7056 [details]
Patch: loading animation not visible in firefox

As discussed we replaced the svg file with an animated gif. I also specified the width and height.
Comment 3 Alexander Kramer univentionstaff 2015-07-28 13:44:51 CEST
Created attachment 7057 [details]
Animated gif: loading bubbles
Comment 4 Alexander Kläser univentionstaff 2015-07-28 16:28:43 CEST
Created attachment 7059 [details]
Animated gif: loading bubbles

Attached an improved animated gif (32x32 size). I generated it by slowing done the SVG animation, and recording pngs via ffmpeg:

> w_data=($(xwininfo | grep -e Absolut -e Width -e Height | sed -e 's/[^0-9]//g'))
> x=${w_data[0]}
> y=${w_data[1]}
> w=${w_data[2]}
> h=${w_data[3]}
> ffmpeg -f x11grab -framerate 4 -s ${w}x${h} -i :0.0+${x},${y} out%03d.png

Afterwards I imported the pngs into gimp as layers and cut them out.
Comment 5 Alexander Kramer univentionstaff 2015-07-30 13:34:18 CEST
ucs 4.0-2
r62526 - gif & .styl
r62527 - debian/changelog
r62529 - yaml file

Successful build
Package: univention-system-activation
Version: 0.0.1-31.27.201507301307
User: akramer
Branch: ucs_4.0-0
Scope: errata4.0-2

ucs4.1-0
r62531

Successful build
Package: univention-system-activation
Version: 1.0.0-1.28.201507301328
Branch: ucs_4.1-0
Scope:
Comment 6 Alexander Kläser univentionstaff 2015-07-31 12:01:15 CEST
(In reply to Alexander Kramer from comment #5)
> ucs 4.0-2
> r62526 - gif & .styl
> r62527 - debian/changelog
> r62529 - yaml file
> 
> Successful build
> Package: univention-system-activation
> Version: 0.0.1-31.27.201507301307
> User: akramer
> Branch: ucs_4.0-0
> Scope: errata4.0-2
> 
> ucs4.1-0
> r62531
> 
> Successful build
> Package: univention-system-activation
> Version: 1.0.0-1.28.201507301328
> Branch: ucs_4.1-0
> Scope:

Changes or good, but you entered the wrong bug number.
Comment 7 Alexander Kramer univentionstaff 2015-07-31 12:54:06 CEST
ty for the hint

r62562
adapted bug nr in yaml file
Comment 8 Alexander Kramer univentionstaff 2015-07-31 13:25:44 CEST
As discussed I also adapted the debian/changelog for 4.0-2 and 4.1-0

r62564 ucs4.0-2
Package: univention-system-activation
Version: 0.0.1-32.30.201507311315

r62563 ucs4.1-0
Package: univention-system-activation
Version: 1.0.0-2.29.201507311310
Comment 9 Alexander Kläser univentionstaff 2015-07-31 13:36:37 CEST
OK.

→ VERIFIED
Comment 10 Janek Walkenhorst univentionstaff 2015-08-06 17:52:15 CEST
<http://errata.univention.de/ucs/4.0/276.html>