Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-05

toolbar buttons (Windows vs GTK2)

9 messages · 6 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

Why are the toolbar buttons so butt ugly under GTK2, but pretty and anti-aliased under Windows? Is applies to all toolbar buttons in Lazarus IDE.

See attached screenshot of how the Watches dialog looks under Windows vs GTK2. Both screenshots are from Lazarus (trunk) executables. It should be pretty obvious what I mean, if you compare the two images...eg: under GTK2 you can't even tell what the images are for the "enable all" and "disable all" functions.

Is this a bug, or is there something I didn't enable when I built my GTK2 Lazarus IDE?

ps:
I don't know if Lazarus with LCL-Qt under Linux are any better - I never tested.

Regards, ? - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -------------- next part -------------- A non-text attachment was scrubbed... Name: Watch_windows.png Type: image/png Size: 10010 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120510/b3f5f216/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: watch_window_gtk2.png Type: image/png Size: 8128 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120510/b3f5f216/attachment-0001.png>

Reply by email

zeljko
to Graeme Geldenhuys
Graeme Geldenhuys wrote 14 lines
Hi, Why are the toolbar buttons so butt ugly under GTK2, but pretty and anti-aliased under Windows? Is applies to all toolbar buttons in Lazarus IDE. See attached screenshot of how the Watches dialog looks under Windows vs GTK2. Both screenshots are from Lazarus (trunk) executables. It should be pretty obvious what I mean, if you compare the two images...eg: under GTK2 you can't even tell what the images are for the "enable all" and "disable all" functions. Is this a bug, or is there something I didn't enable when I built my GTK2 Lazarus IDE?

It's known gtk2-gtk2lcl problem ... there's issue about it somewhere at mantis.
Maybe drawing of image in gtk2lcl needs additional params.

ps: I don't know if Lazarus with LCL-Qt under Linux are any better - I never tested.

Just try it :) I'm using it for real production on linux,win32 and macosx and haven't spotted such problems.

zeljko

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120510/4c218ac5/attachment-0001.html>

Reply by email

Graeme Geldenhuys
to zeljko
zeljko wrote
It's known gtk2-gtk2lcl problem ... there's issue about it somewhere at mantis.

OK, thanks. I'll try and find that bug report, otherwise create a new one.

> I don't know if Lazarus with LCL-Qt under Linux are any better - I never > tested. Just try it :)

Luckily I had Qt-devel setup. No problems under LCL-Qt, so it seems to be a LCL-GTK2 specific issue.

Regards, ? - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email

zeljko
to cobines
cobines wrote 10 lines
2012/5/10 Graeme Geldenhuys : > On 10 May 2012 10:40, zeljko wrote: >> It's known gtk2-gtk2lcl problem ... there's issue about it somewhere at >> mantis. > > OK, thanks. I'll try and find that bug report, otherwise create a new > one. Maybe this one: http://bugs.freepascal.org/view.php?id=11721

Exactly that issue. Thanks.

zeljko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120510/2d38ec47/attachment.html>

Reply by email

William Oliveira Ferreira
to Graeme Geldenhuys: Why are the toolbar buttons so butt ugly under GTK2, but pretty and anti-aliased under…

2012/5/10 Graeme Geldenhuys

Show quoted text 35 lines
Hi, Why are the toolbar buttons so butt ugly under GTK2, but pretty and anti-aliased under Windows? Is applies to all toolbar buttons in Lazarus IDE. See attached screenshot of how the Watches dialog looks under Windows vs GTK2. Both screenshots are from Lazarus (trunk) executables. It should be pretty obvious what I mean, if you compare the two images...eg: under GTK2 you can't even tell what the images are for the "enable all" and "disable all" functions. Is this a bug, or is there something I didn't enable when I built my GTK2 Lazarus IDE? ps: I don't know if Lazarus with LCL-Qt under Linux are any better - I never tested. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

This issue is strange...

I'm using Mate (Gnome2 fork) on Debian Wheezy and the toolbar doens't seem so ugly as you reported.

Should be another Unity Issue?

________________________________ William de Oliveira Ferreira Bacharel em Sistemas de Informa??o -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120510/50f50296/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: Captura_de_tela.png Type: image/png Size: 9161 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120510/50f50296/attachment-0001.png>

Reply by email

Graeme Geldenhuys
to William Oliveira Ferreira
William Oliveira Ferreira wrote
Should be another Unity Issue?

I'm not running Unity, I'm running Ubuntu 10.04 LTS which pre-dates Unity. It's a standard Gnome desktop, and all other GTK2 applications display icons just fine in toolbars.

With your dark theme, it seems to hide / mask the problem a bit. Use xmag to get a closer view. Even in your screenshot, the shadows of the large lightbulb icon is missing (like my screenshot of GTK2), but it is there under Windows and LCL-Qt.

Regards, ? - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email

Unknown author
to Graeme Geldenhuys
Graeme Geldenhuys wrote 9 lines
On 10 May 2012 13:49, William Oliveira Ferreira wrote: > > Should be another Unity Issue? I'm not running Unity, I'm running Ubuntu 10.04 LTS which pre-dates Unity. It's a standard Gnome desktop, and all other GTK2 applications display icons just fine in toolbars.

I run Kubuntu 10.04, lcl-gtk2, and the images look the same as in Graeme's screenshot. So it is not a Unity problem.

Michael.

Reply by email

silvioprog
to Unknown author

2012/5/10 :

Show quoted text 14 lines
On Thu, 10 May 2012, Graeme Geldenhuys wrote: > On 10 May 2012 13:49, William Oliveira Ferreira > wrote: >> >> Should be another Unity Issue? > > I'm not running Unity, I'm running Ubuntu 10.04 LTS which pre-dates > Unity. It's a standard Gnome desktop, and all other GTK2 applications > display icons just fine in toolbars. I run Kubuntu 10.04, lcl-gtk2, and the images look the same as in Graeme's screenshot. So it is not a Unity problem. Michael.

On Linux Mint 12:

http://imagebin.org/211844

Silvio Cl?cio ============================================ Site - <silvioprog.com.br> LazSolutions - <code.google.com/p/lazsolutions> LazWebSolutions - <github.com/silvioprog/lazwebsolutions> ============================================

Reply by email