Page 1 of 1
#PB_Window_MaximizeGadget not working
Posted: Thu Feb 02, 2012 11:36 pm
by Baldrick
I have just noticed #PB_Window_MaximizeGadget is not doing anything on my newly updated Ubuntu 10.xx, PB4.6. (Fails in the example window.pb even)
Am I doing something stupid, or is this actually a problem?
Re: #PB_Window_MaximizeGadget not working
Posted: Fri Feb 03, 2012 1:07 am
by idle
dose it work with these flags?
#PB_Window_MaximizeGadget | #PB_Window_MinimizeGadget |#PB_Window_SizeGadget
Re: #PB_Window_MaximizeGadget not working
Posted: Fri Feb 03, 2012 1:18 am
by Baldrick
Adding #PB_Window_SizeGadget does make it work. Just another of those little anomalies between Windows & Linux I guess.
Thanks for that Idle. You would think I would have tried that already.....
Re: #PB_Window_MaximizeGadget not working
Posted: Fri Feb 03, 2012 1:40 am
by idle
well you've tried it now!
It may well be a bug.
Re: #PB_Window_MaximizeGadget not working
Posted: Fri Feb 03, 2012 3:27 am
by Baldrick
Here is a couple of samples which I might get someone to confirm before I report as a bug. 1. will recreate the issue where the maximise button is not displayed, 2. with the added #PB_Window_SizeGadget flag will work as expected with the maximise button working correctly
1.
Code: Select all
If OpenWindow(0, 100, 200, 195, 260, "PureBasic Window", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget)
Repeat
Ev=WaitWindowEvent(1)
If Ev=#PB_Event_CloseWindow
quit=1
EndIf
Until Quit
EndIf
2.
Code: Select all
If OpenWindow(0, 100, 200, 195, 260, "PureBasic Window", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget|#PB_Window_SizeGadget)
Repeat
Ev=WaitWindowEvent(1)
If Ev=#PB_Event_CloseWindow
quit=1
EndIf
Until Quit
EndIf
Re: #PB_Window_MaximizeGadget not working
Posted: Fri Feb 03, 2012 5:21 am
by idle
confirmed on ubuntu 11.10
Re: #PB_Window_MaximizeGadget not working
Posted: Fri Feb 03, 2012 3:25 pm
by Guimauve
confirmed on LinuxMint 12 x64 + Gnome-Shell
Best regards.
Guimauve