Incidencia #42263

Console message "Gtk-WARNING gadget with negative dimensions"

Abrir Fecha: 2021-05-14 08:25 Última actualización: 2021-05-15 04:08

Informador:
Propietario:
(Ninguno)
Tipo:
Estado:
Open
Componente:
(Ninguno)
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Ninguno
Fichero:
Ninguno

Details

The following error messages appears on the console during a Freeciv S2_6 game:

(freeciv-gtk3.22:67045): Gtk-WARNING **: 01:04:49.580: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node tab owner GtkNotebook)

I saw 4 copies of this message during a test game of about 50(?) turns, lasting 20(?) minutes. 3 occurrences happened near the beginning of the game, and 1 midway through the game. I do not know what game activity provoked them.

Freeciv version: S2_6 branch, commit 9cd08cd4cbe3dc201703e3609d42723f69065cca .
Client: freeciv-gtk3.22, "Freeciv version 2.6.4+ gui-gtk-3.22", on macOS 10.13.6 High Sierra
Game: local server, Civ2Civ3 rules, AI level Normal, Hexagonal tiles, no North-South wrapping, otherwise default settings.

This obviously looks like a GTK3 name. The name "GtkNotebook" occurs 8 times in client/gui-gtk3.22/* in the S2_6 branch source code.

Sorry, this not a well-isolated bug situation. I just want to get a placeholder into the bug list, for future refinement and isolation.

Expected behaviour:

Freeciv code never draws a GTK gadget with negative dimensions. No messages like this are printed to the console during games.

Ticket History (3/4 Histories)

2021-05-14 08:25 Updated by: jdlh
  • New Ticket "Console message "Gtk-WARNING gadget with negative dimensions"" created
2021-05-14 08:29 Updated by: jdlh
  • Details Updated
2021-05-15 03:40 Updated by: alain_bkr
Comentario

I have also this message on Linux (ubuntu 20.04) , with 3.0.beta1

2021-05-15 04:08 Updated by: cazfi
Comentario

For example https://www.hostedredmine.com/issues/853927 is about such an error, and still open.

Attachment File List

No attachments

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Entrar