quickviewer icon indicating copy to clipboard operation
quickviewer copied to clipboard

litle bug on mac: switch from/to fullscreen

Open pazos opened this issue 6 years ago • 1 comments

Can't reproduce it with fast bilinear interpolation (the default one). If I choose another shader and go to/from fullscreen the image displayed get some artifacts. Sometimes those artifacts last a few ms, sometimes a couple of seconds, and sometimes until you switch to next/previous image.

Artifacts seems related to the animation that macOS is doing when creating a new desktop for a fullscreen application.

Since I have no idea about really fixing that I would suggest a poor fix: on mac, when the user request switch to/from fullscreen, switch to default shader, wait a second, and restore the shader back.

This is just a cosmetic issue and I'm sure most of users can live with it.

pazos avatar Jul 25 '18 22:07 pazos

Thank you for reporting the problem.

Contrary to the name, the current QuickViewer does not use the 'Shader' program. The default resize drawing for each OS is labeled 'bilinear interpolation', and other interpolation is realized by CPU processing implemented in QuickViewer itself.

There are 3 possible causes for the problem of this problem:

  • the performance of OS X resize drawing (about image quality)
  • QuickViewer could not pick up the event and the image could not be displayed to the proper size because there was a problem with resizing the application window
  • Due to Retina's different physical size and logical size of the application window, the size to display the image is incorrect

At least Mac Book Pro (Retina) borrowed from a friend was able to display correctly.

kanryu avatar Jul 26 '18 00:07 kanryu