Anyone looking at this sample? Is it reproduceable on your end?
Announcement
Collapse
No announcement yet.
X
-
Leave this with us for a bit - we're looking at it.
So far we don't have anything conclusive - it appears that on Android native browsers running on tablets, there is a tendency to intermittently fail to recognize touches / not change selection when the user touches the screen. We're using a different Android tablet from you, but the issue is likely the same thing.
We're trying to pin down whether there's a performance issue that looks like a bug here, or a real logic bug here (or whether something else is going on). We'll update this thread and let you know if we need more information (or ideally when we have a solution).
Regards
Isomorphic Software
Comment
-
Run the following testcase on the tablet first in landscape orientation. Once the page is loaded, change the orientation to portrait. You'll notice that the gray bar is now in the middle of the page instead of the bottom.
Is this a bug or should am I missing a property here? I tried adding a listener to orientationChange but reflowing does not work.
Code:isc.setAutoDraw(false); isc.Menu.create({ ID: "menu", autoDraw: false, showShadow: true, shadowDepth: 10, data: [ {title: "New", keyTitle: "Ctrl+N", icon: "/icons/16/document_plain_new.png"}, {title: "Open", keyTitle: "Ctrl+O", icon: "/icons/16/folder_out.png"}, {isSeparator: true}, {title: "Save", keyTitle: "Ctrl+S", icon: "/icons/16/disk_blue.png"}, {title: "Save As", icon: "/icons/16/save_as.png"}, {isSeparator: true}, {title: "Recent Documents", icon: "icons/16/folder_document.png", submenu: [ {title: "data.xml", checked: true}, {title: "Component Guide.doc"}, {title: "SmartClient.doc", checked: true}, {title: "AJAX.doc"} ]}, {isSeparator: true}, {title: "Export as...", icon: "/icons/16/export1.png", submenu: [ {title: "XML"}, {title: "CSV"}, {title: "Plain text"} ]}, {isSeparator: true}, {title: "Print", enabled: false, keyTitle: "Ctrl+P", icon: "icons/16/printer3.png"} ] }); isc.MenuButton.create({ ID: "menuButton", title: "File", width: 100, menu: menu }); isc.VStack.create({ ID:"vLayout", name:"vLayout", vPolicy:"fill", hPolicy:"fill", height:"100%", width:"100%", members:[ isc.VStack.create({ members:[], ID:"content", overflow:"auto", vPolicy:"fill", height:"100%" }), isc.VStack.create({ members:[menuButton], ID:"contentMenu", styleName:"menuBar", vPolicy:"fill", width:"100%" }), isc.Label.create({ title:"<nobr>String <\/nobr>", tabIndex:-1, hoverWidth:0,backgroundColor:"gray", ID:"statusMessage", name:"statusMessage", height:1, wrap:false }) ] }); vLayout.show(); isc.Page.setEvent("orientationChange",function(){ isc.Log.logWarn('orientationChange'); vLayout.reflowNow(); } );
Comment
-
Load the testcase. Click on the date icon without clicking into any of the fields. The keyboard comes up and completely blocks the picker. Hide the keyboard - the picker is now hidden.
Code:isc.VStack.create({ ID:"LoginGrid_vCentering", name:"LoginGrid_vCentering", autoDraw:true, redrawOnResize:true, height:"100%", width:"100%", align:"center", defaultLayoutAlign:"center", members: [isc.DynamicForm.create({ width:240, ID:"LoginGrid", name:"LoginGrid", numCols:2, colWidths:["90","150"], titleOrientation:"left",margin:0, fields: [{title:" ",width:1,height:1,align:"center",showTitle:false,colSpan:"3",_constructor:"CwImageItem",ID:"image1",imageType:"normal", cwSetOverflowVisible:true}, {title:"<nobr>Username <\/nobr>", width:"*", colSpan:"1", align:"center", ID:"userId", name:"userId", length:25, _constructor:"TextItem"}, {title:"<nobr>Password <\/nobr>", width:"*", colSpan:"1", align:"center", ID:"Password", name:"Password", required:true, length:25, _constructor:"PasswordItem" }, {title:"Date Sample", type:"date",useTextField:true} ] })]});
Comment
-
Load the sample zoomed in. Click on the button to show the window. Click on the dropdown menu - works fine. Now zoom out and try to click on the dropdown menu again - the menu shows as focused but the first click fails - sometimes the second and third click fail then the menus are finally shown.
Code:isc.setAutoDraw(false); isc.Menu.create({ ID: "menu", autoDraw: false, showShadow: true, shadowDepth: 10, data: [ {title: "New", keyTitle: "Ctrl+N", icon: "/icons/16/document_plain_new.png"}, {title: "Open", keyTitle: "Ctrl+O", icon: "/icons/16/folder_out.png"} ] }); isc.MenuButton.create({ ID: "menuButton", title: "File", width: 100,showMenuBelow:false, menu: menu }); isc.VStack.create({ ID:"vLayout", name:"vLayout", vPolicy:"fill", hPolicy:"fill", height:"100%", width:"100%", members:[ isc.VStack.create({ members:[], ID:"content", overflow:"auto", vPolicy:"fill", height:"100%" }), isc.VStack.create({ members:[], ID:"contentMenu", styleName:"menuBar", vPolicy:"fill", width:"100%" }), isc.Label.create({ title:"<nobr>String <\/nobr>", tabIndex:-1, hoverWidth:0,backgroundColor:"gray", ID:"statusMessage", name:"statusMessage", height:1, wrap:false }) ] }); isc.IButton.create({ title: "Show Window", top: 35, left: 75,autoDraw:true, click : function () { modalWindow.show(); } }); isc.VStack.create({ ID:"vLayoutDialog", name:"vLayoutDialog", vPolicy:"fill", hPolicy:"fill", height:"100%", width:"100%", members:[ isc.VStack.create({ members:[vLayout], ID:"contentDialog", overflow:"visible", vPolicy:"fill", height:300 }), isc.VStack.create({ members:[menuButton], ID:"contentMenuDialog", styleName:"menuBar", vPolicy:"fill", width:"500" }), isc.Label.create({ title:"<nobr>String <\/nobr>", tabIndex:-1, hoverWidth:0,backgroundColor:"gray", ID:"statusMessageDialog", name:"statusMessage", height:1, wrap:false }) ] }); isc.Window.create({ ID: "modalWindow", title: "Modal Window",width:500,height:400, autoCenter: true, isModal: true, showModalMask: true, autoDraw: false, closeClick : function () { this.Super("closeClick", arguments)}, items: [vLayoutDialog ] });
Comment
-
I am not 100% sure if this is a problem or intended behavior - if you run any sample screen with the upload item (isomorphic/system/reference/SmartClient_Explorer.html#batchUpload)
click on the text to choose files - a popup will come up asking how to choose the file - but it only gives me image file options. (Camera, Camcorder, Sound recorder, Gallery)
Comment
-
Could you point me to that code? I don't see it.
Code:isc.BatchUploader.create({ ID:"uploader", height: 400, uploadDataSource: supplyItemHB, // BatchUploader supports extra fields, which are uploaded along with the file // data and can be accessed from the HttpSession on the server side; here we // define some fields to be used in this way uploadFormFields: [ { name: "stringValue", title: "String Value", type: "text" }, { name: "numericValue", title: "Numeric Value", type: "number" } ], // We have limited vertical screen space when running in the Feature Explorer, // so we force the embedded grid to be quite short in an attempt to avoid // the need for page scrolling gridProperties: { height: 200 } }); isc.VStack.create({ left:20, width:"70%", membersMargin:20, members:[ isc.Label.create({ ID:"helpText", contents: "<ul>" + "<li>Download the example <code>supplyItemTest.csv</code> file <a href=" + isc.Page.getURL("[ISOMORPHIC]/system/reference") + "/inlineExamples/serverExamples/other/batchUpload/supplyItemTest.csv>here</a>" + "<li>Click the 'Browse' button and use the file picker to select the " + "<code>supplyItemTest.csv</code> file that you just downloaded.</li>" + "<li>The BatchUploader will upload and validate the contents of that CSV file against the " + "DataSource declared on the BatchUploader, which in this case is supplyItemHB.</li>" + "<li>Validated data will then be streamed back down to the client and displayed in an " + "editable ListGrid, so you can review and correct errors.</li>" + "<li>Click 'Commit' to save the data back to the DataSource's persistent store (in this " + "case, a database table accessed via Hibernate).</li>" + "<li>This end-to-end functionality is encapsulated by the BatchUploader, and requires " + "no application code.</li></ul>" }), uploader ] });
Comment
Comment