Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Two issues observed on SmartClient_v83p_2014-10-23_PowerEdition

    Hi,

    We observe two issues from the following standalone. We are using SmartClient v8.3p_2014-10-23 build in IE9.

    Issue1: There's a misalignment in the "Ship from" SelectItem. It works fine in earlier build (SmartClient v8.3p_2014-01-24 and SmartClient v9.1p_2014-04-08). Introducing the html5 doctype will resolve this misalignment issue but for some previous complex reasons we are not able to apply it to IE9.

    Issue2: Right double click the "Ship to" or "Ship from" field before putting the focus to it.It seems the first right click doesn't put focus on the clicked field so "this.getFocusItem()" in the rightMouseDown event returns null. Therefore, we cannot copy the value of the clicked field to the system clipboard. This behavior works fine on SmartClient v9.1p_2014-09-16 build.

    Thanks!
    Robin

    Code:
    isc.DynamicForm.create({
        width: 500,
    	showEdges: true,
    	showContextMenu: function() {return false;},
    	rightMouseDown: function() {
    		if(isc.EventHandler.isDoubleClick() && window.clipboardData) {
    			if (this.getFocusItem()!= null && this.getFocusItem().getValue() != null) {
    				window.clipboardData.setData("Text", this.getFocusItem().getValue());
    				pasteField.setValue(window.clipboardData.getData("Text"));
    			}
    		}},
        fields: [
    	{allowEmptyValue: true, title: "Ship to", type: "ComboBoxItem", valueMap: ["A","B"], defaultValue: "B"},
    	{allowEmptyValue: true, title: "Ship from", type:"select", valueMap:["A","B"], defaultValue: "A"},
        {title: "Paste", ID: "pasteField", disabled: true}
        ]
    });

    #2
    Just to clarify: Are you doing new development against the 8.3 branch?
    Our current release in 10.0, so 8.3 is two iterations behind (and its original release predates certain modern browser features, etc).
    If you're doing new development, we would definitely recommend you upgrade.

    If this is not an option for you - for example, if you are hitting these problems on an existing deployment running against 8.3, and upgrading is not an option, let us know. However before we jump in, we'd like to confirm that this really is the case.

    Thanks
    Isomorphic Software

    Comment


      #3
      Thanks for the quick response!

      We are having a design maintenance branch which is using 8.3p. In this branch we usually don't do new development and just maintain the current product. Issues like issue 1 are the most common cases we met in this branch: we found some UI issues in the product and we do minor upgrade to the latest 8.3p build to solve the issue and then we found there's something else changes due to this minor upgrade. (In the past two months we upgraded from 2014-01-24 build to 2014-09-16 build to solve some issue, and then upgraded to 2014-10-18 build to solve another issue in 2014-09-16 build).

      Issues like issue 2 is not a common case and it rarely happens. In this case, our client is asking if some function can be achieved in the maintenance branch as they are not able to upgrade to our latest branch. In this case, we report the issue to evaluate if it is can be achieved in current 8.3p branch.

      As it is a design maintenance branch, we are not able to upgrade to the latest SmartClient release since it needs lots of effort.

      Thanks,
      Robin

      Comment


        #4
        Alright. Thanks for the clarifications. We'll take a look and let you know what we find.

        Regards
        Isomorphic Software

        Comment


          #5
          Any update on issue one is appreciated! We are stuck at this issue for delivering a new build to our client.

          Thanks!

          Comment


            #6
            Sorry for the delay.
            Fundamentally the problem here is that we don't support IE9 + Quirks mode,
            As far as the "previous complex reasons" for not enabling strict mode in IE9, if these result from framework bugs, we would of course fix these for supported IE9 Strict mode.

            The SelectItem misalignment is a known issue (see this thread for example).

            On the Right Click issue - EventHandler.isDoubleClick() is not a publicly visible API, so is unsupported / we don't guarantee its behavior.
            You could write your own right-double-click detection via a timer set up on the first right-mouse down which detects a second one within the specified time period.
            However, IE9 in Quirks mode imposes a delay between firing mouse events, so this approach may not be reliable (you may see users having to triple click to get the behavior you want).

            Shifting to the HTML5 doctype fixes that timing issue.

            Alternatively, you may want to consider another UI, such as a copy-to-clipboard valueIcon?

            In short - our official stance is that you basically need to switch to the supported doctype.

            Regards
            Isomorphic Software

            Comment

            Working...
            X