[Freeciv-Dev] [bug #18243] Client hangs with with gtk+ 2.24.5 (and Ubuntu Oneiric's 2.24.6) and Freeciv theme

2014-08-12 Thread Marko Lindqvist
Update of bug #18243 (project freeciv):

Severity: 5 - Blocker = 3 - Normal 
 Planned Release:   2.4.0 =


___

Reply to this item at:

  http://gna.org/bugs/?18243

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18243] Client hangs with with gtk+ 2.24.5 (and Ubuntu Oneiric's 2.24.6) and Freeciv theme

2012-06-30 Thread Marko Lindqvist
Follow-up Comment #36, bug #18243 (project freeciv):

 For the hard-of-thinking (me), does that imply that you guys
 have seen this issue with the gtk3 client? I was hoping it was
 gtk2-specific.

I think the gtk3-client parts of this discussion happened back when we were
only developing gtk3-client, i.e., when it was still, despite the name,
gtk2-program (and using gtk2 Freeciv theme) I've never seen this bug with real
gtk3 gtk3-client.

___

Reply to this item at:

  http://gna.org/bugs/?18243

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18243] Client hangs with with gtk+ 2.24.5 (and Ubuntu Oneiric's 2.24.6) and Freeciv theme

2012-06-17 Thread Jacob Nevins
Follow-up Comment #35, bug #18243 (project freeciv):

So, where are we with this?

= Perhaps we can ignore it again =

I've checked Ubuntu, and it seems they dropped the troublesome
010_make_bg_changes_queue_repaint.patch from their Gtk2+ packages again --
it's not in their gtk+2.0_2.24.10-0ubuntu6 package, which shipped with Precise
and is also their latest revision.
(Possibly it was re-reverted in LP #889019
https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/889019.)
Also, Ubuntu's Precise and current Freeciv packages no longer contain their
GDK_NATIVE_WINDOWS=1 patch.
So, there's every reason to hope that freeciv-gtk2 builds from source will
work on Ubuntu Precise and later.

The troublesome code isn't in the latest upstream gtk2 either (2.24.10).

So, perhaps we get away with it, with Ubuntu Oneiric being the only distro
where trouble remains (for which a workaround exists).

I think I have built and briefly run both the S2_3 gtk2 and S2_4 gtk3 clients
on Ubuntu Precise, having forgotten all about this issue, and didn't notice
any trouble. So that's encouraging. (But I can't re-test more thoroughly right
now.)

== Remaining confusion ==

However, I'm a bit confused by the last conversation here (even though I was
involved).
There was some hope that patch #2715 would perturb the problem away even in
the presence of the troublesome Gtk code. But that patch only affects the gtk3
client.
But comment #29 et al suggest that patch #2715 didn't help.
For the hard-of-thinking (me), does that imply that you guys have seen this
issue with the gtk3 client? I was hoping it was gtk2-specific.
(I'm a bit surprised if it does happen with gtk3, given that with the Gtk2
client it required the Freeciv theme, and we don't have a theme for
freeciv-gtk3 at all yet -- patch #3095.)

= Thoughts on root cause =

Obviously it would be even better to understand what's going on, rather than
just hoping it goes away.

To summarise some stuff from re-reading this bug:
* Marko found that it only happens with the Freeciv theme.
* He found commenting out bg_pixmap bits of the theme made the issue go away
(comment #29).
* The troublesome Gtk patch is in functions called gdk_window_set_background()
and gdk_window_set_back_pixmap(), which seems very likely to be related to the
bg_pixmap part of theming.

Those observations seem related. Maybe that helps someone get to the root
cause?

(I thought the warning 'Unable to locate theme engine in module_path:
pixmap' might also be a clue. But after digging, I think that's just a
symptom of not having the pixmap engine installed -- package
gtk2-engines-pixbuf on Debian/Ubuntu. In particular, I don't think this engine
is used for bg_pixmap, despite the name -- I think that's part of the core
of Gtk. Inter alia, I've raised Debian bug 677891
http://bugs.debian.org/677891 to make sure the Freeciv package declares a
dependency on this package.)

___

Reply to this item at:

  http://gna.org/bugs/?18243

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18243] Client hangs with with gtk+ 2.24.5 (and Ubuntu Oneiric's 2.24.6) and Freeciv theme

2012-02-19 Thread Jacob Nevins
Follow-up Comment #34, bug #18243 (project freeciv):

User who ran into this in bug #19468 reports these warnings on the console.
Dunno if it's related.

-- 
(freeciv-gtk2:21791): Gtk-WARNING **: Unable to locate theme engine in
module_path: pixmap,
-- 

(See also comment #5.)

___

Reply to this item at:

  http://gna.org/bugs/?18243

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18243] Client hangs with with gtk+ 2.24.5 (and Ubuntu Oneiric's 2.24.6) and Freeciv theme

2011-11-11 Thread Marko Lindqvist

Update of bug #18243 (project freeciv):

 Summary: map window displayed incorrectly with gtk+ 2.24.5
(and Ubuntu Oneiric's 2.24.6) = Client hangs with with gtk+ 2.24.5 (and
Ubuntu Oneiric's 2.24.6) and Freeciv theme

___

Follow-up Comment #33:

 In comment #29, when you say freeciv starts to act funny when
 [...], you mean it shows the symptom(s) of this bug (blank
 mapview, etc)?

Yes, everything was about this bug. Freeciv starts just fine without theme,
this bug is reproduced only when using Freeciv theme.


___

Reply to this item at:

  http://gna.org/bugs/?18243

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev