Page 1 of 1

Warning in Lubuntu when using ListIconGadget + FrameGadget

Posted: Tue Aug 20, 2013 2:51 pm
by Shardik
When using a ListIconGadget displaying a vertical scrollbar together with a FrameGadget in Lubuntu 12.10 x86 with PB 5.11 x86 or PB 5.20 Beta 11 x86 using this code

Code: Select all

OpenWindow(0, 200, 100, 450, 230, "ListIconGadget + FrameGadget")
ListIconGadget(0, 10, 10, WindowWidth(0) - 20, 90, "Name", 110, #PB_ListIcon_GridLines)
AddGadgetColumn(0, 1, "Address", GadgetWidth(0) - GetGadgetItemAttribute(0, 0, #PB_ListIcon_ColumnWidth) - 30)
AddGadgetItem(0, -1, "Harry Rannit" + #LF$ + "12 Parliament Way, Battle Street, By the Bay")
AddGadgetItem(0, -1, "Ginger Brokeit" + #LF$ + "130 PureBasic Road, BigTown, CodeCity")
AddGadgetItem(0, -1, "Didi Foundit" + #LF$ + "321 Logo Drive, Mouse House, Downtown")

Frame3DGadget(1, 10, 130, 430, 80, "Test")

Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
the following warning will be displayed constantly in the IDE's error log:
PB IDE wrote:[WARNING] Zeile: 8
[WARNING] WARNING: Invalid borders specified for theme pixmap:
/usr/share/themes/Lubuntu-default/gtk-2.0/images/null.png,
borders don't fit within the image
[WARNING] Zeile: 8
[WARNING] WARNING: Invalid borders specified for theme pixmap:
/usr/share/themes/Lubuntu-default/gtk-2.0/images/scrollbar_vertical.png,
borders don't fit within the image
If one of the lines with AddGadgetItem() is commented out (so that no vertical scrollbar is displayed anymore), no warning will be reported anymore! So could it be that the space taken into account for the ListIconGadget's contents might be too large internally so that it interferes with the space for the FrameGadget?

Only Lubuntu 12.10 with LXDE displays the above warnings. These other Linux distributions with different desktop managers don't display the warnings (so it might be a sole problem of LXDE?):
- Fedora 18 x86 with Gnome 3
- Kubuntu 10.04 x86 with KDE
- Linux Mint 15 x86 with Cinnamon
- Ubuntu 10.04 x86 with Gnome 2
- Ubuntu 13.04 x86 with Unity
- Xubuntu 13.04 x86 with Xfce

Update: The same warnings are reported in Lubuntu 13.04 x86.

Re: Warning in Lubuntu when using ListIconGadget + FrameGadg

Posted: Tue Aug 20, 2013 3:29 pm
by Fred
Well, I don't think it's a PB issue. Such warnings which occurs only on one distribution should be reported in their bug repository.