Open AgentOak opened 2 years ago
Would require design input as we might want to display the zoom level of the image and change the logic that we use when zooming/unzooming.
So what did design say? ...
I assure you design input is not necessary, the current behavior is simply broken:
Clicking on a picture enlarges it to almost-but-not-exactly 100%, leaving text blurry. Clicking on the "+" (zoom in) button enlarges the picture, to 100%.
This seems to be an obviously unintended inconsistency, i.e. bug, not a design decision.
Also confirm for Element 1.10.6
Steps to reproduce
I'm using this image for testing: (from here)
Outcome
What did you expect?
Shows the picture unscaled, i.e. pixel-perfect mapping from image pixels to device pixels.
This is what the image looks like unscaled, when the element window is big enough to fit it (may need to open in a new tab to see unscaled):
What happened instead?
The picture got bigger but is still scaled as is evident from the blurry text.
Interestingly this only affects zooming via mouse click. If you close and open the image viewer again, and this time use the "Zoom in" button at the top a couple of times, eventually the image will be unscaled.
Operating system
Windows 10
Application version
Element version: 1.9.8 Olm version: 3.2.8
How did you install the app?
https://element.io/get-started#download
Homeserver
No response
Will you send logs?
No