Bug in vertical ProgressBarGadget in GTK3
Posted: Sun Feb 21, 2016 10:33 pm
In PB 5.41 x86 and x64 with GTK 3 a vertical ProgressBarGadget is filled from left to right instead of from bottom to top or not displayed at all.
On these Linux distros and desktop environments the vertical ProgressBar is filled from left to right with GTK 3:
- Lubuntu 14.04 x86 with LXDE
- Ubuntu 14.04 x64 with Enlightenment E17
- Ubuntu 14.04 x64 with KDE
- Ubuntu 14.04 x64 with Unity
On these Linux distros and desktop environments the vertical ProgressBar is not displayed at all with GTK 3:
- Ubuntu 15.10 x86 with Unity
This bug doesn't occur with GTK 2 (subsystem "gtk2").
On these Linux distros and desktop environments the vertical ProgressBar is filled from left to right with GTK 3:
- Lubuntu 14.04 x86 with LXDE
- Ubuntu 14.04 x64 with Enlightenment E17
- Ubuntu 14.04 x64 with KDE
- Ubuntu 14.04 x64 with Unity
On these Linux distros and desktop environments the vertical ProgressBar is not displayed at all with GTK 3:
- Ubuntu 15.10 x86 with Unity
This bug doesn't occur with GTK 2 (subsystem "gtk2").
Code: Select all
OpenWindow(0, 100, 100, 230, 200, "Vertical ProgressBar")
ProgressBarGadget(0, WindowWidth(0) / 2 - 10, 10, 20, WindowHeight(0) - 20,
0, 100, #PB_ProgressBar_Vertical | #PB_ProgressBar_Smooth)
AddWindowTimer(0, 0, 30)
Repeat
Select WaitWindowEvent()
Case #PB_Event_CloseWindow
Break
Case #PB_Event_Timer
If Count < 100
Count + 1
SetGadgetState(0, Count)
EndIf
EndSelect
ForEver