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

PNG codec error and image zooming/moving trouble #553

Open
ucrainis opened this issue May 15, 2024 · 11 comments
Open

PNG codec error and image zooming/moving trouble #553

ucrainis opened this issue May 15, 2024 · 11 comments

Comments

@ucrainis
Copy link

Describe the bug. What happened?

Good day,

after updating to 4.4.0 version of the app occured several errors and I cannot work any more: can't load PNG format images - I get every time error saying that app cannot read this image (attached screenshot).
And another one - loading any other image (JPG, BMP etc) I cannot scroll image - it got stucked in the corner (attached second screenshot) without possibility to pan (move on it) image, zoom it in or out and to look resized to best fit version of the image.
1
2

What version of Weasis are you running?

4.4.0

On which system the problem occurs?

Windows

Relevant log output

No response

Additional contextual elements

No response

@nroduit
Copy link
Owner

nroduit commented May 16, 2024

I can't reproduce the 2 problems mentioned. Please provide logs and/or sample images.

@ucrainis
Copy link
Author

I can't reproduce the 2 problems mentioned. Please provide logs and/or sample images.

I looked into the logging folder, but I saw that the last logs were before update - since then all those times I opened app and tryed to do something - nothing new adds there. The problem is the same on two different PCs: Windows 7 and Windows 10. If it helps - I can do a video as I try to do the same things mentioned.

@ucrainis
Copy link
Author

ucrainis commented May 16, 2024

I can't reproduce the 2 problems mentioned. Please provide logs and/or sample images.

I checked preferences: logging was turned off with new update. So I share the log-file after trying to do these things and quitting app.
default.log

@nroduit
Copy link
Owner

nroduit commented May 17, 2024

The problem lies in the OpenCV library, with an unexpected error.

Without an example to reproduce the problem, I don't see how I can help.

@ucrainis
Copy link
Author

The problem lies in the OpenCV library, with an unexpected error.

Without an example to reproduce the problem, I don't see how I can help.

Without an example - you mean I need to provide video of what I am doing or something else?

@nroduit
Copy link
Owner

nroduit commented May 17, 2024

I need a test case where the problem can be reproduced. Please send me an image that cannot be read.

@ucrainis
Copy link
Author

I need a test case where the problem can be reproduced. Please send me an image that cannot be read.

Yep, I send the .png file, that gives error with codec.
About the second problem - it has to do simply with every other file that app reads.
pan

@ucrainis
Copy link
Author

Now I downgraded to 4.3.0 and everything works fine.

@nroduit
Copy link
Owner

nroduit commented May 20, 2024

I've tested it on several Windows 10 and 11 systems and I can't reproduce the error.

Do you have recent or specific versions of Windows?

See this post even though normally with recent compile mode Visual C++ redistributable should not be necessary.

@ucrainis
Copy link
Author

ucrainis commented May 20, 2024

I've tested it on several Windows 10 and 11 systems and I can't reproduce the error.

Do you have recent or specific versions of Windows?

See this post even though normally with recent compile mode Visual C++ redistributable should not be necessary.

I have PCs with Windows 7 Professional and Windows 10 Home with all actual upgrades. But the bug is version-dependent, not Windows-dependent - 4.3.0 works well on both machines. I do have Visual C++ installed on my computers.

So, I tryed installing again 4.4.0 (previously installed Visual C++ redistributable 2015 and Universal C Runtime) - nothing has changed at all: both bugs still appear. Then I downgraded again to 4.3.0 - the app works fine again. I guess I just stay on 4.3.0 release.

@nroduit
Copy link
Owner

nroduit commented May 23, 2024

I haven't found any other users with this problem.
As the problem is in a third-party library, there are no error messages and no procedure to reproduce the problem, I'm not going to investigate further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants