feedback-assistant / reports

Open collection of Apple Feedback Assistant reports
237 stars 2 forks source link

FB8947153: NSImageView doesn't fully support the gif image animation looping values #187

Open 0bmay opened 3 years ago

0bmay commented 3 years ago

Details

What version of Xcode are you using? Xcode 12.2

Description

Please describe the issue: If a gif animation is loaded into an NSImageView with animates set to true; the animation doesn't follow the Netscape Application Block values that Safari renders perfectly.

The only correct value is when an animation is supposed to loop forever.

When an image is set to not loop at all, the animation is looped forever.

When an image is set to repeat X times, the animation repeats X-1 times. Please list the steps you took to reproduce the issue: load images of different looping values into an NSImageView and animate. What did you expect to happen? NSImageView should respect the values in the gif animation What actually happened? The only correct value is when an animation is supposed to loop forever.

When an image is set to not loop at all, the animation is looped forever.

When an image is set to repeat X times, the animation repeats X-1 times.

0bmay commented 3 years ago

Sent in a sample project to show the issue.

macOS 11.2 or Xcode 12.3+ may have fixed the issue with NSImageView in Xcode as the sample project loads the animations correctly (each image repeats the correct number of files for none, once, thrice and forever) in Xcode 12.3 and 12.4 but Quick Look still fails.