kanryu / quickviewer

A image/comic viewer application for Windows, Mac and Linux, it can show images very fast
https://kanryu.github.io/quickviewer/
GNU General Public License v3.0
536 stars 63 forks source link

litle bug on mac: switch from/to fullscreen #85

Open pazos opened 6 years ago

pazos commented 6 years ago

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.

kanryu commented 6 years ago

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:

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