Unigram icon indicating copy to clipboard operation
Unigram copied to clipboard

MediaEditPopup: Cropper thumbs are out of image range after rotation of screen & image

Open hihain opened this issue 5 years ago • 3 comments

  1. An image (with a different proportion than 1:1) in the MediaEditPopup is in edit mode (crop button clicked) image
  2. Rotate your screen (easy in TabletMode / with a tablet, on desktop change the orientation of your screen)
  3. Rotate the image. => The tumbs of the cropper are outside of the image. image
  4. If I confirm & send the image without adjusting the thumbs to be within the image, Unigram sends a cropped image, although the complete image was within the rectangle with the tumbs (white dots). image

Debugging it, it seems that m_layoutRoot / "LayoutRoot" does not adjust itself to the smaller image size due to the new orientation of the screen.

Is it a weird UWP glitch?

hihain avatar Aug 16 '20 18:08 hihain

I would like to add something to this, that undo and redo isn't set to Ctrl+Z and Ctrl+Y.... it is a universal convention, basically every app follows this, but in Unigram, you have to click the undo button with a mouse everytime.

ze0ss avatar Aug 17 '20 04:08 ze0ss

I would like to add something to this, that undo and redo isn't set to Ctrl+Z and Ctrl+Y.... it is a universal convention, basically every app follows this, but in Unigram, you have to click the undo button with a mouse everytime.

Thank you, but we already have a ticket in the milestone for shortcuts

MarcAnt01 avatar Aug 17 '20 08:08 MarcAnt01

I would like to add something to this, that undo and redo isn't set to Ctrl+Z and Ctrl+Y.... it is a universal convention, basically every app follows this, but in Unigram, you have to click the undo button with a mouse everytime.

Thank you, but we already have a ticket in the milestone for shortcuts

Oh ok...

ze0ss avatar Aug 17 '20 15:08 ze0ss