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

Unable to preview PNG image files (workaround) #2

Open
Giova84 opened this issue Oct 29, 2014 · 4 comments
Open

Unable to preview PNG image files (workaround) #2

Giova84 opened this issue Oct 29, 2014 · 4 comments
Assignees

Comments

@Giova84
Copy link

Giova84 commented Oct 29, 2014

I successfully built SIR 2.7.3 on Haiku, (thanks to my previous ticket, the issue about the window of the app was solved).
But when i insert any PNG image file inside SIR, and I select that file in the list inside SIR, the app will crash (i cannot also see t he preview of PNG files).
I've tried to build SIR using libpng 1.5.12 and libpng 1.6.14, but this issue was still here: if i click on any PNG file inside SIR, SIR will crash, no difference if the png file will contain alpha channel or not.
I have found a workaround to prevent this crash and then to be able to see the preview of PNG files: I opened the SIR.conf file and changed the string

[Metadata]
enabled=true

to
[Metadata]
enabled=false

But in that way i cannot work on metadata of JPG files; i have to enable again metadata support.

@Giova84
Copy link
Author

Giova84 commented Oct 29, 2014

No issues using SIR 2.3

@marek629 marek629 self-assigned this Nov 1, 2014
@marek629
Copy link
Owner

marek629 commented Nov 1, 2014

This is metadata support in SIR, I think.

I can't reproduce the issue on Linux. Can you send me more information?
Can you run application in debugger?

@Giova84
Copy link
Author

Giova84 commented Nov 13, 2014

Hi, I'm sorry for the delay.

Well, if i attempt to run SIR using GDB from a Terminal window.. I still obtaion the error about "Qt::WA_OutsideWSRange" (and SIR is not sisplayed).

In anyway (and I hope that could be useful), I saved a debug report using the Haiku Debugger, this is the output when SIR crashs: http://pastebin.com/dw7F6rFc

@marek629
Copy link
Owner

Very strange... I have no idea what's wrong.
May be Qt port for Haiku have some issues... (?)

However, I will do some refactor of the SIR source code and find the bug, I hope.

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