Recent

Author Topic: Problem with Linux + toolbar  (Read 4513 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2261
    • Lazarus and Free Pascal italian community
Problem with Linux + toolbar
« on: December 15, 2011, 02:20:22 pm »
If you download and compile the example that you find at the bottom of the message on windows you will see that the program does exactly what I want to do, or use a toolbar with an icon on a toolbar button and with a background image of the toolbar. But if you do the same thing on Ubuntu 11.10 (64 bit) I do not see it the background of the icon toolbar. Does anyone know why?

http://www.lazaruspascal.it/esempi/toolbar.zip
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Problem with Linux + toolbar
« Reply #1 on: December 15, 2011, 02:57:50 pm »
Quote
I do not see it the background of the icon toolbar.
Where is problem ? I tried to run it on Linux+Qt and I had to rename "Immagine.PNG" to "Immagine.png" because Linux is case sensitive. I can see toolbar background.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

xinyiman

  • Hero Member
  • *****
  • Posts: 2261
    • Lazarus and Free Pascal italian community
Re: Problem with Linux + toolbar
« Reply #2 on: December 15, 2011, 03:03:50 pm »
He was convinced that I have corrected that mistake. I tested it on my Ubuntu 11.10 (64 bit) and I do not see the background of the toolbar
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

xinyiman

  • Hero Member
  • *****
  • Posts: 2261
    • Lazarus and Free Pascal italian community
Re: Problem with Linux + toolbar
« Reply #3 on: December 15, 2011, 03:05:01 pm »
It is as if unable to set the parameter

ToolBar1.Transparent:=TRUE;
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Problem with Linux + toolbar
« Reply #4 on: December 15, 2011, 07:40:02 pm »
I see, it doesn't work with GTK2. Probably it is not cross-platform property.
You can use other method. TSpeedButtons over TImage or so.
Or try bugreport.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

lainz

  • Guest
Re: Problem with Linux + toolbar
« Reply #5 on: December 15, 2011, 07:59:27 pm »
That property was fixed only for Windows:

http://bugs.freepascal.org/view.php?id=18172

xinyiman

  • Hero Member
  • *****
  • Posts: 2261
    • Lazarus and Free Pascal italian community
Re: Problem with Linux + toolbar
« Reply #6 on: December 16, 2011, 11:41:32 am »
open a report: 0020912
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

 

TinyPortal © 2005-2018