Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 301826

Summary: [upload] Fails with Javascript error due to progressbar appearance
Product: [RT] RAP Reporter: Benjamin Muskalla <b.muskalla>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: oliver, pkendall64, stefan.roeck, webmaster
Version: 1.3   
Target Milestone: 1.3 M6   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch propsal none

Description Benjamin Muskalla CLA 2010-02-04 08:32:49 EST
Steps to reproduce
* upload demo
* check "show progress"

Error message is:
Error: qx.ui.layout.CanvasLayout has no themeable property "backgroundImageSized"

The reason is that the upload widget uses the "progressbar" appearance for an Canvas layout (see Upload.js#81).
Stefan, would it make sense to use the existing progressbar programatically?
Comment 1 Ivan Furnadjiev CLA 2010-02-16 17:23:11 EST
*** Bug 303003 has been marked as a duplicate of this bug. ***
Comment 2 Stefan Röck CLA 2010-02-22 04:21:06 EST
Created attachment 159754 [details]
Patch propsal

With this patch, org.eclipse.swt.widgets.ProgressBar is used instead of the old hand-made solution.
Comment 3 Ivan Furnadjiev CLA 2010-02-22 04:49:00 EST
Patch looks good for me.
Comment 4 Markus Krüger CLA 2010-02-25 09:07:17 EST
Also works for me, hoping for cvs checkin ;-)
Comment 5 Stefan Röck CLA 2010-02-25 13:23:55 EST
Committed Patch to CVS Head.