[Freeciv-Dev] [bug #20534] Worklist glitch: unit icons bleed past their boundaries

2013-04-01 Thread Jacob Nevins
Follow-up Comment #3, bug #20534 (project freeciv):

 My guess would be you're hitting following documented case: 
 When the destination rectangle contains parts not in the 
 source image, the data at the edges of the source image is 
 replicated to infinity.
(documented for instance here
https://developer.gnome.org/gdk-pixbuf/2.22/gdk-pixbuf-scaling.html#gdk-pixbuf-composite)

Thanks, yes, that's almost certainly it. So the trick is to avoid doing that.

___

Reply to this item at:

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

___
  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 #20534] Worklist glitch: unit icons bleed past their boundaries

2013-02-27 Thread RafałMużyło
Follow-up Comment #2, bug #20534 (project freeciv):

Going deeper into the code, it could hint to a problem with
gdk_pixbuf_composite in canvas_put_sprite, but hard to tell without more
testing.

My guess would be you're hitting following documented case:

When the destination rectangle contains parts not in the source image, the
data at the edges of the source image is replicated to infinity.
Unless there an off-by-one somewhere in that gdk-pixbuf code.

___

Reply to this item at:

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

___
  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 #20534] Worklist glitch: unit icons bleed past their boundaries

2013-02-19 Thread Jacob Nevins
URL:
  http://gna.org/bugs/?20534

 Summary: Worklist glitch: unit icons bleed past their
boundaries
 Project: Freeciv
Submitted by: jtn
Submitted on: Tue Feb 19 22:47:35 2013
Category: client-gtk-2.0
Severity: 2 - Minor
Priority: 3 - Low
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: GNU/Linux
 Planned Release: 

___

Details:

This is very cosmetic, but it's been bothering me for years.

In the worklist, unit icons which have pixels set at their vertical edges have
those pixel columns bled out into bands horizontally.

See attached screenshot of Freight, and also bug #15777's file #8785 for a
previous example.

In Amplio/2 I think unit icons are a little narrower than building/wonder
icons, which force column width; I'm guessing that something is extending the
unit icon to match the containing cell in a sub-optimal way. Really we just
want whitespace padding.

Dunno if this is specific to OS (Ubuntu 10.04.4), window environment (GNOME,
Compiz), theme (Freeciv for client, Ambiance for desktop), ... It's been with
me with the gtk2 client for at least three years, probably longer.



___

File Attachments:


---
Date: Tue Feb 19 22:47:35 2013  Name: worklist_glitch_freight.png  Size: 10kB 
 By: jtn
Glitch in city worklist, trunk r22387
http://gna.org/bugs/download.php?file_id=17267

___

Reply to this item at:

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

___
  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 #20534] Worklist glitch: unit icons bleed past their boundaries

2013-02-19 Thread Jacob Nevins
Follow-up Comment #1, bug #20534 (project freeciv):

(FWIW, my previous notes on the issue in their entirety:
client/gui-gtk-2.0/wldlg.c:cell_render_func(). Make of that what you will.)

___

Reply to this item at:

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

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


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