Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] GIFs are slow (laggy) #126

Open
Tracked by #136
QueenUlyana opened this issue Jun 28, 2023 · 8 comments
Open
Tracked by #136

[BUG] GIFs are slow (laggy) #126

QueenUlyana opened this issue Jun 28, 2023 · 8 comments
Assignees
Labels
🐞 bug Something isn't working

Comments

@QueenUlyana
Copy link

Describe the bug
The .gif files are slow when playing them. This is very noticeable, I compared with other photo viewers.

Info:

  • App version: 3.1.4
  • OS: Windows 10 LTSC 21H2 19044.2486

To Reproduce
Run the .gif (in my case the weight of the .gif is 6MB).

Expected behavior
My expectation is that .gif files should play smoothly NOT depending on their size as in other programs.

@QueenUlyana QueenUlyana added the 🐞 bug Something isn't working label Jun 28, 2023
@QueenUlyana
Copy link
Author

@Beelink

@Beelink
Copy link
Member

Beelink commented Jun 28, 2023

send this gif pls

@Beelink Beelink self-assigned this Jun 28, 2023
@QueenUlyana
Copy link
Author

send this gif pls

7944616

I also wanted to know why the zoom I set won't save? I set it to 100%, but it changes to auto every time.

@QueenUlyana
Copy link
Author

In general, I would like to know how to make all the images and .gif to open were the original size if possible for my screen. Because I noticed that Quick Picture Viewer increases the size of images, that is, stretches them, although the original size image less. It's stressing me out, I constantly have to put 100% on zoom.

@QueenUlyana
Copy link
Author

In ImageGlass, for example, there is no problem with this.

@adriengivry
Copy link
Contributor

I looked into this one, and it seems like the version of .NET used by this project is the issue (WinForms with .NET 4.6).

  • Managed to reproduce the issue with .NET 4.7.
  • Issue fixed with .NET 8.0 LTS.

I tried migrating the project to .NET 8.0, but QuickLibrary and SimplePsd aren't compatible with .NET 8.0 at the moment. I could look into upgrading QuickLibrary, but I'll need to measure side effects on other libs:

The update to .NET 8.0 could tremendously benefit these apps, performance-wise it's a no brainer.

@Beelink what do you think?

@Beelink
Copy link
Member

Beelink commented Dec 14, 2023

@adriengivry All libs you mentioned are using the local dll for the QuickLibrary (example) so I think it's okay to update QPV and QuickLibrary to .NET 8.0 LTS but I don't know how it should be done in the right way.

@adriengivry Could you help me with that?

@adriengivry
Copy link
Contributor

@Beelink You need to use Visual Studio Upgrade Assistant (right click on a c# project --> upgrade). There is a bug sometimes you might need to right click twice 🤷‍♂️

You'll have to remove some deprecated code sections. I've updated it myself to .NET8.0 on my fork (Commit: adriengivry@3a4fdb1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants