Re: guayadeque: assert "m_size != wxSize(0, 0)" failed in GetImageCount(): Invalid image list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 15 Aug 2022, Scott Talbert wrote:

On Mon, 15 Aug 2022, Scott Talbert wrote:

On Mon, 15 Aug 2022, Martin Gansser wrote:

Sorry i ment F36/F37.

You didn't answer whether you see the same problem on F38. Have you tried it there?

Never mind - I tried it there and do observe the same problem.

The issue appears to be that guayadeque is creating a wxImageList with its default constructor (wxImageList()), here:
https://github.com/anonbeat/guayadeque/blob/master/src/ui/radios/RadioPanel.cpp#L154

This creates a wxImageList where the images are of width=0, height=0 which is basically useless (hence the assert).

Instead, it should specify a width and height for the wxImageList using this constructor:
https://docs.wxwidgets.org/trunk/classwx_image_list.html#a7c99503e0d851e8d416204325014901a

Either that, or build without Debug enabled and you won't see the asserts.

Scott
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux