Skip to content

Redundant thumbnail loading on screen rotation #7

@apsun

Description

@apsun
info	23:11:27.150118-0800	Keyboard	Loading image untitled folder/test_bmp.bmp using Optional(ImageResizeParams(pointSize=(88.66666666666667, 88.66666666666667), scale=3.0, mode=fill))
info	23:11:29.301033-0800	Keyboard	Loading image untitled folder/test_bmp.bmp using Optional(ImageResizeParams(pointSize=(86.33333333333333, 86.33333333333333), scale=3.0, mode=fill))
info	23:11:29.353497-0800	Keyboard	Loading image untitled folder/test_bmp.bmp using Optional(ImageResizeParams(pointSize=(90.0, 90.0), scale=3.0, mode=fill))

The first one is from the initial load in portrait mode. The second and third are from rotating the phone to landscape.

It's a waste of resources to load these images and then immediately discard them. Would be nice if we could skip the intermediate step and go directly to the target size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions