Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: MOBI-Components
    • Labels:
      None
    • Environment:
      Icefaces 4 trunk
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      Add a new mobi:thumbnail component which will work in conjunction with the mobi:camera component to render a small thumbnail representation of the captured image on the page prior to uploading it to the server.

      1. CameraRenderer.java
        6 kB
        Judy Guglielmin
      2. thumbnail.js
        7 kB
        Judy Guglielmin
      3. ThumbnailMeta.java
        2 kB
        Judy Guglielmin
      4. ThumbnailRenderer.java
        6 kB
        Judy Guglielmin

        Activity

        Hide
        Ken Fyten added a comment -

        New mobi:thumbnail component added in svn rvn#39804.

        Show
        Ken Fyten added a comment - New mobi:thumbnail component added in svn rvn#39804.
        Hide
        Ken Fyten added a comment -

        Tomcat 7, all browsers:

        • Thumbnail image is not loaded when used with mobi:camera. After taking a photo, only a blank thumbnail image appears.

        A test application located at: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/thumbnail

        Show
        Ken Fyten added a comment - Tomcat 7, all browsers: Thumbnail image is not loaded when used with mobi:camera. After taking a photo, only a blank thumbnail image appears. A test application located at: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/thumbnail
        Hide
        Arturo Zambrano added a comment -

        r42319: fixed thumbnail support for mobi:camera and mobi:camcorder.

        Show
        Arturo Zambrano added a comment - r42319: fixed thumbnail support for mobi:camera and mobi:camcorder.
        Hide
        Liana Munroe added a comment -

        Tested with Android 4.4.2 on Galaxy S4 mini and iphone ios 7 on iphone 4S.
        The thumbnail still shows as a empty placeholder on the iphone.
        The thumbnail appears the first time you run the test app on the Android. After using the camera, the mobi:camera button changes to Photo Captured and the Thumbnail appears. Once you click the Upload button the Thumbnail is now rendered as an empty placeholder. I am not sure if this is a problem with the test application or not.
        Please see:
        http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/thumbnail

        Show
        Liana Munroe added a comment - Tested with Android 4.4.2 on Galaxy S4 mini and iphone ios 7 on iphone 4S. The thumbnail still shows as a empty placeholder on the iphone. The thumbnail appears the first time you run the test app on the Android. After using the camera, the mobi:camera button changes to Photo Captured and the Thumbnail appears. Once you click the Upload button the Thumbnail is now rendered as an empty placeholder. I am not sure if this is a problem with the test application or not. Please see: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/thumbnail
        Hide
        Arturo Zambrano added a comment -

        The problem is that the thumbnail data is provided by bridgeit after taking the picture, and then it's added as the src attribute of the thumbnail img element. When the picture is uploaded, it seems that the whole form is updated and thus the thumbnail data is lost. In order to preserve the thumbnail data it will be necessary to submit the data in the form and keep it on the server for future updates.

        Show
        Arturo Zambrano added a comment - The problem is that the thumbnail data is provided by bridgeit after taking the picture, and then it's added as the src attribute of the thumbnail img element. When the picture is uploaded, it seems that the whole form is updated and thus the thumbnail data is lost. In order to preserve the thumbnail data it will be necessary to submit the data in the form and keep it on the server for future updates.
        Hide
        Arturo Zambrano added a comment -

        r42325: committed enhancement above to persist thumbnail image data across requests.

        Show
        Arturo Zambrano added a comment - r42325: committed enhancement above to persist thumbnail image data across requests.
        Hide
        Liana Munroe added a comment - - edited

        Testing r42325 with Android 4.4.2 device and camera test application. Thumbnail does not consistently render, sometimes a second photo must be taken before the thumbnail appears, or if the demo is run 3 or four times in a row the thumbnail stops appearing.

        Testing with the camcorder test app has been unsuccessful. There was a thumbnail on the second upload attempt. Subsequent attempts leave bridgeIt in an endless submit mode.

        Using thumbnail with camera and camcorder leaves files behind on the server.
        Server messages such as this are seen:
        Could not dispose of media file 'C:\Servers\apache-tomcat-7.0.42\temp\0-camera\uploads\4D452D64BAD259F6ADA7B5EEBAEDCB

        Server warning seen when undeploying war file;
        Aug 28, 2014 3:21:47 PM org.apache.catalina.startup.ExpandWar delete
        SEVERE: [C:\Servers\apache-tomcat-7.0.42\work\Catalina\localhost\camera] could not be completely deleted. The presence of the remaining files may cause problems.

        Show
        Liana Munroe added a comment - - edited Testing r42325 with Android 4.4.2 device and camera test application. Thumbnail does not consistently render, sometimes a second photo must be taken before the thumbnail appears, or if the demo is run 3 or four times in a row the thumbnail stops appearing. Testing with the camcorder test app has been unsuccessful. There was a thumbnail on the second upload attempt. Subsequent attempts leave bridgeIt in an endless submit mode. Using thumbnail with camera and camcorder leaves files behind on the server. Server messages such as this are seen: Could not dispose of media file 'C:\Servers\apache-tomcat-7.0.42\temp\0-camera\uploads\4D452D64BAD259F6ADA7B5EEBAEDCB Server warning seen when undeploying war file; Aug 28, 2014 3:21:47 PM org.apache.catalina.startup.ExpandWar delete SEVERE: [C:\Servers\apache-tomcat-7.0.42\work\Catalina\localhost\camera] could not be completely deleted. The presence of the remaining files may cause problems.
        Hide
        Arturo Zambrano added a comment -

        r42534: fix to flush and close the OutputStream for camera and camcorder uploads, in order to avoid file locks when disposing of uploaded files.

        This fix takes care of the last two issues in the previous comment. Now the upload folder and uploaded files are disposed successfully when undeploying the app. However, the main app folder (e.g. /thumbnail) is not disposed successfuly (even when making sure that no other applications in the OS are accessing such folder). This happens even when doing a fresh deploy of the app and undeploying right away, without loading the app on any device. So, this seems to be an with with the app and/or Tomcat.

        Show
        Arturo Zambrano added a comment - r42534: fix to flush and close the OutputStream for camera and camcorder uploads, in order to avoid file locks when disposing of uploaded files. This fix takes care of the last two issues in the previous comment. Now the upload folder and uploaded files are disposed successfully when undeploying the app. However, the main app folder (e.g. /thumbnail) is not disposed successfuly (even when making sure that no other applications in the OS are accessing such folder). This happens even when doing a fresh deploy of the app and undeploying right away, without loading the app on any device. So, this seems to be an with with the app and/or Tomcat.
        Hide
        Cruz Miraback added a comment - - edited

        ICEfaces4 trunk revision# 42532 (thumbnail test application)
        Nexus 5 (Android 4.4.4)
        BridgeIt App 1.0.4-P3

        I'm unable to get the thumbnail to render on my device at all using the thumbnail test app. It always renders as an empty white box. There is a JS error occurring after returning from the BridgeIt application:
        Uncaught TypeError: Cannot read property 'substring' of undefined component.js.jsf?ln=org.icefaces.component.util&v=4_0_0_140909:925

        Show
        Cruz Miraback added a comment - - edited ICEfaces4 trunk revision# 42532 (thumbnail test application) Nexus 5 (Android 4.4.4) BridgeIt App 1.0.4-P3 I'm unable to get the thumbnail to render on my device at all using the thumbnail test app. It always renders as an empty white box. There is a JS error occurring after returning from the BridgeIt application: Uncaught TypeError: Cannot read property 'substring' of undefined component.js.jsf?ln=org.icefaces.component.util&v=4_0_0_140909:925
        Hide
        Liana Munroe added a comment -

        Using camera and camcorder demos in showcase (ICEfaces 4 trunk r42540) also leaves behind files when un-deploying the .war file.
        Sep 10, 2014 11:34:17 AM org.apache.catalina.startup.ExpandWar deleteDir
        SEVERE: [C:\Servers\apache-tomcat-7.0.42\work\Catalina\localhost\showcase] could not be completely deleted. The presence of the remaining files may cause problems.
        This is without the thumbnail involved. Using other demos then undeploying does not cause this same error.

        Show
        Liana Munroe added a comment - Using camera and camcorder demos in showcase (ICEfaces 4 trunk r42540) also leaves behind files when un-deploying the .war file. Sep 10, 2014 11:34:17 AM org.apache.catalina.startup.ExpandWar deleteDir SEVERE: [C:\Servers\apache-tomcat-7.0.42\work\Catalina\localhost\showcase] could not be completely deleted. The presence of the remaining files may cause problems. This is without the thumbnail involved. Using other demos then undeploying does not cause this same error.
        Hide
        Steve Maryka added a comment -

        Testing with QA's camera test app, shows the empty thumbnail as Cruz reported. The response URL from bridgeit is correct, and contains the thumbnail.

        09-15 12:23:43.050: D/SxCore(19118): Returning to browser with: http://192.168.138.38:8080/camera/cameraWithThumbnail.jsf#icemobilesx_JTI2JTIxdiUzRDEuMC40LVAzJTI2JTIxcyUzRGRvbmUlMjYlMjFzZCUzRG9rJTI2JTIxciUzRGhhbmRsZWQlMkJieSUyQkF1eFVwbG9hZFJlc291cmNlSGFuZGxlciUyNiUyMWglM0QlMjUyNmMlMjUzRGNhbGxiYWNrZm9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9WT1NWdVZxem0ya3JmRTREUGVMY1RoOFhPVThhcVA3eW5LbzFMVnh1cHhwcWtsNzBVcFFldlByYUtidkolMjUyRmV2dzQlMjUyQkdtbDZIcEZqRzlqYjJsbmF3UiUyNTJCVkNFQ3RPeWtzSnBrSUoybFR5WkdXVEs3bUFLaVN2NUYlMjUyRndEZ3FUOGV0SyUyNTJGYUslMjUyRmJMOFkzJTI1MkZBSVIxblRkYzhBJTI1MkZEWFM5TCUyNTJCR0hoRFZORmh2Qlo2blphQ2IzVXZFMTBrc2tqdzZxemVPTlo4U1dWcHExaEdOUDFQdzlaNlJkNmUxMVpDTFViajlKUCUyNTJCQ3R2JTI1MkZCVjd3YjhMJTI1MkZndCUyNTJGd3BYOW1YNHBlSGZFWHhKJTI1MkJKbWx6cjRrOGFlQTlhc1BFTnA0QjhBVGZickc4ZzAlMjUyRnhQcE9vejZacCUyNTJGamZ4VFBFMm0ySzJrbDFybmh6UWsxVFdqRm9tczZoNEU4UU4lMjUyRkpMOFZ2anYlMjUyRndBSTBzJTI1MkZncndaZnh0cnNNZjhBeFVXdnhGSGkwSlpKWkkyMGl4YVVmWnA5WGxsUUpxRnpza1hSaEhMWm9rM2lBRnJYODF6JTI1MkZBQmxmTXNROHVvVkkxYW

        Show
        Steve Maryka added a comment - Testing with QA's camera test app, shows the empty thumbnail as Cruz reported. The response URL from bridgeit is correct, and contains the thumbnail. 09-15 12:23:43.050: D/SxCore(19118): Returning to browser with: http://192.168.138.38:8080/camera/cameraWithThumbnail.jsf#icemobilesx_JTI2JTIxdiUzRDEuMC40LVAzJTI2JTIxcyUzRGRvbmUlMjYlMjFzZCUzRG9rJTI2JTIxciUzRGhhbmRsZWQlMkJieSUyQkF1eFVwbG9hZFJlc291cmNlSGFuZGxlciUyNiUyMWglM0QlMjUyNmMlMjUzRGNhbGxiYWNrZm9ybSUyNTI1M0FjYW1lcmElMjUyNnNlcSUyNTNEMTQxMDgwOTAwMDQ0NiUyNiUyMWMlM0RjMmRtJTI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jUyRmV2dzQlMjUyQkdtbDZIcEZqRzlqYjJsbmF3UiUyNTJCVkNFQ3RPeWtzSnBrSUoybFR5WkdXVEs3bUFLaVN2NUYlMjUyRndEZ3FUOGV0SyUyNTJGYUslMjUyRmJMOFkzJTI1MkZBSVIxblRkYzhBJTI1MkZEWFM5TCUyNTJCR0hoRFZORmh2Qlo2blphQ2IzVXZFMTBrc2tqdzZxemVPTlo4U1dWcHExaEdOUDFQdzlaNlJkNmUxMVpDTFViajlKUCUyNTJCQ3R2JTI1MkZCVjd3YjhMJTI1MkZndCUyNTJGd3BYOW1YNHBlSGZFWHhKJTI1MkJKbWx6cjRrOGFlQTlhc1BFTnA0QjhBVGZickc4ZzAlMjUyRnhQcE9vejZacCUyNTJGamZ4VFBFMm0ySzJrbDFybmh6UWsxVFdqRm9tczZoNEU4UU4lMjUyRkpMOFZ2anYlMjUyRndBSTBzJTI1MkZncndaZnh0cnNNZjhBeFVXdnhGSGkwSlpKWkkyMGl4YVVmWnA5WGxsUUpxRnpza1hSaEhMWm9rM2lBRnJYODF6JTI1MkZBQmxmTXNROHVvVkkxYW
        Hide
        Ken Fyten added a comment -

        Note that it appears that mobi:fetchContact showcase demo is also failing the first time it is invoked via a similar or possibly identical issue.

        Show
        Ken Fyten added a comment - Note that it appears that mobi:fetchContact showcase demo is also failing the first time it is invoked via a similar or possibly identical issue.
        Hide
        Mircea Toma added a comment -

        Modified CameraRenderer to delay the execution of the callback that updates the thumbnail until after the thumbnail markup is updated.

        Show
        Mircea Toma added a comment - Modified CameraRenderer to delay the execution of the callback that updates the thumbnail until after the thumbnail markup is updated.
        Hide
        Ken Fyten added a comment -

        Assign to Judy to confirm.

        Show
        Ken Fyten added a comment - Assign to Judy to confirm.
        Hide
        Ken Fyten added a comment -

        Re-open to apply this workaround to the camcorder renderer also.

        Show
        Ken Fyten added a comment - Re-open to apply this workaround to the camcorder renderer also.
        Hide
        Judy Guglielmin added a comment -

        QA for camcorder in thumbnail qa app r 39694
        camcorder timeout on callback rev 43051
        showcase updated to use thumbnail on camera and camcorder example r.43053

        Show
        Judy Guglielmin added a comment - QA for camcorder in thumbnail qa app r 39694 camcorder timeout on callback rev 43051 showcase updated to use thumbnail on camera and camcorder example r.43053
        Hide
        Liana Munroe added a comment -

        Tested with ICEfaces 4 trunk r43054. QA test applications run as expected. Showcase thumbnails are not functioning in the camera or camcorder demo unless the page is refreshed. At that time the thumbnail is displayed.

        Show
        Liana Munroe added a comment - Tested with ICEfaces 4 trunk r43054. QA test applications run as expected. Showcase thumbnails are not functioning in the camera or camcorder demo unless the page is refreshed. At that time the thumbnail is displayed.
        Hide
        Judy Guglielmin added a comment - - edited

        I noticed that the thumbnail was not being rendered as the ClientDescriptor (on first render) did not recognize bridgeIt was present when it was not loaded already in the head for the first request of the page . Not a problem in the QA app, so strange-just a problem in showcase. Commented out the check for icemobileSX or container, and made renderThumbnail true all the time and although it renders the required markup, it still would not render the thumbnail until a GET was performed (similar to FetchContact). Once a GET is performed (page reload), then thumbnail works every time (as does fetchContact).

        Show
        Judy Guglielmin added a comment - - edited I noticed that the thumbnail was not being rendered as the ClientDescriptor (on first render) did not recognize bridgeIt was present when it was not loaded already in the head for the first request of the page . Not a problem in the QA app, so strange-just a problem in showcase. Commented out the check for icemobileSX or container, and made renderThumbnail true all the time and although it renders the required markup, it still would not render the thumbnail until a GET was performed (similar to FetchContact). Once a GET is performed (page reload), then thumbnail works every time (as does fetchContact).

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: