[Gambas-user] How do I replace Image transparent background with a white background?

Benoît Minisini gambas at ...1...
Tue Sep 18 11:35:47 CEST 2012


Le 17/09/2012 14:47, RICHARD WALKER a écrit :
> ... With gtk we get some white, some black and random coloured dots,
> perhaps even some recognisable shapes of the image.

This has been fixed in revision #5175. Now copying images to the
clipboard is safe!

>
> Aside from subtle differences in the precise way the FontChooser
> thing adjusts itself when I increase the size of the example text box
> the only display niggle is the arrow buttons on the SpinBox - qt4
> displays them each at half the height of the SpinBox, gtk doesn't.

This is a bug in GTK+ themes that mimic QT4 ones (for example
oxygen-gtk). I can't do anything against that. I will try to send a bug
report to the oxygen-gtk developers. For other themes, I don't know...

>
> I have noted other minor differences, not evidenced in this project,
> and one which is; on program startup ( the screen opens near the
> mouse pointer ), with the task bar and the mouse at the top of the
> screen, the qt4 version will hide the title bar of the window under
> the panel. The gtk version places it correctly just below the panel.

This is an internal QT4/GTK+/LXDE stuff I think. By default, Gambas
tells the window manager that the window top-left corner coordinates are
0,0. Then the window manager does what it wants. Maybe GTK+ internally
check the panels and fix the Gambas coordinates?

Regards,

-- 
Benoît Minisini




More information about the User mailing list