wxStaticText on Xfce, Debian 9

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
hansbear
In need of some credit
In need of some credit
Posts: 1
Joined: Mon Jan 21, 2019 7:08 pm

wxStaticText on Xfce, Debian 9

Post by hansbear » Mon Jan 21, 2019 7:28 pm

Hi everybody,

I have updated my Debian 8 with Xfce to Debian 9. After that a lot of static textfields in my application aren't displayed correctly or some parts are cutted of.

For example in Debian 8 you see here the correct view:
Bildschirmfoto - 21.01.2019 - 16-31-34.png
Bildschirmfoto - 21.01.2019 - 16-31-34.png (39.69 KiB) Viewed 91 times
After the update it looks like this:
Bildschirmfoto_2019-01-21_16-30-38.png
Bildschirmfoto_2019-01-21_16-30-38.png (28.86 KiB) Viewed 91 times
Could the reason for this problem be something with the GTK-version?
In Debian 9 I get additional this message in the terminal after running the program:

Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

Thank you for help and best regards,
Benedikt

DavidHart
Site Admin
Site Admin
Posts: 3820
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: wxStaticText on Xfce, Debian 9

Post by DavidHart » Mon Jan 21, 2019 8:54 pm

Hi,
I have updated my Debian 8 with Xfce to Debian 9.
Just in time: debian 10 should be out in a few months ;) .
Could the reason for this problem be something with the GTK-version?
Possibly (especially if it changed from gtk+2 to gtk+3; and I remember the gtk+2 version or theme in jessie was distinctly buggy). But also consider the presumed change in the wxWidgets version, and Xfce and theme and...

Three suggestions:
1) Check the wx samples (that come with the wx source, or in the wx3.0-examples package) to see if they have a similar problem.
2) Try a different DE e.g. gnome, kde.
3) Try to replicate as far as possible the jessie setup i.e. wx version, gtk+ 2 or 3...

Regards,

David

Post Reply