#3117: d.mon wx0: GtK issues
-------------------------+---------------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.2.0
Component: wxGUI | Version: svn-releasebranch72
Keywords: wx0, d.mon | CPU: Unspecified
Platform: Unspecified |
-------------------------+---------------------------------
I get a lot of warnings after having updated my laptop to Fedora 24:
{{{
d.mon wx0
# startup: tons of these warnings
(main.py:6274): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion
'size >= 0' failed in GtkCheckButton
...
# window resize: tons of these warnings
(main.py:6274): Gtk-WARNING **: Allocating size to wxPizza 0x558b2ed9d9a0
without calling gtk_widget_get_preferred_width/height(). How does the code
know the size to allocate?
}}}
The Fedora wxGTK3 maintainer needs to know how to run GDB on d.mon.
I checked the process table and found that eventually mapdisp/main.py is
run but I am not able to bring it up myself:
--- Comment #5 from Scott Talbert ---
(In reply to markusN from comment #0)
> At startup of a wx window (graphical output): tons of these warnings
appear:
>
> (main.py:6274): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion
'size
> >= 0' failed in GtkCheckButton
This error can be avoided by making the window wider, e.g.:
d.mon wx0 width=700
It is complaining that there isn't enough space for the checkbox.
I'm not sure yet about the wxPizza errors.
}}}
Looks like an error on our part (and the new wxGTK3 is more picky about
the size)?
Replying to [comment:5 neteler]:
...
> ---------- Forwarded message ----------
> --- Comment from Scott Talbert ---
...
> > (main.py:6274): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion
'size
> > >= 0' failed in GtkCheckButton
>
> This error can be avoided by making the window wider, e.g.:
> d.mon wx0 width=700
>
> It is complaining that there isn't enough space for the checkbox.
I have set the width to 720 pixel in 7.0.svn 7.2.svn and trunk (r69485,
r69486, r69487).
Replying to [comment:6 neteler]:
> Remains the wxPizza error...
In the Fedora tracker I got notified that the new "wxGTK3-3.0.2-29" no
longer shows this "wxPizza" error. I'll make tests as soon as I get that
package.
Replying to [ticket:3117 neteler]:
> I get a lot of warnings after having updated my laptop to Fedora 24:
>
>
> {{{
> d.mon wx0
>
> # startup: tons of these warnings
> (main.py:6274): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion
'size >= 0' failed in GtkCheckButton
> ...
> }}}
Further analysis showed that this is a GTK and not a wxGTK error which
also appears elsewhere.
Replying to [comment:16 veroandreo]:
> Both in Fedora and Ubuntu...
+Debian proper.
The amount of clutter really depends on the the window size. In French
locale, I have to enlargen the Map Display, for example, for the warnings
to disappear. So, it seems that there is some issue with window sizes
apparently calibrated for a specific locale, or for specific screen
geometry.
Using a tiling windows manager makes it even worse for me as windows float
less, but are rather adapted to existing screen real estate.
Replying to [comment:17 mlennert]:
> Replying to [comment:16 veroandreo]:
> > Both in Fedora and Ubuntu...
>
> +Debian proper.
>
> The amount of clutter really depends on the the window size. In French
locale, I have to enlargen the Map Display, for example, for the warnings
to disappear. So, it seems that there is some issue with window sizes
apparently calibrated for a specific locale, or for specific screen
geometry.
>
> Using a tiling windows manager makes it even worse for me as windows
float less, but are rather adapted to existing screen real estate.
This comment should actually have gone to #3348, although I think the two
are pretty much the same so could probably be merged.