Completed
Last Updated: 23 Feb 2024 13:43 by ADMIN

Bug report

Zooming in on a large image loaded in the ImageEditor results in poor performance.

Reproduction of the problem

A sample application is available in ticket 1595292. Run the application and zoom in on the top ImageEditor.

Current behavior

Zooming in takes too much time.

Expected/desired behavior

Zooming should be faster.

Workaround

Issue is possibly related to the check on whether an image is exportable - link. A possible workaround is to bypass the check:

      kendo.ui.ImageEditor.fn._toggleTools = function () {
            var that = this,
                canRedo = that.redoStack.length > 0,
                canUndo = that.undoStack.length > 0,
                hasImage = !!that._image;

            that.toolbar.toggleTools({
                redo: canRedo,
                undo: canUndo,
                enable: hasImage,
                canExport: true, // Avoid checking if image can be exported. Causes performance issues.
            });
        };

Example

Environment

  • Kendo UI version: 2023.1.117
  • Browser: [all]
Unplanned
Last Updated: 21 Jun 2021 08:40 by ADMIN

Bug report

When cropping an image in the ImageEditor, if the "Lock aspect ratio" checkbox is unchecked, the change in the "Aspect Ratio" DropDownList doesn't change the crop area.

Reproduction of the problem

  1. Open this Dojo example.
  2. Load an image in the ImageEditor
  3. Click on the Crop button
  4. Uncheck the "Lock aspect ratio" checkbox from the menu on right
  5. Open the "Aspect Ratio" DropDownList and select a random value

Current behavior

The crop area above the loaded image doesn't change

Expected/desired behavior

The crop area should change based on the selected ratio, no matter if the "Lock aspect ratio" checkbox is checked or not

TicketID:

1523281

Environment

  • Kendo UI version: 2021.2.511
  • jQuery version: x.y
  • Browser: [all]
Unplanned
Last Updated: 22 Mar 2021 14:43 by ADMIN
Created by: Lorenzo
Comments: 1
Category: ImageEditor
Type: Bug Report
0

To reproduce the problem open the ImageEditor demo page (https://demos.telerik.com/kendo-ui/imageeditor/index)

then select the "crop" command and position the crop area in the middle of the picture, near the right border

then select the bottom-middle handle and pull down.

The crop area goes out of image, see the attached screenshot.

 

Thanks