Open Bug 1327612 Opened 7 years ago Updated 2 years ago

Progressbar in downloads toolbarbutton looks clipped when download is almost finished

Categories

(Firefox :: Downloads Panel, defect, P5)

defect

Tracking

()

People

(Reporter: arni2033, Unassigned)

Details

(Keywords: polish)

>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160526082509
Don't try STR_1.

>>>
STR_1:  (original)
1. Open https://ssyoutube.com/watch?v=jkUFUkvNYAQ
2. Click button to start downloading video 3GP in 144p (figure out how to work with that site)
   That will start a very slow download.
3. When download is almost finished, look at the progressbar inside downloads toolbarbutton

AR:  Progressbar looks clipped at the right side
ER:  Progressbar shouldn't look clipped. Top-right and bottom-right corners should be rounded

STR_2:  (reliable)
1. Inspect downloads toolbarbutton in Browser toolbox, add attribute [progress="true"]
2. Add attribute [value="100"] to progressmeter#downloads-indicator-progress inside the toolbarbutton


Notes:
1) Obviously, the styling of progressmeter is already a hack: both progress chunks have
  "border-width:1px;" , therefore they can't be narrower than 2px, which is exactly border-radius of
   progressmeter. But gray background is drawn in the right progress chunk, therefore when it
   compresses to 2px, the rounded corners don't look rounded. One possible solution is to set gray
   background to progressmeter element, but I haven't tried it.
2) I remember the same bug with XUL video controls that also used progressmeter
No longer blocks: 1277113
Component: Untriaged → Downloads Panel
Wasn't sure if it was this component or Toolbars and Customization. Please correct if needed. Thanks.
Thanks, I think this is the right call because the styling is local to the Downloads Panel component.
Keywords: polish
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.