nomacs / nomacs

nomacs is a free image viewer for windows, linux, and mac systems.
https://nomacs.org/
GNU General Public License v3.0
1.95k stars 151 forks source link

Screen flashes during exit from full screen mode #668

Open Polymorn opened 3 years ago

Polymorn commented 3 years ago

Describe the bug An error occurs in application frame while user turning off full screen mode. Flickering effect occurs for a split second.

To Reproduce Steps to reproduce the behavior:

  1. Open any image
  2. Press F11 to turn on Full Screen mode
  3. Press F11 again to turn off Full Screen mode
  4. Do step 2 and 3 until you see the error. This effect appears in about a third of all cases.

Expected behavior Smooth transition from full screen mode to standard view without glitches and flashes.

Screenshots The effect lasts for a split second. Attempts to capture it were unsuccessful.

Desktop:

Additional context I think that this effect appears due to the wrong offset of the application frames while application is returning to standard view.

scrubbbbs commented 2 months ago

This is quite apparent if the normal window is maximized. When leaving fullscreen, the window goes to normal state then animates to maximized state (3.17 also affected).